1 22 package org.jboss.test.ws.jaxws.webserviceref; 23 24 import javax.xml.bind.JAXBElement; 25 import javax.xml.bind.annotation.XmlElementDecl; 26 import javax.xml.bind.annotation.XmlRegistry; 27 import javax.xml.namespace.QName ; 28 29 30 44 @XmlRegistry 45 public class ObjectFactory { 46 47 private final static QName _EchoResponse_QNAME = new QName ("http://org.jboss.ws/wsref", "echoResponse"); 48 private final static QName _Echo_QNAME = new QName ("http://org.jboss.ws/wsref", "echo"); 49 50 54 public ObjectFactory() { 55 } 56 57 61 public EchoResponse createEchoResponse() { 62 return new EchoResponse(); 63 } 64 65 69 public Echo createEcho() { 70 return new Echo(); 71 } 72 73 77 @XmlElementDecl(namespace = "http://org.jboss.ws/wsref", name = "echoResponse") 78 public JAXBElement<EchoResponse> createEchoResponse(EchoResponse value) { 79 return new JAXBElement<EchoResponse>(_EchoResponse_QNAME, EchoResponse.class, null, value); 80 } 81 82 86 @XmlElementDecl(namespace = "http://org.jboss.ws/wsref", name = "echo") 87 public JAXBElement<Echo> createEcho(Echo value) { 88 return new JAXBElement<Echo>(_Echo_QNAME, Echo.class, null, value); 89 } 90 91 } 92 | Popular Tags |