// Path: SO-how-get-xml-responce-using-jax-ws-soap-handler/src/main/java/org/dpytel/jaxws/jaxws_java_first_jboss/MyWebService.java
// @WebService(name = "MyWebService", targetNamespace = "http://jaxws_java_first_jboss.jaxws.dpytel.org/")
// @XmlSeeAlso({
//     ObjectFactory.class
// })
// public interface MyWebService {
// 
// 
//     /**
//      * 
//      * @param name
//      * @return
//      *     returns java.lang.String
//      */
//     @WebMethod
//     @WebResult(targetNamespace = "")
//     @RequestWrapper(localName = "hello", targetNamespace = "http://jaxws_java_first_jboss.jaxws.dpytel.org/", className = "org.dpytel.jaxws.jaxws_java_first_jboss.Hello")
//     @ResponseWrapper(localName = "helloResponse", targetNamespace = "http://jaxws_java_first_jboss.jaxws.dpytel.org/", className = "org.dpytel.jaxws.jaxws_java_first_jboss.HelloResponse")
//     public String hello(
//         @WebParam(name = "name", targetNamespace = "")
//         String name);
// 
// }
// 
// Path: SO-how-get-xml-responce-using-jax-ws-soap-handler/src/main/java/org/dpytel/jaxws/jaxws_java_first_jboss/MyWebServiceImplService.java
// @WebServiceClient(name = "MyWebServiceImplService", targetNamespace = "http://jaxws_java_first_jboss.jaxws.dpytel.org/", wsdlLocation = "http://localhost:8080/jaxws-java-first-jboss/MyWebService?wsdl")
// @HandlerChain(file = "handlers.xml")
// public class MyWebServiceImplService
//     extends Service
// {
// 
//     private final static URL MYWEBSERVICEIMPLSERVICE_WSDL_LOCATION;
//     private final static WebServiceException MYWEBSERVICEIMPLSERVICE_EXCEPTION;
//     private final static QName MYWEBSERVICEIMPLSERVICE_QNAME = new QName("http://jaxws_java_first_jboss.jaxws.dpytel.org/", "MyWebServiceImplService");
// 
//     static {
//         URL url = null;
//         WebServiceException e = null;
//         try {
//             url = new URL("http://localhost:8080/jaxws-java-first-jboss/MyWebService?wsdl");
//         } catch (MalformedURLException ex) {
//             e = new WebServiceException(ex);
//         }
//         MYWEBSERVICEIMPLSERVICE_WSDL_LOCATION = url;
//         MYWEBSERVICEIMPLSERVICE_EXCEPTION = e;
//     }
// 
//     public MyWebServiceImplService() {
//         super(__getWsdlLocation(), MYWEBSERVICEIMPLSERVICE_QNAME);
//     }
// 
//     public MyWebServiceImplService(WebServiceFeature... features) {
//         super(__getWsdlLocation(), MYWEBSERVICEIMPLSERVICE_QNAME, features);
//     }
// 
//     public MyWebServiceImplService(URL wsdlLocation) {
//         super(wsdlLocation, MYWEBSERVICEIMPLSERVICE_QNAME);
//     }
// 
//     public MyWebServiceImplService(URL wsdlLocation, WebServiceFeature... features) {
//         super(wsdlLocation, MYWEBSERVICEIMPLSERVICE_QNAME, features);
//     }
// 
//     public MyWebServiceImplService(URL wsdlLocation, QName serviceName) {
//         super(wsdlLocation, serviceName);
//     }
// 
//     public MyWebServiceImplService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
//         super(wsdlLocation, serviceName, features);
//     }
// 
//     /**
//      * 
//      * @return
//      *     returns MyWebService
//      */
//     @WebEndpoint(name = "MyWebServiceImplPort")
//     public MyWebService getMyWebServiceImplPort() {
//         return super.getPort(new QName("http://jaxws_java_first_jboss.jaxws.dpytel.org/", "MyWebServiceImplPort"), MyWebService.class);
//     }
// 
//     /**
//      * 
//      * @param features
//      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
//      * @return
//      *     returns MyWebService
//      */
//     @WebEndpoint(name = "MyWebServiceImplPort")
//     public MyWebService getMyWebServiceImplPort(WebServiceFeature... features) {
//         return super.getPort(new QName("http://jaxws_java_first_jboss.jaxws.dpytel.org/", "MyWebServiceImplPort"), MyWebService.class, features);
//     }
// 
//     private static URL __getWsdlLocation() {
//         if (MYWEBSERVICEIMPLSERVICE_EXCEPTION!= null) {
//             throw MYWEBSERVICEIMPLSERVICE_EXCEPTION;
//         }
//         return MYWEBSERVICEIMPLSERVICE_WSDL_LOCATION;
//     }
// 
// }


import org.dpytel.jaxws.jaxws_java_first_jboss.MyWebService;
import org.dpytel.jaxws.jaxws_java_first_jboss.MyWebServiceImplService;
package org.dpytel.jaxws.jaxws_java_first_jboss.client;


public class Main {

	public static void main(String[] args) {
// Path: SO-how-get-xml-responce-using-jax-ws-soap-handler/src/main/java/org/dpytel/jaxws/jaxws_java_first_jboss/MyWebService.java
// @WebService(name = "MyWebService", targetNamespace = "http://jaxws_java_first_jboss.jaxws.dpytel.org/")
// @XmlSeeAlso({
//     ObjectFactory.class
// })
// public interface MyWebService {
// 
// 
//     /**
//      * 
//      * @param name
//      * @return
//      *     returns java.lang.String
//      */
//     @WebMethod
//     @WebResult(targetNamespace = "")
//     @RequestWrapper(localName = "hello", targetNamespace = "http://jaxws_java_first_jboss.jaxws.dpytel.org/", className = "org.dpytel.jaxws.jaxws_java_first_jboss.Hello")
//     @ResponseWrapper(localName = "helloResponse", targetNamespace = "http://jaxws_java_first_jboss.jaxws.dpytel.org/", className = "org.dpytel.jaxws.jaxws_java_first_jboss.HelloResponse")
//     public String hello(
//         @WebParam(name = "name", targetNamespace = "")
//         String name);
// 
// }
// 
// Path: SO-how-get-xml-responce-using-jax-ws-soap-handler/src/main/java/org/dpytel/jaxws/jaxws_java_first_jboss/MyWebServiceImplService.java
// @WebServiceClient(name = "MyWebServiceImplService", targetNamespace = "http://jaxws_java_first_jboss.jaxws.dpytel.org/", wsdlLocation = "http://localhost:8080/jaxws-java-first-jboss/MyWebService?wsdl")
// @HandlerChain(file = "handlers.xml")
// public class MyWebServiceImplService
//     extends Service
// {
// 
//     private final static URL MYWEBSERVICEIMPLSERVICE_WSDL_LOCATION;
//     private final static WebServiceException MYWEBSERVICEIMPLSERVICE_EXCEPTION;
//     private final static QName MYWEBSERVICEIMPLSERVICE_QNAME = new QName("http://jaxws_java_first_jboss.jaxws.dpytel.org/", "MyWebServiceImplService");
// 
//     static {
//         URL url = null;
//         WebServiceException e = null;
//         try {
//             url = new URL("http://localhost:8080/jaxws-java-first-jboss/MyWebService?wsdl");
//         } catch (MalformedURLException ex) {
//             e = new WebServiceException(ex);
//         }
//         MYWEBSERVICEIMPLSERVICE_WSDL_LOCATION = url;
//         MYWEBSERVICEIMPLSERVICE_EXCEPTION = e;
//     }
// 
//     public MyWebServiceImplService() {
//         super(__getWsdlLocation(), MYWEBSERVICEIMPLSERVICE_QNAME);
//     }
// 
//     public MyWebServiceImplService(WebServiceFeature... features) {
//         super(__getWsdlLocation(), MYWEBSERVICEIMPLSERVICE_QNAME, features);
//     }
// 
//     public MyWebServiceImplService(URL wsdlLocation) {
//         super(wsdlLocation, MYWEBSERVICEIMPLSERVICE_QNAME);
//     }
// 
//     public MyWebServiceImplService(URL wsdlLocation, WebServiceFeature... features) {
//         super(wsdlLocation, MYWEBSERVICEIMPLSERVICE_QNAME, features);
//     }
// 
//     public MyWebServiceImplService(URL wsdlLocation, QName serviceName) {
//         super(wsdlLocation, serviceName);
//     }
// 
//     public MyWebServiceImplService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
//         super(wsdlLocation, serviceName, features);
//     }
// 
//     /**
//      * 
//      * @return
//      *     returns MyWebService
//      */
//     @WebEndpoint(name = "MyWebServiceImplPort")
//     public MyWebService getMyWebServiceImplPort() {
//         return super.getPort(new QName("http://jaxws_java_first_jboss.jaxws.dpytel.org/", "MyWebServiceImplPort"), MyWebService.class);
//     }
// 
//     /**
//      * 
//      * @param features
//      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
//      * @return
//      *     returns MyWebService
//      */
//     @WebEndpoint(name = "MyWebServiceImplPort")
//     public MyWebService getMyWebServiceImplPort(WebServiceFeature... features) {
//         return super.getPort(new QName("http://jaxws_java_first_jboss.jaxws.dpytel.org/", "MyWebServiceImplPort"), MyWebService.class, features);
//     }
// 
//     private static URL __getWsdlLocation() {
//         if (MYWEBSERVICEIMPLSERVICE_EXCEPTION!= null) {
//             throw MYWEBSERVICEIMPLSERVICE_EXCEPTION;
//         }
//         return MYWEBSERVICEIMPLSERVICE_WSDL_LOCATION;
//     }
// 
// }


// Path: SO-how-get-xml-responce-using-jax-ws-soap-handler/src/main/java/org/dpytel/jaxws/jaxws_java_first_jboss/client/Main.java
import org.dpytel.jaxws.jaxws_java_first_jboss.MyWebService;
import org.dpytel.jaxws.jaxws_java_first_jboss.MyWebServiceImplService;

package org.dpytel.jaxws.jaxws_java_first_jboss.client;


public class Main {

	public static void main(String[] args) {
		MyWebServiceImplService service = new MyWebServiceImplService();