/*
* 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.atinterop.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 = "InitiatorService", targetNamespace = "http://fabrikam123.com", wsdlLocation = "wsdl/interopat-initiator-binding.wsdl")
public class InitiatorService
extends Service
{
private final static URL INITIATORSERVICE_WSDL_LOCATION;
private final static Logger logger = Logger.getLogger(com.jboss.transaction.txinterop.webservices.atinterop.generated.InitiatorService.class.getName());
static {
URL url = null;
try {
URL baseUrl;
baseUrl = com.jboss.transaction.txinterop.webservices.atinterop.generated.InitiatorService.class.getResource(".");
url = new URL(baseUrl, "wsdl/interopat-initiator-binding.wsdl");
} catch (MalformedURLException e) {
logger.warning("Failed to create URL for the wsdl Location: 'wsdl/interopat-initiator-binding.wsdl', retrying as a local file");
logger.warning(e.getMessage());
}
INITIATORSERVICE_WSDL_LOCATION = url;
}
public InitiatorService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public InitiatorService() {
super(INITIATORSERVICE_WSDL_LOCATION, new QName("http://fabrikam123.com", "InitiatorService"));
}
/**
*
* @return
* returns InitiatorPortType
*/
@WebEndpoint(name = "InitiatorPortType")
public InitiatorPortType getInitiatorPortType() {
return super.getPort(new QName("http://fabrikam123.com", "InitiatorPortType"), InitiatorPortType.class);
}
}