/* * JBoss, Home of Professional Open Source * Copyright 2007, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU Lesser General Public License, v. 2.1. * This program is distributed in the hope that it will be useful, but WITHOUT A * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License, * v.2.1 along with this distribution; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * * (C) 2005-2006, * @author JBoss Inc. */ package com.jboss.transaction.txinterop.webservices.bainterop.generated; import java.net.MalformedURLException; import java.net.URL; import java.util.logging.Logger; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.1.2-hudson-182-RC1 * Generated source version: 2.0 * */ @WebServiceClient(name = "ParticipantService", targetNamespace = "http://fabrikam123.com/wsba", wsdlLocation = "wsdl/interopba-participant-binding.wsdl") public class ParticipantService extends Service { private final static URL PARTICIPANTSERVICE_WSDL_LOCATION; private final static Logger logger = Logger.getLogger(com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantService.class.getName()); static { URL url = null; try { URL baseUrl; baseUrl = com.jboss.transaction.txinterop.webservices.bainterop.generated.ParticipantService.class.getResource("."); url = new URL(baseUrl, "wsdl/interopba-participant-binding.wsdl"); } catch (MalformedURLException e) { logger.warning("Failed to create URL for the wsdl Location: 'wsdl/interopba-participant-binding.wsdl', retrying as a local file"); logger.warning(e.getMessage()); } PARTICIPANTSERVICE_WSDL_LOCATION = url; } public ParticipantService(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } public ParticipantService() { super(PARTICIPANTSERVICE_WSDL_LOCATION, new QName("http://fabrikam123.com/wsba", "ParticipantService")); } /** * * @return * returns ParticipantPortType */ @WebEndpoint(name = "ParticipantPortType") public ParticipantPortType getParticipantPortType() { return super.getPort(new QName("http://fabrikam123.com/wsba", "ParticipantPortType"), ParticipantPortType.class); } }