[jbossws-commits] JBossWS SVN: r1865 - in branches: . dead-jsr181-backport dead-jsr181-backport/src/ant dead-jsr181-backport/src/main/java/org/jboss/ws dead-jsr181-backport/src/main/java/org/jboss/ws/core dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb dead-jsr181-backport/src/main/java/org/jboss/ws/core/server dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils dead-jsr181-backport/src/main/java/org/jboss/ws/deployment dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/jaxrpc dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/soap dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/ev! enting dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/deployment dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc dead-jsr181-backport/src/main/java/org/jboss/ws/integration dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4 dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat dead-jsr181-backport/src/main/java/org/jboss/ws/metadata dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/acessor dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc dead-jsr181-backport/src/main/! java/org/jboss/ws/metadata/builder/jsr181 dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/jaxrpc dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping dead-jsr181-back
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Mon Jan 8 10:43:34 EST 2007
Author: jason.greene at jboss.com
Date: 2007-01-08 10:41:34 -0500 (Mon, 08 Jan 2007)
New Revision: 1865
Added:
branches/dead-jsr181-backport/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAP11BindingJAXRPC.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAP12BindingJAXRPC.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPBindingJAXRPC.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointPublisher.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointServlet.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/JAXWSDeployment.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServerConfig.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JarUrlConnection.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JavassistUtils.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/ResourceURL.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ApplicationMetaDataAdaptor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB21.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB21MBean.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB3.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB3MBean.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorJSE.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorJSEMBean.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorNestedJSE.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorNestedJSEMBean.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeploymentInfoAdaptor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/JBossContextServlet.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/JBossServiceEndpointServlet.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/PortComponentLinkServlet.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServerConfigImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB21.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB3.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInterceptor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerEJB21.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerEJB3.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerMDB.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceRefMetaDataAdaptor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebMetaDataAdaptor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebServiceClientDeployer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebServiceClientDeployerMBean.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/acessor/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/acessor/ReflectiveMethodAccessor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientDeployment.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCDeployment.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/AnnotationsMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181Deployment.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderEJB21.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderEJB3.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderJSE.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/WrappedParameter.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingMessageReference.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceMessageReference.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLMIMEPart.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCPart.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCSignatureItem.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLSOAPHeader.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/RPCSignature.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/ReformatXML.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/jaxws/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/jaxws/WSDLGenerator.java
branches/dead-jsr181-backport/src/test/ant/build-interop.xml
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/AddressingTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Echo.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoInMessage.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoOutMessage.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Notify.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyMessage.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/WSAddressingCR.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/JBWS1303TestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/ServerHandler.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHoldersJava2WSDLTestCase.java
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/application-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jaxrpc-mapping.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/webservices.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl0.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl1.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl2.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd0.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd1.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd2.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/config.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/wstools-config.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsaTestService/README
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/application-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-wsse-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-wsse-server.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/header_projecttitle.gif
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/index.html
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/logo.gif
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/mtom.html
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/soapwsdl.html
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/styles.css
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/wsa.html
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/wsse.html
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-wsse-server.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/webservices.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/WsSecurity10Sign.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/wsdl0.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd0.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd1.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd2.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd3.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/config.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/wstools-config.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/application-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-wsse-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-wsse-server.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/webservices.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/WsSecurity10Encrypt.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd0.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd1.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd2.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd3.xsd
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/wstools-config.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Shared/META-INF/
Removed:
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultExceptionHelper.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServerConfig.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/StandardEndpointServlet.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ClientDeployment.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ClientMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109Deployment.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109MetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ServerMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181Deployment.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB21.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB3.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderJSE.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/MetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/ServiceEndpointDeployer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/ServiceEndpointPublisher.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/UnifiedDeploymentInfo.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss42/
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationPart.java
branches/dead-jsr181-backport/src/test/ant/build-interop-artifacts.xml
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo2_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo4_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Notify_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR_Impl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService_Impl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/IBaseDataTypesDocLitB_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService_Impl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/IBaseDataTypesDocLitW_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetBoolResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetBool_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteArrayResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteArray_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByte_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetCharResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetChar_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDateTimeResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDateTime_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDecimalResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDecimal_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDoubleResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDouble_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetFloatResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetFloat_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetGuidResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetGuid_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetIntResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetInt_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetLongResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetLong_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetObjectResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetObject_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetQNameResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetQName_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSByteResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSByte_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetShortResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetShort_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSingleResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSingle_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetStringResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetString_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetTimeSpanResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetTimeSpan_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUIntResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUInt_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetULongResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetULong_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUShortResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUShort_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUriResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUri_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/BaseDataTypesDocLitWService_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/IBaseDataTypesDocLitW_Tie.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetBoolResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetBool_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteArrayResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteArray_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByte_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetCharResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetChar_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDateTimeResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDateTime_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDecimalResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDecimal_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDoubleResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDouble_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetFloatResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetFloat_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetGuidResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetGuid_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetIntResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetInt_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetLongResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetLong_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetObjectResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetObject_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetQNameResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetQName_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSByteResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSByte_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetShortResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetShort_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSingleResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSingle_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetStringResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetString_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetTimeSpanResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetTimeSpan_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUIntResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUInt_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetULongResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetULong_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUShortResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUShort_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUriResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUri_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService_Impl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/BaseDataTypesRpcLitService_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_Tie.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfArrayOfstring_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfNullableOfdateTime_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfNullableOfdecimal_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfPerson_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfanyType_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfint_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfshort_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfstring_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/BitMask_Encoder.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService_Impl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService_Impl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService_Impl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService_SerializerRegistry.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Employee_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Furniture_InterfaceSOAPSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Furniture_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Group_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesDocLitB_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesDocLitW_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_Stub.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IntSet_Encoder.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Name_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Person_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArray1D_SNResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArray1D_SN_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayAnyType1DResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayAnyType1D_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDateTime1DResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDateTime1D_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDecimal1DResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDecimal1D_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayInt1DResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayInt1D_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString1DResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString1D_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString2DResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString2D_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetDerivedClassResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetDerivedClass_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumIntResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumInt_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumStringResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumString_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructS1Response_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructS1_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSAResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSASResponse_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSAS_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSA_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSN_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Table_LiteralSerializer.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHolderJava2WSDLTestCase.java
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Shared/META-INF/
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Shared/META-INF/BAK/
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1303/wstools-config.xml
Modified:
branches/dead-jsr181-backport/.classpath
branches/dead-jsr181-backport/build.xml
branches/dead-jsr181-backport/src/ant/build-thirdparty.xml
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/Constants.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/WSException.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonBindingProvider.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonClient.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAP11Binding.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAP12Binding.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAPBinding.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/EndpointInvocation.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/CallImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/CallProxy.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/LiteralTypeMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ParameterWrapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceFactoryImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceReferenceable.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64Deserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64DeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64Serializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64SerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarSerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateSerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DeserializerFactoryBase.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementSerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexSerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBSerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/NullValueSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameSerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArrayDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArrayDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArraySerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArraySerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementSerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SerializerFactoryBase.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleDeserializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleDeserializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleSerializer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleSerializerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBMarshaller.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBMarshallerImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBUnmarshallerImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/XercesXSMarshallerImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointInvoker.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpoint.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointInfo.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointInvokerJSE.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointManager.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointManagerFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/WSDLFilePublisher.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/WSDLRequestHandler.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/MessageContextAssociation.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/MessageFactoryImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/NodeImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SAAJPayloadBuilderDOM.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SAAJVisitor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyElementMessage.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyElementRpc.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPConnectionImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPContentElement.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPElementImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPElementWriter.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPEnvelopeImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPFaultImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageDispatcher.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageMarshaller.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/ByteArrayContentHandler.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedDecoder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/SwapableMemoryDataSource.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/DOMWriter.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/HolderUtils.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/IOUtils.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JavaUtils.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/MimeUtils.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/AddressingPropertiesImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/jaxrpc/WSAddressingServerHandler.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/soap/SOAPAddressingPropertiesImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventSourceEndpoint.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventSourceEndpointImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventingConstants.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/SubscriptionManagerEndpoint.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/deployment/EventingEndpointDI.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/DeliveryType.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/EndpointReference.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/FilterType.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/StatusRequest.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/SubscribeRequest.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/SubscriptionEndRequest.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/UnsubscribeRequest.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatchJob.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatcherDelegate.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatcherFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/EventDispatcher.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/EventingBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/Subscription.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManager.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManagerMBean.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionTicket.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/Policy.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/PolicyAlternative.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/PolicyFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/CreateAttachmentVisitor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/DisableMTOMHandler.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/RestoreXOPElementVisitor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/XOPContext.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/JBossXBContentAdapter.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPMarshallerImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPScanner.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPUnmarshallerImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSMessageDispatcher.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSMessageDispatcherMBean.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSTransportSupport.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/MessageDispatcher.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/DeploymentInfoAdaptor.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/ServerConfigImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatContextServlet.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointPublisher.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointServlet.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/WSConfigFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/jaxrpc/WSConfigFactoryJAXRPC.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/jaxrpc/WSEndpointConfigJAXRPC.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedApplicationMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedBeanMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedEjbPortComponentMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedHandlerMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedMessageDrivenMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedPortComponentRefMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedServiceRefMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedSessionMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedWebMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ExceptionMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaWsdlMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaWsdlMappingFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaXmlTypeMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/MethodParamPartsMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/PackageMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/PortMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceEndpointInterfaceMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceEndpointMethodMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceInterfaceMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/VariableMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/WsdlMessageMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/WsdlReturnValueMapping.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jsr181/HandlerChainMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ClientEndpointMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/EndpointMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ExtensibleMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/FaultMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/HandlerMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/HandlerMetaDataJAXRPC.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/OperationMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ParameterMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ServerEndpointMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ServiceMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/UnifiedMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebserviceDescriptionMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebservicesFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebservicesMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/DOMTypes.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingOperationInput.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingOperationOutput.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceFault.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperation.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationInput.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationOutput.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLTypes.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLUtils.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSModel.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSNamespaceItem.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSObjectList.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/JavaToWSDL11.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/ToolsUtils.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/WSDLToJava.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/WSDotXMLCreator.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/JavaToWSDLHelper.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/ToolsHelper.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/interfaces/WSDLToJavaIntf.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/interfaces/WSDotXMLCreatorIntf.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/mapping/MappingFileGenerator.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ReflectiveMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsAnnotationMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsEndpointMetaData.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsUnifiedMetaDataBuilder.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11DefinitionFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Writer.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLLocatorImpl.java
branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLWriter.java
branches/dead-jsr181-backport/src/main/resources/jbossws.beans/META-INF/jboss-beans.xml
branches/dead-jsr181-backport/src/main/resources/jbossws.sar/META-INF/jboss-service.xml
branches/dead-jsr181-backport/src/main/resources/jbossws.war/JBoss/WEB-INF/web.xml
branches/dead-jsr181-backport/src/main/resources/jbossws14.sar/META-INF/jboss-service.xml
branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/jsr109pojo/build.xml
branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/mtom/build.xml
branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/secureejb/build.xml
branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/wsbpel/build.xml
branches/dead-jsr181-backport/src/main/resources/schema/j2ee_1_4.xsd
branches/dead-jsr181-backport/src/main/resources/schema/javaee_5.xsd
branches/dead-jsr181-backport/src/test/ant/build-interop-jars.xml
branches/dead-jsr181-backport/src/test/ant/build-jars-jaxrpc.xml
branches/dead-jsr181-backport/src/test/build.xml
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/JBossWSTestSetup.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/binding/SOAPBindingTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/soap/SOAPFaultTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/soap/attachment/GenericAttachmentTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/utils/DOMWriterTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/utils/JavaUtilsTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/wsdl11/WSDL11TestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/ClientScenario.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/AddressingTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsaTestService/ConstraintHandler.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsaTestService/WsaTestService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/MTOMTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/SecureMTOMTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/TestService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10/PingService10Sign.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10/SignTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10Encrypt/EncryptTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10Encrypt/PingService10.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/BaseDataTypesDocLitBService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/BaseDataTypesDocLitWService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesProxy.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/ServiceImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesSupport.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/ComplexDataTypesDocLitBTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/ServiceImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/ComplexDataTypesDocLitWTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/ServiceImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesProxy.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/ComplexDataTypesRpcLitTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/ServiceImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/BitMask.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IntSet.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesSupport.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestBean.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/encoded/marshalltest/JavaBean.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/encoded/marshalltest/ValueType.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/JBWS1093TestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/ServletTest.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1115/JBWS1115TestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1186/ServerHandler.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/JBWS231TestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/TestEndpoint.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/TestEndpointImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws807/JBWS807TestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/marshall/MarshallTest.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/dynamichandler/DynamicHandlerTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/jmstransport/OrganizationJMSEndpoint.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/webserviceref/TestEndpointService.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/wseventing/EventingTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/wseventing/SubscriptionManagerTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/XOPTestSupport.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/InlineHandler.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPBase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPHandlerTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPPing.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPPingImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/InlineHandler.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPBase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPHandlerTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPPing.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPPingImpl.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/MTOMServiceBase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/PingImage.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/PingImageResponse.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxws/jsr181/oneway/JSR181OneWayTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxws/wsaddressing/replyto/AddressingReplyToTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/WSToolsTest.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/assertions/Jaxrpc20AssertionsTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/clientside/ClientSideArtifactsTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws1090/JBWS1090TestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_206/JBWS206Test.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/JBWS211Test.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/validation/WSDL11Validator.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/AnonymousTypesTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/ComplexTypesTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/NillableTypesTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/ReferencesTestCase.java
branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/SimpleTypesTestCase.java
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsa10/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsaTestService/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/META-INF/scenarios.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/WEB-INF/wsdl/service.wsdl
branches/dead-jsr181-backport/src/test/resources/jaxrpc/anonymous/WEB-INF/jaxrpc-mapping.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/anonymous/WEB-INF/wsdl/TestService.wsdl
branches/dead-jsr181-backport/src/test/resources/jaxrpc/benchmark/doclit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/benchmark/rpclit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/WEB-INF/web.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/WEB-INF/wsdl/MarshallTestService.wsdl
branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/parametermode/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/enventry/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1010/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1011/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1107/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1121/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1124/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1124/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/WEB-INF/jaxrpc-mapping.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/WEB-INF/wsdl/TestService.wsdl
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/wstools-config.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1190/WEB-INF/wsdl/ConfidentialService.wsdl
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1190/WEB-INF/wsdl/TestService.wsdl
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1205/Client/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1205/TestEndpoint/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/WEB-INF/jaxrpc-mapping.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/WEB-INF/wsdl/TestService.wsdl
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws434/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws434/WEB-INF/wsdl/TestService.wsdl
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws718/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws720/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws732/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws775/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws807/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws812/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-doclit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-rpclit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-rpclit/WEB-INF/web.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/overloaded/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wsbpel/hello/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/WEB-INF/jaxrpc-mapping.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/webserviceref/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/account-signup/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/rpc/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-wsse-server.xml
branches/dead-jsr181-backport/src/test/resources/jaxrpc/xop/rpclit/WEB-INF/jaxrpc-mapping.xml
branches/dead-jsr181-backport/src/test/resources/jaxws/jsr181/complex/jaxrpc-mapping.xml
branches/dead-jsr181-backport/src/test/resources/jaxws/jsr181/soapbinding/wrapped-mapping.xml
branches/dead-jsr181-backport/src/test/resources/jaxws/samples/jsr181ejb/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxws/samples/jsr181pojo/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxws/samples/wsaddressing/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/action/META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/replyto/Initial-META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml
branches/dead-jsr181-backport/src/test/resources/tools/holders/java/org/jboss/test/HoldersServiceInterface.java
branches/dead-jsr181-backport/src/test/resources/tools/jbws-211/wsdlFixture/OneWay/OneWayService.wsdl
branches/dead-jsr181-backport/src/test/resources/tools/jbws818/CrossPackageInheritenceService.wsdl
branches/dead-jsr181-backport/version.properties
Log:
Add dead backport work in case we ever need it
Copied: branches/dead-jsr181-backport (from rev 1632, branches/jbossws-1.0)
Modified: branches/dead-jsr181-backport/.classpath
===================================================================
--- branches/jbossws-1.0/.classpath 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/.classpath 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,37 +1,37 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry excluding="org/jboss/test/ws/jaxrpc/samples/wsbpel/" kind="src" path="output/tests/wstools/java"/>
- <classpathentry excluding="org/jboss/test/ws/interop/" kind="src" path="src/test/java"/>
- <classpathentry kind="lib" path="thirdparty/activation.jar"/>
- <classpathentry kind="lib" path="thirdparty/mailapi.jar"/>
- <classpathentry kind="lib" path="thirdparty/qdox.jar"/>
- <classpathentry kind="lib" path="thirdparty/servlet-api.jar"/>
- <classpathentry kind="lib" path="thirdparty/xercesImpl.jar"/>
- <classpathentry kind="lib" path="thirdparty/xml-apis.jar"/>
- <classpathentry kind="lib" path="thirdparty/xmlsec.jar"/>
- <classpathentry kind="lib" path="thirdparty/xmlunit1.0.jar"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="lib" path="thirdparty/xalan.jar"/>
- <classpathentry kind="lib" path="thirdparty/junit.jar"/>
- <classpathentry kind="lib" path="thirdparty/concurrent.jar"/>
- <classpathentry kind="lib" path="thirdparty/javassist.jar"/>
- <classpathentry kind="lib" path="thirdparty/policy-1.0.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss-container.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss-dependency.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss-microcontainer.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss-xml-binding.jar"/>
- <classpathentry kind="lib" path="thirdparty/stax-api-1.0.jar"/>
- <classpathentry kind="lib" path="thirdparty/wstx-lgpl-2.0.6.jar"/>
- <classpathentry kind="lib" path="thirdparty/ant.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss.jar" sourcepath="/home/tdiesler/svn/jbossas/tags/JBoss_4_0_5_GA/server/src/main"/>
- <classpathentry kind="lib" path="thirdparty/jboss-j2ee.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss-jmx.jar"/>
- <classpathentry kind="lib" path="thirdparty/jbosssx.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss-system.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss-common.jar"/>
- <classpathentry kind="lib" path="thirdparty/jboss-remoting.jar"/>
- <classpathentry kind="lib" path="thirdparty/wsdl4j.jar"/>
- <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/jboss-4.2.x"/>
- <classpathentry kind="output" path="output-eclipse"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry excluding="org/jboss/test/ws/jaxrpc/samples/wsbpel/" kind="src" path="output/tests/wstools/java"/>
+ <classpathentry excluding="org/jboss/test/ws/interop/" kind="src" path="src/test/java"/>
+ <classpathentry kind="lib" path="thirdparty/activation.jar"/>
+ <classpathentry kind="lib" path="thirdparty/mailapi.jar"/>
+ <classpathentry kind="lib" path="thirdparty/qdox.jar"/>
+ <classpathentry kind="lib" path="thirdparty/servlet-api.jar"/>
+ <classpathentry kind="lib" path="thirdparty/xercesImpl.jar"/>
+ <classpathentry kind="lib" path="thirdparty/xml-apis.jar"/>
+ <classpathentry kind="lib" path="thirdparty/xmlsec.jar"/>
+ <classpathentry kind="lib" path="thirdparty/xmlunit1.0.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="thirdparty/xalan.jar"/>
+ <classpathentry kind="lib" path="thirdparty/junit.jar"/>
+ <classpathentry kind="lib" path="thirdparty/concurrent.jar"/>
+ <classpathentry kind="lib" path="thirdparty/javassist.jar"/>
+ <classpathentry kind="lib" path="thirdparty/policy-1.0.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-container.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-dependency.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-microcontainer.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-xml-binding.jar"/>
+ <classpathentry kind="lib" path="thirdparty/stax-api-1.0.jar"/>
+ <classpathentry kind="lib" path="thirdparty/wstx-lgpl-2.0.6.jar"/>
+ <classpathentry kind="lib" path="thirdparty/ant.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-j2ee.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-jmx.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jbosssx.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-system.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-common.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-remoting.jar" sourcepath="C:/devel/JBossRemoting/src"/>
+ <classpathentry kind="lib" path="thirdparty/wsdl4j.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/jboss-4.2.x"/>
+ <classpathentry kind="output" path="output-eclipse"/>
+</classpath>
Modified: branches/dead-jsr181-backport/build.xml
===================================================================
--- branches/jbossws-1.0/build.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/build.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -131,7 +131,7 @@
<!-- Compile core java sources -->
<target name="compile-interfaces" depends="init">
<mkdir dir="${build.classes14.dir}"/>
- <javac srcdir="${src.java.dir}" destdir="${build.classes14.dir}" debug="${javac.debug}" verbose="${javac.verbose}"
+ <javac srcdir="${src.java.dir}" destdir="${build.classes14.dir}" encoding="utf-8" debug="${javac.debug}" verbose="${javac.verbose}"
deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}" source="1.4" target="1.4">
<include name="javax/xml/rpc/**"/>
<include name="javax/xml/soap/**"/>
@@ -142,7 +142,7 @@
<!-- Compile core java sources -->
<target name="compile-core" depends="compile-interfaces">
<mkdir dir="${build.classes.dir}"/>
- <javac srcdir="${src.java.dir}" sourcepath="" destdir="${build.classes.dir}" debug="${javac.debug}" verbose="${javac.verbose}"
+ <javac srcdir="${src.java.dir}" sourcepath="" destdir="${build.classes.dir}" encoding="utf-8" debug="${javac.debug}" verbose="${javac.verbose}"
deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
<include name="javax/xml/ws/**"/>
<include name="javax/jws/**"/>
@@ -157,7 +157,7 @@
<!-- Compile interation java sources -->
<target name="compile-integration" depends="compile-core">
<mkdir dir="${build.classes.dir}"/>
- <javac srcdir="${src.java.dir}" sourcepath="" destdir="${build.classes.dir}" debug="${javac.debug}" verbose="${javac.verbose}"
+ <javac srcdir="${src.java.dir}" sourcepath="" destdir="${build.classes.dir}" encoding="utf-8" debug="${javac.debug}" verbose="${javac.verbose}"
deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
<include name="org/jboss/ws/integration/**"/>
<include name="org/jboss/ws/transport/jms/**"/>
@@ -247,7 +247,7 @@
<jar jarfile="${build.lib.dir}/jbossws-jboss-integration.jar" manifest="${build.etc.dir}/default.mf">
<fileset dir="${build.classes.dir}">
<include name="org/jboss/ws/integration/*.class"/>
- <include name="org/jboss/ws/integration/jboss42/**"/>
+ <include name="org/jboss/ws/integration/jboss4/**"/>
<include name="org/jboss/ws/transport/jms/**"/>
<include name="org/jboss/ws/server/ServiceEndpointInterceptor.class"/>
</fileset>
@@ -269,7 +269,7 @@
<fileset dir="${build.classes.dir}">
<include name="javax/**"/>
<include name="org/jboss/ws/**"/>
- <exclude name="org/jboss/ws/integration/jboss42/**"/>
+ <exclude name="org/jboss/ws/integration/jboss4/**"/>
<exclude name="org/jboss/ws/integration/tomcat/**"/>
<exclude name="org/jboss/ws/transport/jms/**"/>
</fileset>
@@ -374,7 +374,7 @@
<jar jarfile="${build.lib.dir}/jbossws14-jboss-integration.jar" manifest="${build.etc.dir}/default.mf">
<fileset dir="${build.classes14.dir}">
<include name="org/jboss/ws/integration/*.class"/>
- <include name="org/jboss/ws/integration/jboss42/**"/>
+ <include name="org/jboss/ws/integration/jboss4/**"/>
<include name="org/jboss/ws/transport/jms/**"/>
<include name="org/jboss/ws/server/ServiceEndpointInterceptor.class"/>
</fileset>
@@ -392,7 +392,7 @@
<fileset dir="${build.classes14.dir}">
<include name="javax/**"/>
<include name="org/jboss/ws/**"/>
- <exclude name="org/jboss/ws/integration/jboss42/**"/>
+ <exclude name="org/jboss/ws/integration/jboss4/**"/>
<exclude name="org/jboss/ws/integration/tomcat/**"/>
<exclude name="org/jboss/ws/transport/jms/**"/>
</fileset>
Modified: branches/dead-jsr181-backport/src/ant/build-thirdparty.xml
===================================================================
--- branches/jbossws-1.0/src/ant/build-thirdparty.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/ant/build-thirdparty.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -106,9 +106,9 @@
<pathelement location="${thirdparty.dir}/jboss-system.jar"/>
<pathelement location="${jboss.server.deploy}/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar"/>
<pathelement location="${jboss.server.deploy}/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar"/>
- <pathelement location="${jboss.server.deploy}/ejb3.deployer/jboss-annotations-ejb3.jar"/>
<pathelement location="${jboss.server.deploy}/ejb3.deployer/jboss-ejb3.jar"/>
<pathelement location="${jboss.server.deploy}/ejb3.deployer/jboss-ejb3x.jar"/>
+ <pathelement location="${jboss.server.deploy}/ejb3.deployer/jboss-annotations-ejb3.jar"/>
</path>
</target>
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/Constants.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/Constants.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/Constants.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -27,6 +27,7 @@
import org.jboss.ws.core.soap.NameImpl;
+
/**
* A collection of constants relevant to JBossWS
*
@@ -69,6 +70,11 @@
/** The namespace for XOP. */
static final String NS_XOP = "http://www.w3.org/2004/08/xop/include";
+ /** A constant representing the identity of the SOAP 1.2 over HTTP binding. */
+ static final String SOAP12HTTP_BINDING = "http://www.w3.org/2003/05/soap/bindings/HTTP/";
+ /** A constant representing the identity of the SOAP 1.1 over HTTP binding. */
+ static final String SOAP11HTTP_BINDING = "http://schemas.xmlsoap.org/wsdl/soap/http";
+
/** SOAP-1.1 encoding URI */
static final String URI_SOAP11_ENC = "http://schemas.xmlsoap.org/soap/encoding/";
/** SOAP-1.2 encoding URI */
@@ -127,91 +133,91 @@
static final String DEFAULT_RPC_RETURN_NAME = "result"; // FIXME: According to JSR-181 this should be 'return'
/** Standard Literal XML types */
- public static final QName TYPE_LITERAL_ANYSIMPLETYPE = new QName(NS_SCHEMA_XSD, "anySimpleType", PREFIX_XSD);
- public static final QName TYPE_LITERAL_ANYTYPE = new QName(NS_SCHEMA_XSD, "anyType", PREFIX_XSD);
- public static final QName TYPE_LITERAL_ANYURI = new QName(NS_SCHEMA_XSD, "anyURI", PREFIX_XSD);
- public static final QName TYPE_LITERAL_BASE64BINARY = new QName(NS_SCHEMA_XSD, "base64Binary", PREFIX_XSD);
- public static final QName TYPE_LITERAL_BOOLEAN = new QName(NS_SCHEMA_XSD, "boolean", PREFIX_XSD);
- public static final QName TYPE_LITERAL_BYTE = new QName(NS_SCHEMA_XSD, "byte", PREFIX_XSD);
- public static final QName TYPE_LITERAL_DATE = new QName(NS_SCHEMA_XSD, "date", PREFIX_XSD);
- public static final QName TYPE_LITERAL_DATETIME = new QName(NS_SCHEMA_XSD, "dateTime", PREFIX_XSD);
- public static final QName TYPE_LITERAL_DECIMAL = new QName(NS_SCHEMA_XSD, "decimal", PREFIX_XSD);
- public static final QName TYPE_LITERAL_DOUBLE = new QName(NS_SCHEMA_XSD, "double", PREFIX_XSD);
- public static final QName TYPE_LITERAL_DURATION = new QName(NS_SCHEMA_XSD, "duration", PREFIX_XSD);
- public static final QName TYPE_LITERAL_FLOAT = new QName(NS_SCHEMA_XSD, "float", PREFIX_XSD);
- public static final QName TYPE_LITERAL_GDAY = new QName(NS_SCHEMA_XSD, "gDay", PREFIX_XSD);
- public static final QName TYPE_LITERAL_GMONTH = new QName(NS_SCHEMA_XSD, "gMonth", PREFIX_XSD);
- public static final QName TYPE_LITERAL_GMONTHDAY = new QName(NS_SCHEMA_XSD, "gMonthDay", PREFIX_XSD);
- public static final QName TYPE_LITERAL_GYEAR = new QName(NS_SCHEMA_XSD, "gYear", PREFIX_XSD);
- public static final QName TYPE_LITERAL_GYEARMONTH = new QName(NS_SCHEMA_XSD, "gYearMonth", PREFIX_XSD);
- public static final QName TYPE_LITERAL_HEXBINARY = new QName(NS_SCHEMA_XSD, "hexBinary", PREFIX_XSD);
- public static final QName TYPE_LITERAL_ID = new QName(NS_SCHEMA_XSD, "ID", PREFIX_XSD);
- public static final QName TYPE_LITERAL_INT = new QName(NS_SCHEMA_XSD, "int", PREFIX_XSD);
- public static final QName TYPE_LITERAL_INTEGER = new QName(NS_SCHEMA_XSD, "integer", PREFIX_XSD);
- public static final QName TYPE_LITERAL_LANGUAGE = new QName(NS_SCHEMA_XSD, "language", PREFIX_XSD);
- public static final QName TYPE_LITERAL_LONG = new QName(NS_SCHEMA_XSD, "long", PREFIX_XSD);
- public static final QName TYPE_LITERAL_NAME = new QName(NS_SCHEMA_XSD, "Name", PREFIX_XSD);
- public static final QName TYPE_LITERAL_NCNAME = new QName(NS_SCHEMA_XSD, "NCName", PREFIX_XSD);
- public static final QName TYPE_LITERAL_NEGATIVEINTEGER = new QName(NS_SCHEMA_XSD, "negativeInteger", PREFIX_XSD);
- public static final QName TYPE_LITERAL_NMTOKEN = new QName(NS_SCHEMA_XSD, "NMTOKEN", PREFIX_XSD);
- public static final QName TYPE_LITERAL_NMTOKENS = new QName(NS_SCHEMA_XSD, "NMTOKENS", PREFIX_XSD);
- public static final QName TYPE_LITERAL_NONNEGATIVEINTEGER = new QName(NS_SCHEMA_XSD, "nonNegativeInteger", PREFIX_XSD);
- public static final QName TYPE_LITERAL_NONPOSITIVEINTEGER = new QName(NS_SCHEMA_XSD, "nonPositiveInteger", PREFIX_XSD);
- public static final QName TYPE_LITERAL_NORMALIZEDSTRING = new QName(NS_SCHEMA_XSD, "normalizedString", PREFIX_XSD);
- public static final QName TYPE_LITERAL_POSITIVEINTEGER = new QName(NS_SCHEMA_XSD, "positiveInteger", PREFIX_XSD);
- public static final QName TYPE_LITERAL_QNAME = new QName(NS_SCHEMA_XSD, "QName", PREFIX_XSD);
- public static final QName TYPE_LITERAL_SHORT = new QName(NS_SCHEMA_XSD, "short", PREFIX_XSD);
- public static final QName TYPE_LITERAL_STRING = new QName(NS_SCHEMA_XSD, "string", PREFIX_XSD);
- public static final QName TYPE_LITERAL_TIME = new QName(NS_SCHEMA_XSD, "time", PREFIX_XSD);
- public static final QName TYPE_LITERAL_TOKEN = new QName(NS_SCHEMA_XSD, "token", PREFIX_XSD);
- public static final QName TYPE_LITERAL_UNSIGNEDBYTE = new QName(NS_SCHEMA_XSD, "unsignedByte", PREFIX_XSD);
- public static final QName TYPE_LITERAL_UNSIGNEDINT = new QName(NS_SCHEMA_XSD, "unsignedInt", PREFIX_XSD);
- public static final QName TYPE_LITERAL_UNSIGNEDLONG = new QName(NS_SCHEMA_XSD, "unsignedLong", PREFIX_XSD);
- public static final QName TYPE_LITERAL_UNSIGNEDSHORT = new QName(NS_SCHEMA_XSD, "unsignedShort", PREFIX_XSD);
+ static final QName TYPE_LITERAL_ANYSIMPLETYPE = new QName(NS_SCHEMA_XSD, "anySimpleType", PREFIX_XSD);
+ static final QName TYPE_LITERAL_ANYTYPE = new QName(NS_SCHEMA_XSD, "anyType", PREFIX_XSD);
+ static final QName TYPE_LITERAL_ANYURI = new QName(NS_SCHEMA_XSD, "anyURI", PREFIX_XSD);
+ static final QName TYPE_LITERAL_BASE64BINARY = new QName(NS_SCHEMA_XSD, "base64Binary", PREFIX_XSD);
+ static final QName TYPE_LITERAL_BOOLEAN = new QName(NS_SCHEMA_XSD, "boolean", PREFIX_XSD);
+ static final QName TYPE_LITERAL_BYTE = new QName(NS_SCHEMA_XSD, "byte", PREFIX_XSD);
+ static final QName TYPE_LITERAL_DATE = new QName(NS_SCHEMA_XSD, "date", PREFIX_XSD);
+ static final QName TYPE_LITERAL_DATETIME = new QName(NS_SCHEMA_XSD, "dateTime", PREFIX_XSD);
+ static final QName TYPE_LITERAL_DECIMAL = new QName(NS_SCHEMA_XSD, "decimal", PREFIX_XSD);
+ static final QName TYPE_LITERAL_DOUBLE = new QName(NS_SCHEMA_XSD, "double", PREFIX_XSD);
+ static final QName TYPE_LITERAL_DURATION = new QName(NS_SCHEMA_XSD, "duration", PREFIX_XSD);
+ static final QName TYPE_LITERAL_FLOAT = new QName(NS_SCHEMA_XSD, "float", PREFIX_XSD);
+ static final QName TYPE_LITERAL_GDAY = new QName(NS_SCHEMA_XSD, "gDay", PREFIX_XSD);
+ static final QName TYPE_LITERAL_GMONTH = new QName(NS_SCHEMA_XSD, "gMonth", PREFIX_XSD);
+ static final QName TYPE_LITERAL_GMONTHDAY = new QName(NS_SCHEMA_XSD, "gMonthDay", PREFIX_XSD);
+ static final QName TYPE_LITERAL_GYEAR = new QName(NS_SCHEMA_XSD, "gYear", PREFIX_XSD);
+ static final QName TYPE_LITERAL_GYEARMONTH = new QName(NS_SCHEMA_XSD, "gYearMonth", PREFIX_XSD);
+ static final QName TYPE_LITERAL_HEXBINARY = new QName(NS_SCHEMA_XSD, "hexBinary", PREFIX_XSD);
+ static final QName TYPE_LITERAL_ID = new QName(NS_SCHEMA_XSD, "ID", PREFIX_XSD);
+ static final QName TYPE_LITERAL_INT = new QName(NS_SCHEMA_XSD, "int", PREFIX_XSD);
+ static final QName TYPE_LITERAL_INTEGER = new QName(NS_SCHEMA_XSD, "integer", PREFIX_XSD);
+ static final QName TYPE_LITERAL_LANGUAGE = new QName(NS_SCHEMA_XSD, "language", PREFIX_XSD);
+ static final QName TYPE_LITERAL_LONG = new QName(NS_SCHEMA_XSD, "long", PREFIX_XSD);
+ static final QName TYPE_LITERAL_NAME = new QName(NS_SCHEMA_XSD, "Name", PREFIX_XSD);
+ static final QName TYPE_LITERAL_NCNAME = new QName(NS_SCHEMA_XSD, "NCName", PREFIX_XSD);
+ static final QName TYPE_LITERAL_NEGATIVEINTEGER = new QName(NS_SCHEMA_XSD, "negativeInteger", PREFIX_XSD);
+ static final QName TYPE_LITERAL_NMTOKEN = new QName(NS_SCHEMA_XSD, "NMTOKEN", PREFIX_XSD);
+ static final QName TYPE_LITERAL_NMTOKENS = new QName(NS_SCHEMA_XSD, "NMTOKENS", PREFIX_XSD);
+ static final QName TYPE_LITERAL_NONNEGATIVEINTEGER = new QName(NS_SCHEMA_XSD, "nonNegativeInteger", PREFIX_XSD);
+ static final QName TYPE_LITERAL_NONPOSITIVEINTEGER = new QName(NS_SCHEMA_XSD, "nonPositiveInteger", PREFIX_XSD);
+ static final QName TYPE_LITERAL_NORMALIZEDSTRING = new QName(NS_SCHEMA_XSD, "normalizedString", PREFIX_XSD);
+ static final QName TYPE_LITERAL_POSITIVEINTEGER = new QName(NS_SCHEMA_XSD, "positiveInteger", PREFIX_XSD);
+ static final QName TYPE_LITERAL_QNAME = new QName(NS_SCHEMA_XSD, "QName", PREFIX_XSD);
+ static final QName TYPE_LITERAL_SHORT = new QName(NS_SCHEMA_XSD, "short", PREFIX_XSD);
+ static final QName TYPE_LITERAL_STRING = new QName(NS_SCHEMA_XSD, "string", PREFIX_XSD);
+ static final QName TYPE_LITERAL_TIME = new QName(NS_SCHEMA_XSD, "time", PREFIX_XSD);
+ static final QName TYPE_LITERAL_TOKEN = new QName(NS_SCHEMA_XSD, "token", PREFIX_XSD);
+ static final QName TYPE_LITERAL_UNSIGNEDBYTE = new QName(NS_SCHEMA_XSD, "unsignedByte", PREFIX_XSD);
+ static final QName TYPE_LITERAL_UNSIGNEDINT = new QName(NS_SCHEMA_XSD, "unsignedInt", PREFIX_XSD);
+ static final QName TYPE_LITERAL_UNSIGNEDLONG = new QName(NS_SCHEMA_XSD, "unsignedLong", PREFIX_XSD);
+ static final QName TYPE_LITERAL_UNSIGNEDSHORT = new QName(NS_SCHEMA_XSD, "unsignedShort", PREFIX_XSD);
/** Standard SOAP-1.1 encoded XML types */
- public static final QName TYPE_SOAP11_ANYSIMPLETYPE = new QName(URI_SOAP11_ENC, "anySimpleType", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_ANYTYPE = new QName(URI_SOAP11_ENC, "anyType", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_ANYURI = new QName(URI_SOAP11_ENC, "anyURI", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_BASE64 = new QName(URI_SOAP11_ENC, "base64", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_BASE64BINARY = new QName(URI_SOAP11_ENC, "base64Binary", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_BOOLEAN = new QName(URI_SOAP11_ENC, "boolean", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_BYTE = new QName(URI_SOAP11_ENC, "byte", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_DATE = new QName(URI_SOAP11_ENC, "date", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_DATETIME = new QName(URI_SOAP11_ENC, "dateTime", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_DECIMAL = new QName(URI_SOAP11_ENC, "decimal", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_DOUBLE = new QName(URI_SOAP11_ENC, "double", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_DURATION = new QName(URI_SOAP11_ENC, "duration", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_FLOAT = new QName(URI_SOAP11_ENC, "float", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_GDAY = new QName(URI_SOAP11_ENC, "gDay", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_GMONTH = new QName(URI_SOAP11_ENC, "gMonth", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_GMONTHDAY = new QName(URI_SOAP11_ENC, "gMonthDay", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_GYEAR = new QName(URI_SOAP11_ENC, "gYear", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_GYEARMONTH = new QName(URI_SOAP11_ENC, "gYearMonth", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_HEXBINARY = new QName(URI_SOAP11_ENC, "hexBinary", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_ID = new QName(URI_SOAP11_ENC, "ID", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_INT = new QName(URI_SOAP11_ENC, "int", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_INTEGER = new QName(URI_SOAP11_ENC, "integer", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_LANGUAGE = new QName(URI_SOAP11_ENC, "language", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_LONG = new QName(URI_SOAP11_ENC, "long", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_NAME = new QName(URI_SOAP11_ENC, "Name", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_NCNAME = new QName(URI_SOAP11_ENC, "NCName", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_NEGATIVEINTEGER = new QName(URI_SOAP11_ENC, "negativeInteger", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_NMTOKEN = new QName(URI_SOAP11_ENC, "NMTOKEN", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_NMTOKENS = new QName(URI_SOAP11_ENC, "NMTOKENS", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_NONNEGATIVEINTEGER = new QName(URI_SOAP11_ENC, "nonNegativeInteger", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_NONPOSITIVEINTEGER = new QName(URI_SOAP11_ENC, "nonPositiveInteger", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_NORMALIZEDSTRING = new QName(URI_SOAP11_ENC, "normalizedString", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_POSITIVEINTEGER = new QName(URI_SOAP11_ENC, "positiveInteger", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_QNAME = new QName(URI_SOAP11_ENC, "QName", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_SHORT = new QName(URI_SOAP11_ENC, "short", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_STRING = new QName(URI_SOAP11_ENC, "string", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_TIME = new QName(URI_SOAP11_ENC, "time", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_TOKEN = new QName(URI_SOAP11_ENC, "token", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_UNSIGNEDBYTE = new QName(URI_SOAP11_ENC, "unsignedByte", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_UNSIGNEDINT = new QName(URI_SOAP11_ENC, "unsignedInt", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_UNSIGNEDLONG = new QName(URI_SOAP11_ENC, "unsignedLong", PREFIX_SOAP11_ENC);
- public static final QName TYPE_SOAP11_UNSIGNEDSHORT = new QName(URI_SOAP11_ENC, "unsignedShort", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_ANYSIMPLETYPE = new QName(URI_SOAP11_ENC, "anySimpleType", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_ANYTYPE = new QName(URI_SOAP11_ENC, "anyType", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_ANYURI = new QName(URI_SOAP11_ENC, "anyURI", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_BASE64 = new QName(URI_SOAP11_ENC, "base64", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_BASE64BINARY = new QName(URI_SOAP11_ENC, "base64Binary", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_BOOLEAN = new QName(URI_SOAP11_ENC, "boolean", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_BYTE = new QName(URI_SOAP11_ENC, "byte", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_DATE = new QName(URI_SOAP11_ENC, "date", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_DATETIME = new QName(URI_SOAP11_ENC, "dateTime", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_DECIMAL = new QName(URI_SOAP11_ENC, "decimal", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_DOUBLE = new QName(URI_SOAP11_ENC, "double", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_DURATION = new QName(URI_SOAP11_ENC, "duration", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_FLOAT = new QName(URI_SOAP11_ENC, "float", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_GDAY = new QName(URI_SOAP11_ENC, "gDay", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_GMONTH = new QName(URI_SOAP11_ENC, "gMonth", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_GMONTHDAY = new QName(URI_SOAP11_ENC, "gMonthDay", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_GYEAR = new QName(URI_SOAP11_ENC, "gYear", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_GYEARMONTH = new QName(URI_SOAP11_ENC, "gYearMonth", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_HEXBINARY = new QName(URI_SOAP11_ENC, "hexBinary", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_ID = new QName(URI_SOAP11_ENC, "ID", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_INT = new QName(URI_SOAP11_ENC, "int", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_INTEGER = new QName(URI_SOAP11_ENC, "integer", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_LANGUAGE = new QName(URI_SOAP11_ENC, "language", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_LONG = new QName(URI_SOAP11_ENC, "long", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_NAME = new QName(URI_SOAP11_ENC, "Name", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_NCNAME = new QName(URI_SOAP11_ENC, "NCName", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_NEGATIVEINTEGER = new QName(URI_SOAP11_ENC, "negativeInteger", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_NMTOKEN = new QName(URI_SOAP11_ENC, "NMTOKEN", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_NMTOKENS = new QName(URI_SOAP11_ENC, "NMTOKENS", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_NONNEGATIVEINTEGER = new QName(URI_SOAP11_ENC, "nonNegativeInteger", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_NONPOSITIVEINTEGER = new QName(URI_SOAP11_ENC, "nonPositiveInteger", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_NORMALIZEDSTRING = new QName(URI_SOAP11_ENC, "normalizedString", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_POSITIVEINTEGER = new QName(URI_SOAP11_ENC, "positiveInteger", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_QNAME = new QName(URI_SOAP11_ENC, "QName", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_SHORT = new QName(URI_SOAP11_ENC, "short", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_STRING = new QName(URI_SOAP11_ENC, "string", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_TIME = new QName(URI_SOAP11_ENC, "time", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_TOKEN = new QName(URI_SOAP11_ENC, "token", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_UNSIGNEDBYTE = new QName(URI_SOAP11_ENC, "unsignedByte", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_UNSIGNEDINT = new QName(URI_SOAP11_ENC, "unsignedInt", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_UNSIGNEDLONG = new QName(URI_SOAP11_ENC, "unsignedLong", PREFIX_SOAP11_ENC);
+ static final QName TYPE_SOAP11_UNSIGNEDSHORT = new QName(URI_SOAP11_ENC, "unsignedShort", PREFIX_SOAP11_ENC);
/** Encoded mime type namespace for internall and DII use */
static final String NS_ATTACHMENT_MIME_TYPE = "http://www.jboss.org/jbossws/attachment/mimetype";
@@ -267,4 +273,6 @@
static final String WSDL20_PATTERN_ROBUST_OUT_ONLY = "http://www.w3.org/2004/08/wsdl/robust-out-only";
static final String WSDL20_PATTERN_OUT_IN = "http://www.w3.org/2004/08/wsdl/out-in";
static final String WSDL20_PATTERN_OUT_OPT_IN = "http://www.w3.org/2004/08/wsdl/out-opt-in";
+
+ static final String ASYNC_METHOD_SUFFIX = "Async";
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/WSException.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/WSException.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/WSException.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -52,11 +52,11 @@
super(cause);
}
- public static void rethrowException(String msg, Exception ex)
+ public static void rethrow(String string, Throwable th)
{
- if (ex instanceof WSException)
- throw (WSException)ex;
-
- throw new WSException(msg, ex);
+ if (th instanceof WSException)
+ throw (WSException)th;
+
+ throw new WSException(string, th);
}
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonBindingProvider.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/CommonBindingProvider.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonBindingProvider.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,39 +24,42 @@
// $Id$
import org.jboss.ws.WSException;
+import org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC;
+import org.jboss.ws.core.jaxrpc.SOAP12BindingJAXRPC;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
/**
* Provides access to the protocol binding.
- *
+ *
* @author Thomas.Diesler at jboss.com
* @since 04-Jul-2006
*/
-public class CommonBindingProvider
+public class CommonBindingProvider
{
protected EndpointMetaData epMetaData;
protected CommonBinding binding;
-
+
public CommonBindingProvider(EndpointMetaData epMetaData)
{
this.epMetaData = epMetaData;
- initBinding(epMetaData.getBindingId());
+ initBinding(epMetaData.getBindingId(), epMetaData.getType());
}
-
- public CommonBindingProvider(String bindingId)
+
+ public CommonBindingProvider(String bindingId, Type type)
{
- initBinding(bindingId);
+ initBinding(bindingId, type);
}
- protected void initBinding(String bindingId)
+ protected void initBinding(String bindingId, Type type)
{
if (CommonSOAPBinding.SOAP11HTTP_BINDING.equals(bindingId))
{
- binding = new CommonSOAP11Binding();
+ binding = new SOAP11BindingJAXRPC();
}
else if (CommonSOAPBinding.SOAP12HTTP_BINDING.equals(bindingId))
{
- binding = new CommonSOAP12Binding();
+ binding = new SOAP12BindingJAXRPC();
}
else
{
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonClient.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/CommonClient.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonClient.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,12 +25,10 @@
import java.net.MalformedURLException;
import java.net.URL;
-import java.rmi.RemoteException;
import java.util.Map;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
-import javax.xml.rpc.soap.SOAPFaultException;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
import javax.xml.ws.addressing.AddressingProperties;
@@ -44,10 +42,10 @@
import org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl;
import org.jboss.ws.core.soap.EndpointInfo;
import org.jboss.ws.core.soap.MessageContextAssociation;
+import org.jboss.ws.core.soap.SOAPBodyImpl;
import org.jboss.ws.core.soap.SOAPConnectionImpl;
import org.jboss.ws.core.soap.UnboundHeader;
import org.jboss.ws.core.utils.HolderUtils;
-import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.extensions.addressing.AddressingConstantsImpl;
import org.jboss.ws.metadata.umdm.ClientEndpointMetaData;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
@@ -58,13 +56,13 @@
import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
-/**
+/**
* Provides support for the dynamic invocation of a service endpoint.
*
* @author Thomas.Diesler at jboss.org
* @since 10-Oct-2004
*/
-public abstract class CommonClient
+public abstract class CommonClient
{
// provide logging
private static Logger log = Logger.getLogger(CommonClient.class);
@@ -98,7 +96,7 @@
/** Create a call for a known WSDL endpoint.
*/
- protected CommonClient(ServiceMetaData serviceMetaData, QName portName, QName opName)
+ protected CommonClient(ServiceMetaData serviceMetaData, QName portName, QName opName)
{
if (serviceMetaData != null)
{
@@ -126,7 +124,7 @@
*/
public abstract String getTargetEndpointAddress();
- /** Sets the address of the target service endpoint.
+ /** Sets the address of the target service endpoint.
*/
public abstract void setTargetEndpointAddress(String address);
@@ -155,9 +153,8 @@
return getOperationMetaData(operationName);
}
- /** Get the OperationMetaData for the given operation name
- * If it does not exist, it will be created
- */
+ // Get the OperationMetaData for the given operation name
+ // If it does not exist, it will be created
public OperationMetaData getOperationMetaData(QName opName)
{
if (opName == null)
@@ -188,7 +185,7 @@
ServiceMetaData serviceMetaData = new ServiceMetaData(wsMetaData, new QName(Constants.NS_JBOSSWS_URI, "AnonymousService"));
wsMetaData.addService(serviceMetaData);
- epMetaData = new ClientEndpointMetaData(serviceMetaData, new QName(Constants.NS_JBOSSWS_URI, "AnonymousPort"), Type.JAXRPC);
+ epMetaData = new ClientEndpointMetaData(serviceMetaData, new QName(Constants.NS_JBOSSWS_URI, "AnonymousPort"), new QName(Constants.NS_JBOSSWS_URI, "Anonymous"), Type.JAXRPC);
epMetaData.setStyle(Style.RPC);
serviceMetaData.addEndpoint(epMetaData);
@@ -214,12 +211,13 @@
* 6) unwrap the result using the BindingProvider
* 7) return the result
*/
- protected Object invoke(QName opName, Object[] inputParams, Map<QName, UnboundHeader> unboundHeaders, boolean oneway) throws RemoteException
+ protected Object invoke(QName opName, Object[] inputParams, Map<QName, UnboundHeader> unboundHeaders, Map<String, Object> resContext, boolean forceOneway) throws Exception
{
if (opName.equals(operationName) == false)
setOperationName(opName);
OperationMetaData opMetaData = getOperationMetaData();
+ boolean oneway = forceOneway || opMetaData.isOneWay();
// Associate a message context with the current thread
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
@@ -245,17 +243,17 @@
SOAPMessage reqMessage = (SOAPMessage)binding.bindRequestMessage(opMetaData, epInv, unboundHeaders);
setOutboundContextProperties();
-
+
// Call the request handlers
QName portName = epMetaData.getQName();
boolean handlerPass = callRequestHandlerChain(portName, HandlerType.PRE);
handlerPass = handlerPass && callRequestHandlerChain(portName, HandlerType.ENDPOINT);
handlerPass = handlerPass && callRequestHandlerChain(portName, HandlerType.POST);
-
+
if (handlerPass)
{
String targetAddress = getTargetEndpointAddress();
-
+
// Fall back to wsa:To
AddressingProperties addrProps = (AddressingProperties)msgContext.getProperty(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_OUTBOUND);
if (targetAddress == null && addrProps != null && addrProps.getTo() != null)
@@ -282,7 +280,7 @@
throw new WSException("Target endpoint address not set");
EndpointInfo epInfo = new EndpointInfo(epMetaData, targetAddress, getRequestContext());
-
+
SOAPMessage resMessage;
if (oneway)
{
@@ -298,16 +296,15 @@
}
setInboundContextProperties();
-
+
// Get the return object
Object retObj = null;
if (oneway == false)
{
// Call the response handlers
handlerPass = callResponseHandlerChain(portName, HandlerType.POST);
- handlerPass = handlerPass && callResponseHandlerChain(portName, HandlerType.ENDPOINT);
- handlerPass = handlerPass && callResponseHandlerChain(portName, HandlerType.PRE);
+ // unbind the return values
if (handlerPass)
{
// BP-1.0 R1027
@@ -319,23 +316,26 @@
retObj = syncOutputParams(inputParams, epInv);
}
+
+ handlerPass = handlerPass && callResponseHandlerChain(portName, HandlerType.ENDPOINT);
+ handlerPass = handlerPass && callResponseHandlerChain(portName, HandlerType.PRE);
+
+ // Check if protocol handlers modified the payload
+ if (((SOAPBodyImpl)reqMessage.getSOAPBody()).isModifiedFromSource())
+ {
+ log.debug("Handler modified body payload, unbind message again");
+ SOAPMessage resMessage = msgContext.getSOAPMessage();
+ binding.unbindResponseMessage(opMetaData, resMessage, epInv, unboundHeaders);
+ }
+
+ retObj = syncOutputParams(inputParams, epInv);
}
return retObj;
}
- catch (SOAPFaultException ex)
- {
- log.error("Call invocation failed", ex);
- String faultCode = ex.getFaultCode().getLocalPart();
- throw new RemoteException("Call invocation failed with code [" + faultCode + "] because of: " + ex.getFaultString(), ex);
- }
- catch (Exception ex)
- {
- throw new RemoteException("Call invocation failed", ex);
- }
finally
{
- getResponseContext().putAll(msgContext.getProperties());
+ resContext.putAll(msgContext.getProperties());
}
}
@@ -350,8 +350,6 @@
protected abstract Map<String, Object> getRequestContext();
- protected abstract Map<String, Object> getResponseContext();
-
/** Synchronize the operation paramters with the call output parameters.
*/
private Object syncOutputParams(Object[] inParams, EndpointInvocation epInv) throws SOAPException
@@ -365,14 +363,10 @@
{
retValue = epInv.getReturnValue();
if (opMetaData.isDocumentWrapped() && retMetaData.isMessageType() == false)
- retValue = ParameterWrapping.unwrapResponseParameter(opMetaData, retValue);
-
- if (JavaUtils.isPrimitive(retMetaData.getJavaType()))
- retValue = JavaUtils.getPrimitiveValue(retValue);
+ retValue = ParameterWrapping.unwrapResponseParameters(retMetaData, retValue, inParams);
}
// Set the holder values for INOUT parameters
- int index = 0;
for (ParameterMetaData paramMetaData : opMetaData.getParameters())
{
ParameterMode paramMode = paramMetaData.getMode();
@@ -381,14 +375,10 @@
{
QName xmlName = paramMetaData.getXmlName();
Object value = epInv.getResponseParamValue(xmlName);
+ int index = paramMetaData.getIndex();
log.debug("holder [" + index + "] " + xmlName);
HolderUtils.setHolderValue(inParams[index], value);
}
-
- if (index == 0 && opMetaData.isDocumentWrapped())
- index = paramMetaData.getWrappedVariables().size() - 1;
-
- index++;
}
return retValue;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAP11Binding.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/CommonSOAP11Binding.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAP11Binding.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,20 +23,13 @@
// $Id$
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.Call;
-import javax.xml.soap.MimeHeaders;
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
import org.jboss.ws.Constants;
import org.jboss.ws.core.jaxrpc.Use;
-import org.jboss.ws.core.soap.MessageContextAssociation;
import org.jboss.ws.core.soap.MessageFactoryImpl;
-import org.jboss.ws.core.soap.UnboundHeader;
import org.jboss.ws.metadata.umdm.OperationMetaData;
/**
@@ -45,8 +38,12 @@
* @author Thomas.Diesler at jboss.com
* @since 04-Jul-2006
*/
-public class CommonSOAP11Binding extends CommonSOAPBinding
+public abstract class CommonSOAP11Binding extends CommonSOAPBinding
{
+ public CommonSOAP11Binding()
+ {
+ }
+
/** Create the SOAP-1.1 message */
protected SOAPMessage createMessage(OperationMetaData opMetaData) throws SOAPException
{
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAP12Binding.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/CommonSOAP12Binding.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAP12Binding.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,18 +23,11 @@
// $Id$
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.Call;
-import javax.xml.soap.MimeHeaders;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
import org.jboss.ws.Constants;
-import org.jboss.ws.core.soap.MessageContextAssociation;
import org.jboss.ws.core.soap.MessageFactoryImpl;
-import org.jboss.ws.core.soap.UnboundHeader;
import org.jboss.ws.metadata.umdm.OperationMetaData;
/**
@@ -43,8 +36,13 @@
* @author Thomas.Diesler at jboss.com
* @since 04-Jul-2006
*/
-public class CommonSOAP12Binding extends CommonSOAPBinding
+public abstract class CommonSOAP12Binding extends CommonSOAPBinding
{
+
+ public CommonSOAP12Binding()
+ {
+ }
+
/** Create the SOAP-1.1 message */
protected SOAPMessage createMessage(OperationMetaData opMetaData) throws SOAPException
{
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAPBinding.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/CommonSOAPBinding.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/CommonSOAPBinding.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -30,13 +30,9 @@
import javax.activation.DataHandler;
import javax.xml.namespace.QName;
-import javax.xml.rpc.Call;
-import javax.xml.rpc.JAXRPCException;
import javax.xml.rpc.ParameterMode;
-import javax.xml.rpc.soap.SOAPFaultException;
import javax.xml.soap.AttachmentPart;
import javax.xml.soap.MessageFactory;
-import javax.xml.soap.MimeHeaders;
import javax.xml.soap.Name;
import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPBodyElement;
@@ -53,10 +49,8 @@
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
import org.jboss.ws.core.jaxrpc.ParameterWrapping;
-import org.jboss.ws.core.jaxrpc.SOAPFaultExceptionHelper;
import org.jboss.ws.core.jaxrpc.StubExt;
import org.jboss.ws.core.jaxrpc.Style;
-import org.jboss.ws.core.jaxrpc.Use;
import org.jboss.ws.core.jaxrpc.binding.BindingException;
import org.jboss.ws.core.soap.MessageContextAssociation;
import org.jboss.ws.core.soap.MessageFactoryImpl;
@@ -83,24 +77,46 @@
import org.w3c.dom.Element;
/**
- * The SOAPBinding interface is an abstraction for the SOAP binding.
- *
+ * The SOAPBinding interface is an abstraction for the SOAP binding.
+ *
* @author Thomas.Diesler at jboss.com
* @since 04-Jul-2006
*/
-public abstract class CommonSOAPBinding implements CommonBinding
+public abstract class CommonSOAPBinding implements CommonBinding
{
// provide logging
private static Logger log = Logger.getLogger(CommonSOAPBinding.class);
private boolean mtomEnabled;
- /** A constant representing the identity of the SOAP 1.2 over HTTP binding. */
+ /**
+ * A constant representing the identity of the SOAP 1.1 over HTTP binding.
+ */
+ public static final String SOAP11HTTP_BINDING = "http://schemas.xmlsoap.org/wsdl/soap/http";
+
+ /**
+ * A constant representing the identity of the SOAP 1.2 over HTTP binding.
+ */
public static final String SOAP12HTTP_BINDING = "http://www.w3.org/2003/05/soap/bindings/HTTP/";
- /** A constant representing the identity of the SOAP 1.1 over HTTP binding. */
- public static final String SOAP11HTTP_BINDING = "http://schemas.xmlsoap.org/wsdl/soap/http";
+ /**
+ * A constant representing the identity of the SOAP 1.1 over HTTP binding
+ * with MTOM enabled by default.
+ */
+ public static final String SOAP11HTTP_MTOM_BINDING = "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true";
+ /**
+ * A constant representing the identity of the SOAP 1.2 over HTTP binding
+ * with MTOM enabled by default.
+ */
+ public static final String SOAP12HTTP_MTOM_BINDING = "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true";
+
+ private static final Name SOAP_ARRAY_NAME = new NameImpl("Array", Constants.PREFIX_SOAP11_ENC, Constants.URI_SOAP11_ENC);
+
+ public CommonSOAPBinding()
+ {
+ }
+
public MessageFactory getMessageFactory()
{
return new MessageFactoryImpl();
@@ -137,8 +153,10 @@
// Disable MTOM for rpc/encoded
if (opMetaData.isRPCEncoded())
- msgContext.setProperty(StubExt.PROPERTY_MTOM_ENABLED, Boolean.FALSE);
-
+ XOPContext.setMTOMEnabled(false);
+ else
+ XOPContext.setMTOMEnabled( isMTOMEnabled() );
+
// Associate current message with message context
SOAPMessageImpl reqMessage = (SOAPMessageImpl)createMessage(opMetaData);
msgContext.setSOAPMessage(reqMessage);
@@ -151,58 +169,34 @@
NamespaceRegistry namespaceRegistry = msgContext.getNamespaceRegistry();
Style style = opMetaData.getStyle();
+ SOAPElement soapBodyElement = soapBody;
if (style == Style.RPC)
{
QName opQName = opMetaData.getQName();
Name opName = new NameImpl(namespaceRegistry.registerQName(opQName));
log.debug("Create RPC body element: " + opName);
- SOAPBodyElement soapBodyElement = new SOAPBodyElementRpc(opName);
-
+ soapBodyElement = new SOAPBodyElementRpc(opName);
soapBodyElement = (SOAPBodyElement)soapBody.addChildElement(soapBodyElement);
+ }
- for (ParameterMetaData paramMetaData : opMetaData.getInputParameters())
- {
- QName xmlName = paramMetaData.getXmlName();
- Object value = epInv.getRequestParamValue(xmlName);
+ for (ParameterMetaData paramMetaData : opMetaData.getInputParameters())
+ {
+ QName xmlName = paramMetaData.getXmlName();
+ Object value = epInv.getRequestParamValue(xmlName);
- if (paramMetaData.isSwA())
- {
- CIDGenerator cidGenerator = reqMessage.getCidGenerator();
- AttachmentPart part = createAttachmentPart(paramMetaData, value, cidGenerator);
- reqMessage.addAttachmentPart(part);
- }
- else
- {
- SOAPElement soapElement = paramMetaData.isInHeader() ? (SOAPElement)soapHeader : soapBodyElement;
- addParameterToMessage(paramMetaData, value, soapElement);
- }
+ if (paramMetaData.isSwA())
+ {
+ CIDGenerator cidGenerator = reqMessage.getCidGenerator();
+ AttachmentPart part = createAttachmentPart(paramMetaData, value, cidGenerator);
+ reqMessage.addAttachmentPart(part);
}
- }
- else if (style == Style.DOCUMENT)
- {
- for (ParameterMetaData paramMetaData : opMetaData.getInputParameters())
+ else
{
- QName xmlName = paramMetaData.getXmlName();
- Object value = epInv.getRequestParamValue(xmlName);
-
- if (paramMetaData.isSwA())
- {
- CIDGenerator cidGenerator = reqMessage.getCidGenerator();
- AttachmentPart part = createAttachmentPart(paramMetaData, value, cidGenerator);
- reqMessage.addAttachmentPart(part);
- }
- else
- {
- SOAPElement soapElement = paramMetaData.isInHeader() ? (SOAPElement)soapHeader : soapBody;
- addParameterToMessage(paramMetaData, value, soapElement);
- }
+ SOAPElement soapElement = paramMetaData.isInHeader() ? (SOAPElement)soapHeader : soapBodyElement;
+ addParameterToMessage(paramMetaData, value, soapElement);
}
}
- else
- {
- throw new WSException("Unsupported message style: " + style);
- }
// Add unbound headers
if (unboundHeaders != null)
@@ -228,28 +222,9 @@
}
}
- // Set the SOAPAction
- MimeHeaders mimeHeaders = reqMessage.getMimeHeaders();
- String soapAction = opMetaData.getSOAPAction();
+ // Set the SOAPAction
+ setSOAPActionHeader(opMetaData, reqMessage);
- // R2744 A HTTP request MESSAGE MUST contain a SOAPAction HTTP header field
- // with a quoted value equal to the value of the soapAction attribute of
- // soapbind:operation, if present in the corresponding WSDL description.
-
- // R2745 A HTTP request MESSAGE MUST contain a SOAPAction HTTP header field
- // with a quoted empty string value, if in the corresponding WSDL description,
- // the soapAction attribute of soapbind:operation is either not present, or
- // present with an empty string as its value.
-
- if (msgContext.getProperty(Call.SOAPACTION_USE_PROPERTY) != null)
- log.info("Ignore Call.SOAPACTION_USE_PROPERTY because of BP-1.0 R2745, R2745");
-
- String soapActionProperty = (String)msgContext.getProperty(Call.SOAPACTION_URI_PROPERTY);
- if (soapActionProperty != null)
- soapAction = soapActionProperty;
-
- mimeHeaders.addHeader("SOAPAction", soapAction != null ? soapAction : "");
-
return reqMessage;
}
catch (Exception e)
@@ -259,6 +234,9 @@
}
}
+ /** Override to set the SOAPAction header */
+ public abstract void setSOAPActionHeader(OperationMetaData opMetaData, SOAPMessage reqMessage);
+
/** On the server side, extract the IN parameters from the payload and populate an Invocation object */
public EndpointInvocation unbindRequestMessage(OperationMetaData opMetaData, Object payload) throws BindingException
{
@@ -285,58 +263,32 @@
// Disable MTOM for rpc/encoded
if (opMetaData.isRPCEncoded())
msgContext.setProperty(StubExt.PROPERTY_MTOM_ENABLED, Boolean.FALSE);
-
+
// Get the namespace registry
NamespaceRegistry namespaceRegistry = msgContext.getNamespaceRegistry();
if (opMetaData.isMessageEndpoint() == false)
{
Style style = opMetaData.getStyle();
+ SOAPElement soapBodyElement = soapBody;
if (style == Style.RPC)
{
- SOAPBodyElement soapBodyElement = (SOAPBodyElement)soapBody.getChildElements().next();
+ soapBodyElement = (SOAPBodyElement)soapBody.getChildElements().next();
Name elName = soapBodyElement.getElementName();
QName elQName = new QName(elName.getURI(), elName.getLocalName(), elName.getPrefix());
elQName = namespaceRegistry.registerQName(elQName);
-
- for (ParameterMetaData paramMetaData : opMetaData.getParameters())
- {
- QName xmlName = paramMetaData.getXmlName();
- if (paramMetaData.getMode() == ParameterMode.OUT)
- {
- epInv.setRequestParamValue(xmlName, null);
- }
- else
- {
- if (paramMetaData.isSwA())
- {
- Object value = getAttachmentFromMessage(paramMetaData, reqMessage);
- epInv.setRequestParamValue(xmlName, value);
- }
- else
- {
- if (paramMetaData.isInHeader() == false)
- {
- Object value = getParameterFromMessage(paramMetaData, soapBodyElement, false);
- epInv.setRequestParamValue(xmlName, value);
- }
- else
- {
- Object value = getParameterFromMessage(paramMetaData, soapHeader, false);
- epInv.setRequestParamValue(xmlName, value);
- }
- }
- }
- }
}
- // Document style
- else
+ for (ParameterMetaData paramMetaData : opMetaData.getParameters())
{
- for (ParameterMetaData paramMetaData : opMetaData.getParameters())
+ QName xmlName = paramMetaData.getXmlName();
+ if (paramMetaData.getMode() == ParameterMode.OUT)
{
- QName xmlName = paramMetaData.getXmlName();
+ epInv.setRequestParamValue(xmlName, null);
+ }
+ else
+ {
if (paramMetaData.isSwA())
{
Object value = getAttachmentFromMessage(paramMetaData, reqMessage);
@@ -344,24 +296,9 @@
}
else
{
- if (paramMetaData.isInHeader())
- {
- if (paramMetaData.getMode() == ParameterMode.IN)
- {
- Object value = getParameterFromMessage(paramMetaData, soapHeader, false);
- epInv.setRequestParamValue(xmlName, value);
- }
- else
- {
- Object value = getParameterFromMessage(paramMetaData, soapHeader, true);
- epInv.setRequestParamValue(xmlName, value);
- }
- }
- else
- {
- Object value = getParameterFromMessage(paramMetaData, soapBody, false);
- epInv.setRequestParamValue(xmlName, value);
- }
+ SOAPElement element = paramMetaData.isInHeader() ? soapHeader : soapBodyElement;
+ Object value = getParameterFromMessage(paramMetaData, element, false);
+ epInv.setRequestParamValue(xmlName, value);
}
}
}
@@ -400,15 +337,17 @@
// Disable MTOM for rpc/encoded
if (opMetaData.isRPCEncoded())
- msgContext.setProperty(StubExt.PROPERTY_MTOM_ENABLED, Boolean.FALSE);
-
+ XOPContext.setMTOMEnabled(false);
+ else
+ XOPContext.setMTOMEnabled( isMTOMEnabled() );
+
// Associate current message with message context
SOAPMessageImpl resMessage = (SOAPMessageImpl)createMessage(opMetaData);
msgContext.setSOAPMessage(resMessage);
// R2714 For one-way operations, an INSTANCE MUST NOT return a HTTP response that contains a SOAP envelope.
// Specifically, the HTTP response entity-body must be empty.
- if (opMetaData.isOneWayOperation())
+ if (opMetaData.isOneWay())
{
resMessage.getSOAPPart().setContent(null);
return resMessage;
@@ -422,97 +361,61 @@
NamespaceRegistry namespaceRegistry = msgContext.getNamespaceRegistry();
Style style = opMetaData.getStyle();
+ SOAPElement soapBodyElement = soapBody;
if (style == Style.RPC)
{
QName opQName = opMetaData.getResponseName();
Name opName = new NameImpl(namespaceRegistry.registerQName(opQName));
- SOAPBodyElement soapBodyElement = new SOAPBodyElementRpc(opName);
-
+ soapBodyElement = new SOAPBodyElementRpc(opName);
soapBodyElement = (SOAPBodyElement)soapBody.addChildElement(soapBodyElement);
-
- // Add the return to the message
- ParameterMetaData retMetaData = opMetaData.getReturnParameter();
- if (retMetaData != null)
+ }
+ // Add the return to the message
+ ParameterMetaData retMetaData = opMetaData.getReturnParameter();
+ if (retMetaData != null)
+ {
+ Object value = epInv.getReturnValue();
+ // TODO calls to ParameterWrapping should be elsewhere
+ if (opMetaData.isDocumentWrapped())
+ value = ParameterWrapping.wrapResponseParameters(retMetaData, value, epInv.getOutParameters());
+ if (retMetaData.isSwA())
{
- Object value = epInv.getReturnValue();
- if (retMetaData.isSwA())
- {
- CIDGenerator cidGenerator = resMessage.getCidGenerator();
- AttachmentPart part = createAttachmentPart(retMetaData, value, cidGenerator);
- resMessage.addAttachmentPart(part);
- epInv.setReturnValue(part);
- }
- else
- {
- SOAPContentElement soapElement = addParameterToMessage(retMetaData, value, soapBodyElement);
- epInv.setReturnValue(soapElement);
- soapElement.setObjectValue(value);
- }
+ CIDGenerator cidGenerator = resMessage.getCidGenerator();
+ AttachmentPart part = createAttachmentPart(retMetaData, value, cidGenerator);
+ resMessage.addAttachmentPart(part);
+ epInv.setReturnValue(part);
}
-
- // Add the out parameters to the message
- for (ParameterMetaData paramMetaData : opMetaData.getOutputParameters())
+ else
{
- QName xmlName = paramMetaData.getXmlName();
- Object value = epInv.getResponseParamValue(xmlName);
- if (paramMetaData.isSwA())
- {
- CIDGenerator cidGenerator = resMessage.getCidGenerator();
- AttachmentPart part = createAttachmentPart(retMetaData, value, cidGenerator);
- resMessage.addAttachmentPart(part);
- }
- else
- {
- if (paramMetaData.isInHeader())
- {
- addParameterToMessage(paramMetaData, value, soapHeader);
- }
- else
- {
- addParameterToMessage(paramMetaData, value, soapBodyElement);
- }
- }
+ SOAPContentElement soapElement = addParameterToMessage(retMetaData, value, soapBodyElement);
+ epInv.setReturnValue(soapElement);
+ soapElement.setObjectValue(value);
}
}
- else if (style == Style.DOCUMENT)
+
+ // Add the out parameters to the message
+ for (ParameterMetaData paramMetaData : opMetaData.getOutputParameters())
{
- ParameterMetaData retMetaData = opMetaData.getReturnParameter();
- if (retMetaData != null)
+ QName xmlName = paramMetaData.getXmlName();
+ Object value = epInv.getResponseParamValue(xmlName);
+ if (paramMetaData.isSwA())
{
- Object value = epInv.getReturnValue();
- if (opMetaData.isDocumentWrapped())
- value = ParameterWrapping.wrapResponseParameter(opMetaData, value);
-
- if (retMetaData.isSwA())
- {
- CIDGenerator cidGenerator = resMessage.getCidGenerator();
- AttachmentPart part = createAttachmentPart(retMetaData, value, cidGenerator);
- resMessage.addAttachmentPart(part);
- epInv.setReturnValue(part);
- }
- else
- {
- SOAPContentElement soapElement = addParameterToMessage(retMetaData, value, soapBody);
- epInv.setReturnValue(soapElement);
- }
+ CIDGenerator cidGenerator = resMessage.getCidGenerator();
+ AttachmentPart part = createAttachmentPart(retMetaData, value, cidGenerator);
+ resMessage.addAttachmentPart(part);
}
-
- // Add the out header parameters to the message
- for (ParameterMetaData paramMetaData : opMetaData.getOutputParameters())
+ else
{
- QName xmlName = paramMetaData.getXmlName();
if (paramMetaData.isInHeader())
{
- Object value = epInv.getResponseParamValue(xmlName);
addParameterToMessage(paramMetaData, value, soapHeader);
}
+ else
+ {
+ addParameterToMessage(paramMetaData, value, soapBodyElement);
+ }
}
}
- else
- {
- throw new WSException("Unsupported message style: " + style);
- }
return resMessage;
}
@@ -525,7 +428,7 @@
/** On the client side, extract the OUT parameters from the payload and return them to the client. */
public void unbindResponseMessage(OperationMetaData opMetaData, Object payload, EndpointInvocation epInv, Map<QName, UnboundHeader> unboundHeaders)
- throws BindingException
+ throws BindingException
{
log.debug("unbindResponseMessage: " + opMetaData.getQName());
@@ -533,7 +436,7 @@
{
// R2714 For one-way operations, an INSTANCE MUST NOT return a HTTP response that contains a SOAP envelope.
// Specifically, the HTTP response entity-body must be empty.
- if (opMetaData.isOneWayOperation() == true)
+ if (opMetaData.isOneWay() == true)
{
return;
}
@@ -557,7 +460,7 @@
// Disable MTOM for rpc/encoded
if (opMetaData.isRPCEncoded())
msgContext.setProperty(StubExt.PROPERTY_MTOM_ENABLED, Boolean.FALSE);
-
+
SOAPHeader soapHeader = soapEnvelope.getHeader();
SOAPBody soapBody = soapEnvelope.getBody();
Iterator bodyChildren = soapBody.getChildElements();
@@ -568,11 +471,7 @@
// Translate the SOAPFault to an exception and throw it
if (soapBodyElement instanceof SOAPFaultImpl)
- {
- SOAPFaultImpl soapFault = (SOAPFaultImpl)soapBodyElement;
- SOAPFaultException faultEx = SOAPFaultExceptionHelper.getSOAPFaultException(soapFault);
- throw faultEx;
- }
+ throwFaultException((SOAPFaultImpl)soapBodyElement);
// Extract unbound OUT headers
if (unboundHeaders != null)
@@ -601,75 +500,44 @@
}
Style style = opMetaData.getStyle();
+ SOAPElement soapElement = soapBody;
if (style == Style.RPC)
{
if (soapBodyElement == null)
throw new WSException("Cannot unbind response message with empty soap body");
+ soapElement = soapBodyElement;
+ }
- ParameterMetaData retMetaData = opMetaData.getReturnParameter();
- if (retMetaData != null)
+ ParameterMetaData retMetaData = opMetaData.getReturnParameter();
+ if (retMetaData != null)
+ {
+ if (retMetaData.isSwA())
{
- if (retMetaData.isSwA())
- {
- Object value = getAttachmentFromMessage(retMetaData, resMessage);
- epInv.setReturnValue(value);
- }
- else
- {
- Object value = getParameterFromMessage(retMetaData, soapBodyElement, false);
- epInv.setReturnValue(value);
- }
+ Object value = getAttachmentFromMessage(retMetaData, resMessage);
+ epInv.setReturnValue(value);
}
-
- for (ParameterMetaData paramMetaData : opMetaData.getOutputParameters())
+ else
{
- QName xmlName = paramMetaData.getXmlName();
- if (paramMetaData.isSwA())
- {
- Object value = getAttachmentFromMessage(paramMetaData, resMessage);
- epInv.setResponseParamValue(xmlName, value);
- }
- else
- {
- SOAPElement soapElement = paramMetaData.isInHeader() ? soapHeader : (SOAPElement)soapBodyElement;
- Object value = getParameterFromMessage(paramMetaData, soapElement, false);
- epInv.setResponseParamValue(xmlName, value);
- }
+ Object value = getParameterFromMessage(retMetaData, soapElement, false);
+ epInv.setReturnValue(value);
}
}
- else if (style == Style.DOCUMENT)
- {
- ParameterMetaData retMetaData = opMetaData.getReturnParameter();
- // WS-Eventing has no message part for UnsubscribeResponseMsg
- if (retMetaData != null)
+ for (ParameterMetaData paramMetaData : opMetaData.getOutputParameters())
+ {
+ QName xmlName = paramMetaData.getXmlName();
+ if (paramMetaData.isSwA())
{
- if (retMetaData.isSwA())
- {
- Object value = getAttachmentFromMessage(retMetaData, resMessage);
- epInv.setReturnValue(value);
- }
- else
- {
- Object value = getParameterFromMessage(retMetaData, soapBody, false);
- epInv.setReturnValue(value);
- }
-
- for (ParameterMetaData paramMetaData : opMetaData.getOutputParameters())
- {
- QName xmlName = paramMetaData.getXmlName();
- if (paramMetaData.isInHeader())
- {
- Object value = getParameterFromMessage(paramMetaData, soapHeader, false);
- epInv.setResponseParamValue(xmlName, value);
- }
- }
+ Object value = getAttachmentFromMessage(paramMetaData, resMessage);
+ epInv.setResponseParamValue(xmlName, value);
}
+ else
+ {
+ SOAPElement element = paramMetaData.isInHeader() ? soapHeader : soapElement;
+ Object value = getParameterFromMessage(paramMetaData, element, false);
+ epInv.setResponseParamValue(xmlName, value);
+ }
}
- else
- {
- throw new WSException("Unsupported message style: " + style);
- }
}
catch (Exception e)
{
@@ -677,6 +545,8 @@
}
}
+ public abstract SOAPMessage exceptionToFaultMessage(Exception ex);
+
private void verifySOAPVersion(OperationMetaData opMetaData, SOAPEnvelope soapEnvelope)
{
String envNS = soapEnvelope.getNamespaceURI();
@@ -803,7 +673,7 @@
// When a potential xop parameter is detected and MTOM is enabled
// we flag the SOAP message as a XOP package
- if (paramMetaData.isXOP() && XOPContext.isMTOMEnabled())
+ if (paramMetaData.isXOP() && XOPContext.isMTOMEnabled())
{
log.trace("Add parameter as XOP");
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
@@ -820,7 +690,6 @@
private Object getParameterFromMessage(ParameterMetaData paramMetaData, SOAPElement soapElement, boolean optional) throws BindingException
{
Name xmlName = new NameImpl(paramMetaData.getXmlName());
- Name soapArrayName = new NameImpl("Array", Constants.PREFIX_SOAP11_ENC, Constants.URI_SOAP11_ENC);
SOAPContentElement soapContentElement = null;
Iterator childElements = soapElement.getChildElements();
@@ -843,7 +712,7 @@
break;
}
- if (soapArrayName.equals(elName))
+ if (SOAP_ARRAY_NAME.equals(elName))
{
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
msgContext.setProperty(CommonMessageContext.ALLOW_EXPAND_TO_DOM, Boolean.TRUE);
@@ -897,7 +766,7 @@
}
if (soapContentElement == null && optional == false)
- throw new JAXRPCException("Cannot find child element: " + xmlName);
+ throw new WSException("Cannot find child element: " + xmlName);
// When a potential XOP parameter is detected and
// the incomming request is actuall XOP encoded we flag
@@ -910,6 +779,8 @@
return soapContentElement;
}
+ abstract protected void throwFaultException(SOAPFaultImpl fault) throws Exception;
+
private void handleException(Exception ex) throws BindingException
{
if (ex instanceof RuntimeException)
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/EndpointInvocation.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/EndpointInvocation.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/EndpointInvocation.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,7 +25,7 @@
import java.lang.reflect.Method;
import java.util.ArrayList;
-import java.util.Arrays;
+import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@@ -34,7 +34,6 @@
import javax.activation.DataHandler;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
-import javax.xml.rpc.holders.Holder;
import javax.xml.soap.AttachmentPart;
import javax.xml.soap.SOAPException;
@@ -47,6 +46,7 @@
import org.jboss.ws.core.utils.MimeUtils;
import org.jboss.ws.metadata.umdm.OperationMetaData;
import org.jboss.ws.metadata.umdm.ParameterMetaData;
+import org.jboss.ws.metadata.umdm.WrappedParameter;
/** A web service invocation.
*
@@ -66,6 +66,8 @@
private Map<QName, Object> resPayload = new LinkedHashMap<QName, Object>();
// The return value
private Object returnValue;
+ // Map of output parameters, key being the parameter index in the method signature
+ private Map<Integer, Object> outParameters = new HashMap<Integer, Object>();
public EndpointInvocation(OperationMetaData opMetaData)
{
@@ -82,6 +84,11 @@
return opMetaData.getJavaMethod();
}
+ public Map<Integer, Object> getOutParameters()
+ {
+ return outParameters;
+ }
+
public List<QName> getRequestParamNames()
{
List<QName> xmlNames = new ArrayList<QName>();
@@ -104,31 +111,24 @@
return paramValue;
}
- /** Returns the payload that can be passed on to the endpoint implementation
+ /** Returns the payload that can be passed on to the endpoint implementation
*/
public Object[] getRequestPayload() throws SOAPException
{
log.debug("getRequestPayload");
List<QName> xmlNames = getRequestParamNames();
- ArrayList<Object> objPayload = new ArrayList<Object>();
+
+ Object[] payload = new Object[opMetaData.getJavaMethod().getParameterTypes().length];
for (int i = 0; i < xmlNames.size(); i++)
{
QName xmlName = xmlNames.get(i);
Object paramValue = getRequestParamValue(xmlName);
ParameterMetaData paramMetaData = opMetaData.getParameter(xmlName);
- paramValue = syncEndpointInputParam(paramMetaData, paramValue);
- if(opMetaData.isDocumentWrapped() && paramMetaData.isMessageType() == false && paramMetaData.isInHeader() == false)
- {
- List<Object> objList = Arrays.asList((Object[])paramValue);
- objPayload.addAll(objList);
- }
- else
- {
- objPayload.add(paramValue);
- }
+ syncEndpointInputParam(paramMetaData, paramValue, payload);
}
- return objPayload.toArray();
+
+ return payload;
}
public List<QName> getResponseParamNames()
@@ -155,7 +155,6 @@
Class valueType = paramValue.getClass();
if (HolderUtils.isHolderType(valueType))
{
- valueType = HolderUtils.getValueType(valueType);
paramValue = HolderUtils.getHolderValue(paramValue);
}
}
@@ -189,7 +188,11 @@
QName xmlName = paramMetaData.getXmlName();
QName xmlType = paramMetaData.getXmlType();
Class javaType = paramMetaData.getJavaType();
+ String javaName = paramMetaData.getJavaTypeName();
+ if (xmlType == null)
+ throw new IllegalStateException("Cannot obtain xml type for: [xmlName=" + xmlName + ",javaName=" + javaName + "]");
+
Object retValue = paramValue;
// Handle attachment part
@@ -243,155 +246,107 @@
*/
public void initInputParams(Object[] inputParams)
{
- List<ParameterMetaData> paramMetaDataList = opMetaData.getParameters();
- if (opMetaData.isDocumentWrapped() && paramMetaDataList.size() != 0)
+ for (ParameterMetaData paramMetaData : opMetaData.getParameters())
{
- Object value = ParameterWrapping.wrapRequestParameters(opMetaData, inputParams);
- ParameterMetaData paramMetaData = paramMetaDataList.get(0);
QName xmlName = paramMetaData.getXmlName();
- setRequestParamValue(xmlName, value);
-
- if (inputParams != null)
- {
- int wrappedParamsCount = paramMetaData.getWrappedVariables().size();
- int lastParam = Math.min(paramMetaDataList.size() - 1, inputParams.length - wrappedParamsCount);
+ Class javaType = paramMetaData.getJavaType();
- // document/literal wrapped with bound headers
- for (int i = 0; i < lastParam - 1; i++)
- {
- paramMetaData = paramMetaDataList.get(i + 1);
- if (paramMetaData.isInHeader())
- {
- xmlName = paramMetaData.getXmlName();
- Class javaType = paramMetaData.getJavaType();
-
- value = inputParams[i + wrappedParamsCount];
- if (value != null)
- {
- Class inputType = value.getClass();
-
- if (HolderUtils.isHolderType(inputType))
- {
- inputType = HolderUtils.getValueType(inputType);
- value = HolderUtils.getHolderValue(value);
- }
-
- // Verify that the java type matches a registered xmlType
- // Attachments are skipped because they don't use type mapping
- if (!paramMetaData.isSwA() && !paramMetaData.isXOP())
- {
- if (JavaUtils.isAssignableFrom(javaType, inputType) == false)
- throw new WSException("Parameter '" + javaType + "' not assignable from: " + inputType);
- }
- }
- setRequestParamValue(xmlName, value);
- }
- }
+ Object value;
+ if (opMetaData.isDocumentWrapped() && paramMetaData.isInHeader() == false)
+ {
+ value = ParameterWrapping.wrapRequestParameters(paramMetaData, inputParams);
}
- }
- else
- {
- for (int i = 0; i < paramMetaDataList.size(); i++)
+ else
{
- ParameterMetaData paramMetaData = paramMetaDataList.get(i);
- QName xmlName = paramMetaData.getXmlName();
- Class javaType = paramMetaData.getJavaType();
-
- Object value = inputParams[i];
+ value = inputParams[paramMetaData.getIndex()];
if (value != null)
{
Class inputType = value.getClass();
if (HolderUtils.isHolderType(inputType))
{
- inputType = HolderUtils.getValueType(inputType);
+ // At runtime we lose the generic info for JAX-WS types,
+ // So we use the actual instance type
value = HolderUtils.getHolderValue(value);
+ inputType = (value == null) ? null : value.getClass();
}
// Verify that the java type matches a registered xmlType
// Attachments are skipped because they don't use type mapping
- if (!paramMetaData.isSwA() && !paramMetaData.isXOP())
+ if (value != null && !paramMetaData.isSwA() && !paramMetaData.isXOP())
{
if (JavaUtils.isAssignableFrom(javaType, inputType) == false)
throw new WSException("Parameter '" + javaType + "' not assignable from: " + inputType);
}
}
- setRequestParamValue(xmlName, value);
}
+
+ setRequestParamValue(xmlName, value);
}
}
- /** Synchronize the operation paramters with the endpoint method parameters
+ /**
+ * Synchronize the operation paramters with the endpoint method parameters
*/
- private Object syncEndpointInputParam(ParameterMetaData paramMetaData, final Object paramValue)
+ private void syncEndpointInputParam(ParameterMetaData paramMetaData, final Object paramValue, Object[] payload)
{
Object retValue = paramValue;
Method method = opMetaData.getJavaMethod();
Class[] targetParameterTypes = method.getParameterTypes();
- if (opMetaData.isDocumentWrapped() && paramMetaData.isMessageType() == false)
+ if (opMetaData.isDocumentWrapped() && paramMetaData.isInHeader() == false && paramMetaData.isMessageType() == false)
{
- // Unwrap the request parameters
- if (paramMetaData.isInHeader() == false)
- {
- retValue = ParameterWrapping.unwrapRequestParameters(opMetaData, paramValue);
- }
- else
- {
- if (paramMetaData.getMode() == ParameterMode.INOUT || paramMetaData.getMode() == ParameterMode.OUT)
- {
- Class javaType = paramMetaData.getJavaType();
- for (int i=0; i < targetParameterTypes.length; i++)
- {
- Class targetType = targetParameterTypes[i];
- if (HolderUtils.isHolderType(targetType))
- {
- Class valueType = HolderUtils.getValueType(targetType);
- if (JavaUtils.isAssignableFrom(valueType, javaType))
- {
- Holder holder = HolderUtils.getHolderInstance(targetType);
- HolderUtils.setHolderValue(holder, paramValue);
- retValue = holder;
-
- QName xmlName = paramMetaData.getXmlName();
- setResponseParamValue(xmlName, holder);
- }
- }
- }
- }
- }
+ outParameters = ParameterWrapping.unwrapRequestParameters(paramMetaData, paramValue, payload);
+ syncOutWrappedParameters(targetParameterTypes);
}
else
{
// Replace INOUT and OUT parameters by their respective holder values
- int paramTypeIndex = opMetaData.getParameters().indexOf(paramMetaData);
- Class targetParameterType = targetParameterTypes[paramTypeIndex];
+ int index = paramMetaData.getIndex();
+ Class targetParameterType = targetParameterTypes[index];
if (paramMetaData.getMode() == ParameterMode.INOUT || paramMetaData.getMode() == ParameterMode.OUT)
{
- Holder holder = HolderUtils.getHolderInstance(targetParameterType);
- HolderUtils.setHolderValue(holder, paramValue);
- retValue = holder;
+ retValue = HolderUtils.createHolderInstance(paramValue, targetParameterType);
QName xmlName = paramMetaData.getXmlName();
- setResponseParamValue(xmlName, holder);
+ setResponseParamValue(xmlName, retValue);
}
- if (JavaUtils.isPrimitive(targetParameterType))
- {
- retValue = JavaUtils.getPrimitiveValue(paramValue);
- }
-
if (retValue != null)
{
Class valueType = retValue.getClass();
if (JavaUtils.isAssignableFrom(targetParameterType, valueType) == false)
throw new WSException("Parameter " + targetParameterType.getName() + " is not assignable from: " + getTypeName(retValue));
+
+ if (valueType.isArray())
+ retValue = JavaUtils.syncArray(retValue, targetParameterType);
}
+
+ log.debug("syncEndpointInputParam: " + getTypeName(paramValue) + " -> " + getTypeName(retValue) + "(" + index + ")");
+ payload[index] = retValue;
}
+ }
- log.debug("syncEndpointInputParam: " + getTypeName(paramValue) + " -> " + getTypeName(retValue));
- return retValue;
+ private void syncOutWrappedParameters(Class[] targetParameterTypes)
+ {
+ ParameterMetaData returnMetaData = opMetaData.getReturnParameter();
+ if (returnMetaData != null)
+ {
+ for (WrappedParameter param : returnMetaData.getWrappedParameters())
+ {
+ try
+ {
+ if (param.getIndex() >= 0)
+ outParameters.put(param.getIndex(), targetParameterTypes[param.getIndex()].newInstance());
+ }
+ catch (Exception e)
+ {
+ throw new WSException("Could not add output param: " + param.getName(), e);
+
+ }
+ }
+ }
}
private String getTypeName(Object value)
@@ -399,4 +354,4 @@
String valueType = (value != null ? value.getClass().getName() : null);
return valueType;
}
-}
+}
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/CallImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/CallImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/CallImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -41,6 +41,7 @@
import javax.xml.rpc.ServiceException;
import javax.xml.rpc.Stub;
import javax.xml.rpc.encoding.SerializerFactory;
+import javax.xml.rpc.soap.SOAPFaultException;
import javax.xml.soap.SOAPException;
import org.jboss.logging.Logger;
@@ -145,12 +146,6 @@
return properties;
}
- @Override
- protected Map<String, Object> getResponseContext()
- {
- return properties;
- }
-
/**
* Add a header that is not bound to an input parameter.
* A propriatory extension, that is not part of JAXRPC.
@@ -275,9 +270,10 @@
OperationMetaData opMetaData = getOperationMetaData();
ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaType.getName());
- opMetaData.addParameter(paramMetaData);
paramMetaData.setMode(mode);
paramMetaData.setInHeader(inHeader);
+ paramMetaData.setIndex(opMetaData.getParameters().size());
+ opMetaData.addParameter(paramMetaData);
registerParameterType(xmlType, javaType);
}
@@ -325,9 +321,9 @@
{
invokeInternal(operationName, inputParams, unboundHeaders, true);
}
- catch (RemoteException rex)
+ catch (RemoteException ex)
{
- throw new JAXRPCException("Cannot invokeOneWay", rex.getCause());
+ throw new JAXRPCException(ex);
}
}
@@ -541,8 +537,8 @@
protected void setOutboundContextProperties()
{
}
-
- private Object invokeInternal(QName opName, Object[] inputParams, Map<QName, UnboundHeader> unboundHeaders, boolean oneway) throws RemoteException
+
+ private Object invokeInternal(QName opName, Object[] inputParams, Map<QName, UnboundHeader> unboundHeaders, boolean forceOneway) throws RemoteException
{
if (opName.equals(operationName) == false)
setOperationName(opName);
@@ -555,11 +551,26 @@
// Associate a message context with the current thread
SOAPMessageContextJAXRPC msgContext = new SOAPMessageContextJAXRPC();
MessageContextAssociation.pushMessageContext(msgContext);
+ Object retObj = null;
try
{
- Object retObj = super.invoke(opName, inputParams, unboundHeaders, oneway);
+ retObj = super.invoke(opName, inputParams, unboundHeaders, properties, forceOneway);
return retObj;
}
+ catch (SOAPFaultException ex)
+ {
+ log.error("Call invocation failed", ex);
+ String faultCode = ex.getFaultCode().getLocalPart();
+ throw new RemoteException("Call invocation failed with code [" + faultCode + "] because of: " + ex.getFaultString(), ex);
+ }
+ catch (RemoteException rex)
+ {
+ throw rex;
+ }
+ catch (Exception ex)
+ {
+ throw new RemoteException("Call invocation failed", ex);
+ }
finally
{
// Reset the message context association
@@ -600,7 +611,7 @@
private void generateOrUpdateSchemas(OperationMetaData opMetaData)
{
ServiceMetaData serviceMetaData = opMetaData.getEndpointMetaData().getServiceMetaData();
- if (serviceMetaData.getWsdlFile() == null)
+ if (serviceMetaData.getWsdlLocation() == null)
{
TypesMetaData typesMetaData = serviceMetaData.getTypesMetaData();
for (ParameterMetaData paramMetaData : opMetaData.getParameters())
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/CallProxy.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/CallProxy.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/CallProxy.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -138,7 +138,7 @@
try
{
- if (opMetaData.isOneWayOperation())
+ if (opMetaData.isOneWay())
{
call.invokeOneWay(args);
return null;
@@ -153,7 +153,7 @@
throw new WSException("Return value not supported by: " + opMetaData);
if (JavaUtils.isPrimitive(retType))
- retObj = JavaUtils.getPrimitiveValue(retObj);
+ retObj = JavaUtils.getPrimitiveValueArray(retObj);
}
return retObj;
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/LiteralTypeMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/LiteralTypeMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/LiteralTypeMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,8 @@
// $Id$
+import java.awt.Image;
+
import javax.activation.DataHandler;
import javax.mail.internet.MimeMultipart;
import javax.xml.soap.SOAPElement;
@@ -30,9 +32,13 @@
import org.jboss.util.NotImplementedException;
import org.jboss.ws.Constants;
-import org.jboss.ws.core.jaxrpc.binding.*;
+import org.jboss.ws.core.jaxrpc.binding.ElementDeserializerFactory;
+import org.jboss.ws.core.jaxrpc.binding.ElementSerializerFactory;
+import org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializerFactory;
+import org.jboss.ws.core.jaxrpc.binding.JBossXBSerializerFactory;
+import org.jboss.ws.core.jaxrpc.binding.SOAPElementDeserializerFactory;
+import org.jboss.ws.core.jaxrpc.binding.SOAPElementSerializerFactory;
import org.w3c.dom.Element;
-import java.awt.*;
/**
* This is the representation of a type mapping.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ParameterWrapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/ParameterWrapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ParameterWrapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,10 +23,11 @@
// $Id$
-import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Method;
+import java.util.HashMap;
import java.util.List;
+import java.util.Map;
import javassist.ClassPool;
import javassist.CtClass;
@@ -42,6 +43,7 @@
import org.jboss.ws.WSException;
import org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializerFactory;
import org.jboss.ws.core.jaxrpc.binding.JBossXBSerializerFactory;
+import org.jboss.ws.core.utils.HolderUtils;
import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
import org.jboss.ws.metadata.umdm.OperationMetaData;
@@ -49,6 +51,7 @@
import org.jboss.ws.metadata.umdm.ServiceMetaData;
import org.jboss.ws.metadata.umdm.TypeMappingMetaData;
import org.jboss.ws.metadata.umdm.TypesMetaData;
+import org.jboss.ws.metadata.umdm.WrappedParameter;
/** A helper class to wrap/unwrap ducument style request/response structures.
*
@@ -61,6 +64,7 @@
// provide logging
private static Logger log = Logger.getLogger(ParameterWrapping.class);
+ // This assertion should probably be moved somewhere earlier
private static void assertOperationMetaData(OperationMetaData opMetaData)
{
if (opMetaData.getStyle() != Style.DOCUMENT)
@@ -70,174 +74,45 @@
throw new WSException("Unexpected parameter style: " + opMetaData.getParameterStyle());
}
- public static boolean matchRequestParameters(OperationMetaData opMetaData, Class[] paramTypes)
+ private static Object holderValue(Object holder)
{
- assertOperationMetaData(opMetaData);
+ if (holder == null)
+ return null;
+ if (! HolderUtils.isHolderType(holder.getClass()))
+ return holder;
- // [JBWS-1125] Support empty soap body elements
- if (opMetaData.getParameters().size() == 0)
- {
- log.debug("Detected document/literal/wrapped with no parameter part");
- return true;
- }
-
- ParameterMetaData paramMetaData = opMetaData.getParameters().get(0);
- List<String> varNames = paramMetaData.getWrappedVariables();
- Class reqStructType = paramMetaData.getJavaType();
-
- log.debug("matchRequestParameters: " + reqStructType.getName());
- try
- {
- boolean pass = true;
- for (int i = 0; pass && i < varNames.size(); i++)
- {
- String varName = varNames.get(i);
- Method method = null;
- try
- {
- PropertyDescriptor pd = new PropertyDescriptor(varName, reqStructType);
- method = pd.getWriteMethod();
- }
- catch (IntrospectionException ex)
- {
- // jaxws-ri wsimport generates setter without the underscore
- if (varName.indexOf("_") > 0)
- {
- varName = varName.replace("_", "");
- PropertyDescriptor pd = new PropertyDescriptor(varName, reqStructType);
- method = pd.getWriteMethod();
- }
- }
-
- if (method == null)
- throw new NoSuchMethodError("No write method for: " + varName);
-
- Class methodType = method.getParameterTypes()[0];
- Class paramType = paramTypes[i];
- pass = JavaUtils.isAssignableFrom(methodType, paramType);
- }
- return pass;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- log.debug("Invalid request wrapper: " + ex);
- return false;
- }
+ return HolderUtils.getHolderValue(holder);
}
- public static boolean matchResponseParameters(OperationMetaData opMetaData, Class returnType)
+ public static Class getWrappedType(String variable, Class wrapperType)
{
- assertOperationMetaData(opMetaData);
-
- // [JBWS-1125] Support empty soap body elements
- if (opMetaData.getReturnParameter() == null)
- {
- log.debug("Detected document/literal/wrapped with no return part");
- return true;
- }
-
- ParameterMetaData paramMetaData = opMetaData.getReturnParameter();
- Class resStructType = paramMetaData.getJavaType();
-
- log.debug("matchResponseParameters: " + resStructType.getName());
try
{
- boolean pass = (returnType == void.class);
- if (pass == false)
- {
- // The return paramter is the wrapper bean
- // See: org.jboss.test.webservice.jbws718.JBWS718TestCase
- if (JavaUtils.isAssignableFrom(returnType, resStructType))
- pass = true;
- }
- if (pass == false)
- {
- try
- {
- resStructType.getConstructor(new Class[] { returnType });
- pass = true;
- }
- catch (NoSuchMethodException ex)
- {
- // jaxws-ri wsimport does not generate a ctor with return param type
- resStructType.getMethod("setResult", returnType);
- pass = true;
- }
- }
- return pass;
+ PropertyDescriptor pd = new PropertyDescriptor(variable, wrapperType);
+ Method method = pd.getWriteMethod();
+ return method.getParameterTypes()[0];
}
- catch (RuntimeException rte)
- {
- throw rte;
- }
catch (Exception ex)
{
- log.debug("Invalid response wrapper: " + ex);
- return false;
+ log.debug("Invalid request wrapper: " + ex);
+ return null;
}
}
- public static Object wrapRequestParameters(OperationMetaData opMetaData, Object[] inParams)
+ public static Object wrapRequestParameters(ParameterMetaData request, Object[] methodParams)
{
- assertOperationMetaData(opMetaData);
+ assertOperationMetaData(request.getOperationMetaData());
- // [JBWS-1125] Support empty soap body elements
- if (opMetaData.getParameters().size() == 0)
- {
- log.debug("Detected document/literal/wrapped with no parameter part");
- return null;
- }
-
- ParameterMetaData paramMetaData = opMetaData.getParameters().get(0);
- List<String> varNames = paramMetaData.getWrappedVariables();
- Class reqStructType = paramMetaData.getJavaType();
-
- // Message types can be wrapped
- if (paramMetaData.isMessageType())
- {
- if (inParams == null || inParams.length == 0)
- return null;
-
- if (inParams.length > 1)
- throw new IllegalStateException("Wrapped message parameter cannot have multiple parts");
-
- return inParams[0];
- }
-
+ Class reqStructType = request.getJavaType();
log.debug("wrapRequestParameters: " + reqStructType.getName());
+ List<WrappedParameter> wrappedParameters = request.getWrappedParameters();
try
{
Object reqStruct = reqStructType.newInstance();
- for (int i = 0; i < varNames.size(); i++)
+ for (WrappedParameter param : wrappedParameters)
{
- String varName = varNames.get(i);
- Method method = null;
- try
- {
- PropertyDescriptor pd = new PropertyDescriptor(varName, reqStructType);
- method = pd.getWriteMethod();
- }
- catch (IntrospectionException ex)
- {
- // jaxws-ri wsimport generates setter without the underscore
- if (varName.indexOf("_") > 0)
- {
- varName = varName.replace("_", "");
- PropertyDescriptor pd = new PropertyDescriptor(varName, reqStructType);
- method = pd.getWriteMethod();
- }
- }
-
- if (method == null)
- throw new NoSuchMethodError("No write method for: " + varName);
-
- Object value = inParams[i];
- log.debug(" " + method.getName() + ": " + (value != null ? value.getClass().getName() : null));
- method.invoke(reqStruct, new Object[] { value });
+ Object value = holderValue(methodParams[param.getIndex()]);
+ param.accessor().set(reqStruct, value);
}
return reqStruct;
@@ -252,47 +127,35 @@
}
}
- public static Object[] unwrapRequestParameters(OperationMetaData opMetaData, Object reqStruct)
+ public static Map<Integer, Object> unwrapRequestParameters(ParameterMetaData request, Object reqStruct, Object[] methodParams)
{
+ OperationMetaData opMetaData = request.getOperationMetaData();
assertOperationMetaData(opMetaData);
if (reqStruct == null)
throw new IllegalArgumentException("Request struct cannot be null");
- ParameterMetaData paramMetaData = opMetaData.getParameters().get(0);
- List<String> varNames = paramMetaData.getWrappedVariables();
+ Class[] targetParameterTypes = opMetaData.getJavaMethod().getParameterTypes();
+ Map<Integer, Object> outParameters = new HashMap<Integer, Object>(targetParameterTypes.length);
+ List<WrappedParameter> wrappedParameters = request.getWrappedParameters();
Class reqStructType = reqStruct.getClass();
log.debug("unwrapRequestParameters: " + reqStructType.getName());
- Object[] inParams = new Object[varNames.size()];
try
{
- for (int i = 0; i < varNames.size(); i++)
+ for (WrappedParameter param : wrappedParameters)
{
- String varName = varNames.get(i);
- Method method = null;
- try
+ Class targetType = targetParameterTypes[param.getIndex()];
+ Object value = param.accessor().get(reqStruct);
+
+ // INOUT Parameter
+ if (HolderUtils.isHolderType(targetType))
{
- PropertyDescriptor pd = new PropertyDescriptor(varName, reqStructType);
- method = pd.getReadMethod();
+ value = HolderUtils.createHolderInstance(value, targetType);
+ outParameters.put(param.getIndex(), value);
}
- catch (IntrospectionException ex)
- {
- // jaxws-ri wsimport generates getter without the underscore
- if (varName.indexOf("_") > 0)
- {
- varName = varName.replace("_", "");
- PropertyDescriptor pd = new PropertyDescriptor(varName, reqStructType);
- method = pd.getReadMethod();
- }
- }
- if (method == null)
- throw new NoSuchMethodError("No read method for: " + varName);
-
- Object value = method.invoke(reqStruct, new Object[] {});
- log.debug(" " + method.getName() + ": " + (value != null ? value.getClass().getName() : null));
- inParams[i] = value;
+ methodParams[param.getIndex()] = value;
}
}
catch (RuntimeException rte)
@@ -304,64 +167,30 @@
throw new IllegalArgumentException("Cannot unwrap request structure: " + e);
}
- return inParams;
+ return outParameters;
}
- public static Object wrapResponseParameter(OperationMetaData opMetaData, Object outParam)
+ public static Object wrapResponseParameters(ParameterMetaData returnMetaData, Object returnValue, Map<Integer, Object> outParameters)
{
- assertOperationMetaData(opMetaData);
+ assertOperationMetaData(returnMetaData.getOperationMetaData());
- // [JBWS-1125] Support empty soap body elements
- if (opMetaData.getReturnParameter() == null)
+ Class resStructType = returnMetaData.getJavaType();
+ if (returnValue != null && returnValue.getClass() == resStructType)
{
- log.debug("Detected document/literal/wrapped with no return part");
- return null;
- }
-
- ParameterMetaData paramMetaData = opMetaData.getReturnParameter();
- List<String> varNames = paramMetaData.getWrappedVariables();
- Class resStructType = paramMetaData.getJavaType();
-
- // Message types can be wrapped
- if (paramMetaData.isMessageType())
- return outParam;
-
- if (outParam != null && outParam.getClass() == resStructType)
- {
log.debug("Response parameter already wrapped" + resStructType.getName());
- return outParam;
+ return returnValue;
}
log.debug("wrapResponseParameter: " + resStructType.getName());
+ List<WrappedParameter> wrappedParameters = returnMetaData.getWrappedParameters();
try
{
Object resStruct = resStructType.newInstance();
- if (varNames.size() > 0)
- {
- String varName = varNames.get(0);
- Method method = null;
- try
- {
- PropertyDescriptor pd = new PropertyDescriptor(varName, resStructType);
- method = pd.getWriteMethod();
- }
- catch (IntrospectionException ex)
- {
- // jaxws-ri wsimport generates setter without the underscore
- if (varName.indexOf("_") > 0)
- {
- varName = varName.replace("_", "");
- PropertyDescriptor pd = new PropertyDescriptor(varName, resStructType);
- method = pd.getWriteMethod();
- }
- }
- if (method == null)
- throw new NoSuchMethodError("No write method for: " + varName);
-
- Object value = outParam;
- log.debug(" " + method.getName() + ": " + (value != null ? value.getClass().getName() : null));
- method.invoke(resStruct, new Object[] { value });
+ for (WrappedParameter param : wrappedParameters)
+ {
+ Object value = (param.getIndex() < 0) ? returnValue : holderValue(outParameters.get(param.getIndex()));
+ param.accessor().set(resStruct, value);
}
return resStruct;
}
@@ -375,46 +204,35 @@
}
}
- public static Object unwrapResponseParameter(OperationMetaData opMetaData, Object resStruct)
+ public static Object unwrapResponseParameters(ParameterMetaData retMetaData, Object resStruct, Object methodParams[])
{
- assertOperationMetaData(opMetaData);
+ OperationMetaData operationMetaData = retMetaData.getOperationMetaData();
+ assertOperationMetaData(operationMetaData);
Object retValue = null;
if (resStruct != null)
{
- ParameterMetaData paramMetaData = opMetaData.getReturnParameter();
- List<String> varNames = paramMetaData.getWrappedVariables();
Class resStructType = resStruct.getClass();
log.debug("unwrapResponseParameter: " + resStructType.getName());
+ List<WrappedParameter> wrappedParameters = retMetaData.getWrappedParameters();
+ Class[] targetTypes = operationMetaData.getJavaMethod().getParameterTypes();
try
{
- if (varNames.size() > 0)
+ for (WrappedParameter param : wrappedParameters)
{
- String varName = varNames.get(0);
- Method method = null;
- try
+ Object value = param.accessor().get(resStruct);
+ if (param.getIndex() < 0)
{
- PropertyDescriptor pd = new PropertyDescriptor(varName, resStructType);
- method = pd.getReadMethod();
+ retValue = value;
}
- catch (IntrospectionException ex)
+ else
{
- // jaxws-ri wsimport generates getter without the underscore
- if (varName.indexOf("_") > 0)
- {
- varName = varName.replace("_", "");
- PropertyDescriptor pd = new PropertyDescriptor(varName, resStructType);
- method = pd.getReadMethod();
- }
+ Class targetType = targetTypes[param.getIndex()];
+ if (HolderUtils.isHolderType(targetType))
+ value = HolderUtils.createHolderInstance(value, targetType);
+ methodParams[param.getIndex()] = value;
}
-
- if (method == null)
- throw new NoSuchMethodError("No read method for: " + varName);
-
- Object value = method.invoke(resStruct, new Object[] {});
- log.debug(" " + method.getName() + ": " + (value != null ? value.getClass().getName() : null));
- retValue = value;
}
}
catch (RuntimeException rte)
@@ -449,8 +267,7 @@
*/
public static void generateWrapper(ParameterMetaData pmd, boolean addTypeMapping)
{
- List<String> wrappedTypes = pmd.getWrappedTypes();
- List<String> wrappedVariables = pmd.getWrappedVariables();
+ List<WrappedParameter> wrappedParameters = pmd.getWrappedParameters();
OperationMetaData operationMetaData = pmd.getOperationMetaData();
EndpointMetaData endpointMetaData = operationMetaData.getEndpointMetaData();
ServiceMetaData serviceMetaData = endpointMetaData.getServiceMetaData();
@@ -459,10 +276,10 @@
if (operationMetaData.isDocumentWrapped() == false)
throw new WSException("Operation is not document/literal (wrapped)");
- if (wrappedTypes.size() == 0)
- throw new WSException("No wrapped types available");
+ if (wrappedParameters == null)
+ throw new WSException("Cannot generate a type when their is no wrapped parameters");
- String serviceName = serviceMetaData.getQName().getLocalPart();
+ String serviceName = serviceMetaData.getServiceName().getLocalPart();
String parameterName = pmd.getXmlName().getLocalPart();
String endpointName = endpointMetaData.getQName().getLocalPart();
String packageName = endpointMetaData.getServiceEndpointInterface().getPackage().getName();
@@ -478,27 +295,13 @@
CtClass clazz = pool.makeClass(wrapperName);
clazz.setSuperclass(pool.get(WrapperType.class.getName()));
- for (int i = 0; i < wrappedTypes.size(); i++)
+ for (WrappedParameter param : wrappedParameters)
{
- String typeName = wrappedTypes.get(i);
- String name = wrappedVariables.get(i);
-
- CtField field = new CtField(pool.get(typeName), name, clazz);
+ CtField field = new CtField(pool.get(param.getType()), param.getVariable(), clazz);
field.setModifiers(Modifier.PRIVATE);
clazz.addField(field);
-
- String capName = capitalize(name);
- clazz.addMethod(CtNewMethod.getter("get" + capName, field));
- clazz.addMethod(CtNewMethod.setter("set" + capName, field));
-
- if (pmd.getOperationMetaData().getReturnParameter() == pmd)
- {
- if (capName.equals("Result") == false)
- {
- clazz.addMethod(CtNewMethod.getter("getResult", field));
- clazz.addMethod(CtNewMethod.setter("setResult", field));
- }
- }
+ clazz.addMethod(CtNewMethod.getter("get" + JavaUtils.capitalize(param.getVariable()), field));
+ clazz.addMethod(CtNewMethod.setter("set" + JavaUtils.capitalize(param.getVariable()), field));
}
wrapperType = (Class)pool.toClass(clazz, loader);
@@ -523,17 +326,4 @@
pmd.setJavaTypeName(wrapperName);
}
-
- private static String capitalize(String source)
- {
- if (source == null)
- return null;
-
- if (source.length() == 0)
- return source;
-
- char c = Character.toUpperCase(source.charAt(0));
-
- return c + source.substring(1);
- }
}
\ No newline at end of file
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAP11BindingJAXRPC.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/SOAP11BindingJAXRPC.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAP11BindingJAXRPC.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,64 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.jaxrpc;
+
+//$Id:SOAP11BindingJAXRPC.java 1054 2006-09-26 10:33:43Z thomas.diesler at jboss.com $
+
+import javax.xml.soap.SOAPMessage;
+
+import org.jboss.ws.core.CommonSOAP11Binding;
+import org.jboss.ws.core.soap.SOAPFaultImpl;
+import org.jboss.ws.metadata.umdm.OperationMetaData;
+
+/**
+ * The JAXRPC SOAP11Binding
+ *
+ * @author Thomas.Diesler at jboss.com
+ * @since 20-Sep-2006
+ */
+public class SOAP11BindingJAXRPC extends CommonSOAP11Binding
+{
+ // Delegate to JAXWS SOAP binding
+ private SOAPBindingJAXRPC delegate = new SOAPBindingJAXRPC();
+
+ public SOAP11BindingJAXRPC() {
+ super();
+ setMTOMEnabled(true);
+ }
+
+ public void setSOAPActionHeader(OperationMetaData opMetaData, SOAPMessage reqMessage)
+ {
+ delegate.setSOAPActionHeader(opMetaData, reqMessage);
+ }
+
+ @Override
+ protected void throwFaultException(SOAPFaultImpl fault) throws Exception
+ {
+ throw SOAPFaultHelperJAXRPC.getSOAPFaultException(fault);
+ }
+
+ @Override
+ public SOAPMessage exceptionToFaultMessage(Exception ex)
+ {
+ return SOAPFaultHelperJAXRPC.exceptionToFaultMessage(ex);
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAP11BindingJAXRPC.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAP12BindingJAXRPC.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/SOAP12BindingJAXRPC.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAP12BindingJAXRPC.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,64 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.jaxrpc;
+
+//$Id:SOAP12BindingJAXRPC.java 1054 2006-09-26 10:33:43Z thomas.diesler at jboss.com $
+
+import javax.xml.soap.SOAPMessage;
+
+import org.jboss.ws.core.CommonSOAP12Binding;
+import org.jboss.ws.core.soap.SOAPFaultImpl;
+import org.jboss.ws.metadata.umdm.OperationMetaData;
+
+/**
+ * The JAXRPC SOAP12Binding
+ *
+ * @author Thomas.Diesler at jboss.com
+ * @since 20-Sep-2006
+ */
+public class SOAP12BindingJAXRPC extends CommonSOAP12Binding
+{
+ // Delegate to JAXWS SOAP binding
+ private SOAPBindingJAXRPC delegate = new SOAPBindingJAXRPC();
+
+ public SOAP12BindingJAXRPC() {
+ super();
+ setMTOMEnabled(true);
+ }
+
+ public void setSOAPActionHeader(OperationMetaData opMetaData, SOAPMessage reqMessage)
+ {
+ delegate.setSOAPActionHeader(opMetaData, reqMessage);
+ }
+
+ @Override
+ protected void throwFaultException(SOAPFaultImpl fault) throws Exception
+ {
+ throw SOAPFaultHelperJAXRPC.getSOAPFaultException(fault);
+ }
+
+ @Override
+ public SOAPMessage exceptionToFaultMessage(Exception ex)
+ {
+ return SOAPFaultHelperJAXRPC.exceptionToFaultMessage(ex);
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAP12BindingJAXRPC.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPBindingJAXRPC.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/SOAPBindingJAXRPC.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPBindingJAXRPC.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,70 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.jaxrpc;
+
+// $Id: SOAPBindingJAXRPC.java 1600 2006-12-07 10:43:36Z thomas.diesler at jboss.com $
+
+import javax.xml.rpc.Call;
+import javax.xml.soap.MimeHeaders;
+import javax.xml.soap.SOAPMessage;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.core.CommonMessageContext;
+import org.jboss.ws.core.soap.MessageContextAssociation;
+import org.jboss.ws.metadata.umdm.OperationMetaData;
+
+/**
+ * The SOAPBinding interface is an abstraction for the SOAP binding.
+ *
+ * @author Thomas.Diesler at jboss.com
+ * @since 04-Jul-2006
+ */
+class SOAPBindingJAXRPC
+{
+ // provide logging
+ private static Logger log = Logger.getLogger(SOAPBindingJAXRPC.class);
+
+ public void setSOAPActionHeader(OperationMetaData opMetaData, SOAPMessage reqMessage)
+ {
+ CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
+ MimeHeaders mimeHeaders = reqMessage.getMimeHeaders();
+ String soapAction = opMetaData.getSOAPAction();
+
+ // R2744 A HTTP request MESSAGE MUST contain a SOAPAction HTTP header field
+ // with a quoted value equal to the value of the soapAction attribute of
+ // soapbind:operation, if present in the corresponding WSDL description.
+
+ // R2745 A HTTP request MESSAGE MUST contain a SOAPAction HTTP header field
+ // with a quoted empty string value, if in the corresponding WSDL description,
+ // the soapAction attribute of soapbind:operation is either not present, or
+ // present with an empty string as its value.
+
+ if (msgContext.getProperty(Call.SOAPACTION_USE_PROPERTY) != null)
+ log.info("Ignore Call.SOAPACTION_USE_PROPERTY because of BP-1.0 R2745, R2745");
+
+ String soapActionProperty = (String)msgContext.getProperty(Call.SOAPACTION_URI_PROPERTY);
+ if (soapActionProperty != null)
+ soapAction = soapActionProperty;
+
+ mimeHeaders.addHeader("SOAPAction", soapAction != null ? soapAction : "");
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPBindingJAXRPC.java
___________________________________________________________________
Name: svn:executable
+ *
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultExceptionHelper.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultExceptionHelper.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultExceptionHelper.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,317 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.ws.core.jaxrpc;
-
-// $Id$
-
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.encoding.TypeMapping;
-import javax.xml.rpc.soap.SOAPFaultException;
-import javax.xml.soap.Detail;
-import javax.xml.soap.DetailEntry;
-import javax.xml.soap.MessageFactory;
-import javax.xml.soap.Name;
-import javax.xml.soap.SOAPBody;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPException;
-import javax.xml.soap.SOAPFault;
-import javax.xml.soap.SOAPMessage;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
-import org.jboss.ws.core.CommonMessageContext;
-import org.jboss.ws.core.jaxrpc.binding.BindingException;
-import org.jboss.ws.core.jaxrpc.binding.DeserializerFactoryBase;
-import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
-import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
-import org.jboss.ws.core.jaxrpc.binding.SerializerFactoryBase;
-import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
-import org.jboss.ws.core.soap.MessageContextAssociation;
-import org.jboss.ws.core.soap.MessageFactoryImpl;
-import org.jboss.ws.core.soap.NameImpl;
-import org.jboss.ws.core.soap.SOAPEnvelopeImpl;
-import org.jboss.ws.core.soap.SOAPFactoryImpl;
-import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.core.utils.DOMWriter;
-import org.jboss.ws.metadata.umdm.FaultMetaData;
-import org.jboss.ws.metadata.umdm.OperationMetaData;
-import org.jboss.xb.binding.NamespaceRegistry;
-import org.w3c.dom.Element;
-
-/**
- * A Helper that translates between SOAPFaultException and SOAPFault.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 03-Feb-2005
- */
-public class SOAPFaultExceptionHelper
-{
- // provide logging
- private static Logger log = Logger.getLogger(SOAPFaultExceptionHelper.class);
-
- private static List<QName> allowedFaultCodes = new ArrayList<QName>();
- static
- {
- allowedFaultCodes.add(Constants.SOAP11_FAULT_CODE_CLIENT);
- allowedFaultCodes.add(Constants.SOAP11_FAULT_CODE_SERVER);
- allowedFaultCodes.add(Constants.SOAP11_FAULT_CODE_VERSION_MISMATCH);
- allowedFaultCodes.add(Constants.SOAP11_FAULT_CODE_MUST_UNDERSTAND);
- }
-
- /** Hide constructor */
- private SOAPFaultExceptionHelper()
- {
- }
-
- /** Factory method for FaultException for a given SOAPFault */
- public static SOAPFaultException getSOAPFaultException(SOAPFault soapFault)
- {
- QName faultCode = ((NameImpl)soapFault.getFaultCodeAsName()).toQName();
- String faultString = soapFault.getFaultString();
- String faultActor = soapFault.getFaultActor();
- Detail detail = soapFault.getDetail();
-
- SOAPFaultException faultEx = new SOAPFaultException(faultCode, faultString, faultActor, detail);
-
- CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
- if (detail != null && msgContext != null)
- {
- SerializationContext serContext = msgContext.getSerializationContext();
- TypeMapping typeMapping = serContext.getTypeMapping();
-
- Iterator it = detail.getDetailEntries();
- while (it.hasNext())
- {
- DetailEntry deElement = (DetailEntry)it.next();
- Name deName = deElement.getElementName();
- QName xmlName = new QName(deName.getURI(), deName.getLocalName());
-
- OperationMetaData opMetaData = msgContext.getOperationMetaData();
- FaultMetaData faultMetaData = opMetaData.getFault(xmlName);
- if (faultMetaData != null)
- {
- log.debug("Deserialize fault: " + faultMetaData);
- QName xmlType = faultMetaData.getXmlType();
- Class javaType = faultMetaData.getJavaType();
-
- // Get the deserializer from the type mapping
- DeserializerFactoryBase desFactory = (DeserializerFactoryBase)typeMapping.getDeserializer(javaType, xmlType);
- if (desFactory == null)
- throw new JAXRPCException("Cannot obtain deserializer factory for: " + xmlType);
-
- // Try jaxb deserialization
- try
- {
- // http://jira.jboss.org/jira/browse/JBWS-955
- // Cannot deserialize fault detail
- String prefix = deName.getPrefix();
- if (prefix.length() > 0)
- {
- String nsURI = deName.getURI();
- String attrValue = deElement.getAttribute("xmlns:" + prefix);
- if (nsURI.length() > 0 && attrValue.length() == 0)
- deElement.addNamespaceDeclaration(prefix, nsURI);
- }
-
- String xmlFragment = DOMWriter.printNode(deElement, false);
- DeserializerSupport des = (DeserializerSupport)desFactory.getDeserializer();
- Object userEx = des.deserialize(xmlName, xmlType, xmlFragment, serContext);
- if (userEx == null || (userEx instanceof Exception) == false)
- throw new WSException("Invalid deserialization result: " + userEx);
-
- faultEx.initCause((Exception)userEx);
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- log.error("Cannot deserialize fault detail", ex);
- }
- }
- else
- {
- log.debug("Cannot find fault meta data for: " + xmlName);
- }
- }
- }
-
- return faultEx;
- }
-
- /** Translate the request exception into a SOAPFault message.
- */
- public static SOAPMessage exceptionToFaultMessage(Exception reqEx)
- {
- // Get or create the SOAPFaultException
- SOAPFaultException faultEx;
- if (reqEx instanceof SOAPFaultException)
- {
- faultEx = (SOAPFaultException)reqEx;
- }
- else
- {
- QName faultCode = Constants.SOAP11_FAULT_CODE_CLIENT;
- String faultString = (reqEx.getMessage() != null ? reqEx.getMessage() : reqEx.toString());
- faultEx = new SOAPFaultException(faultCode, faultString, null, null);
- faultEx.initCause(reqEx);
- }
-
- Throwable faultCause = faultEx.getCause();
- log.error("SOAP request exception", faultCause != null ? faultCause : faultEx);
-
- try
- {
- SOAPMessage faultMessage = toSOAPMessage(faultEx);
- return faultMessage;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- log.error("Error creating SOAPFault message", ex);
- throw new JAXRPCException("Cannot create SOAPFault message for: " + faultEx);
- }
- }
-
- private static SOAPMessage toSOAPMessage(SOAPFaultException faultEx) throws SOAPException
- {
- assertFaultCode(faultEx.getFaultCode());
-
- CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
- SerializationContext serContext = (msgContext != null ? msgContext.getSerializationContext() : new SerializationContextJAXRPC());
- NamespaceRegistry nsRegistry = serContext.getNamespaceRegistry();
-
- MessageFactory factory = new MessageFactoryImpl();
- SOAPMessage soapMessage = factory.createMessage();
-
- SOAPEnvelopeImpl soapEnvelope = (SOAPEnvelopeImpl)soapMessage.getSOAPPart().getEnvelope();
- SOAPBody soapBody = soapEnvelope.getBody();
-
- QName faultCode = faultEx.getFaultCode();
- if (faultCode.getNamespaceURI().length() > 0)
- faultCode = nsRegistry.registerQName(faultCode);
-
- String faultString = getValidFaultString(faultEx);
- SOAPFault soapFault = soapBody.addFault(new NameImpl(faultCode), faultString);
-
- String faultActor = faultEx.getFaultActor();
- if (faultActor != null)
- {
- SOAPElement soapElement = soapFault.addChildElement("faultactor");
- soapElement.addTextNode(faultActor);
- }
-
- Exception faultCause = (Exception)faultEx.getCause();
- Detail detail = faultEx.getDetail();
- if (detail != null)
- {
- soapFault.addChildElement(detail);
- }
- else if (faultCause != null && (faultCause instanceof RuntimeException) == false)
- {
- Class javaType = faultCause.getClass();
-
- TypeMapping typeMapping = serContext.getTypeMapping();
-
- OperationMetaData opMetaData = msgContext.getOperationMetaData();
- if (opMetaData != null && opMetaData.getFault(javaType) != null)
- {
- FaultMetaData faultMetaData = opMetaData.getFault(javaType);
- QName xmlName = faultMetaData.getXmlName();
- QName xmlType = faultMetaData.getXmlType();
-
- xmlName = nsRegistry.registerQName(xmlName);
-
- // Get the serializer from the type mapping
- SerializerFactoryBase serFactory = (SerializerFactoryBase)typeMapping.getSerializer(javaType, xmlType);
- if (serFactory == null)
- throw new JAXRPCException("Cannot obtain serializer factory for: " + xmlType);
-
- try
- {
- SerializerSupport ser = (SerializerSupport)serFactory.getSerializer();
- String xmlFragment = ser.serialize(xmlName, xmlType, faultCause, serContext, null);
-
- SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
- Element domElement = DOMUtils.parse(xmlFragment);
- SOAPElement soapElement = soapFactory.createElement(domElement, true);
-
- detail = soapFault.addDetail();
- detail.addChildElement(soapElement);
- }
- catch (BindingException e)
- {
- throw new JAXRPCException(e);
- }
- catch (IOException e)
- {
- throw new JAXRPCException(e);
- }
- }
- else
- {
- log.debug("Cannot obtain fault meta data for: " + javaType);
- }
- }
-
- return soapMessage;
- }
-
- private static String getValidFaultString(SOAPFaultException faultEx)
- {
- String faultString = faultEx.getFaultString();
- if (faultString == null || faultString.length() == 0)
- faultString = "Unqualified " + faultEx.getFaultCode() + " fault";
-
- return faultString;
- }
-
- private static void assertFaultCode(QName faultCode)
- {
- if (faultCode == null)
- throw new IllegalArgumentException("faultcode cannot be null");
-
- // For lazy folkes like the CTS that don't bother to give
- // a namesapce URI, assume they use a standard code
- String nsURI = faultCode.getNamespaceURI();
- if ("".equals(nsURI))
- {
- log.warn("Empty namespace URI with fault code '" + faultCode + "', assuming: " + Constants.NS_SOAP11_ENV);
- faultCode = new QName(Constants.NS_SOAP11_ENV, faultCode.getLocalPart());
- }
-
- // WS-I allows non custom faultcodes if you use a non soap namespace
- if (Constants.NS_SOAP11_ENV.equals(nsURI) && allowedFaultCodes.contains(faultCode) == false)
- throw new IllegalArgumentException("Illegal faultcode '" + faultCode + "', allowed values are: " + allowedFaultCodes);
- }
-}
\ No newline at end of file
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,317 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.core.jaxrpc;
+
+// $Id: SOAPFaultHelperJAXRPC.java 1600 2006-12-07 10:43:36Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.encoding.TypeMapping;
+import javax.xml.rpc.soap.SOAPFaultException;
+import javax.xml.soap.Detail;
+import javax.xml.soap.DetailEntry;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.Name;
+import javax.xml.soap.SOAPBody;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFault;
+import javax.xml.soap.SOAPMessage;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.CommonMessageContext;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerFactoryBase;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerFactoryBase;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
+import org.jboss.ws.core.soap.MessageContextAssociation;
+import org.jboss.ws.core.soap.MessageFactoryImpl;
+import org.jboss.ws.core.soap.NameImpl;
+import org.jboss.ws.core.soap.SOAPEnvelopeImpl;
+import org.jboss.ws.core.soap.SOAPFactoryImpl;
+import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.core.utils.DOMWriter;
+import org.jboss.ws.metadata.umdm.FaultMetaData;
+import org.jboss.ws.metadata.umdm.OperationMetaData;
+import org.jboss.xb.binding.NamespaceRegistry;
+import org.w3c.dom.Element;
+
+/**
+ * A Helper that translates between SOAPFaultException and SOAPFault.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 03-Feb-2005
+ */
+public class SOAPFaultHelperJAXRPC
+{
+ // provide logging
+ private static Logger log = Logger.getLogger(SOAPFaultHelperJAXRPC.class);
+
+ private static List<QName> allowedFaultCodes = new ArrayList<QName>();
+ static
+ {
+ allowedFaultCodes.add(Constants.SOAP11_FAULT_CODE_CLIENT);
+ allowedFaultCodes.add(Constants.SOAP11_FAULT_CODE_SERVER);
+ allowedFaultCodes.add(Constants.SOAP11_FAULT_CODE_VERSION_MISMATCH);
+ allowedFaultCodes.add(Constants.SOAP11_FAULT_CODE_MUST_UNDERSTAND);
+ }
+
+ /** Hide constructor */
+ private SOAPFaultHelperJAXRPC()
+ {
+ }
+
+ /** Factory method for FaultException for a given SOAPFault */
+ public static SOAPFaultException getSOAPFaultException(SOAPFault soapFault)
+ {
+ QName faultCode = ((NameImpl)soapFault.getFaultCodeAsName()).toQName();
+ String faultString = soapFault.getFaultString();
+ String faultActor = soapFault.getFaultActor();
+ Detail detail = soapFault.getDetail();
+
+ SOAPFaultException faultEx = new SOAPFaultException(faultCode, faultString, faultActor, detail);
+
+ CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
+ if (detail != null && msgContext != null)
+ {
+ SerializationContext serContext = msgContext.getSerializationContext();
+ TypeMapping typeMapping = serContext.getTypeMapping();
+
+ Iterator it = detail.getDetailEntries();
+ while (it.hasNext())
+ {
+ DetailEntry deElement = (DetailEntry)it.next();
+ Name deName = deElement.getElementName();
+ QName xmlName = new QName(deName.getURI(), deName.getLocalName());
+
+ OperationMetaData opMetaData = msgContext.getOperationMetaData();
+ FaultMetaData faultMetaData = opMetaData.getFault(xmlName);
+ if (faultMetaData != null)
+ {
+ log.debug("Deserialize fault: " + faultMetaData);
+ QName xmlType = faultMetaData.getXmlType();
+ Class javaType = faultMetaData.getJavaType();
+
+ // Get the deserializer from the type mapping
+ DeserializerFactoryBase desFactory = (DeserializerFactoryBase)typeMapping.getDeserializer(javaType, xmlType);
+ if (desFactory == null)
+ throw new JAXRPCException("Cannot obtain deserializer factory for: " + xmlType);
+
+ // Try jaxb deserialization
+ try
+ {
+ // http://jira.jboss.org/jira/browse/JBWS-955
+ // Cannot deserialize fault detail
+ String prefix = deName.getPrefix();
+ if (prefix.length() > 0)
+ {
+ String nsURI = deName.getURI();
+ String attrValue = deElement.getAttribute("xmlns:" + prefix);
+ if (nsURI.length() > 0 && attrValue.length() == 0)
+ deElement.addNamespaceDeclaration(prefix, nsURI);
+ }
+
+ String xmlFragment = DOMWriter.printNode(deElement, false);
+ DeserializerSupport des = (DeserializerSupport)desFactory.getDeserializer();
+ Object userEx = des.deserialize(xmlName, xmlType, xmlFragment, serContext);
+ if (userEx == null || (userEx instanceof Exception) == false)
+ throw new WSException("Invalid deserialization result: " + userEx);
+
+ faultEx.initCause((Exception)userEx);
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ log.error("Cannot deserialize fault detail", ex);
+ }
+ }
+ else
+ {
+ log.debug("Cannot find fault meta data for: " + xmlName);
+ }
+ }
+ }
+
+ return faultEx;
+ }
+
+ /** Translate the request exception into a SOAPFault message.
+ */
+ public static SOAPMessage exceptionToFaultMessage(Exception reqEx)
+ {
+ // Get or create the SOAPFaultException
+ SOAPFaultException faultEx;
+ if (reqEx instanceof SOAPFaultException)
+ {
+ faultEx = (SOAPFaultException)reqEx;
+ }
+ else
+ {
+ QName faultCode = Constants.SOAP11_FAULT_CODE_CLIENT;
+ String faultString = (reqEx.getMessage() != null ? reqEx.getMessage() : reqEx.toString());
+ faultEx = new SOAPFaultException(faultCode, faultString, null, null);
+ faultEx.initCause(reqEx);
+ }
+
+ Throwable faultCause = faultEx.getCause();
+ log.error("SOAP request exception", faultCause != null ? faultCause : faultEx);
+
+ try
+ {
+ SOAPMessage faultMessage = toSOAPMessage(faultEx);
+ return faultMessage;
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ log.error("Error creating SOAPFault message", ex);
+ throw new JAXRPCException("Cannot create SOAPFault message for: " + faultEx);
+ }
+ }
+
+ private static SOAPMessage toSOAPMessage(SOAPFaultException faultEx) throws SOAPException
+ {
+ assertFaultCode(faultEx.getFaultCode());
+
+ CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
+ SerializationContext serContext = (msgContext != null ? msgContext.getSerializationContext() : new SerializationContextJAXRPC());
+ NamespaceRegistry nsRegistry = serContext.getNamespaceRegistry();
+
+ MessageFactory factory = new MessageFactoryImpl();
+ SOAPMessage soapMessage = factory.createMessage();
+
+ SOAPEnvelopeImpl soapEnvelope = (SOAPEnvelopeImpl)soapMessage.getSOAPPart().getEnvelope();
+ SOAPBody soapBody = soapEnvelope.getBody();
+
+ QName faultCode = faultEx.getFaultCode();
+ if (faultCode.getNamespaceURI().length() > 0)
+ faultCode = nsRegistry.registerQName(faultCode);
+
+ String faultString = getValidFaultString(faultEx);
+ SOAPFault soapFault = soapBody.addFault(new NameImpl(faultCode), faultString);
+
+ String faultActor = faultEx.getFaultActor();
+ if (faultActor != null)
+ {
+ SOAPElement soapElement = soapFault.addChildElement("faultactor");
+ soapElement.addTextNode(faultActor);
+ }
+
+ Exception faultCause = (Exception)faultEx.getCause();
+ Detail detail = faultEx.getDetail();
+ if (detail != null)
+ {
+ soapFault.addChildElement(detail);
+ }
+ else if (faultCause != null && (faultCause instanceof RuntimeException) == false)
+ {
+ Class javaType = faultCause.getClass();
+
+ TypeMapping typeMapping = serContext.getTypeMapping();
+
+ OperationMetaData opMetaData = msgContext.getOperationMetaData();
+ if (opMetaData != null && opMetaData.getFault(javaType) != null)
+ {
+ FaultMetaData faultMetaData = opMetaData.getFault(javaType);
+ QName xmlName = faultMetaData.getXmlName();
+ QName xmlType = faultMetaData.getXmlType();
+
+ xmlName = nsRegistry.registerQName(xmlName);
+
+ // Get the serializer from the type mapping
+ SerializerFactoryBase serFactory = (SerializerFactoryBase)typeMapping.getSerializer(javaType, xmlType);
+ if (serFactory == null)
+ throw new JAXRPCException("Cannot obtain serializer factory for: " + xmlType);
+
+ try
+ {
+ SerializerSupport ser = (SerializerSupport)serFactory.getSerializer();
+ String xmlFragment = ser.serialize(xmlName, xmlType, faultCause, serContext, null);
+
+ SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
+ Element domElement = DOMUtils.parse(xmlFragment);
+ SOAPElement soapElement = soapFactory.createElement(domElement, true);
+
+ detail = soapFault.addDetail();
+ detail.addChildElement(soapElement);
+ }
+ catch (BindingException e)
+ {
+ throw new JAXRPCException(e);
+ }
+ catch (IOException e)
+ {
+ throw new JAXRPCException(e);
+ }
+ }
+ else
+ {
+ log.debug("Cannot obtain fault meta data for: " + javaType);
+ }
+ }
+
+ return soapMessage;
+ }
+
+ private static String getValidFaultString(SOAPFaultException faultEx)
+ {
+ String faultString = faultEx.getFaultString();
+ if (faultString == null || faultString.length() == 0)
+ faultString = "Unqualified " + faultEx.getFaultCode() + " fault";
+
+ return faultString;
+ }
+
+ private static void assertFaultCode(QName faultCode)
+ {
+ if (faultCode == null)
+ throw new IllegalArgumentException("faultcode cannot be null");
+
+ // For lazy folkes like the CTS that don't bother to give
+ // a namesapce URI, assume they use a standard code
+ String nsURI = faultCode.getNamespaceURI();
+ if ("".equals(nsURI))
+ {
+ log.warn("Empty namespace URI with fault code '" + faultCode + "', assuming: " + Constants.NS_SOAP11_ENV);
+ faultCode = new QName(Constants.NS_SOAP11_ENV, faultCode.getLocalPart());
+ }
+
+ // WS-I allows non custom faultcodes if you use a non soap namespace
+ if (Constants.NS_SOAP11_ENV.equals(nsURI) && allowedFaultCodes.contains(faultCode) == false)
+ throw new IllegalArgumentException("Illegal faultcode '" + faultCode + "', allowed values are: " + allowedFaultCodes);
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/SOAPFaultHelperJAXRPC.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceFactoryImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/ServiceFactoryImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceFactoryImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -38,8 +38,7 @@
* Service class acts as a factory for:
* <ul>
* <li>Dynamic proxy for the target service endpoint.
- * <li>Instance of the type javax.xml.rpc.Call for the dynamic invocation of a
- * remote operation on the target service endpoint.
+ * <li>Instance of the type javax.xml.rpc.Call for the dynamic invocation of a remote operation on the target service endpoint.
* <li>Instance of a generated stub class
* </ul>
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/ServiceImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,7 +25,6 @@
import java.lang.reflect.Proxy;
import java.net.URL;
-import java.net.URLClassLoader;
import java.rmi.Remote;
import java.util.ArrayList;
import java.util.Iterator;
@@ -39,7 +38,7 @@
import javax.xml.rpc.handler.HandlerChain;
import javax.xml.rpc.handler.HandlerRegistry;
-import org.jboss.ws.deployment.JSR109ClientMetaDataBuilder;
+import org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder;
import org.jboss.ws.metadata.j2ee.UnifiedServiceRefMetaData;
import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
@@ -56,7 +55,7 @@
* remote operation on the target service endpoint.
* <li>Instance of a generated stub class
* </ul>
- *
+ *
* @author Thomas.Diesler at jboss.org
* @since 10-Oct-2004
*/
@@ -87,13 +86,11 @@
ServiceImpl(QName serviceName, URL wsdlURL, URL mappingURL, URL securityURL)
{
this.wsdlLocation = wsdlURL;
- JSR109ClientMetaDataBuilder builder = new JSR109ClientMetaDataBuilder();
+ JAXRPCClientMetaDataBuilder builder = new JAXRPCClientMetaDataBuilder();
ClassLoader ctxClassLoader = Thread.currentThread().getContextClassLoader();
- builder.setResourceLoader(new URLClassLoader(new URL[] {}, ctxClassLoader));
- builder.setClassLoader(ctxClassLoader);
- serviceMetaData = builder.buildMetaData(serviceName, wsdlURL, mappingURL, securityURL, null);
+ serviceMetaData = builder.buildMetaData(serviceName, wsdlURL, mappingURL, securityURL, null, ctxClassLoader);
handlerRegistry = new HandlerRegistryImpl(serviceMetaData);
}
@@ -103,13 +100,11 @@
ServiceImpl(QName serviceName, URL wsdlURL, JavaWsdlMapping mappingURL, WSSecurityConfiguration securityConfig, UnifiedServiceRefMetaData serviceRefMetaData)
{
this.wsdlLocation = wsdlURL;
- JSR109ClientMetaDataBuilder builder = new JSR109ClientMetaDataBuilder();
+ JAXRPCClientMetaDataBuilder builder = new JAXRPCClientMetaDataBuilder();
ClassLoader ctxClassLoader = Thread.currentThread().getContextClassLoader();
- builder.setResourceLoader(new URLClassLoader(new URL[] {}, ctxClassLoader));
- builder.setClassLoader(ctxClassLoader);
- serviceMetaData = builder.buildMetaData(serviceName, wsdlURL, mappingURL, securityConfig, serviceRefMetaData);
+ serviceMetaData = builder.buildMetaData(serviceName, wsdlURL, mappingURL, securityConfig, serviceRefMetaData, ctxClassLoader);
handlerRegistry = new HandlerRegistryImpl(serviceMetaData);
}
@@ -120,7 +115,7 @@
/**
* Gets the location of the WSDL document for this Service.
- *
+ *
* @return URL for the location of the WSDL document for this service
*/
public URL getWSDLDocumentLocation()
@@ -130,17 +125,17 @@
/**
* Gets the name of this service.
- *
+ *
* @return Qualified name of this service
*/
public QName getServiceName()
{
- return serviceMetaData.getQName();
+ return serviceMetaData.getServiceName();
}
/**
* Creates a Call instance.
- *
+ *
* @param portName
* Qualified name for the target service endpoint
* @return Call instance
@@ -156,7 +151,7 @@
/**
* Creates a Call instance.
- *
+ *
* @param portName
* Qualified name for the target service endpoint
* @param operationName
@@ -176,7 +171,7 @@
/**
* Creates a Call instance.
- *
+ *
* @param portName
* Qualified name for the target service endpoint
* @param opName
@@ -197,7 +192,7 @@
* Creates a Call object not associated with specific operation or target
* service endpoint. This Call object needs to be configured using the
* setter methods on the Call interface.
- *
+ *
* @return Call object
* @throws javax.xml.rpc.ServiceException
* If any error in the creation of the Call object
@@ -215,7 +210,7 @@
* interface. <p/> Each invocation of the getCalls method returns a new
* array of preconfigured Call objects <p/> This method requires the Service
* implementation class to have access to the WSDL related metadata.
- *
+ *
* @param portName
* Qualified name for the target service endpoint
* @return Call[] Array of pre-configured Call objects
@@ -275,7 +270,7 @@
/**
* Returns an Iterator for the list of QNames of service endpoints grouped
* by this service
- *
+ *
* @return Returns java.util.Iterator with elements of type
* javax.xml.namespace.QName
* @throws javax.xml.rpc.ServiceException
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceReferenceable.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/ServiceReferenceable.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/ServiceReferenceable.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -37,7 +37,7 @@
import org.jboss.ws.core.server.ServiceEndpointManager;
import org.jboss.ws.core.server.ServiceEndpointManagerFactory;
-import org.jboss.ws.deployment.UnifiedDeploymentInfo;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
import org.jboss.ws.metadata.j2ee.UnifiedPortComponentRefMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedServiceRefMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
@@ -89,7 +89,7 @@
// The deployment URL of the web service client deployment
// Add a reference to the client deployment URL
- URL deploymentURL = (udi.localUrl != null ? udi.localUrl : udi.url);
+ URL deploymentURL = udi.url;
myRef.add(new StringRefAddr(DEPLOYMENT_URL, deploymentURL.toExternalForm()));
// Add a reference to the ServiceRefMetaData and WSDLDefinitions
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64Deserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64Deserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64Deserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,20 +23,21 @@
// $Id$
+import java.io.IOException;
+
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.extensions.xop.XOPContext;
import org.jboss.ws.extensions.xop.jaxrpc.XOPUnmarshallerImpl;
-import org.jboss.ws.WSException;
import org.jboss.xb.binding.SimpleTypeBindings;
import org.jboss.xb.binding.sunday.xop.XOPUnmarshaller;
-import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
import org.w3c.dom.Element;
-
-import java.io.IOException;
-
/**
* Deserializer for Base64
*
@@ -47,15 +48,14 @@
{
// provide logging
private static final Logger log = Logger.getLogger(Base64Deserializer.class);
-
+
public Object deserialize(QName xmlName, QName xmlType, String xmlFragment, SerializationContext serContext) throws BindingException
{
log.debug("deserialize: [xmlName=" + xmlName + ",xmlType=" + xmlType + "]");
-
+
byte[] value = null;
-
+
String valueStr = unwrapValueStr(xmlFragment);
-
if(XOPContext.isXOPMessage())
{
try
@@ -74,7 +74,6 @@
{
value = SimpleTypeBindings.unmarshalBase64(valueStr);
}
-
return value;
}
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64DeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64DeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64DeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64Serializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64Serializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64Serializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -26,6 +26,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.extensions.xop.XOPContext;
import org.jboss.ws.extensions.xop.jaxrpc.XOPMarshallerImpl;
@@ -64,11 +67,10 @@
}
else
{
- value = JavaUtils.getPrimitiveValue(value);
+ value = JavaUtils.getPrimitiveValueArray(value);
String valueStr = SimpleTypeBindings.marshalBase64((byte[])value);
xmlFragment = wrapValueStr(xmlName, valueStr, nsRegistry, attributes, true);
}
-
return xmlFragment;
}
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64SerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64SerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/Base64SerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,6 +28,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.xb.binding.SimpleTypeBindings;
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,6 +28,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.xb.binding.NamespaceRegistry;
import org.jboss.xb.binding.SimpleTypeBindings;
import org.w3c.dom.NamedNodeMap;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarSerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarSerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/CalendarSerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,6 +29,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.xb.binding.SimpleTypeBindings;
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -30,6 +30,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.xb.binding.NamespaceRegistry;
import org.jboss.xb.binding.SimpleTypeBindings;
import org.w3c.dom.NamedNodeMap;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateSerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateSerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DateSerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DeserializerFactoryBase.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/DeserializerFactoryBase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/DeserializerFactoryBase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,6 +29,8 @@
import javax.xml.rpc.encoding.DeserializerFactory;
import org.jboss.util.NotImplementedException;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
/**
* @author Thomas.Diesler at jboss.org
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -26,6 +26,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.ws.core.utils.DOMUtils;
import org.w3c.dom.Element;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -26,6 +26,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.ws.core.utils.DOMWriter;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementSerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementSerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/ElementSerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -26,6 +26,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.xb.binding.SimpleTypeBindings;
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -26,6 +26,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.xb.binding.NamespaceRegistry;
import org.jboss.xb.binding.SimpleTypeBindings;
@@ -47,7 +50,7 @@
{
log.debug("serialize: [xmlName=" + xmlName + ",xmlType=" + xmlType + "]");
- value = JavaUtils.getPrimitiveValue(value);
+ value = JavaUtils.getPrimitiveValueArray(value);
String valueStr = SimpleTypeBindings.marshalHexBinary((byte[])value);
NamespaceRegistry nsRegistry = serContext.getNamespaceRegistry();
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexSerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexSerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/HexSerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -30,6 +30,9 @@
import org.apache.xerces.xs.XSModel;
import org.jboss.logging.Logger;
import org.jboss.ws.core.jaxrpc.SerializationContextJAXRPC;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.ComplexTypeDeserializer;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBConstants;
import org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBUnmarshaller;
import org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBUnmarshallerImpl;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,8 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,9 +23,16 @@
// $Id$
+import java.io.StringWriter;
+
+import javax.xml.namespace.QName;
+
import org.apache.xerces.xs.XSModel;
import org.jboss.logging.Logger;
import org.jboss.ws.core.jaxrpc.SerializationContextJAXRPC;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.ComplexTypeSerializer;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBConstants;
import org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBMarshaller;
import org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBMarshallerImpl;
@@ -33,9 +40,6 @@
import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
import org.w3c.dom.NamedNodeMap;
-import javax.xml.namespace.QName;
-import java.io.StringWriter;
-
/**
* A Serializer that can handle complex types by delegating to JAXB.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBSerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBSerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/JBossXBSerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,8 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/NullValueSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/NullValueSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/NullValueSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -27,6 +27,9 @@
import org.jboss.logging.Logger;
import org.jboss.ws.Constants;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.xb.binding.NamespaceRegistry;
import org.w3c.dom.NamedNodeMap;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,6 +28,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.xb.binding.NamespaceRegistry;
import org.jboss.xb.binding.SimpleTypeBindings;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -26,6 +26,9 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.xb.binding.NamespaceRegistry;
import org.jboss.xb.binding.SimpleTypeBindings;
import org.w3c.dom.NamedNodeMap;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameSerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameSerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/QNameSerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArrayDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArrayDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArrayDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -34,6 +34,9 @@
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
import org.jboss.ws.core.utils.JavaUtils;
@@ -139,7 +142,7 @@
Element childElement = (Element)it.next();
String compXMLFragment = DOMWriter.printNode(childElement, false);
compValue = compDeserializer.deserialize(compXmlName, compXmlType, compXMLFragment, serContext);
- compValue = JavaUtils.getWrapperValue(compValue);
+ compValue = JavaUtils.getWrapperValueArray(compValue);
}
subArr[i] = compValue;
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArrayDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArrayDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArrayDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,8 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArraySerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArraySerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArraySerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,6 +29,9 @@
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.metadata.umdm.ParameterMetaData;
import org.w3c.dom.NamedNodeMap;
@@ -101,7 +104,7 @@
// Get the corresponding wrapper type
if (JavaUtils.isPrimitive(value.getClass()))
- value = JavaUtils.getWrapperValue(value);
+ value = JavaUtils.getWrapperValueArray(value);
xmlFragment = new StringBuilder("<" + Constants.PREFIX_SOAP11_ENC + ":Array ");
if (value instanceof Object[])
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArraySerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArraySerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPArraySerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,8 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,12 +24,18 @@
// $Id$
import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFactory;
import org.jboss.logging.Logger;
-import org.jboss.ws.core.soap.SOAPElementImpl;
-import org.jboss.ws.core.soap.SOAPFactoryImpl;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.ws.core.utils.DOMUtils;
import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
/**
* A deserializer that can handle xsd:anyType
@@ -48,8 +54,7 @@
try
{
Element domElement = DOMUtils.parse(xmlFragment);
- SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
- SOAPElementImpl soapElement = soapFactory.createElement(domElement, true);
+ SOAPElement soapElement = createElement(domElement, true);
return soapElement;
}
catch (RuntimeException rte)
@@ -61,4 +66,56 @@
throw new BindingException();
}
}
+
+ /**
+ * Create a SOAPElement from a DOM Element.
+ * This method is not part of the javax.xml.soap.SOAPFactory interface.
+ */
+ public SOAPElement createElement(Element domNode, boolean deep) throws SOAPException
+ {
+ if (domNode == null)
+ throw new IllegalArgumentException("Source node cannot be null");
+
+ String localName = domNode.getLocalName();
+ String prefix = domNode.getPrefix() != null ? domNode.getPrefix() : "";
+ String nsURI = domNode.getNamespaceURI() != null ? domNode.getNamespaceURI() : "";
+
+ SOAPFactory factory = SOAPFactory.newInstance();
+ SOAPElement soapElement = factory.createElement(localName, prefix, nsURI);
+
+ // Add the child elements as well
+ if (deep)
+ {
+ if (domNode instanceof Element)
+ DOMUtils.copyAttributes(soapElement, (Element)domNode);
+
+ NodeList nlist = domNode.getChildNodes();
+ for (int i = 0; i < nlist.getLength(); i++)
+ {
+ Node child = nlist.item(i);
+ short nodeType = child.getNodeType();
+ if (nodeType == Node.ELEMENT_NODE)
+ {
+ SOAPElement soapChild = createElement((Element)child, true);
+ soapElement.addChildElement(soapChild);
+ }
+ else if (nodeType == Node.TEXT_NODE)
+ {
+ String nodeValue = child.getNodeValue();
+ soapElement.addTextNode(nodeValue);
+ }
+ else if (nodeType == Node.CDATA_SECTION_NODE)
+ {
+ String nodeValue = child.getNodeValue();
+ soapElement.addTextNode(nodeValue);
+ }
+ else
+ {
+ log.trace("Ignore child type: " + nodeType);
+ }
+ }
+ }
+
+ return soapElement;
+ }
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -27,6 +27,9 @@
import javax.xml.soap.SOAPElement;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.ws.core.utils.DOMWriter;
import org.w3c.dom.NamedNodeMap;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementSerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementSerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SOAPElementSerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SerializerFactoryBase.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SerializerFactoryBase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SerializerFactoryBase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,6 +29,8 @@
import javax.xml.rpc.encoding.SerializerFactory;
import org.jboss.util.NotImplementedException;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
/**
* @author Thomas.Diesler at jboss.org
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleDeserializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleDeserializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleDeserializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,11 +23,14 @@
// $Id$
+import javax.xml.namespace.QName;
+
import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
import org.jboss.xb.binding.SimpleTypeBindings;
-import javax.xml.namespace.QName;
-
/**
* A deserializer that can handle XMLSchema simple types.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleDeserializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleDeserializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleDeserializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.DeserializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleSerializer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -27,6 +27,9 @@
import org.jboss.logging.Logger;
import org.jboss.util.NotImplementedException;
+import org.jboss.ws.core.jaxrpc.binding.BindingException;
+import org.jboss.ws.core.jaxrpc.binding.SerializationContext;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
import org.jboss.xb.binding.NamespaceRegistry;
import org.jboss.xb.binding.SimpleTypeBindings;
import org.w3c.dom.NamedNodeMap;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleSerializerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleSerializerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/SimpleSerializerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,7 @@
*/
package org.jboss.ws.core.jaxrpc.binding;
+import org.jboss.ws.core.jaxrpc.binding.SerializerSupport;
// $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBMarshaller.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBMarshaller.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBMarshaller.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,12 +21,12 @@
*/
package org.jboss.ws.core.jaxrpc.binding.jbossxb;
+import java.io.OutputStream;
+import java.io.Writer;
+
+import org.w3c.dom.Node;
import org.xml.sax.ContentHandler;
-import org.w3c.dom.Node;
-import java.io.Writer;
-import java.io.OutputStream;
-
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBMarshallerImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBMarshallerImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBMarshallerImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,13 @@
// $Id$
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.util.HashMap;
+
+import javax.xml.namespace.QName;
+
import org.jboss.logging.Logger;
import org.jboss.util.NotImplementedException;
import org.jboss.ws.WSException;
@@ -32,18 +39,11 @@
import org.jboss.ws.metadata.jaxrpcmapping.JavaXmlTypeMapping;
import org.jboss.ws.metadata.jaxrpcmapping.VariableMapping;
import org.jboss.xb.binding.Constants;
-
import org.jboss.xb.binding.sunday.marshalling.MarshallerImpl;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
import org.w3c.dom.Node;
import org.xml.sax.ContentHandler;
-import javax.xml.namespace.QName;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.io.Writer;
-import java.util.HashMap;
-
/**
* An implementation of a JAXB Marshaller that uses the JBossXB schema binding marshaller.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBUnmarshallerImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBUnmarshallerImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/JBossXBUnmarshallerImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,15 +23,15 @@
// $Id$
+import java.io.InputStream;
+import java.util.HashMap;
+
import org.jboss.ws.WSException;
import org.jboss.ws.extensions.xop.jaxrpc.XOPUnmarshallerImpl;
import org.jboss.xb.binding.JBossXBException;
import org.jboss.xb.binding.UnmarshallerFactory;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
-import java.io.InputStream;
-import java.util.HashMap;
-
/**
* An implementation of a JAXB Unmarshaller.
*
@@ -53,7 +53,6 @@
org.jboss.xb.binding.Unmarshaller unm = UnmarshallerFactory.newInstance().newUnmarshaller();
SchemaBinding schemaBinding = JBossXBSupport.getOrCreateSchemaBinding(properties);
-
XOPUnmarshallerImpl xopUnmarshaller = new XOPUnmarshallerImpl();
schemaBinding.setXopUnmarshaller(xopUnmarshaller);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,15 @@
// $Id$
+import java.util.ArrayList;
+import java.util.Iterator;
+
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFactory;
+
import org.apache.xerces.xs.XSModel;
import org.jboss.logging.Logger;
import org.jboss.util.xml.JBossEntityResolver;
@@ -30,25 +39,33 @@
import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.JBossWSEntityResolver;
import org.jboss.ws.extensions.xop.jaxrpc.JBossXBContentAdapter;
-import org.jboss.ws.metadata.jaxrpcmapping.*;
+import org.jboss.ws.metadata.jaxrpcmapping.ExceptionMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaXmlTypeMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.PackageMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.VariableMapping;
import org.jboss.xb.binding.metadata.ClassMetaData;
import org.jboss.xb.binding.metadata.PackageMetaData;
import org.jboss.xb.binding.metadata.PropertyMetaData;
import org.jboss.xb.binding.metadata.ValueMetaData;
-import org.jboss.xb.binding.sunday.unmarshalling.*;
+import org.jboss.xb.binding.sunday.unmarshalling.AttributeBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.CharactersHandler;
+import org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver;
+import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.ParticleBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.ParticleHandler;
+import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.SimpleTypeBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.TermBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.TypeBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.WildcardBinding;
+import org.jboss.xb.binding.sunday.unmarshalling.XsdBinder;
import org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler;
import org.w3c.dom.Element;
import org.w3c.dom.Text;
import org.xml.sax.Attributes;
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPException;
-import javax.xml.soap.SOAPFactory;
-import java.util.ArrayList;
-import java.util.Iterator;
-
/**
* Create SchemaBinding from XSModel and jaxrpc-mapping.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/XercesXSMarshallerImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/XercesXSMarshallerImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/XercesXSMarshallerImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,13 @@
// $Id$
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.util.HashMap;
+
+import javax.xml.namespace.QName;
+
import org.apache.xerces.xs.XSModel;
import org.jboss.logging.Logger;
import org.jboss.util.NotImplementedException;
@@ -37,12 +44,6 @@
import org.w3c.dom.Node;
import org.xml.sax.ContentHandler;
-import javax.xml.namespace.QName;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.io.Writer;
-import java.util.HashMap;
-
/**
* An implementation of a JAXB Marshaller that user XercesXSMarshaller impl.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointInvoker.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointInvoker.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointInvoker.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,6 +25,7 @@
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
+import java.lang.reflect.UndeclaredThrowableException;
import javax.management.MBeanException;
import javax.xml.namespace.QName;
@@ -37,16 +38,19 @@
import javax.xml.soap.SOAPMessage;
import org.jboss.logging.Logger;
+import org.jboss.util.NotImplementedException;
import org.jboss.ws.Constants;
import org.jboss.ws.core.CommonBinding;
import org.jboss.ws.core.CommonBindingProvider;
import org.jboss.ws.core.CommonMessageContext;
+import org.jboss.ws.core.CommonSOAPBinding;
import org.jboss.ws.core.EndpointInvocation;
-import org.jboss.ws.core.jaxrpc.SOAPFaultExceptionHelper;
import org.jboss.ws.core.jaxrpc.handler.HandlerDelegateJAXRPC;
import org.jboss.ws.core.soap.MessageContextAssociation;
+import org.jboss.ws.core.soap.SOAPBodyImpl;
import org.jboss.ws.core.soap.SOAPMessageImpl;
import org.jboss.ws.core.utils.JavaUtils;
+import org.jboss.ws.extensions.xop.XOPContext;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
import org.jboss.ws.metadata.umdm.OperationMetaData;
import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
@@ -69,8 +73,16 @@
public void initServiceEndpoint(ServiceEndpointInfo seInfo)
{
ServerEndpointMetaData sepMetaData = seInfo.getServerEndpointMetaData();
- bindingProvider = new CommonBindingProvider(sepMetaData);
- handlerDelegate = new HandlerDelegateJAXRPC();
+
+ if (sepMetaData.getType() == EndpointMetaData.Type.JAXRPC)
+ {
+ bindingProvider = new CommonBindingProvider(sepMetaData);
+ handlerDelegate = new HandlerDelegateJAXRPC();
+ }
+ else
+ {
+ throw new NotImplementedException("Only JAX-RPC is supported");
+ }
}
/** Load the SEI implementation bean if necessary */
@@ -81,7 +93,7 @@
InstantiationException;
/** Invoke the instance of the SEI implementation bean */
- protected abstract void invokeServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl, EndpointInvocation epInv);
+ protected abstract void invokeServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl, EndpointInvocation epInv) throws Exception;
/** Destroy the instance of the SEI implementation bean if necessary */
protected abstract void destroyServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl);
@@ -123,7 +135,7 @@
// call the handler chain
boolean handlersPass = callRequestHandlerChain(seInfo, HandlerType.PRE);
-
+
// Unbind the request message
if (handlersPass)
{
@@ -133,15 +145,22 @@
// Get the operation meta data from the SOAP message
opMetaData = getDispatchDestination(epMetaData, reqMessage);
msgContext.setOperationMetaData(opMetaData);
- oneway = opMetaData.isOneWayOperation();
+ oneway = opMetaData.isOneWay();
// Unbind the request message
epInv = binding.unbindRequestMessage(opMetaData, reqMessage);
}
-
+
handlersPass = handlersPass && callRequestHandlerChain(seInfo, HandlerType.ENDPOINT);
handlersPass = handlersPass && callRequestHandlerChain(seInfo, HandlerType.POST);
+ // Check if protocol handlers modified the payload
+ if (((SOAPBodyImpl)reqMessage.getSOAPBody()).isModifiedFromSource())
+ {
+ log.debug("Handler modified body payload, unbind message again");
+ epInv = binding.unbindRequestMessage(opMetaData, reqMessage);
+ }
+
if (handlersPass)
{
// Invoke the service endpoint
@@ -155,6 +174,9 @@
msgContext.removeProperty(CommonMessageContext.ALLOW_EXPAND_TO_DOM);
}
+ if(binding instanceof CommonSOAPBinding)
+ XOPContext.setMTOMEnabled( ((CommonSOAPBinding)binding).isMTOMEnabled());
+
// Bind the response message
SOAPMessage resMessage = (SOAPMessage)binding.bindResponseMessage(opMetaData, epInv);
msgContext.setSOAPMessage(resMessage);
@@ -175,7 +197,8 @@
{
try
{
- SOAPMessage faultMessage = SOAPFaultExceptionHelper.exceptionToFaultMessage(ex);
+ CommonSOAPBinding soapBinding = (CommonSOAPBinding)bindingProvider.getCommonBinding();
+ SOAPMessage faultMessage = soapBinding.exceptionToFaultMessage(ex);
msgContext.setSOAPMessage(faultMessage);
// call the handler chain
@@ -251,48 +274,37 @@
return implMethod;
}
- /** handle invokation exceptions */
- public void handleInvocationException(Throwable th) throws SOAPFaultException
+ /** handle invocation exceptions */
+ public void handleInvocationException(Throwable th) throws Exception
{
- if (th instanceof RuntimeException)
- throw (RuntimeException)th;
-
if (th instanceof InvocationTargetException)
{
- InvocationTargetException targetException = (InvocationTargetException)th;
- Throwable targetEx = targetException.getTargetException();
- if (targetEx instanceof SOAPFaultException)
- {
- throw (SOAPFaultException)targetEx;
- }
- else
- {
- String faultString = targetEx.toString();
- SOAPFaultException soapFaultEx = new SOAPFaultException(Constants.SOAP11_FAULT_CODE_CLIENT, faultString, null, null);
- soapFaultEx.initCause(targetEx);
- throw soapFaultEx;
- }
+ // unwrap the throwable raised by the service endpoint implementation
+ Throwable targetEx = ((InvocationTargetException)th).getTargetException();
+ handleInvocationThrowable(targetEx);
}
if (th instanceof MBeanException)
{
- Exception targetEx = ((MBeanException)th).getTargetException();
- if (targetEx instanceof SOAPFaultException)
- {
- throw (SOAPFaultException)targetEx;
- }
- else
- {
- String faultString = targetEx.toString();
- SOAPFaultException soapFaultEx = new SOAPFaultException(Constants.SOAP11_FAULT_CODE_CLIENT, faultString, null, null);
- soapFaultEx.initCause(targetEx);
- throw soapFaultEx;
- }
+ throw ((MBeanException)th).getTargetException();
}
- String faultString = th.toString();
- SOAPFaultException soapFaultEx = new SOAPFaultException(Constants.SOAP11_FAULT_CODE_CLIENT, faultString, null, null);
- soapFaultEx.initCause(th);
- throw soapFaultEx;
+ handleInvocationThrowable(th);
}
+
+ private void handleInvocationThrowable(Throwable th) throws Exception
+ {
+ if (th instanceof Exception)
+ {
+ throw (Exception)th;
+ }
+ else if (th instanceof Error)
+ {
+ throw (Error)th;
+ }
+ else
+ {
+ throw new UndeclaredThrowableException(th);
+ }
+ }
}
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointPublisher.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointPublisher.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointPublisher.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,250 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.server;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import javax.servlet.Servlet;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.core.utils.DOMWriter;
+import org.jboss.ws.core.utils.IOUtils;
+import org.jboss.ws.core.utils.JavaUtils;
+import org.w3c.dom.Element;
+
+/**
+ * The publisher for web service endpoints
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 12-May-2006
+ */
+public abstract class AbstractServiceEndpointPublisher
+{
+ // default bean name
+ public static final String BEAN_NAME = "ServiceEndpointPublisher";
+
+ // The servlet init param in web.xml that is the service endpoint class
+ public static final String INIT_PARAM_SERVICE_ENDPOINT_IMPL = "ServiceEndpointImpl";
+
+ // logging support
+ private static Logger log = Logger.getLogger(AbstractServiceEndpointPublisher.class);
+
+ // The configured service endpoint servlet
+ protected String servletName;
+
+ public String getServiceEndpointServlet()
+ {
+ return servletName;
+ }
+
+ public void setServiceEndpointServlet(String servletName)
+ {
+ this.servletName = servletName;
+ }
+
+ public abstract String publishServiceEndpoint(URL warURL, ClassLoader loader) throws Exception;
+
+ public abstract String destroyServiceEndpoint(URL warURL) throws Exception;
+
+ public URL rewriteWarWebXml(URL warURL, ClassLoader loader)
+ {
+ File warFile = new File(warURL.getFile());
+ if (warFile.isDirectory() == false)
+ throw new WSException("Expected a war directory: " + warURL);
+
+ File webXML = new File(warURL.getFile() + "/WEB-INF/web.xml");
+ if (webXML.isFile() == false)
+ throw new WSException("Cannot find web.xml: " + webXML);
+
+ try
+ {
+ // After redeployment there might be a stale copy of the original web.xml.org, we delete it
+ File orgWebXML = new File(webXML.getCanonicalPath() + ".org");
+ orgWebXML.delete();
+
+ // Rename the web.xml
+ if (webXML.renameTo(orgWebXML) == false)
+ throw new WSException("Cannot rename web.xml: " + orgWebXML);
+
+ FileInputStream stream = new FileInputStream(orgWebXML);
+ return rewriteWebXml(stream, webXML, loader).toURL();
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception e)
+ {
+ throw new WSException(e);
+ }
+ }
+
+ public File rewriteWebXml(InputStream source, File dest, ClassLoader loader) throws Exception
+ {
+ if (dest == null)
+ {
+ dest = File.createTempFile("jbossws-alt-web", "xml", IOUtils.createTempDirectory());
+ dest.deleteOnExit();
+ }
+
+ Element root = DOMUtils.parse(source);
+ modifyServletConfig(root, loader);
+
+ FileOutputStream fos = new FileOutputStream(dest);
+ new DOMWriter(fos).setPrettyprint(true).print(root);
+ fos.flush();
+ fos.close();
+
+ return dest;
+ }
+
+ private Map<String, String> modifyServletConfig(Element root, ClassLoader loader) throws ClassNotFoundException
+ {
+ Map<String, String> sepTargetMap = new HashMap<String, String>();
+
+ Iterator itServlets = DOMUtils.getChildElements(root, "servlet");
+ while (itServlets.hasNext())
+ {
+ Element servletElement = (Element)itServlets.next();
+ String linkName = DOMUtils.getTextContent(DOMUtils.getFirstChildElement(servletElement, "servlet-name"));
+
+ // find the servlet-class
+ Element classElement = DOMUtils.getFirstChildElement(servletElement, "servlet-class");
+
+ // JSP
+ if (classElement == null)
+ continue;
+
+ // Get the servlet class
+ String servletClassName = DOMUtils.getTextContent(classElement).trim();
+ Class servletClass = (loader != null ? loader.loadClass(servletClassName) : null);
+
+ String targetBeanName = null;
+
+ // Nothing to do if we have an <init-param>
+ if (isAlreadyModified(servletElement) == false)
+ {
+ // Check if it is a real servlet that we can ignore
+ if (servletClass != null && JavaUtils.isAssignableFrom(Servlet.class, servletClass))
+ {
+ log.info("Ignore servlet: " + servletClassName);
+ continue;
+ }
+ else if (servletClassName.endsWith("Servlet"))
+ {
+ log.info("Ignore <servlet-class> that ends with 'Servlet': " + servletClassName);
+ continue;
+ }
+
+ // build a list of detached elements that come after <servlet-class>
+ boolean startDetach = false;
+ List<Element> detachedElements = new ArrayList<Element>();
+ Iterator itDetached = DOMUtils.getChildElements(servletElement);
+ while (itDetached.hasNext())
+ {
+ Element el = (Element)itDetached.next();
+ if (startDetach == true)
+ {
+ detachedElements.add(el);
+ servletElement.removeChild(el);
+ }
+ if (el.equals(classElement))
+ {
+ servletElement.removeChild(el);
+ startDetach = true;
+ }
+ }
+
+ // replace the class name
+ classElement = (Element)DOMUtils.createElement("servlet-class");
+ classElement.appendChild(DOMUtils.createTextNode(servletName));
+ classElement = (Element)servletElement.getOwnerDocument().importNode(classElement, true);
+ servletElement.appendChild(classElement);
+
+ // add additional init params
+ if (servletClassName.equals(servletName) == false)
+ {
+ Element paramElement = DOMUtils.createElement("init-param");
+ paramElement.appendChild(DOMUtils.createElement("param-name")).appendChild(DOMUtils.createTextNode(INIT_PARAM_SERVICE_ENDPOINT_IMPL));
+ paramElement.appendChild(DOMUtils.createElement("param-value")).appendChild(DOMUtils.createTextNode(servletClassName));
+ paramElement = (Element)servletElement.getOwnerDocument().importNode(paramElement, true);
+ servletElement.appendChild(paramElement);
+ targetBeanName = servletClassName;
+ }
+
+ // reattach the elements
+ itDetached = detachedElements.iterator();
+ while (itDetached.hasNext())
+ {
+ Element el = (Element)itDetached.next();
+ servletElement.appendChild(el);
+ }
+ }
+ else
+ {
+ Iterator itParams = DOMUtils.getChildElements(servletElement, "init-param");
+ while (itParams.hasNext())
+ {
+ Element elParam = (Element)itParams.next();
+ Element elParamName = DOMUtils.getFirstChildElement(elParam, "param-name");
+ Element elParamValue = DOMUtils.getFirstChildElement(elParam, "param-value");
+ if (INIT_PARAM_SERVICE_ENDPOINT_IMPL.equals(DOMUtils.getTextContent(elParamName)))
+ {
+ targetBeanName = DOMUtils.getTextContent(elParamValue);
+ }
+ }
+ }
+
+ if (targetBeanName == null)
+ throw new IllegalStateException("Cannot obtain service endpoint bean for: " + linkName);
+
+ sepTargetMap.put(linkName, targetBeanName.trim());
+ }
+
+ return sepTargetMap;
+ }
+
+ // Return true if the web.xml is already modified
+ private boolean isAlreadyModified(Element servletElement)
+ {
+ Iterator itParams = DOMUtils.getChildElements(servletElement, "init-param");
+ while (itParams.hasNext())
+ {
+ Element elParam = (Element)itParams.next();
+ Element elParamName = DOMUtils.getFirstChildElement(elParam, "param-name");
+ if (INIT_PARAM_SERVICE_ENDPOINT_IMPL.equals(DOMUtils.getTextContent(elParamName)))
+ return true;
+ }
+ return false;
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointPublisher.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointServlet.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointServlet.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointServlet.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.server;
+
+// $Id: AbstractServiceEndpointServlet.java 396 2006-05-23 09:48:45Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.io.Writer;
+import java.net.URL;
+
+import javax.management.ObjectName;
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.xml.rpc.JAXRPCException;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+
+/**
+ * A servlet that is installed for every web service endpoint.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 15-Jan-2005
+ */
+public abstract class AbstractServiceEndpointServlet extends HttpServlet
+{
+ // provide logging
+ private static final Logger log = Logger.getLogger(AbstractServiceEndpointServlet.class);
+
+ protected ObjectName sepId;
+ protected ServiceEndpointManager epManager;
+
+ public void init(ServletConfig config) throws ServletException
+ {
+ super.init(config);
+ initServiceEndpointManager();
+ }
+
+ public void destroy()
+ {
+ super.destroy();
+ }
+
+ public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
+ {
+ if (sepId == null)
+ {
+ String contextPath = req.getContextPath();
+ initServiceEndpoint(contextPath);
+ }
+ super.service(req, res);
+ }
+
+ public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
+ {
+ // Process a WSDL request
+ if (req.getParameter("wsdl") != null || req.getParameter("WSDL") != null)
+ {
+ res.setContentType("text/xml");
+ try
+ {
+ // For the base document the resourcePath should be null
+ String resourcePath = (String)req.getParameter("resource");
+ URL requestURL = new URL(req.getRequestURL().toString());
+ epManager.processWSDLRequest(sepId, res.getOutputStream(), requestURL, resourcePath);
+ }
+ catch (Exception ex)
+ {
+ handleException(ex);
+ }
+ }
+ else
+ {
+ res.setStatus(405);
+ res.setContentType("text/plain");
+ Writer out = res.getWriter();
+ out.write("HTTP GET not supported");
+ out.flush();
+ out.close();
+ }
+ }
+
+ public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
+ {
+ log.debug("doPost: " + req.getRequestURI());
+
+ try
+ {
+ EndpointContext context = new EndpointContext(getServletContext(), req, res);
+ epManager.processSOAPRequest(sepId, req.getInputStream(), res.getOutputStream(), context);
+ }
+ catch (Exception ex)
+ {
+ handleException(ex);
+ }
+ }
+
+ private void handleException(Exception ex) throws ServletException
+ {
+ log.error("Error processing web service request", ex);
+
+ if (ex instanceof JAXRPCException)
+ throw (JAXRPCException)ex;
+
+ throw new ServletException(ex);
+ }
+
+ protected void initServiceEndpointManager()
+ {
+ ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
+ epManager = factory.getServiceEndpointManager();
+ }
+
+ /** Initialize the service endpoint
+ */
+ protected void initServiceEndpoint(String contextPath)
+ {
+ String servletName = getServletName();
+ if (contextPath.startsWith("/"))
+ contextPath = contextPath.substring(1);
+
+ for (ObjectName sepId : epManager.getServiceEndpoints())
+ {
+ String context = sepId.getKeyProperty(ServerEndpointMetaData.SEPID_PROPERTY_CONTEXT);
+ String endpoint = sepId.getKeyProperty(ServerEndpointMetaData.SEPID_PROPERTY_ENDPOINT);
+ if (servletName.equals(endpoint) && contextPath.equals(context))
+ {
+ this.sepId = sepId;
+ break;
+ }
+ }
+
+ if (sepId == null)
+ {
+ ObjectName oname = ObjectNameFactory.create(ServerEndpointMetaData.SEPID_DOMAIN + ":" + ServerEndpointMetaData.SEPID_PROPERTY_CONTEXT + "=" + contextPath
+ + "," + ServerEndpointMetaData.SEPID_PROPERTY_ENDPOINT + "=" + servletName);
+ throw new WSException("Cannot obtain endpoint for: " + oname);
+ }
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/AbstractServiceEndpointServlet.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/JAXWSDeployment.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/JAXWSDeployment.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/JAXWSDeployment.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.server;
+
+
+
+// $Id: JAXWSDeployment.java 1600 2006-12-07 10:43:36Z thomas.diesler at jboss.com $
+
+/**
+ * The container independent deployment info.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 29-Jun-2006
+ */
+public class JAXWSDeployment extends UnifiedDeploymentInfo
+{
+ public JAXWSDeployment(DeploymentType type)
+ {
+ super(type);
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/JAXWSDeployment.java
___________________________________________________________________
Name: svn:executable
+ *
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServerConfig.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServerConfig.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServerConfig.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.core.server;
-
-// $Id: ServiceEndpointManagerFactory.java 293 2006-05-08 16:31:50Z thomas.diesler at jboss.com $
-
-import java.io.File;
-
-/**
- * Interface to container independent config
- *
- * @author Thomas.Diesler at jboss.org
- * @since 08-May-2006
- */
-public interface ServerConfig
-{
- static final String BEAN_NAME = "ServerConfig";
-
- File getServerTempDir();
-
- File getServerDataDir();
-
- int getWebServicePort();
-
- int getWebServiceSecurePort();
-
-}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServerConfig.java (from rev 1668, branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServerConfig.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServerConfig.java 2006-12-18 19:38:13 UTC (rev 1668)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServerConfig.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.server;
+
+// $Id: ServiceEndpointManagerFactory.java 293 2006-05-08 16:31:50Z thomas.diesler at jboss.com $
+
+import java.io.File;
+
+/**
+ * Interface to container independent config
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 08-May-2006
+ */
+public interface ServerConfig
+{
+ static final String BEAN_NAME = "ServerConfig";
+
+ File getServerTempDir();
+
+ File getServerDataDir();
+}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpoint.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServiceEndpoint.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpoint.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -38,8 +38,9 @@
import org.jboss.logging.Logger;
import org.jboss.ws.Constants;
+import org.jboss.ws.core.CommonBindingProvider;
import org.jboss.ws.core.CommonMessageContext;
-import org.jboss.ws.core.jaxrpc.SOAPFaultExceptionHelper;
+import org.jboss.ws.core.CommonSOAPBinding;
import org.jboss.ws.core.jaxrpc.binding.BindingException;
import org.jboss.ws.core.soap.MessageContextAssociation;
import org.jboss.ws.core.soap.MessageFactoryImpl;
@@ -50,6 +51,7 @@
import org.jboss.ws.extensions.xop.XOPContext;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
import org.w3c.dom.Document;
/**
@@ -86,7 +88,7 @@
{
return seInfo.getState();
}
-
+
public ServiceEndpointInfo getServiceEndpointInfo()
{
return seInfo;
@@ -104,6 +106,11 @@
public void start() throws Exception
{
+ // eagerly initialize the UMDM
+ ServerEndpointMetaData epMetaData = seInfo.getServerEndpointMetaData();
+ UnifiedMetaData wsMetaData = epMetaData.getServiceMetaData().getUnifiedMetaData();
+ wsMetaData.eagerInitialize();
+
seMetrics.start();
seInfo.setState(State.STARTED);
}
@@ -128,7 +135,7 @@
EndpointMetaData epMetaData = sepInfo.getServerEndpointMetaData();
String wsdlHost = reqURL.getHost();
-
+
ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
ServiceEndpointManager epManager = factory.getServiceEndpointManager();
if (epManager.getWebServiceHost().equals(ServiceEndpointManager.UNDEFINED_HOSTNAME) == false)
@@ -136,7 +143,7 @@
wsdlHost = epManager.getWebServiceHost();
}
log.debug("WSDL request, using host: " + wsdlHost);
-
+
WSDLRequestHandler wsdlRequestHandler = new WSDLRequestHandler(epMetaData);
Document document = wsdlRequestHandler.getDocumentForPath(reqURL, wsdlHost, resPath);
@@ -206,7 +213,10 @@
// we create the fault message here.
if (resMessage == null || ((SOAPMessageImpl)resMessage).isFaultMessage() == false)
{
- resMessage = SOAPFaultExceptionHelper.exceptionToFaultMessage(ex);
+ CommonBindingProvider bindingProvider = getCommonBindingProvider();
+ CommonSOAPBinding soapBinding = (CommonSOAPBinding)bindingProvider.getCommonBinding();
+
+ resMessage = soapBinding.exceptionToFaultMessage(ex);
msgContext.setSOAPMessage(resMessage);
}
@@ -273,6 +283,11 @@
}
}
+ private CommonBindingProvider getCommonBindingProvider()
+ {
+ return new CommonBindingProvider(seInfo.getServerEndpointMetaData());
+ }
+
/**
* Returns a string representation of the object.
*/
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,234 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.server;
+
+import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
+
+import javax.management.ObjectName;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.metadata.builder.jaxrpc.JAXRPCDeployment;
+import org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder;
+import org.jboss.ws.metadata.builder.jsr181.JSR181MetaDataBuilderEJB21;
+import org.jboss.ws.metadata.builder.jsr181.JSR181MetaDataBuilderEJB3;
+import org.jboss.ws.metadata.builder.jsr181.JSR181MetaDataBuilderJSE;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+
+/**
+ * The POJO deployer for web service endpoints. This Deployer is already decoupled from the target
+ * container (i.e. JBoss, Tomcat). The containers deployer architecture should be used to populate
+ * the UnifiedDeploymentInfo object.
+ *
+ * @deprecated
+ * This functionality should be handled by the ServiceEndpointManager
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 12-May-2006
+ */
+public class ServiceEndpointDeployer
+{
+ // logging support
+ private static Logger log = Logger.getLogger(ServiceEndpointDeployer.class);
+
+ // default bean name
+ public static final String BEAN_NAME = "ServiceEndpointDeployer";
+
+ // The servlet init param in web.xml that is the service endpoint class
+ public static final String INIT_PARAM_SERVICE_ENDPOINT_IMPL = "ServiceEndpointImpl";
+
+ // The ServiceEndpointManger injected by the kernel
+ private ServiceEndpointManager epManager;
+
+ // Maps the deployment url to UMDM
+ private Map<String, UnifiedMetaData> metaDataMap = new ConcurrentHashMap<String, UnifiedMetaData>();
+
+ // Injected by the Microkernel
+ public void setServiceEndpointManager(ServiceEndpointManager epManager)
+ {
+ this.epManager = epManager;
+ }
+
+ public void create(UnifiedDeploymentInfo udi)
+ {
+ log.debug("create: " + udi.url);
+ try
+ {
+ UnifiedMetaData wsMetaData;
+ if (udi.type == UnifiedDeploymentInfo.DeploymentType.JAXRPC_JSE)
+ {
+ JAXRPCServerMetaDataBuilder builder = new JAXRPCServerMetaDataBuilder();
+ wsMetaData = builder.buildMetaData((JAXRPCDeployment)udi);
+ }
+ else if (udi.type == UnifiedDeploymentInfo.DeploymentType.JAXRPC_EJB21)
+ {
+ JAXRPCServerMetaDataBuilder builder = new JAXRPCServerMetaDataBuilder();
+ wsMetaData = builder.buildMetaData((JAXRPCDeployment)udi);
+ }
+ else if (udi.type == UnifiedDeploymentInfo.DeploymentType.JSR181_JSE)
+ {
+ JSR181MetaDataBuilderJSE builder = new JSR181MetaDataBuilderJSE();
+ wsMetaData = builder.buildMetaData(udi);
+ }
+ else if (udi.type == UnifiedDeploymentInfo.DeploymentType.JSR181_EJB21)
+ {
+ JSR181MetaDataBuilderEJB21 builder = new JSR181MetaDataBuilderEJB21();
+ wsMetaData = builder.buildMetaData(udi);
+ }
+ else if (udi.type == UnifiedDeploymentInfo.DeploymentType.JSR181_EJB3)
+ {
+ JSR181MetaDataBuilderEJB3 builder = new JSR181MetaDataBuilderEJB3();
+ wsMetaData = builder.buildMetaData(udi);
+ }
+ else
+ {
+ throw new IllegalStateException("Invalid type: " + udi.type);
+ }
+
+ metaDataMap.put(udi.url.toExternalForm(), wsMetaData);
+
+ for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
+ {
+ for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
+ {
+ ServiceEndpointInfo seInfo = new ServiceEndpointInfo(udi, (ServerEndpointMetaData)epMetaData);
+ epManager.createServiceEndpoint(seInfo);
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ log.error("Cannot create service endpoint", ex);
+ if (ex instanceof RuntimeException)
+ throw (RuntimeException)ex;
+
+ throw new WSException(ex);
+ }
+ }
+
+ public void start(UnifiedDeploymentInfo udi)
+ {
+ log.debug("start: " + udi.url);
+ try
+ {
+ UnifiedMetaData wsMetaData = getUnifiedMetaData(udi);
+ if (wsMetaData != null)
+ {
+ // late initialization of the web context loader
+ if (wsMetaData.getClassLoader() != udi.classLoader)
+ wsMetaData.setClassLoader(udi.classLoader);
+
+ // Publish the WSDL file
+ WSDLFilePublisher wsdlfp = new WSDLFilePublisher(udi);
+ wsdlfp.publishWsdlFiles(wsMetaData);
+ for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
+ {
+ for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
+ {
+ ObjectName sepID = ((ServerEndpointMetaData)epMetaData).getServiceEndpointID();
+ epManager.startServiceEndpoint(sepID);
+ }
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ log.error("Cannot start service endpoint", ex);
+ if (ex instanceof RuntimeException)
+ throw (RuntimeException)ex;
+
+ throw new WSException(ex);
+ }
+ }
+
+ public void stop(UnifiedDeploymentInfo udi)
+ {
+ log.debug("stop: " + udi.url);
+ try
+ {
+ UnifiedMetaData wsMetaData = getUnifiedMetaData(udi);
+ if (wsMetaData != null)
+ {
+ // Stop the service endpoints
+ for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
+ {
+ for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
+ {
+ ObjectName sepID = ((ServerEndpointMetaData)epMetaData).getServiceEndpointID();
+ epManager.stopServiceEndpoint(sepID);
+ }
+ }
+
+ // Unpublish the WSDL file
+ WSDLFilePublisher wsdlfp = new WSDLFilePublisher(udi);
+ wsdlfp.unpublishWsdlFiles();
+ }
+ }
+ catch (Exception ex)
+ {
+ log.error("Cannot stop service endpoint", ex);
+ if (ex instanceof RuntimeException)
+ throw (RuntimeException)ex;
+
+ throw new WSException(ex);
+ }
+ }
+
+ public void destroy(UnifiedDeploymentInfo udi)
+ {
+ log.debug("destroy: " + udi.url);
+ try
+ {
+ UnifiedMetaData wsMetaData = getUnifiedMetaData(udi);
+ if (wsMetaData != null)
+ {
+ // Destroy the service endpoints
+ for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
+ {
+ for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
+ {
+ ObjectName sepID = ((ServerEndpointMetaData)epMetaData).getServiceEndpointID();
+ epManager.destroyServiceEndpoint(sepID);
+ }
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ log.error("Cannot destroy service endpoint", ex);
+ if (ex instanceof RuntimeException)
+ throw (RuntimeException)ex;
+
+ throw new WSException(ex);
+ }
+ }
+
+ public UnifiedMetaData getUnifiedMetaData(UnifiedDeploymentInfo udi)
+ {
+ UnifiedMetaData wsMetaData = metaDataMap.get(udi.url.toExternalForm());
+ return wsMetaData;
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointInfo.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServiceEndpointInfo.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointInfo.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -26,8 +26,7 @@
import javax.management.ObjectName;
import org.jboss.ws.WSException;
-import org.jboss.ws.deployment.UnifiedDeploymentInfo;
-import org.jboss.ws.deployment.UnifiedDeploymentInfo.DeploymentType;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo.DeploymentType;
import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedMessageDrivenMetaData;
@@ -65,11 +64,11 @@
this.sepMetaData = sepMetaData;
// Set the endpoint type
- if (udi.type == DeploymentType.JSR109_JSE || udi.type == DeploymentType.JSR181_JSE || udi.type == DeploymentType.JAXWS_PROVIDER_JSE)
+ if (udi.type == DeploymentType.JAXRPC_JSE || udi.type == DeploymentType.JSR181_JSE)
{
this.type = EndpointType.JSE;
}
- else if (udi.type == DeploymentType.JSR109_EJB21 || udi.type == DeploymentType.JSR181_EJB21 || udi.type == DeploymentType.JAXWS_PROVIDER_EJB21)
+ else if (udi.type == DeploymentType.JAXRPC_EJB21 || udi.type == DeploymentType.JSR181_EJB21)
{
String ejbName = sepMetaData.getLinkName();
if (ejbName == null)
@@ -89,7 +88,7 @@
this.type = EndpointType.MDB21;
}
}
- else if (udi.type == DeploymentType.JSR181_EJB3 || udi.type == DeploymentType.JAXWS_PROVIDER_EJB3)
+ else if (udi.type == DeploymentType.JAXRPC_EJB3 || udi.type == DeploymentType.JSR181_EJB3)
{
this.type = EndpointType.SLSB30;
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointInvokerJSE.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServiceEndpointInvokerJSE.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointInvokerJSE.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -32,8 +32,10 @@
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
+import org.jboss.ws.core.CommonMessageContext;
import org.jboss.ws.core.EndpointInvocation;
import org.jboss.ws.core.jaxrpc.ServletEndpointContextImpl;
+import org.jboss.ws.core.soap.MessageContextAssociation;
import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
/**
@@ -78,11 +80,13 @@
}
/** Invoke an instance of the SEI implementation bean */
- public void invokeServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl, EndpointInvocation epInv) throws SOAPFaultException
+ public void invokeServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl, EndpointInvocation epInv) throws SOAPFaultException, Exception
{
log.debug("invokeServiceEndpoint: " + epInv.getJavaMethod().getName());
try
{
+ CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
+
Class implClass = seiImpl.getClass();
Method seiMethod = epInv.getJavaMethod();
Method implMethod = getImplMethod(implClass, seiMethod);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointManager.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServiceEndpointManager.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointManager.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -54,6 +54,7 @@
import javax.xml.ws.addressing.JAXWSAConstants;
import org.jboss.logging.Logger;
+import org.jboss.util.NotImplementedException;
import org.jboss.ws.WSException;
import org.jboss.ws.core.CommonMessageContext;
import org.jboss.ws.core.jaxrpc.handler.MessageContextJAXRPC;
@@ -62,9 +63,11 @@
import org.jboss.ws.core.soap.SOAPConnectionImpl;
import org.jboss.ws.core.utils.ThreadLocalAssociation;
import org.jboss.ws.extensions.addressing.AddressingConstantsImpl;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
import org.jboss.ws.metadata.umdm.HandlerMetaData;
import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
/**
@@ -109,26 +112,12 @@
}
public int getWebServicePort()
- {
- if (webServicePort <= 0)
- {
- ServerConfigFactory factory = ServerConfigFactory.getInstance();
- ServerConfig config = factory.getServerConfig();
- webServicePort = config.getWebServicePort();
- }
-
+ {
return webServicePort;
}
public int getWebServiceSecurePort()
{
- if (webServiceSecurePort <= 0)
- {
- ServerConfigFactory factory = ServerConfigFactory.getInstance();
- ServerConfig config = factory.getServerConfig();
- webServiceSecurePort = config.getWebServiceSecurePort();
- }
-
return webServiceSecurePort;
}
@@ -351,6 +340,7 @@
// Get the type of the endpoint
ServerEndpointMetaData sepMetaData = wsEndpoint.getServiceEndpointInfo().getServerEndpointMetaData();
+ Type type = sepMetaData.getType();
MessageContextPropertyHelper httpSession = new HttpSessionPropertyHelper(context);
ServletContext servletContext = context.getServletContext();
@@ -359,11 +349,19 @@
ServletHeaderSource headerSource = new ServletHeaderSource(httpRequest, httpResponse);
// Associate a message context with the current thread
- CommonMessageContext msgContext = new SOAPMessageContextJAXRPC();
- msgContext.setProperty(MessageContextJAXRPC.SERVLET_CONTEXT, servletContext);
- msgContext.setProperty(MessageContextJAXRPC.SERVLET_REQUEST, httpRequest);
- msgContext.setProperty(MessageContextJAXRPC.SERVLET_RESPONSE, httpResponse);
- msgContext.setProperty(MessageContextJAXRPC.SERVLET_SESSION, httpSession);
+ CommonMessageContext msgContext;
+ if (type == EndpointMetaData.Type.JAXRPC)
+ {
+ msgContext = new SOAPMessageContextJAXRPC();
+ msgContext.setProperty(MessageContextJAXRPC.SERVLET_CONTEXT, servletContext);
+ msgContext.setProperty(MessageContextJAXRPC.SERVLET_REQUEST, httpRequest);
+ msgContext.setProperty(MessageContextJAXRPC.SERVLET_RESPONSE, httpResponse);
+ msgContext.setProperty(MessageContextJAXRPC.SERVLET_SESSION, httpSession);
+ }
+ else
+ {
+ throw new NotImplementedException("Only JAXRPC is supported");
+ }
msgContext.setEndpointMetaData(sepMetaData);
MessageContextAssociation.pushMessageContext(msgContext);
@@ -371,14 +369,6 @@
{
SOAPMessage resMessage = wsEndpoint.handleRequest(headerSource, context, inStream);
- //Map<String, List<String>> headers = (Map<String, List<String>>)msgContext.getProperty(MessageContextJAXWS.HTTP_RESPONSE_HEADERS);
- //if (headers != null)
- // headerSource.setHeaderMap(headers);
-
- //Integer code = (Integer)msgContext.getProperty(MessageContextJAXWS.HTTP_RESPONSE_CODE);
- //if (code != null)
- // httpResponse.setStatus(code.intValue());
-
SOAPPart part = resMessage.getSOAPPart();
if (part == null)
throw new SOAPException("Cannot obtain SOAPPart from response message");
@@ -627,12 +617,12 @@
}
return server;
}
-
+
public static class HttpSessionPropertyHelper implements MessageContextPropertyHelper
{
-
+
private EndpointContext context;
-
+
public HttpSessionPropertyHelper(final EndpointContext context)
{
this.context = context;
@@ -642,6 +632,6 @@
{
return context.getHttpSession();
}
-
+
}
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointManagerFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/ServiceEndpointManagerFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/ServiceEndpointManagerFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,7 +24,7 @@
import org.jboss.kernel.spi.registry.KernelRegistry;
import org.jboss.kernel.spi.registry.KernelRegistryEntry;
-// $Id: ServiceEndpointManagerFactory.java 320 2006-05-14 17:55:53Z thomas.diesler at jboss.com $
+// $Id: ServiceEndpointManagerFactory.java 1600 2006-12-07 10:43:36Z thomas.diesler at jboss.com $
/**
* Factory to the singleton instance of the ServiceEndpointManager
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/StandardEndpointServlet.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/StandardEndpointServlet.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/StandardEndpointServlet.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,166 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.core.server;
-
-// $Id: AbstractServiceEndpointServlet.java 396 2006-05-23 09:48:45Z thomas.diesler at jboss.com $
-
-import java.io.IOException;
-import java.io.Writer;
-import java.net.URL;
-
-import javax.management.ObjectName;
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import javax.xml.rpc.JAXRPCException;
-
-import org.jboss.logging.Logger;
-import org.jboss.util.NotImplementedException;
-import org.jboss.ws.WSException;
-import org.jboss.ws.core.jaxrpc.ServletEndpointContextImpl;
-import org.jboss.ws.core.utils.ObjectNameFactory;
-import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
-
-/**
- * A servlet that is installed for every web service endpoint.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 15-Jan-2005
- */
-public class StandardEndpointServlet extends HttpServlet
-{
- // provide logging
- private static final Logger log = Logger.getLogger(StandardEndpointServlet.class);
-
- protected ObjectName sepId;
- protected ServiceEndpointManager epManager;
-
- public void init(ServletConfig config) throws ServletException
- {
- super.init(config);
- initServiceEndpointManager();
- }
-
- public void destroy()
- {
- super.destroy();
- }
-
- public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
- {
- if (sepId == null)
- {
- String contextPath = req.getContextPath();
- initServiceEndpoint(contextPath);
- }
- super.service(req, res);
- }
-
- public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
- {
- // Process a WSDL request
- if (req.getParameter("wsdl") != null || req.getParameter("WSDL") != null)
- {
- res.setContentType("text/xml");
- try
- {
- // For the base document the resourcePath should be null
- String resourcePath = (String)req.getParameter("resource");
- URL requestURL = new URL(req.getRequestURL().toString());
- epManager.processWSDLRequest(sepId, res.getOutputStream(), requestURL, resourcePath);
- }
- catch (Exception ex)
- {
- handleException(ex);
- }
- }
- else
- {
- res.setStatus(405);
- res.setContentType("text/plain");
- Writer out = res.getWriter();
- out.write("HTTP GET not supported");
- out.flush();
- out.close();
- }
- }
-
- public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
- {
- log.debug("doPost: " + req.getRequestURI());
-
- try
- {
- EndpointContext context = new EndpointContext(getServletContext(), req, res);
- epManager.processSOAPRequest(sepId, req.getInputStream(), res.getOutputStream(), context);
- }
- catch (Exception ex)
- {
- handleException(ex);
- }
- }
-
- private void handleException(Exception ex) throws ServletException
- {
- log.error("Error processing web service request", ex);
-
- if (ex instanceof JAXRPCException)
- throw (JAXRPCException)ex;
-
- throw new ServletException(ex);
- }
-
- protected void initServiceEndpointManager()
- {
- ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
- epManager = factory.getServiceEndpointManager();
- }
-
- /** Initialize the service endpoint
- */
- protected void initServiceEndpoint(String contextPath)
- {
- String servletName = getServletName();
- if (contextPath.startsWith("/"))
- contextPath = contextPath.substring(1);
-
- for (ObjectName sepId : epManager.getServiceEndpoints())
- {
- String context = sepId.getKeyProperty(ServerEndpointMetaData.SEPID_PROPERTY_CONTEXT);
- String endpoint = sepId.getKeyProperty(ServerEndpointMetaData.SEPID_PROPERTY_ENDPOINT);
- if (servletName.equals(endpoint) && contextPath.equals(context))
- {
- this.sepId = sepId;
- break;
- }
- }
-
- if (sepId == null)
- {
- ObjectName oname = ObjectNameFactory.create(ServerEndpointMetaData.SEPID_DOMAIN + ":" + ServerEndpointMetaData.SEPID_PROPERTY_CONTEXT + "=" + contextPath
- + "," + ServerEndpointMetaData.SEPID_PROPERTY_ENDPOINT + "=" + servletName);
- throw new WSException("Cannot obtain endpoint for: " + oname);
- }
- }
-}
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.server;
+
+// $Id: UnifiedDeploymentInfo.java 1632 2006-12-12 13:17:22Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * The container independent deployment info.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 05-May-2006
+ */
+public class UnifiedDeploymentInfo
+{
+ public enum DeploymentType
+ {
+ JAXRPC_Client, JAXRPC_JSE, JAXRPC_EJB21, JAXRPC_EJB3, JSR181_JSE, JSR181_EJB21, JSR181_EJB3
+ };
+
+ public UnifiedDeploymentInfo(DeploymentType type)
+ {
+ this.type = type;
+ }
+
+ /** The type of this deployment */
+ public DeploymentType type;
+ /** Sub deployments have a parent */
+ public UnifiedDeploymentInfo parent;
+ /** The suffix of the deployment url */
+ public String shortName;
+ /** The URL identifing this deployment **/
+ public URL url;
+ /** The URL to the expanded webapp **/
+ public URL expandedWebApp;
+ /** We can hold "typed" metadata */
+ public Object metaData;
+ /** The deployment classloader **/
+ public ClassLoader classLoader;
+ /** An arbitrary map of state associated with the deployment */
+ public Map<String, Object> context = new HashMap<String, Object>();
+
+ /** The sortName concatenated with the canonical names of all parents. */
+ public String getCanonicalName()
+ {
+ String name = shortName;
+ if (parent != null)
+ name = parent.getCanonicalName() + "/" + name;
+ return name;
+ }
+
+ public URL getMetaDataFile(String resourcePath) throws IOException
+ {
+ URL resourceURL = null;
+ if (resourcePath != null && resourcePath.length() > 0)
+ {
+ if (resourcePath.startsWith("/"))
+ resourcePath = resourcePath.substring(1);
+
+ try
+ {
+ // assign an absolute URL
+ resourceURL = new URL(resourcePath);
+ }
+ catch (MalformedURLException ex)
+ {
+ String deploymentPath = url.toExternalForm();
+ if (deploymentPath.startsWith("jar:") && deploymentPath.endsWith("!/") == false)
+ deploymentPath += "!/";
+
+ if(deploymentPath.endsWith("/") == false)
+ deploymentPath += "/";
+
+ // assign a relative URL
+ resourceURL = new URL(deploymentPath + resourcePath);
+ }
+ }
+ return resourceURL;
+ }
+
+ public String toString()
+ {
+ StringBuilder builder = new StringBuilder();
+ builder.append("[");
+ builder.append("type=" + type);
+ builder.append(",shortName=" + shortName);
+ builder.append(",url=" + url);
+ builder.append("]");
+ return builder.toString();
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/WSDLFilePublisher.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/WSDLFilePublisher.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/WSDLFilePublisher.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -44,7 +44,6 @@
import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.IOUtils;
-import org.jboss.ws.deployment.UnifiedDeploymentInfo;
import org.jboss.ws.metadata.umdm.ServiceMetaData;
import org.jboss.ws.metadata.umdm.UnifiedMetaData;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
@@ -88,10 +87,10 @@
// For each service
for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
{
- String wsdlFile = serviceMetaData.getWsdlFile();
- log.debug("Publish WSDL file: " + wsdlFile);
+ String wsdlPath = serviceMetaData.getWsdlLocation().toExternalForm();
+ log.debug("Publish WSDL file: " + wsdlPath);
- if (wsdlFile != null)
+ if (wsdlPath != null)
{
File targetFile = getPublishLocation(deploymentName, serviceMetaData);
targetFile.getParentFile().mkdirs();
@@ -109,13 +108,13 @@
// delete wsdl temp file
ServerConfigFactory factory = ServerConfigFactory.getInstance();
ServerConfig config = factory.getServerConfig();
- if (wsdlFile.startsWith(config.getServerTempDir().toURL().toExternalForm()))
+ if (wsdlPath.startsWith(config.getServerTempDir().toURL().toExternalForm()))
{
- new File(wsdlFile).delete();
+ new File(wsdlPath).delete();
}
// udpate the wsdl file location
- serviceMetaData.setWsdlFile(wsdlPublishURL.toExternalForm());
+ serviceMetaData.setWsdlLocation(wsdlPublishURL);
// Process the wsdl imports
Definition wsdl11Definition = wsdlDefinitions.getWsdlOneOneDefinition();
@@ -215,7 +214,7 @@
resourcePath = resourcePath + "/";
resourcePath = expLocation + resourcePath + schemaLocation;
- InputStream is = udi.localCl.getResourceAsStream(resourcePath);
+ InputStream is = udi.classLoader.getResourceAsStream(resourcePath);
if (is == null)
throw new IllegalArgumentException("Cannot find schema import in deployment: " + resourcePath);
@@ -302,27 +301,23 @@
}
}
- // make sure we don't have a leadig '/'
- String wsdlFile = serviceMetaData.getWsdlFile();
- if (wsdlFile.startsWith("/"))
- wsdlFile = wsdlFile.substring(1);
-
- File wsdlLocation;
- if (wsdlFile.startsWith(expLocation))
+ File wsdlFile;
+ String wsdlLocation = serviceMetaData.getWsdlLocation().toExternalForm();
+ if (wsdlLocation.startsWith(expLocation))
{
- wsdlFile = wsdlFile.substring(expLocation.length());
- wsdlLocation = new File(locationFile + "/" + wsdlFile);
+ wsdlLocation = wsdlLocation.substring(expLocation.length());
+ wsdlFile = new File(locationFile + "/" + wsdlLocation);
}
- else if (wsdlFile.startsWith("file:/"))
+ else if (wsdlLocation.startsWith("file:") || wsdlLocation.startsWith("jar:"))
{
- wsdlFile = wsdlFile.substring(wsdlFile.lastIndexOf("/") + 1);
- wsdlLocation = new File(locationFile + "/" + wsdlFile);
+ wsdlLocation = wsdlLocation.substring(wsdlLocation.lastIndexOf("/") + 1);
+ wsdlFile = new File(locationFile + "/" + wsdlLocation);
}
else
{
- throw new WSException("Invalid wsdlFile '" + wsdlFile + "', expected in: " + expLocation);
+ throw new WSException("Invalid wsdlFile '" + wsdlLocation + "', expected in: " + expLocation);
}
- return wsdlLocation;
+ return wsdlFile;
}
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/WSDLRequestHandler.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/server/WSDLRequestHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/server/WSDLRequestHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -70,26 +70,22 @@
*/
public Document getDocumentForPath(URL reqURL, String wsdlHost, String resPath) throws IOException
{
- String wsdlLocation = epMetaData.getServiceMetaData().getWsdlFile();
- if (wsdlLocation == null)
- throw new IllegalStateException("Cannot obtain wsdlFile from endpoint meta data");
+ Document wsdlDoc;
- Document wsdlDoc;
-
- // The WSDLFilePublisher should set the location to an URL
- URL wsdlURL = new URL(wsdlLocation);
-
+ // The WSDLFilePublisher should set the location to an URL
+ URL wsdlLocation = epMetaData.getServiceMetaData().getWsdlLocation();
+
// get the root wsdl
if (resPath == null)
{
- Element wsdlElement = DOMUtils.parse(wsdlURL.openStream());
+ Element wsdlElement = DOMUtils.parse(wsdlLocation.openStream());
wsdlDoc = wsdlElement.getOwnerDocument();
}
// get some imported resource
else
{
- String impResourcePath = new File(wsdlURL.getPath()).getParent() + File.separatorChar + resPath;
+ String impResourcePath = new File(wsdlLocation.getPath()).getParent() + File.separatorChar + resPath;
File impResourceFile = new File(impResourcePath);
Element wsdlElement = DOMUtils.parse(impResourceFile.toURL().openStream());
@@ -135,7 +131,7 @@
int reqPort = reqURL.getPort();
String hostAndPort = wsdlHost + (reqPort > 0 ? ":" + reqPort : "");
String reqPath = reqURL.getPath();
-
+
String newLocation = reqProtocol + "://" + hostAndPort + reqPath + "?wsdl&resource=" + newResourcePath;
locationAttr.setNodeValue(newLocation);
@@ -149,20 +145,30 @@
if (locationAttr != null)
{
String orgLocation = locationAttr.getNodeValue();
-
- URL locURL = new URL(orgLocation);
- String locProtocol = locURL.getProtocol();
- String locPath = locURL.getPath();
- if (reqURL.getProtocol().equals(locProtocol) && reqURL.getPath().equals(locPath))
+
+ try
{
- int locPort = locURL.getPort();
- String hostAndPort = wsdlHost + (locPort > 0 ? ":" + locPort : "");
-
- String newLocation = locProtocol + "://" + hostAndPort + locPath;
- locationAttr.setNodeValue(newLocation);
+ URL locURL = new URL(orgLocation);
+ String locProtocol = locURL.getProtocol();
+ String locPath = locURL.getPath();
+ if (reqURL.getProtocol().equals(locProtocol) && reqURL.getPath().equals(locPath))
+ {
+ int locPort = locURL.getPort();
+ String hostAndPort = wsdlHost + (locPort > 0 ? ":" + locPort : "");
- log.debug("Mapping address from '" + orgLocation + "' to '" + newLocation + "'");
+ String newLocation = locProtocol + "://" + hostAndPort + locPath;
+ locationAttr.setNodeValue(newLocation);
+
+ log.debug("Mapping address from '" + orgLocation + "' to '" + newLocation + "'");
+ }
}
+ catch (MalformedURLException me)
+ {
+ // Map off the request
+ String port = (reqURL.getPort() > 0) ? ":" + reqURL.getPort() : "";
+ String newLocation = reqURL.getProtocol() + "://" + wsdlHost + port + reqURL.getPath();
+ locationAttr.setValue(newLocation);
+ }
}
}
else
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/MessageContextAssociation.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/MessageContextAssociation.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/MessageContextAssociation.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -43,7 +43,7 @@
public static void pushMessageContext(CommonMessageContext msgContext)
{
- log.debug("pushMessageContext: " + msgContext);
+ log.debug("pushMessageContext: " + msgContext + " (Thread " +Thread.currentThread().getName()+ ")");
Stack<CommonMessageContext> stack = ThreadLocalAssociation.localMsgContextAssoc().get();
if (stack == null)
{
@@ -72,7 +72,7 @@
{
msgContext = stack.pop();
}
- log.debug("popMessageContext: " + msgContext);
+ log.debug("popMessageContext: " + msgContext +" (Thread " +Thread.currentThread().getName()+ ")");
return msgContext;
}
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/MessageFactoryImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/MessageFactoryImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/MessageFactoryImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -49,7 +49,7 @@
/**
* MessageFactory implementation
- *
+ *
* @author Thomas.Diesler at jboss.org
*/
public class MessageFactoryImpl extends MessageFactory
@@ -105,13 +105,13 @@
* SOAPBody, and SOAPHeader objects. Profile-specific message factories can
* choose to prepopulate the SOAPMessage object with profile-specific
* headers.
- *
+ *
* Content can be added to this message's SOAPPart object, and the message
* can be sent "as is" when a message containing only a SOAP part is
* sufficient. Otherwise, the SOAPMessage object needs to create one or more
* AttachmentPart objects and add them to itself. Any content that is not in
* XML format must be in an AttachmentPart object.
- *
+ *
* @return a new SOAPMessage object
* @throws javax.xml.soap.SOAPException
* if a SOAP error occurs
@@ -127,7 +127,7 @@
/**
* Internalizes the contents of the given InputStream object into a new
* SOAPMessage object and returns the SOAPMessage object.
- *
+ *
* @param mimeHeaders
* the transport-specific headers passed to the message in a
* transport-independent fashion for creation of the message
@@ -213,7 +213,9 @@
soapMessage.setAttachments(attachments);
// Get the SOAPEnvelope builder
- PayloadBuilder payloadBuilder = new SAAJPayloadBuilderDOM(getStyle());
+ PayloadBuilder payloadBuilder;
+ SAAJPayloadBuilderDOM jaxrpcBuilder = new SAAJPayloadBuilderDOM(getStyle());
+ payloadBuilder = jaxrpcBuilder;
// Build the payload
payloadBuilder.build(soapMessage, ins, ignoreParseError);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/NodeImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/NodeImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/NodeImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -31,9 +31,9 @@
import org.jboss.logging.Logger;
import org.jboss.util.NotImplementedException;
+import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
-import org.jboss.ws.WSException;
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
import org.w3c.dom.DocumentFragment;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SAAJPayloadBuilderDOM.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SAAJPayloadBuilderDOM.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SAAJPayloadBuilderDOM.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -186,6 +186,7 @@
while (itBodyElement.hasNext())
{
Element srcElement = (Element)itBodyElement.next();
+ registerNamespacesLocally(srcElement);
Name name = new NameImpl(srcElement.getLocalName(), srcElement.getPrefix(), srcElement.getNamespaceURI());
SOAPContentElement destElement = new SOAPContentElement(name);
@@ -200,6 +201,7 @@
else if (style == Style.DOCUMENT)
{
Element srcElement = (Element)domBodyElement;
+ registerNamespacesLocally(srcElement);
SOAPContentElement destElement = new SOAPBodyElementDoc(beName);
destElement = (SOAPContentElement)soapBody.addChildElement(destElement);
@@ -248,4 +250,19 @@
}
}
}
+
+ /**
+ * Register globally available namespaces on element level.
+ * This is necessary to ensure that each xml fragment is valid.
+ */
+ private void registerNamespacesLocally(Element srcElement) {
+ if(srcElement.getPrefix()== null)
+ {
+ srcElement.setAttribute("xmlns", srcElement.getNamespaceURI());
+ }
+ else
+ {
+ srcElement.setAttribute("xmlns:"+srcElement.getPrefix(), srcElement.getNamespaceURI());
+ }
+ }
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SAAJVisitor.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SAAJVisitor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SAAJVisitor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,6 @@
*/
package org.jboss.ws.core.soap;
-import javax.xml.soap.SOAPElement;
/**
* @author Heiko Braun <heiko.braun at jboss.com>
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyElementMessage.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPBodyElementMessage.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyElementMessage.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,13 +21,14 @@
*/
package org.jboss.ws.core.soap;
-import org.jboss.ws.core.utils.DOMWriter;
+import java.io.Writer;
+import javax.xml.rpc.JAXRPCException;
import javax.xml.soap.Name;
import javax.xml.soap.SOAPBodyElement;
-import javax.xml.rpc.JAXRPCException;
-import java.io.Writer;
+import org.jboss.ws.core.utils.DOMWriter;
+
/**
* An abstract implemenation of the SOAPBodyElement
* <p/>
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyElementRpc.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPBodyElementRpc.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyElementRpc.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,15 +21,8 @@
*/
package org.jboss.ws.core.soap;
-import org.jboss.ws.core.utils.DOMWriter;
-import org.jboss.ws.WSException;
-import org.w3c.dom.Element;
import javax.xml.soap.Name;
import javax.xml.soap.SOAPBodyElement;
-import javax.xml.rpc.JAXRPCException;
-import java.io.IOException;
-import java.io.Writer;
-import java.util.Iterator;
/**
* An abstract implemenation of the SOAPBodyElement
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPBodyImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPBodyImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,12 @@
// $Id$
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.Reader;
+import java.io.Writer;
import java.util.Iterator;
import java.util.Locale;
@@ -32,14 +38,27 @@
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPFault;
+import javax.xml.transform.Source;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
import org.jboss.logging.Logger;
import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.CommonMessageContext;
+import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.core.utils.DOMWriter;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
import org.w3c.dom.DocumentFragment;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xml.sax.InputSource;
/**
* An object that represents the contents of the SOAP body element in a SOAP message.
@@ -55,15 +74,44 @@
// provide logging
private static Logger log = Logger.getLogger(SOAPBodyImpl.class);
+ // Generic JAXWS payload
+ private Source payload;
+ private boolean isDOMValid = true;
+ private boolean isModifiedFromSource;
+
public SOAPBodyImpl(String prefix, String namespace)
{
super("Body", prefix, namespace);
}
+ public boolean isDOMValid()
+ {
+ return isDOMValid;
+ }
+
+ public boolean isModifiedFromSource()
+ {
+ return isModifiedFromSource;
+ }
+
+ public Source getPayload()
+ {
+ return payload;
+ }
+
+ public void setPayload(Source payload)
+ {
+ log.debug("setPayload: " + payload.getClass().getName());
+ removeContents();
+ this.payload = payload;
+ this.isDOMValid = false;
+ }
+
/** Convert the child into a SOAPBodyElement */
public SOAPElement addChildElement(SOAPElement child) throws SOAPException
{
log.trace("addChildElement: " + child.getElementName());
+ expandToDOM();
if ((child instanceof SOAPBodyElement) == false)
child = convertToBodyElement(child);
@@ -74,6 +122,7 @@
public SOAPBodyElement addBodyElement(Name name) throws SOAPException
{
log.trace("addBodyElement: " + name);
+ expandToDOM();
SOAPBodyElement child = new SOAPBodyElementDoc(name);
return (SOAPBodyElement)addChildElement(child);
}
@@ -81,6 +130,7 @@
public SOAPBodyElement addDocument(Document doc) throws SOAPException
{
log.trace("addDocument");
+ expandToDOM();
Element rootElement = doc.getDocumentElement();
SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
SOAPElementImpl soapElement = soapFactory.createElement(rootElement, true);
@@ -90,6 +140,7 @@
public SOAPFault addFault() throws SOAPException
{
log.trace("addFault");
+ expandToDOM();
if (hasFault())
throw new SOAPException("A SOAPBody may contain at most one SOAPFault child element");
@@ -99,6 +150,7 @@
public SOAPFault addFault(Name faultCode, String faultString) throws SOAPException
{
log.trace("addFault");
+ expandToDOM();
if (hasFault())
throw new SOAPException("A SOAPBody may contain at most one SOAPFault child element");
@@ -112,6 +164,7 @@
public SOAPFault addFault(Name faultCode, String faultString, Locale locale) throws SOAPException
{
log.trace("addFault");
+ expandToDOM();
if (hasFault())
throw new SOAPException("A SOAPBody may contain at most one SOAPFault child element");
@@ -125,6 +178,7 @@
public SOAPFault getFault()
{
log.trace("getFault");
+ expandToDOM();
Iterator it = getChildElements(new NameImpl("Fault", Constants.PREFIX_ENV, getSOAPEnvelope().getNamespaceURI()));
return (it.hasNext() ? (SOAPFault)it.next() : null);
}
@@ -132,12 +186,14 @@
public boolean hasFault()
{
log.trace("hasFault");
+ expandToDOM();
return getChildElements(Constants.SOAP11_FAULT).hasNext();
}
public Node appendChild(Node newChild) throws DOMException
{
log.trace("appendChild: " + newChild.getNodeName());
+ expandToDOM();
Node retNode;
if (!(newChild instanceof SOAPBodyElement || newChild instanceof DocumentFragment))
{
@@ -150,6 +206,7 @@
public Node insertBefore(Node newChild, Node refChild) throws DOMException
{
log.trace("insertBefore: " + newChild.getNodeName());
+ expandToDOM();
if (!(newChild instanceof SOAPBodyElement || newChild instanceof DocumentFragment))
newChild = convertToBodyElement(newChild);
@@ -159,6 +216,7 @@
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
{
log.trace("replaceChild: " + newChild.getNodeName());
+ expandToDOM();
if (!(newChild instanceof SOAPBodyElement || newChild instanceof DocumentFragment))
{
newChild = convertToBodyElement(newChild);
@@ -167,6 +225,48 @@
return super.replaceChild(newChild, oldChild);
}
+ public Iterator getChildElements()
+ {
+ log.trace("getChildElements");
+ expandToDOM();
+ return super.getChildElements();
+ }
+
+ public Iterator getChildElements(Name name)
+ {
+ log.trace("getChildElements: " + name);
+ expandToDOM();
+ return super.getChildElements(name);
+ }
+
+ public NodeList getChildNodes()
+ {
+ log.trace("getChildNodes");
+ expandToDOM();
+ return super.getChildNodes();
+ }
+
+ public Node getFirstChild()
+ {
+ log.trace("getFirstChild");
+ expandToDOM();
+ return super.getFirstChild();
+ }
+
+ public Node getLastChild()
+ {
+ log.trace("getLastChild");
+ expandToDOM();
+ return super.getLastChild();
+ }
+
+ public boolean hasChildNodes()
+ {
+ log.trace("hasChildNodes");
+ expandToDOM();
+ return super.hasChildNodes();
+ }
+
private SOAPBodyElementDoc convertToBodyElement(Node node)
{
if (!(node instanceof SOAPElementImpl))
@@ -176,4 +276,131 @@
element.detachNode();
return new SOAPBodyElementDoc(element);
}
+
+ private void expandToDOM()
+ {
+ if (isDOMValid == false)
+ {
+ // DOM expansion should only happen when a handler accesses the DOM API.
+ // We do not allow DOM expansion on a dev release.
+ CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
+ if (msgContext != null && UnifiedMetaData.isFinalRelease() == false)
+ {
+ Boolean allowExpand = (Boolean)msgContext.getProperty(CommonMessageContext.ALLOW_EXPAND_TO_DOM);
+ if (Boolean.TRUE.equals(allowExpand) == false)
+ throw new WSException("Expanding content element to DOM");
+ }
+
+ log.trace("BEGIN expandToDOM");
+
+ isDOMValid = true;
+ try
+ {
+ Element child = getBodyElementFromSource();
+ SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
+ addChildElement(soapFactory.createElement(child, true));
+ payload = null;
+ }
+ catch (RuntimeException rte)
+ {
+ isDOMValid = false;
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ isDOMValid = false;
+ throw new WSException("Cannot expand to DOM" + ex);
+ }
+ finally
+ {
+ isModifiedFromSource = true;
+ log.trace("END expandToDOM");
+ }
+ }
+ }
+
+ private Element getBodyElementFromSource()
+ {
+ Element child = null;
+ try
+ {
+ if (payload instanceof StreamSource)
+ {
+ StreamSource streamSource = (StreamSource)payload;
+
+ InputStream ins = streamSource.getInputStream();
+ if (ins != null)
+ {
+ child = DOMUtils.parse(ins);
+ }
+ else
+ {
+ Reader reader = streamSource.getReader();
+ child = DOMUtils.parse(new InputSource(reader));
+ }
+
+ // reset the excausted input stream
+ String xmlStr = DOMWriter.printNode(child, false);
+ payload = new StreamSource(new ByteArrayInputStream(xmlStr.getBytes()));
+ }
+ else if (payload instanceof DOMSource)
+ {
+ DOMSource domSource = (DOMSource)payload;
+ Node node = domSource.getNode();
+ if (node instanceof Element)
+ {
+ child = (Element)node;
+ }
+ else if (node instanceof Document)
+ {
+ child = ((Document)node).getDocumentElement();
+ }
+ else
+ {
+ throw new WSException("Unsupported Node type: " + node.getClass().getName());
+ }
+ }
+ else if (payload instanceof SAXSource)
+ {
+ // The fact that JAXBSource derives from SAXSource is an implementation detail.
+ // Thus in general applications are strongly discouraged from accessing methods defined on SAXSource.
+ // The XMLReader object obtained by the getXMLReader method shall be used only for parsing the InputSource object returned by the getInputSource method.
+
+ TransformerFactory tf = TransformerFactory.newInstance();
+ ByteArrayOutputStream baos = new ByteArrayOutputStream(1024);
+ tf.newTransformer().transform(payload, new StreamResult(baos));
+
+ child = DOMUtils.parse(new ByteArrayInputStream(baos.toByteArray()));
+ }
+ else
+ {
+ throw new WSException("Source type not implemented: " + payload.getClass().getName());
+ }
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot get root element from Source" + ex);
+ }
+ return child;
+ }
+
+ @Override
+ public void writeElementContent(Writer writer) throws IOException
+ {
+ if (payload != null)
+ {
+ Element child = getBodyElementFromSource();
+ String xmlPayload = DOMWriter.printNode(child, false);
+ log.debug("Content from payload: " + xmlPayload);
+ writer.write(xmlPayload);
+ }
+ else
+ {
+ super.writeElementContent(writer);
+ }
+ }
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPConnectionImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPConnectionImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPConnectionImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,22 +23,29 @@
// $Id$
+import java.net.MalformedURLException;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Properties;
+
+import javax.xml.rpc.Stub;
+import javax.xml.soap.MimeHeader;
+import javax.xml.soap.MimeHeaders;
+import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPEnvelope;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.addressing.EndpointReference;
+
import org.jboss.logging.Logger;
import org.jboss.remoting.Client;
import org.jboss.remoting.InvokerLocator;
+import org.jboss.remoting.transport.http.HTTPMetadataConstants;
import org.jboss.remoting.util.socket.RemotingSSLSocketFactory;
import org.jboss.ws.core.jaxrpc.StubExt;
import org.jboss.ws.extensions.xop.XOPContext;
-import javax.xml.rpc.Stub;
-import javax.xml.soap.*;
-import javax.xml.ws.addressing.EndpointReference;
-import java.net.MalformedURLException;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.Properties;
-
/**
* SOAPConnection implementation
*
@@ -64,6 +71,15 @@
private static Map<String, String> configMap = new HashMap<String, String>();
static
{
+ /* Uncomment for 4.2
+ configMap.put(StubExt.PROPERTY_KEY_STORE, SSLSocketBuilder.REMOTING_KEY_STORE_FILE_PATH);
+ configMap.put(StubExt.PROPERTY_KEY_STORE_PASSWORD, SSLSocketBuilder.REMOTING_KEY_STORE_PASSWORD);
+ configMap.put(StubExt.PROPERTY_KEY_STORE_TYPE, SSLSocketBuilder.REMOTING_KEY_STORE_TYPE);
+ configMap.put(StubExt.PROPERTY_TRUST_STORE, SSLSocketBuilder.REMOTING_TRUST_STORE_FILE_PATH);
+ configMap.put(StubExt.PROPERTY_TRUST_STORE_PASSWORD, SSLSocketBuilder.REMOTING_TRUST_STORE_PASSWORD);
+ configMap.put(StubExt.PROPERTY_TRUST_STORE_TYPE, SSLSocketBuilder.REMOTING_TRUST_STORE_TYPE);
+ */
+
configMap.put(StubExt.PROPERTY_KEY_STORE, RemotingSSLSocketFactory.REMOTING_KEY_STORE_FILE_PATH);
configMap.put(StubExt.PROPERTY_KEY_STORE_PASSWORD, RemotingSSLSocketFactory.REMOTING_KEY_STORE_PASSWORD);
configMap.put(StubExt.PROPERTY_KEY_STORE_TYPE, RemotingSSLSocketFactory.REMOTING_KEY_STORE_TYPE);
@@ -106,11 +122,14 @@
throw new IllegalArgumentException("Given SOAPMessage cannot be null");
if (endpoint == null)
throw new IllegalArgumentException("Given endpoint cannot be null");
+
if (closed)
throw new SOAPException("SOAPConnection is already closed");
+ InvokerLocator locator;
+ Client remotingClient;
String targetAddress;
- Map callProps = null;
+ Map callProps;
if (endpoint instanceof EndpointInfo)
{
@@ -129,92 +148,96 @@
{
EndpointReference epr = (EndpointReference)endpoint;
targetAddress = epr.getAddress().toString();
+ callProps = null;
}
else
{
targetAddress = endpoint.toString();
+ callProps = null;
}
- // enforce xop transitions
+ // enforce xop transitions
// TODO: there should be a clear transition to an immutable object model
XOPContext.eagerlyCreateAttachments();
// save object model changes
if (reqMessage.saveRequired()) reqMessage.saveChanges();
- // setup remoting client
- Map metadata = createRemotingMetaData(reqMessage, callProps);
- Client client = createRemotingClient(endpoint, targetAddress, oneway);
+ try
+ {
+ // Get the invoker from Remoting for a given endpoint address
+ log.debug("Get locator for: " + endpoint);
+ locator = new InvokerLocator(targetAddress);
+ }
+ catch (MalformedURLException e)
+ {
+ throw new SOAPException("Malformed endpoint address", e);
+ }
+ Map metadata = getRemotingMetaData(reqMessage, targetAddress, callProps);
+
try
{
+ remotingClient = new Client(locator, "saaj", config);
+ remotingClient.connect();
+ remotingClient.setMarshaller(new SOAPMessageMarshaller());
+ if (oneway == false)
+ remotingClient.setUnMarshaller(new SOAPMessageUnMarshaller());
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception e)
+ {
+ throw new SOAPException("Could not setup remoting client", e);
+ }
+
+ try
+ {
// debug the outgoing message
- traceRequest(reqMessage, metadata);
+ if(msgLog.isTraceEnabled())
+ {
+ SOAPEnvelope soapReqEnv = reqMessage.getSOAPPart().getEnvelope();
+ String envStr = SOAPElementWriter.writeElement((SOAPElementImpl)soapReqEnv, true);
+ msgLog.trace("Remoting meta data: " + metadata);
+ msgLog.trace("Outgoing SOAPMessage\n" + envStr);
+ }
SOAPMessage resMessage = null;
if (oneway == true)
{
- client.invokeOneway(reqMessage, metadata, false);
+ remotingClient.invokeOneway(reqMessage, metadata, false);
}
else
{
- resMessage = (SOAPMessage)client.invoke(reqMessage, metadata);
+ resMessage = (SOAPMessage)remotingClient.invoke(reqMessage, metadata);
}
+ // There is a thread safety problem with disconnect, so don't bother
+ // Uncomment this in 2.0.0.GA
+ // remotingClient.disconnect();
+
// debug the incomming response message
- traceResponse(resMessage);
+ if (resMessage != null && msgLog.isTraceEnabled())
+ {
+ SOAPEnvelope soapResEnv = resMessage.getSOAPPart().getEnvelope();
+ String envStr = SOAPElementWriter.writeElement((SOAPElementImpl)soapResEnv, true);
+ msgLog.trace("Incoming Response SOAPMessage\n" + envStr);
+ }
return resMessage;
-
}
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
catch (Throwable t)
{
throw new SOAPException("Could not transmit message", t);
}
}
- private void traceResponse(SOAPMessage resMessage) throws SOAPException {
- if (resMessage != null && msgLog.isTraceEnabled())
- {
- SOAPEnvelope soapResEnv = resMessage.getSOAPPart().getEnvelope();
- String envStr = SOAPElementWriter.writeElement((SOAPElementImpl)soapResEnv, true);
- msgLog.trace("Incoming Response SOAPMessage\n" + envStr);
- }
- }
-
- private void traceRequest(SOAPMessage reqMessage, Map metadata) throws SOAPException {
- if(msgLog.isTraceEnabled())
- {
- SOAPEnvelope soapReqEnv = reqMessage.getSOAPPart().getEnvelope();
- String envStr = SOAPElementWriter.writeElement((SOAPElementImpl)soapReqEnv, true);
- msgLog.trace("Remoting meta data: " + metadata);
- msgLog.trace("Outgoing SOAPMessage\n" + envStr);
- }
- }
-
- private Client createRemotingClient(Object endpoint, String targetAddress, boolean oneway) throws SOAPException {
- Client remotingClient;
- try
- {
- // Get the invoker from Remoting for a given endpoint address
- log.debug("Get locator for: " + endpoint);
- InvokerLocator locator = new InvokerLocator(targetAddress);
-
- remotingClient = new Client(locator, "saaj", config);
- remotingClient.setMarshaller(new SOAPMessageMarshaller());
- remotingClient.setUnMarshaller(oneway == false ? new SOAPMessageUnMarshaller() : null);
- }
- catch (MalformedURLException e)
- {
- throw new SOAPException("Malformed endpoint address", e);
- }
- catch (Exception e)
- {
- throw new SOAPException("Could not setup remoting client", e);
- }
- return remotingClient;
- }
-
/** Closes this SOAPConnection
*/
public void close() throws SOAPException
@@ -225,7 +248,7 @@
closed = true;
}
- private Map createRemotingMetaData(SOAPMessage reqMessage, Map callProps) throws SOAPException
+ private Map getRemotingMetaData(SOAPMessage reqMessage, String targetAddress, Map callProps) throws SOAPException
{
// R2744 A HTTP request MESSAGE MUST contain a SOAPAction HTTP header field
// with a quoted value equal to the value of the soapAction attribute of
@@ -254,6 +277,11 @@
}
Map<String, Object> metadata = new HashMap<String, Object>();
+
+ // We need to unmarshall faults (HTTP 500)
+ // Uncomment for 4.2
+ // metadata.put(HTTPMetadataConstants.NO_THROW_ON_ERROR, "true");
+
Properties props = new Properties();
metadata.put("HEADER", props);
@@ -333,4 +361,4 @@
return metadata;
}
-}
\ No newline at end of file
+}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPContentElement.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPContentElement.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPContentElement.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,21 @@
// $Id$
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.Writer;
+import java.lang.reflect.Array;
+import java.lang.reflect.Method;
+import java.util.Iterator;
+
+import javax.activation.DataHandler;
+import javax.activation.DataSource;
+import javax.xml.namespace.QName;
+import javax.xml.soap.Name;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPException;
+
import org.jboss.logging.Logger;
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
@@ -43,22 +58,14 @@
import org.jboss.ws.extensions.xop.XOPContext;
import org.jboss.ws.metadata.umdm.ParameterMetaData;
import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-import org.w3c.dom.*;
+import org.w3c.dom.Attr;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.w3c.dom.TypeInfo;
-import javax.xml.namespace.QName;
-import javax.xml.soap.Name;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPException;
-import javax.activation.DataHandler;
-import javax.activation.DataSource;
-import java.io.IOException;
-import java.io.Writer;
-import java.io.InputStream;
-import java.io.ByteArrayOutputStream;
-import java.lang.reflect.Array;
-import java.lang.reflect.Method;
-import java.util.Iterator;
-
/**
* A SOAPElement that gives access to its content as XML fragment or Java object.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPElementImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPElementImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPElementImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -39,9 +39,9 @@
import org.jboss.logging.Logger;
import org.jboss.util.NotImplementedException;
-import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
+import org.jboss.ws.core.utils.DOMUtils;
import org.w3c.dom.Attr;
import org.w3c.dom.DOMException;
import org.w3c.dom.Element;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPElementWriter.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPElementWriter.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPElementWriter.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -33,9 +33,9 @@
import javax.xml.soap.SOAPEnvelope;
+import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
-import org.jboss.ws.WSException;
/**
* Writes a SAAJ elements to an output stream.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPEnvelopeImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPEnvelopeImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPEnvelopeImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,12 +23,9 @@
// $Id$
-import java.io.IOException;
-import java.io.Writer;
import java.util.Iterator;
import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
import javax.xml.rpc.soap.SOAPFaultException;
import javax.xml.soap.Name;
import javax.xml.soap.Node;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,11 +29,8 @@
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPFactory;
-import org.jboss.logging.Logger;
-import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.core.jaxrpc.binding.SOAPElementDeserializer;
import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
/**
* SOAPFactory implementation.
@@ -42,8 +39,6 @@
*/
public class SOAPFactoryImpl extends SOAPFactory
{
- private static Logger log = Logger.getLogger(SOAPFactoryImpl.class);
-
public SOAPElement createElement(Name name) throws SOAPException
{
return new SOAPElementImpl(name);
@@ -65,49 +60,8 @@
*/
public SOAPElementImpl createElement(Element domNode, boolean deep) throws SOAPException
{
- if (domNode == null)
- throw new IllegalArgumentException("Source node cannot be null");
-
- String localName = domNode.getLocalName();
- String prefix = domNode.getPrefix() != null ? domNode.getPrefix() : "";
- String nsURI = domNode.getNamespaceURI() != null ? domNode.getNamespaceURI() : "";
-
- SOAPElementImpl soapElement = new SOAPElementImpl(localName, prefix, nsURI);
-
- // Add the child elements as well
- if (deep)
- {
- if (domNode instanceof Element)
- DOMUtils.copyAttributes(soapElement, (Element)domNode);
-
- NodeList nlist = domNode.getChildNodes();
- for (int i = 0; i < nlist.getLength(); i++)
- {
- Node child = nlist.item(i);
- short nodeType = child.getNodeType();
- if (nodeType == Node.ELEMENT_NODE)
- {
- SOAPElementImpl soapChild = createElement((Element)child, true);
- soapElement.addChildElement(soapChild);
- }
- else if (nodeType == Node.TEXT_NODE)
- {
- String nodeValue = child.getNodeValue();
- soapElement.addTextNode(nodeValue);
- }
- else if (nodeType == Node.CDATA_SECTION_NODE)
- {
- String nodeValue = child.getNodeValue();
- soapElement.addTextNode(nodeValue);
- }
- else
- {
- log.trace("Ignore child type: " + nodeType);
- }
- }
- }
-
- return soapElement;
+ SOAPElementDeserializer des = new SOAPElementDeserializer();
+ return (SOAPElementImpl)des.createElement(domNode, deep);
}
public Detail createDetail() throws SOAPException
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPFaultImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPFaultImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPFaultImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,13 +21,11 @@
*/
package org.jboss.ws.core.soap;
-import java.io.IOException;
import java.io.Writer;
import java.util.Iterator;
import java.util.Locale;
import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
import javax.xml.soap.Detail;
import javax.xml.soap.Name;
import javax.xml.soap.SOAPElement;
@@ -35,10 +33,10 @@
import javax.xml.soap.SOAPFault;
import org.jboss.logging.Logger;
-import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.core.utils.DOMWriter;
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
+import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.core.utils.DOMWriter;
import org.jboss.xb.QNameBuilder;
import org.w3c.dom.Element;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageDispatcher.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPMessageDispatcher.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageDispatcher.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -42,7 +42,7 @@
/**
* Derive the operation meta data from incomming SOAP message
- *
+ *
* @author Thomas.Diesler at jboss.org
* @since 22-Nov-2005
*/
@@ -84,7 +84,7 @@
{
if (epMetaData.getStyle() == Style.RPC)
throw new SOAPException("Empty SOAP body with no child element not supported for RPC");
-
+
// [JBWS-1125] Support empty soap body elements
for (OperationMetaData opAux : epMetaData.getOperations())
{
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPMessageImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -129,8 +129,8 @@
String contentId = part.getContentId();
if (contentId.equals(cid))
{
- attachments.remove(part);
- return part;
+ attachments.remove(part);
+ return part;
}
}
@@ -411,4 +411,4 @@
iterator.remove();
}
}
-}
\ No newline at end of file
+}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageMarshaller.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/SOAPMessageMarshaller.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/SOAPMessageMarshaller.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -32,8 +32,6 @@
import org.jboss.remoting.InvocationRequest;
import org.jboss.remoting.invocation.OnewayInvocation;
import org.jboss.remoting.marshal.Marshaller;
-import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.core.utils.DOMWriter;
/**
* @author Thomas.Diesler at jboss.org
* @since 25-Nov-2004
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/ByteArrayContentHandler.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/attachment/ByteArrayContentHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/ByteArrayContentHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,19 +21,20 @@
*/
package org.jboss.ws.core.soap.attachment;
-import org.jboss.ws.core.utils.IOUtils;
-import org.jboss.ws.core.utils.MimeUtils;
-
-import javax.activation.ActivationDataFlavor;
-import javax.activation.DataContentHandler;
-import javax.activation.DataSource;
-import javax.activation.DataHandler;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.OutputStream;
+import javax.activation.ActivationDataFlavor;
+import javax.activation.DataContentHandler;
+import javax.activation.DataHandler;
+import javax.activation.DataSource;
+
+import org.jboss.ws.core.utils.IOUtils;
+import org.jboss.ws.core.utils.MimeUtils;
+
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedDecoder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedDecoder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedDecoder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,7 +29,6 @@
import java.util.Collection;
import java.util.Enumeration;
import java.util.LinkedList;
-import java.util.List;
import javax.activation.DataHandler;
import javax.mail.Header;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/SwapableMemoryDataSource.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/soap/attachment/SwapableMemoryDataSource.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/soap/attachment/SwapableMemoryDataSource.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -33,44 +33,43 @@
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
-import org.jboss.ws.core.server.ServerConfig;
-import org.jboss.ws.core.server.ServerConfigFactory;
+import org.jboss.ws.core.utils.IOUtils;
/**
* A datasource which offloads large attachments to disk.
- *
+ *
* @author Thomas.Diesler at jboss.org
* @author <a href="mailto:jason at stacksmash.com">Jason T. Greene</a>
*/
public class SwapableMemoryDataSource implements DataSource
{
private static Logger log = Logger.getLogger(SwapableMemoryDataSource.class);
-
+
private static final int BLOCK_SIZE = 32 * 1024;
-
+
private static final int DEFAULT_MAX_MEMORY_SIZE = 64 * 1024;
-
+
private static final String SWAP_PREFIX = "JBossWSsattachment";
-
+
private static final String SWAP_SUFFIX = ".dat";
-
+
private File swapFile;
-
+
private String contentType = MimeConstants.TYPE_APPLICATION_OCTET_STREAM;
-
+
private byte[] content;
-
+
private int contentLength;
-
- private int maxMemorySize = 64 * 1024;
-
-
+
+ private int maxMemorySize = 64 * 1024;
+
+
/**
* Constructs a <code>SwapableMemoryDataSource</code> from inputStream, and contentType.
* The instance then reads from the input stream, and stores it in memory unless the size
- * of the content is larger that 64KB, at whichpoint the stream is stored in a temporary
+ * of the content is larger that 64KB, at whichpoint the stream is stored in a temporary
* file on disk.
- *
+ *
* @param inputStream the stream to read from
* @param contentType the content type of this stream
*/
@@ -78,47 +77,44 @@
{
this(inputStream, contentType, DEFAULT_MAX_MEMORY_SIZE);
}
-
+
/**
* Constructs a <code>SwapableMemoryDataSource</code> from inputStream, and
* contentType. The instance then reads from the input stream, and stores it
* in memory unless the size of the content is larger than maxMemorySize, at
* whichpoint the stream is stored in a temporary file on disk.
- *
+ *
* @param inputStream the stream to read from
* @param contentType the content type of this stream
- * @param maxMemorySize the maximum size in bytes that this data source is
+ * @param maxMemorySize the maximum size in bytes that this data source is
* allowed to allocate for stream storage
*/
public SwapableMemoryDataSource(InputStream inputStream, String contentType, int maxMemorySize) throws IOException
{
if (contentType != null)
this.contentType = contentType;
-
- this.maxMemorySize = maxMemorySize;
-
+
+ this.maxMemorySize = maxMemorySize;
+
load(inputStream);
}
-
+
private void load(InputStream inputStream) throws IOException
{
RawByteArrayOutputStream rbaos = new RawByteArrayOutputStream();
OutputStream os = rbaos;
-
+
byte[] buffer = new byte[BLOCK_SIZE];
int count = inputStream.read(buffer);
while (count > 0) {
os.write(buffer, 0, count);
-
+
if (rbaos != null && rbaos.size() > maxMemorySize)
{
File tmpdir = null;
try
{
- ServerConfigFactory factory = ServerConfigFactory.getInstance();
- ServerConfig config = factory.getServerConfig();
- tmpdir = new File(config.getServerTempDir().getCanonicalPath() + "/jbossws");
- tmpdir.mkdirs();
+ tmpdir = IOUtils.createTempDirectory();
}
catch (Throwable e)
{
@@ -132,13 +128,13 @@
rbaos.writeTo(os);
rbaos = null;
}
-
+
count = inputStream.read(buffer);
}
-
+
os.flush();
os.close();
-
+
if (rbaos == null)
{
log.debug("Using swap file, location = " + swapFile.toURL() + " size = " + swapFile.length());
@@ -150,18 +146,18 @@
content = rbaos.getBytes();
}
}
-
+
protected void finalize() throws Throwable
{
super.finalize();
-
+
if (swapFile != null)
swapFile.delete();
}
-
+
/**
* Returns the content type of this data source.
- *
+ *
* @return the content type
*/
public String getContentType()
@@ -172,33 +168,33 @@
/**
* Returns a new input stream on this data source. Multiple calls
* are allowed because the data is stored.
- *
+ *
* @return a new input stream at the start of the data
*/
public InputStream getInputStream() throws IOException
{
if (content != null)
return new ByteArrayInputStream(content, 0, contentLength);
-
+
if (swapFile != null)
return new FileInputStream(swapFile);
-
+
throw new WSException("No content available");
}
/**
* This method always returns null.
- *
+ *
* @return null
*/
public String getName()
{
return null;
}
-
+
/**
* This method always returns null.
- *
+ *
* @return null
*/
public OutputStream getOutputStream() throws IOException
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/DOMWriter.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/DOMWriter.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/DOMWriter.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -67,12 +67,12 @@
import java.util.Iterator;
import java.util.Map;
+import org.jboss.logging.Logger;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
-import org.jboss.logging.Logger;
/**
* Traverse a DOM tree in order to print a document that is parsed.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/HolderUtils.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/HolderUtils.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/HolderUtils.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -56,6 +56,8 @@
package org.jboss.ws.core.utils;
import java.lang.reflect.Field;
+import java.lang.reflect.ParameterizedType;
+import java.lang.reflect.Type;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Calendar;
@@ -73,7 +75,6 @@
import javax.xml.rpc.holders.DoubleWrapperHolder;
import javax.xml.rpc.holders.FloatHolder;
import javax.xml.rpc.holders.FloatWrapperHolder;
-import javax.xml.rpc.holders.Holder;
import javax.xml.rpc.holders.IntHolder;
import javax.xml.rpc.holders.IntegerWrapperHolder;
import javax.xml.rpc.holders.LongHolder;
@@ -86,51 +87,42 @@
import org.jboss.logging.Logger;
-/** JAXRPC Holder utilities
+/**
+ * HolderUtils provides static utility functions for both JAX-RPC
+ * and JAX-WS holders.
*
* @author Thomas.Diesler at jboss.org
+ * @author <a href="jason.greene at jboss.com">Jason T. Greene</a>
* @since 22-Dec-2004
*/
public class HolderUtils
{
- // provide logging
private static final Logger log = Logger.getLogger(HolderUtils.class);
-
+
/** True if the given type is a holder. */
public static boolean isHolderType(Class javaType)
{
- if (javaType == null)
- throw new IllegalArgumentException("Illegal null parameter");
-
- return Holder.class.isAssignableFrom(javaType);
+ return javax.xml.rpc.holders.Holder.class.isAssignableFrom(javaType);
}
- /** Get the Holder for a given valueType.
- */
- public static Holder getHolderInstance(Class holderType)
+ /** True if the given type is a holder. */
+ public static boolean isHolderType(Type javaType)
{
- try
- {
- return (Holder)holderType.newInstance();
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception e)
- {
- throw new IllegalArgumentException("Cannot instanciate holder: " + holderType);
- }
+ return isHolderType(JavaUtils.erasure(javaType));
}
- /** Get the Holder for a given valueType.
+ /**
+ * Gets the JAX-RPC holder for a specific value type.
+ *
+ * @param valueType the value
+ * @return the holder, or null if there is no match
*/
- public static Class getHolderType(Class valueType)
+ public static Class getJAXRPCHolderType(Class valueType)
{
if (valueType == null)
throw new IllegalArgumentException("Illegal null parameter");
- if (Holder.class.isAssignableFrom(valueType))
+ if (javax.xml.rpc.holders.Holder.class.isAssignableFrom(valueType))
throw new IllegalArgumentException("Is already a holder: " + valueType.getName());
if (valueType == BigDecimal.class)
@@ -175,44 +167,52 @@
return StringHolder.class;
if (valueType == Object.class)
return ObjectHolder.class;
-
+
log.warn("Cannot get holder type for: " + valueType);
return null;
}
- /** Get the value type for a given holder.
+ /**
+ * Gets the value type of a JAX-WS or JAX-RPC holder.
+ *
+ * @param holderType the generic type for JAX-WS, a standard class for JAX-RPC
+ * @return the value type
*/
- public static Class getValueType(Class holderType)
+ public static Class getValueType(Type holderType)
{
- if (holderType == null)
- throw new IllegalArgumentException("Illegal null parameter");
+ Class holderClass = JavaUtils.erasure(holderType);
- if (Holder.class.isAssignableFrom(holderType) == false)
- throw new IllegalArgumentException("Is not a holder: " + holderType.getName());
+ boolean jaxrpcHolder = javax.xml.rpc.holders.Holder.class.isAssignableFrom(holderClass);
+ if (!jaxrpcHolder)
+ throw new IllegalArgumentException("Is not a holder: " + holderClass.getName());
// Holder is supposed to have a public value field.
Field field;
try
{
- field = holderType.getField("value");
+ field = holderClass.getField("value");
}
catch (NoSuchFieldException e)
{
- throw new IllegalArgumentException("Cannot find public value field: " + holderType);
+ throw new IllegalArgumentException("Cannot find public value field: " + holderClass);
}
return field.getType();
}
- /** Gets the Holder value.
+ /**
+ * Gets the value object of a JAX-WS or JAX-RPC holder instance.
+ *
+ * @param holder the holder object instance
+ * @return the value object instance
*/
public static Object getHolderValue(Object holder)
{
if (holder == null)
throw new IllegalArgumentException("Illegal null parameter");
- if (Holder.class.isInstance(holder) == false)
+ if (!javax.xml.rpc.holders.Holder.class.isInstance(holder))
throw new IllegalArgumentException("Is not a holder: " + holder);
try
@@ -231,25 +231,30 @@
}
}
- /** Gets the Holder value.
+ /**
+ * Sets the value object of a JAX-WS or JAX-RPC holder instance. This method
+ * will also dynamically convert primitive and wrapper arrays to match the
+ * target array type.
+ *
+ * @param holder the holder instance
+ * @param value the value, can be null
*/
public static void setHolderValue(Object holder, Object value)
{
if (holder == null)
- throw new IllegalArgumentException("Illegal null parameter");
+ throw new IllegalArgumentException("Holder instance was null");
- if (Holder.class.isInstance(holder) == false)
+ if (!javax.xml.rpc.holders.Holder.class.isInstance(holder))
throw new IllegalArgumentException("Is not a holder: " + holder);
Class valueType = getValueType(holder.getClass());
- if (JavaUtils.isPrimitive(valueType))
- value = JavaUtils.getPrimitiveValue(value);
- else
- value = JavaUtils.getWrapperValue(value);
if (value != null && JavaUtils.isAssignableFrom(valueType, value.getClass()) == false)
throw new IllegalArgumentException("Holder [" + holder.getClass().getName() + "] value not assignable: " + value);
+ if (valueType.isArray())
+ value = JavaUtils.syncArray(value, valueType);
+
try
{
Field valueField = holder.getClass().getField("value");
@@ -265,4 +270,49 @@
throw new IllegalArgumentException("Cannot access public value field: " + holder);
}
}
-}
+
+ /**
+ * Gets the generic value type of a JAX-WS Holder.
+ * If there is no generic information, Object.class will be returned
+ *
+ * @param holder JAX-WS holder type
+ * @return generic value type
+ */
+ public static Type getGenericValueType(Type holder)
+ {
+ return (holder instanceof ParameterizedType) ? ((ParameterizedType)holder).getActualTypeArguments()[0] : Object.class;
+ }
+
+
+ /**
+ * Creates a JAX-WS or JAX-RPC holder instance.
+ *
+ * @param value the value instance
+ * @param holderType the holder type
+ * @return a new holder
+ */
+ public static Object createHolderInstance(Object value, Class<?> holderType)
+ {
+ if (! isHolderType(holderType))
+ throw new IllegalArgumentException("Not a holder type:" + holderType.getName());
+
+ Object holder;
+
+ try
+ {
+ holder = holderType.newInstance();
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception e)
+ {
+ throw new IllegalArgumentException("Cannot instanciate holder: " + holderType);
+ }
+
+ setHolderValue(holder, value);
+
+ return holder;
+ }
+}
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/IOUtils.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/IOUtils.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/IOUtils.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,11 +21,25 @@
*/
package org.jboss.ws.core.utils;
-import java.io.*;
+// $Id$
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Reader;
+import java.io.Writer;
+
+import javax.activation.DataHandler;
+
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
-import javax.activation.DataHandler;
+import org.jboss.ws.core.server.ServerConfig;
+import org.jboss.ws.core.server.ServerConfigFactory;
/**
* IO utilites
@@ -75,14 +89,14 @@
/**
* Transform a Reader to an InputStream
- * Background is that DocumentBuilder.parse() cannot take the Reader directly
+ * Background is that DocumentBuilder.parse() cannot take the Reader directly
*/
public static InputStream transformReader(Reader reader) throws IOException
{
int capacity = 1024;
char[] charBuffer = new char[capacity];
StringBuffer strBuffer = new StringBuffer(capacity);
-
+
int len = reader.read(charBuffer, 0, capacity);
while (len > 0)
{
@@ -91,4 +105,13 @@
}
return new ByteArrayInputStream(strBuffer.toString().getBytes());
}
+
+ public static File createTempDirectory() throws IOException
+ {
+ ServerConfigFactory factory = ServerConfigFactory.getInstance();
+ ServerConfig config = factory.getServerConfig();
+ File tmpdir = new File(config.getServerTempDir().getCanonicalPath() + "/jbossws");
+ tmpdir.mkdirs();
+ return tmpdir;
+ }
}
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JarUrlConnection.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/JarUrlConnection.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JarUrlConnection.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,304 @@
+package org.jboss.ws.core.utils;
+
+/*
+ $Id: JarUrlConnection.java 1630 2006-12-12 12:23:36Z thomas.diesler at jboss.com $
+
+ Copyright 2002 (C) The Werken Company. All Rights Reserved.
+
+ Redistribution and use of this software and associated documentation
+ ("Software"), with or without modification, are permitted provided
+ that the following conditions are met:
+
+ 1. Redistributions of source code must retain copyright
+ statements and notices. Redistributions must also contain a
+ copy of this document.
+
+ 2. Redistributions in binary form must reproduce the
+ above copyright notice, this list of conditions and the
+ following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+
+ 3. The name "classworlds" must not be used to endorse or promote
+ products derived from this Software without prior written
+ permission of The Werken Company. For written permission,
+ please contact bob at werken.com.
+
+ 4. Products derived from this Software may not be called "classworlds"
+ nor may "classworlds" appear in their names without prior written
+ permission of The Werken Company. "classworlds" is a registered
+ trademark of The Werken Company.
+
+ 5. Due credit should be given to The Werken Company.
+ (http://classworlds.werken.com/).
+
+ THIS SOFTWARE IS PROVIDED BY THE WERKEN COMPANY AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+ THE WERKEN COMPANY OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ */
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.JarURLConnection;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLDecoder;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.StringTokenizer;
+import java.util.jar.JarEntry;
+import java.util.jar.JarFile;
+import java.util.jar.JarInputStream;
+
+/** <code>URLConnection</code> capable of handling multiply-nested jars.
+ *
+ *
+ * @author <a href="mailto:bob at eng.werken.com">bob mcwhirter</a>
+ *
+ * @version $Id: JarUrlConnection.java 1630 2006-12-12 12:23:36Z thomas.diesler at jboss.com $
+ */
+public class JarUrlConnection extends JarURLConnection
+{
+ // ----------------------------------------------------------------------
+ // Instance members
+ // ----------------------------------------------------------------------
+
+ /** Base resource. */
+ private URL baseResource;
+
+ /** Additional nested segments. */
+ private String[] segments;
+
+ /** Terminal input-stream. */
+ private InputStream in;
+
+ // ----------------------------------------------------------------------
+ // Constructors
+ // ----------------------------------------------------------------------
+
+ /** Construct.
+ *
+ * @param url Target URL of the connections.
+ *
+ * @throws java.io.IOException If an error occurs while attempting to initialize
+ * the connection.
+ */
+ public JarUrlConnection(URL url) throws IOException
+ {
+ super(url = normaliseURL(url));
+
+ String baseText = url.getPath();
+
+ int bangLoc = baseText.indexOf("!");
+
+ String baseResourceText = baseText.substring(0, bangLoc);
+
+ String extraText = "";
+
+ if (bangLoc <= (baseText.length() - 2) && baseText.charAt(bangLoc + 1) == '/')
+ {
+ if (bangLoc + 2 == baseText.length())
+ {
+ extraText = "";
+ }
+ else
+ {
+ extraText = baseText.substring(bangLoc + 1);
+ }
+ }
+ else
+ {
+ throw new MalformedURLException("No !/ in url: " + url.toExternalForm());
+ }
+
+ List segments = new ArrayList();
+
+ StringTokenizer tokens = new StringTokenizer(extraText, "!");
+
+ while (tokens.hasMoreTokens())
+ {
+ segments.add(tokens.nextToken());
+ }
+
+ this.segments = (String[])segments.toArray(new String[segments.size()]);
+
+ this.baseResource = new URL(baseResourceText);
+ }
+
+ protected static URL normaliseURL(URL url) throws MalformedURLException
+ {
+ String text = normalizeUrlPath(url.toString());
+
+ if (!text.startsWith("jar:"))
+ {
+ text = "jar:" + text;
+ }
+
+ if (text.indexOf('!') < 0)
+ {
+ text = text + "!/";
+ }
+
+ return new URL(text);
+ }
+
+ // ----------------------------------------------------------------------
+ // Instance methods
+ // ----------------------------------------------------------------------
+
+ /** Retrieve the nesting path segments.
+ *
+ * @return The segments.
+ */
+ protected String[] getSegments()
+ {
+ return this.segments;
+ }
+
+ /** Retrieve the base resource <code>URL</code>.
+ *
+ * @return The base resource url.
+ */
+ protected URL getBaseResource()
+ {
+ return this.baseResource;
+ }
+
+ /** @see java.net.URLConnection
+ */
+ public void connect() throws IOException
+ {
+ if (this.segments.length == 0)
+ {
+ setupBaseResourceInputStream();
+ }
+ else
+ {
+ setupPathedInputStream();
+ }
+ }
+
+ /** Setup the <code>InputStream</code> purely from the base resource.
+ *
+ * @throws java.io.IOException If an I/O error occurs.
+ */
+ protected void setupBaseResourceInputStream() throws IOException
+ {
+ this.in = getBaseResource().openStream();
+ }
+
+ /** Setup the <code>InputStream</code> for URL with nested segments.
+ *
+ * @throws java.io.IOException If an I/O error occurs.
+ */
+ protected void setupPathedInputStream() throws IOException
+ {
+ InputStream curIn = getBaseResource().openStream();
+
+ for (int i = 0; i < this.segments.length; ++i)
+ {
+ curIn = getSegmentInputStream(curIn, segments[i]);
+ }
+
+ this.in = curIn;
+ }
+
+ /** Retrieve the <code>InputStream</code> for the nesting
+ * segment relative to a base <code>InputStream</code>.
+ *
+ * @param baseIn The base input-stream.
+ * @param segment The nesting segment path.
+ *
+ * @return The input-stream to the segment.
+ *
+ * @throws java.io.IOException If an I/O error occurs.
+ */
+ protected InputStream getSegmentInputStream(InputStream baseIn, String segment) throws IOException
+ {
+ JarInputStream jarIn = new JarInputStream(baseIn);
+ JarEntry entry = null;
+
+ while (jarIn.available() != 0)
+ {
+ entry = jarIn.getNextJarEntry();
+
+ if (entry == null)
+ {
+ break;
+ }
+
+ if (("/" + entry.getName()).equals(segment))
+ {
+ return jarIn;
+ }
+ }
+
+ throw new IOException("unable to locate segment: " + segment);
+ }
+
+ /** @see java.net.URLConnection
+ */
+ public InputStream getInputStream() throws IOException
+ {
+ if (this.in == null)
+ {
+ connect();
+ }
+ return this.in;
+ }
+
+ /**
+ * @return JarFile
+ * @throws java.io.IOException
+ * @see java.net.JarURLConnection#getJarFile()
+ */
+ public JarFile getJarFile() throws IOException
+ {
+ String url = baseResource.toExternalForm();
+
+ if (url.startsWith("file:/"))
+ {
+ url = url.substring(6);
+ }
+
+ return new JarFile(URLDecoder.decode(url, "UTF-8"));
+ }
+
+ private static String normalizeUrlPath(String name)
+ {
+ if (name.startsWith("/"))
+ {
+ name = name.substring(1);
+
+ System.out.println("1 name = " + name);
+ }
+
+ // Looking for org/codehaus/werkflow/personality/basic/../common/core-idioms.xml
+ // | i |
+ // +-------+ remove
+ //
+ int i = name.indexOf("/..");
+
+ // Can't be at the beginning because we have no root to refer to so
+ // we start at 1.
+ if (i > 0)
+ {
+ int j = name.lastIndexOf("/", i - 1);
+
+ name = name.substring(0, j) + name.substring(i + 3);
+
+ System.out.println("2 name = " + name);
+ }
+
+ return name;
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JarUrlConnection.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JavaUtils.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/JavaUtils.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JavaUtils.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,7 +24,13 @@
// $Id$
import java.lang.reflect.Array;
+import java.lang.reflect.GenericArrayType;
+import java.lang.reflect.ParameterizedType;
+import java.lang.reflect.Type;
+import java.lang.reflect.TypeVariable;
+import java.lang.reflect.WildcardType;
import java.util.HashMap;
+import java.util.HashSet;
import org.jboss.logging.Logger;
@@ -38,7 +44,9 @@
// provide logging
private static final Logger log = Logger.getLogger(JavaUtils.class);
- private static HashMap<String, Class> primitiveNames = new HashMap<String, Class>();
+ private static HashMap<String, Class> primitiveNames = new HashMap<String, Class>(8);
+ private static HashMap<String, String> primitiveNameDescriptors = new HashMap<String, String>(8);
+ private static HashSet<String> reservedKeywords = new HashSet<String>(50);
static
{
@@ -50,6 +58,66 @@
primitiveNames.put("double", double.class);
primitiveNames.put("float", float.class);
primitiveNames.put("char", char.class);
+
+ primitiveNameDescriptors.put("int", "I");
+ primitiveNameDescriptors.put("short", "S");
+ primitiveNameDescriptors.put("boolean", "Z");
+ primitiveNameDescriptors.put("byte", "B");
+ primitiveNameDescriptors.put("long", "J");
+ primitiveNameDescriptors.put("double", "D");
+ primitiveNameDescriptors.put("float", "F");
+ primitiveNameDescriptors.put("char", "C");
+
+ reservedKeywords.add("abstract");
+ reservedKeywords.add("continue");
+ reservedKeywords.add("for");
+ reservedKeywords.add("new");
+ reservedKeywords.add("switch");
+ reservedKeywords.add("assert");
+ reservedKeywords.add("default");
+ reservedKeywords.add("if");
+ reservedKeywords.add("package");
+ reservedKeywords.add("synchronized");
+ reservedKeywords.add("boolean");
+ reservedKeywords.add("do");
+ reservedKeywords.add("goto");
+ reservedKeywords.add("private");
+ reservedKeywords.add("this");
+ reservedKeywords.add("break");
+ reservedKeywords.add("double");
+ reservedKeywords.add("implements");
+ reservedKeywords.add("protected");
+ reservedKeywords.add("throw");
+ reservedKeywords.add("byte");
+ reservedKeywords.add("else");
+ reservedKeywords.add("import");
+ reservedKeywords.add("public");
+ reservedKeywords.add("throws");
+ reservedKeywords.add("case");
+ reservedKeywords.add("enum");
+ reservedKeywords.add("instanceof");
+ reservedKeywords.add("return");
+ reservedKeywords.add("transient");
+ reservedKeywords.add("catch");
+ reservedKeywords.add("extends");
+ reservedKeywords.add("int");
+ reservedKeywords.add("short");
+ reservedKeywords.add("try");
+ reservedKeywords.add("char");
+ reservedKeywords.add("final");
+ reservedKeywords.add("interface");
+ reservedKeywords.add("static");
+ reservedKeywords.add("void");
+ reservedKeywords.add("class");
+ reservedKeywords.add("finally");
+ reservedKeywords.add("long");
+ reservedKeywords.add("strictfp");
+ reservedKeywords.add("volatile");
+ reservedKeywords.add("const");
+ reservedKeywords.add("float");
+ reservedKeywords.add("native");
+ reservedKeywords.add("super");
+ reservedKeywords.add("while");
}
/**
@@ -226,30 +294,14 @@
}
/**
- * Get the corresponding primitive value for a give wrapper value.
- * Also handles arrays of which.
+ * Converts an n-dimensional array of wrapper types to primitive types
*/
- public static Object getPrimitiveValue(Object value)
+ public static Object getPrimitiveValueArray(Object value)
{
if (value == null)
return null;
Class javaType = value.getClass();
- if (javaType == Integer.class)
- return ((Integer)value).intValue();
- if (javaType == Short.class)
- return ((Short)value).shortValue();
- if (javaType == Boolean.class)
- return ((Boolean)value).booleanValue();
- if (javaType == Byte.class)
- return ((Byte)value).byteValue();
- if (javaType == Long.class)
- return ((Long)value).longValue();
- if (javaType == Double.class)
- return ((Double)value).doubleValue();
- if (javaType == Float.class)
- return ((Float)value).floatValue();
-
if (javaType.isArray())
{
int length = Array.getLength(value);
@@ -257,8 +309,7 @@
for (int i = 0; i < length; i++)
{
Object srcObj = Array.get(value, i);
- Object destObj = getPrimitiveValue(srcObj);
- Array.set(destArr, i, destObj);
+ Array.set(destArr, i, getPrimitiveValueArray(srcObj));
}
return destArr;
}
@@ -316,30 +367,14 @@
}
/**
- * Get the corresponding wrapper value for a give primitive value.
- * Also handles arrays of which.
+ * Converts an n-dimensional array of primitive types to wrapper types
*/
- public static Object getWrapperValue(Object value)
+ public static Object getWrapperValueArray(Object value)
{
if (value == null)
return null;
Class javaType = value.getClass();
- if (javaType == int.class)
- return Integer.valueOf("" + value);
- if (javaType == short.class)
- return Short.valueOf("" + value);
- if (javaType == boolean.class)
- return Boolean.valueOf("" + value);
- if (javaType == byte.class)
- return Byte.valueOf("" + value);
- if (javaType == long.class)
- return Long.valueOf("" + value);
- if (javaType == double.class)
- return Double.valueOf("" + value);
- if (javaType == float.class)
- return Float.valueOf("" + value);
-
if (javaType.isArray())
{
int length = Array.getLength(value);
@@ -347,8 +382,7 @@
for (int i = 0; i < length; i++)
{
Object srcObj = Array.get(value, i);
- Object destObj = getWrapperValue(srcObj);
- Array.set(destArr, i, destObj);
+ Array.set(destArr, i, getWrapperValueArray(srcObj));
}
return destArr;
}
@@ -356,6 +390,11 @@
return value;
}
+ public static Object syncArray(Object array, Class target)
+ {
+ return (JavaUtils.isPrimitive(target)) ? JavaUtils.getPrimitiveValueArray(array) : JavaUtils.getWrapperValueArray(array);
+ }
+
/**
* Return true if the dest class is assignable from the src.
* Also handles arrays and primitives.
@@ -403,6 +442,52 @@
return typeName;
}
+ /**
+ * Converts a JVM external name to a JVM signature name. An external name is
+ * that which is returned from {@link Class#getName()} A signature name is
+ * the name in class file format.
+ * <p>
+ * For example:
+ * <p>
+ * [java.lang.Object
+ * <p>
+ * becomes:
+ * <p>
+ * [Ljava/lang/Object;
+ *
+ * @param externalName
+ * @return
+ */
+ public static String toSignature(String externalName)
+ {
+ if (externalName == null)
+ return null;
+
+ String ret = primitiveNameDescriptors.get(externalName);
+ if (ret != null)
+ return ret;
+
+ ret = externalName.replace('.', '/');
+ return (ret.charAt(0) == '[') ? ret : "L" + ret + ";";
+ }
+
+ public static String printArray(Object[] val)
+ {
+ if (val == null)
+ return "null";
+
+ StringBuilder out = new StringBuilder("[");
+ for (int i = 0; i < val.length; i++)
+ {
+ if (i > 0)
+ {
+ out.append(",");
+ }
+ out.append(val[i].getClass().isArray() ? printArray((Object[])val[i]) : val[i]);
+ }
+ return out.append("]").toString();
+ }
+
public static String getSourceName(Class type)
{
if (! type.isArray())
@@ -418,4 +503,135 @@
return component.getName() + arrayNotation;
}
-}
+
+ public static String capitalize(String source)
+ {
+ if (source == null)
+ return null;
+
+ if (source.length() == 0)
+ return source;
+
+ if (Character.isUpperCase(source.charAt(0)))
+ return source;
+
+ char c = Character.toUpperCase(source.charAt(0));
+
+ return c + source.substring(1);
+ }
+
+ public static boolean isLoaded(String className, ClassLoader loader)
+ {
+ try
+ {
+ loadJavaType(className, loader);
+ }
+ catch (ClassNotFoundException e)
+ {
+ return false;
+ }
+
+ return true;
+ }
+
+ public static String getPackageName(Class<?> clazz)
+ {
+ String fullName = clazz.getName();
+ return fullName.substring(0, fullName.lastIndexOf("."));
+ }
+
+ public static boolean isReservedKeyword(String keyword)
+ {
+ return reservedKeywords.contains(keyword);
+ }
+
+ /**
+ * Erases a type according to the JLS type erasure rules
+ *
+ * @param t type to erase
+ * @return erased type
+ */
+ public static Class erasure(Type type)
+ {
+ if (type instanceof ParameterizedType)
+ {
+ return erasure(((ParameterizedType)type).getRawType());
+ }
+ if (type instanceof TypeVariable)
+ {
+ return erasure(((TypeVariable)type).getBounds()[0]);
+ }
+ if (type instanceof WildcardType)
+ {
+ return erasure(((WildcardType)type).getUpperBounds()[0]);
+ }
+ if (type instanceof GenericArrayType)
+ {
+ return Array.newInstance(erasure(((GenericArrayType)type).getGenericComponentType()), 0).getClass();
+ }
+
+ // Only type left is class
+ return (Class)type;
+ }
+
+ public static String[] getRawParameterTypeArguments(ParameterizedType type)
+ {
+ Type[] arguments = type.getActualTypeArguments();
+ String[] ret = new String[arguments.length];
+ for (int i = 0; i < arguments.length; i++)
+ {
+ Class raw = erasure(arguments[i]);
+ ret[i] = raw.getName();
+ }
+
+ return ret;
+ }
+
+ /**
+ * Tests if this class loader is a JBoss RepositoryClassLoader
+ *
+ * @param loader
+ * @return
+ */
+ public static boolean isJBossRepositoryClassLoader(ClassLoader loader)
+ {
+ Class clazz = loader.getClass();
+ while (!clazz.getName().startsWith("java"))
+ {
+ if ("org.jboss.mx.loading.RepositoryClassLoader".equals(clazz.getName()))
+ return true;
+ clazz = clazz.getSuperclass();
+ }
+
+ return false;
+ }
+
+ /**
+ * Clears black lists on a JBoss RepositoryClassLoader. This is somewhat of a hack, and
+ * could be replaced with an integration module. This is needed when the following order of
+ * events occur.
+ *
+ * <ol>
+ * <li>loadClass() returns not found</li>
+ * <li>Some call to defineClass()</li>
+ * <ol>
+ *
+ * The CNFE triggers a black list addition, which cause the class never again to be found.
+ *
+ * @param loader the loader to clear black lists for
+ */
+ public static void clearBlacklists(ClassLoader loader)
+ {
+ if (isJBossRepositoryClassLoader(loader))
+ {
+ try
+ {
+ loader.getClass().getMethod("clearBlacklists").invoke(loader);
+ }
+ catch (Exception e)
+ {
+ log.debug("Could not clear blacklists on " + loader);
+ }
+ }
+ }
+}
\ No newline at end of file
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JavassistUtils.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/JavassistUtils.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JavassistUtils.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,130 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.utils;
+
+import javassist.CtClass;
+import javassist.CtField;
+import javassist.CtMethod;
+import javassist.bytecode.AnnotationsAttribute;
+import javassist.bytecode.ClassFile;
+import javassist.bytecode.ConstPool;
+import javassist.bytecode.FieldInfo;
+import javassist.bytecode.MethodInfo;
+import javassist.bytecode.SignatureAttribute;
+import javassist.bytecode.annotation.ArrayMemberValue;
+import javassist.bytecode.annotation.EnumMemberValue;
+import javassist.bytecode.annotation.StringMemberValue;
+
+/**
+ * Utility functions that simplify Javassist.
+ *
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1600 $
+ */
+public class JavassistUtils
+{
+ public static void addFieldAnnotation(CtField field, javassist.bytecode.annotation.Annotation annotation)
+ {
+ FieldInfo fieldInfo = field.getFieldInfo();
+ AnnotationsAttribute attribute = (AnnotationsAttribute) fieldInfo.getAttribute(AnnotationsAttribute.visibleTag);
+ if (attribute == null)
+ attribute = new AnnotationsAttribute(fieldInfo.getConstPool(), AnnotationsAttribute.visibleTag);
+ attribute.addAnnotation(annotation);
+ fieldInfo.addAttribute(attribute);
+ }
+
+ public static void addClassAnnotation(CtClass clazz, javassist.bytecode.annotation.Annotation annotation)
+ {
+ ClassFile classFile = clazz.getClassFile();
+ AnnotationsAttribute attribute = (AnnotationsAttribute) classFile.getAttribute(AnnotationsAttribute.visibleTag);
+ if (attribute == null)
+ attribute = new AnnotationsAttribute(classFile.getConstPool(), AnnotationsAttribute.visibleTag);
+ attribute.addAnnotation(annotation);
+ classFile.addAttribute(attribute);
+ }
+
+ public static Annotation createAnnotation(Class<? extends java.lang.annotation.Annotation> annotation, ConstPool constPool)
+ {
+ return new Annotation(annotation, constPool);
+ }
+
+ public static void addSignature(CtField field, String signature)
+ {
+ FieldInfo fieldInfo = field.getFieldInfo();
+ ConstPool constPool = fieldInfo.getConstPool();
+ SignatureAttribute signatureAttribute = new SignatureAttribute(constPool, signature);
+ fieldInfo.addAttribute(signatureAttribute);
+ }
+
+ public static void addSignature(CtMethod method, String signature)
+ {
+ MethodInfo methodInfo = method.getMethodInfo();
+ ConstPool constPool = methodInfo.getConstPool();
+ SignatureAttribute signatureAttribute = new SignatureAttribute(constPool, signature);
+ methodInfo.addAttribute(signatureAttribute);
+ }
+
+ public static class Annotation
+ {
+ private javassist.bytecode.annotation.Annotation annotation;
+ private ConstPool constPool;
+
+ public Annotation(Class<? extends java.lang.annotation.Annotation> annotation, ConstPool constPool)
+ {
+ this.annotation = new javassist.bytecode.annotation.Annotation(annotation.getName(), constPool);
+ this.constPool = constPool;
+ }
+
+ public void addParameter(String name, String value)
+ {
+ annotation.addMemberValue(name, new StringMemberValue(value, constPool));
+ }
+
+ public void addParameter(String name, Enum value)
+ {
+ EnumMemberValue enumValue = new EnumMemberValue(constPool);
+ enumValue.setType(value.getClass().getName());
+ enumValue.setValue(value.name());
+ annotation.addMemberValue(name, enumValue);
+ }
+
+ public void addParameter(String name, String[] values)
+ {
+ ArrayMemberValue member = new ArrayMemberValue(constPool);
+ StringMemberValue[] members = new StringMemberValue[values.length];
+ for (int i = 0; i < values.length; i++)
+ members[i] = new StringMemberValue(values[i], constPool);
+ member.setValue(members);
+ annotation.addMemberValue(name, member);
+ }
+
+ public void markClass(CtClass clazz)
+ {
+ addClassAnnotation(clazz, annotation);
+ }
+
+ public void markField(CtField field)
+ {
+ addFieldAnnotation(field, annotation);
+ }
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/JavassistUtils.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/MimeUtils.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/MimeUtils.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/MimeUtils.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,23 +25,29 @@
-import com.sun.image.codec.jpeg.JPEGCodec;
-import com.sun.image.codec.jpeg.JPEGImageDecoder;
-import com.sun.image.codec.jpeg.JPEGImageEncoder;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
+import java.awt.image.BufferedImage;
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
import javax.mail.internet.ContentType;
import javax.mail.internet.MimeMultipart;
import javax.mail.internet.ParseException;
import javax.xml.namespace.QName;
import javax.xml.transform.stream.StreamSource;
-import java.awt.image.BufferedImage;
-import java.io.*;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+
+import com.sun.image.codec.jpeg.JPEGCodec;
+import com.sun.image.codec.jpeg.JPEGImageDecoder;
+import com.sun.image.codec.jpeg.JPEGImageEncoder;
+
/**
* Generic mime utility class.
*
@@ -210,7 +216,6 @@
return converter;
}
-
public static class ImageConverter implements ByteArrayConverter
{
public Object readFrom(InputStream in) {
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/ResourceURL.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/ResourceURL.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/ResourceURL.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.core.utils;
+
+// $Id: ResourceURL.java 1630 2006-12-12 12:23:36Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+
+/**
+ * A wrapper around an URL that can handle input streams for resources in nested jars.
+ *
+ * The jdk-1.5.0_10 cannot handle this type of URL
+ *
+ * jar:file://somepath/jaxws-eardeployment.ear!/jaxws-eardeployment.war!/WEB-INF/wsdl/TestEndpoint.wsdl
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 12-Dec-2006 (Dosi's birthday)
+ */
+public class ResourceURL
+{
+ private URL targetURL;
+
+ public ResourceURL(URL targetURL)
+ {
+ this.targetURL = targetURL;
+ }
+
+ public URL getTargetURL()
+ {
+ return targetURL;
+ }
+
+ public InputStream openStream() throws IOException
+ {
+ boolean isJarUrl = "jar".equals(targetURL.getProtocol());
+ return isJarUrl ? new JarUrlConnection(targetURL).getInputStream() : targetURL.openStream();
+ }
+
+ public int hashCode()
+ {
+ return toString().hashCode();
+ }
+
+ public boolean equals(Object obj)
+ {
+ if (!(obj instanceof ResourceURL)) return false;
+ ResourceURL other = (ResourceURL)obj;
+ return toString().equals(other.toString());
+ }
+
+ public String toString()
+ {
+ return targetURL.toString();
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/ResourceURL.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -35,7 +35,8 @@
* @author Thomas.Diesler at jboss.com
* @since 10-Apr-2006
*/
-public class ThreadLocalAssociation {
+public class ThreadLocalAssociation
+{
/**
* Handles invocations on MDB endpoints.
@@ -53,19 +54,23 @@
*/
private static ThreadLocal<SecurityStore> strTransformAssoc = new ThreadLocal<SecurityStore>();
- public static ThreadLocal localInvokerMDBAssoc() {
+ public static ThreadLocal localInvokerMDBAssoc()
+ {
return invokerMDBAssoc;
}
- public static ThreadLocal<Stack<CommonMessageContext>> localMsgContextAssoc() {
+ public static ThreadLocal<Stack<CommonMessageContext>> localMsgContextAssoc()
+ {
return msgContextAssoc;
}
- public static ThreadLocal<SecurityStore> localStrTransformAssoc() {
+ public static ThreadLocal<SecurityStore> localStrTransformAssoc()
+ {
return strTransformAssoc;
}
- public static void clear() {
+ public static void clear()
+ {
invokerMDBAssoc.set(null);
msgContextAssoc.set(null);
strTransformAssoc.set(null);
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,208 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-// $Id:AnnotationsMetaDataBuilder.java 732 2006-08-12 18:40:21Z thomas.diesler at jboss.com $
-
-import java.io.File;
-import java.io.IOException;
-import java.io.Writer;
-
-import javax.xml.ws.BindingType;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
-import org.jboss.ws.annotation.PortComponent;
-import org.jboss.ws.core.server.ServerConfig;
-import org.jboss.ws.core.server.ServerConfigFactory;
-import org.jboss.ws.core.utils.IOUtils;
-import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
-import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
-import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
-import org.jboss.ws.metadata.umdm.ServiceMetaData;
-import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
-import org.jboss.ws.tools.JavaToWSDL;
-import org.jboss.ws.tools.wsdl.WSDLWriter;
-
-/** An abstract annotation meta data builder.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 27-Jun-2005
- */
-public abstract class AnnotationsMetaDataBuilder extends MetaDataBuilder
-{
- // provide logging
- private final Logger log = Logger.getLogger(AnnotationsMetaDataBuilder.class);
-
- public AnnotationsMetaDataBuilder()
- {
- }
-
- protected void processBindingType(EndpointMetaData epMetaData, Class wsClass)
- {
- BindingType anBindingType = (BindingType)wsClass.getAnnotation(BindingType.class);
- String uri = anBindingType.value();
- if (uri.length() > 0)
- {
- epMetaData.setBindingId(uri);
- }
- }
-
- protected void processOrGenerateWSDL(Class wsClass, ServiceMetaData serviceMetaData, String wsdlLocation, EndpointMetaData endpointMetaData)
- {
- if (wsdlLocation.length() > 0)
- {
- serviceMetaData.setWsdlFile(wsdlLocation);
- }
- else
- {
- // Generate the wsdl
- ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
- try
- {
- UnifiedMetaData wsMetaData = serviceMetaData.getUnifiedMetaData();
- Thread.currentThread().setContextClassLoader(wsMetaData.getClassLoader());
- String serviceName = serviceMetaData.getQName().getLocalPart();
- String serviceNamespace = serviceMetaData.getQName().getNamespaceURI();
-
- JavaToWSDL javaToWSDL = new JavaToWSDL(Constants.NS_WSDL11);
- javaToWSDL.setTargetNamespace(serviceNamespace);
- javaToWSDL.setUnifiedMetaData(wsMetaData);
- javaToWSDL.setQualifiedElements(true);
- WSDLDefinitions wsdlDefinitions = javaToWSDL.generate(wsClass);
-
- ServerConfigFactory factory = ServerConfigFactory.getInstance();
- ServerConfig config = factory.getServerConfig();
- File tmpdir = new File(config.getServerTempDir().getCanonicalPath() + "/jbossws");
- tmpdir.mkdirs();
-
- File wsdlTmpFile = File.createTempFile(serviceName, ".wsdl", tmpdir);
- wsdlTmpFile.deleteOnExit();
-
- Writer writer = IOUtils.getCharsetFileWriter(wsdlTmpFile, Constants.DEFAULT_XML_CHARSET);
- new WSDLWriter(wsdlDefinitions).write(writer, Constants.DEFAULT_XML_CHARSET);
- writer.close();
-
- wsdlLocation = wsdlTmpFile.toURL().toExternalForm();
- serviceMetaData.setWsdlFile(wsdlLocation);
-
- JavaWsdlMapping jaxrpcMapping = javaToWSDL.getJavaWsdlMapping();
- File mappingTmpFile = File.createTempFile(serviceName, ".xml", tmpdir);
- mappingTmpFile.deleteOnExit();
-
- writer = IOUtils.getCharsetFileWriter(mappingTmpFile, Constants.DEFAULT_XML_CHARSET);
- writer.write(jaxrpcMapping.serialize());
- writer.close();
-
- String mappingLocation = mappingTmpFile.toURL().toExternalForm();
- serviceMetaData.setJaxrpcMappingFile(mappingLocation);
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (IOException e)
- {
- throw new WSException("Cannot write generated wsdl", e);
- }
- finally
- {
- Thread.currentThread().setContextClassLoader(ctxLoader);
- }
- }
- }
-
- protected void processPortComponent(UnifiedDeploymentInfo udi, Class wsClass, String linkName, ServerEndpointMetaData epMetaData)
- {
- // Setting the defaults
- String contextRoot = "/" + udi.shortName.substring(0, udi.shortName.indexOf('.'));
- String urlPattern = "/" + linkName;
-
- // Init contextRoot from jboss-web.xml
- if (udi.metaData instanceof UnifiedWebMetaData)
- {
- UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
- contextRoot = webMetaData.getContextRoot();
- urlPattern = webMetaData.getServletMappings().get(linkName);
-
- epMetaData.setTransportGuarantee(getTransportGuarantee(webMetaData, linkName));
- }
-
- // Process @PortComponent
- PortComponent anPortComponent = (PortComponent)wsClass.getAnnotation(PortComponent.class);
- if (anPortComponent != null)
- {
- // setup config name
- String configName = anPortComponent.configName();
- if (configName.length() > 0)
- epMetaData.setConfigName(configName);
-
- // setup config file
- String configFile = anPortComponent.configFile();
- if (configFile.length() > 0)
- epMetaData.setConfigFile(configFile);
-
- if (anPortComponent.contextRoot().length() > 0)
- {
- contextRoot = anPortComponent.contextRoot();
- }
-
- String[] virtualHosts = anPortComponent.virtualHosts();
- if (virtualHosts != null & virtualHosts.length > 0)
- {
- epMetaData.setVirtualHosts(virtualHosts);
- }
-
- if (anPortComponent.urlPattern().length() > 0)
- {
- urlPattern = anPortComponent.urlPattern();
- }
-
- // setup authetication method
- String authMethod = anPortComponent.authMethod();
- if (authMethod.length() > 0)
- epMetaData.setAuthMethod(authMethod);
-
- if (epMetaData.getTransportGuarantee() == null || epMetaData.getTransportGuarantee().length() == 0)
- {
- // setup transport guarantee
- String transportGuarantee = anPortComponent.transportGuarantee();
- if (transportGuarantee.length() > 0)
- {
- epMetaData.setTransportGuarantee(transportGuarantee);
- }
- }
- }
-
- epMetaData.setContextRoot(contextRoot);
- epMetaData.setURLPattern(urlPattern);
-
- String servicePath = contextRoot + urlPattern;
- epMetaData.setEndpointAddress(getServiceEndpointAddress(null, servicePath));
-
- // replace the SOAP address
- replaceAddressLocation(epMetaData);
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ClientDeployment.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR109ClientDeployment.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ClientDeployment.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-
-// $Id: UnifiedDeploymentInfo.java 312 2006-05-11 10:49:22Z thomas.diesler at jboss.com $
-
-/**
- * The container independent deployment info.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 05-May-2006
- */
-public class JSR109ClientDeployment extends UnifiedDeploymentInfo
-{
-
- public JSR109ClientDeployment(DeploymentType type)
- {
- super(type);
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ClientMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR109ClientMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ClientMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,269 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-//$Id: JSR109ClientMetaDataBuilder.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.Set;
-
-import javax.xml.namespace.QName;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
-import org.jboss.ws.metadata.config.jaxrpc.WSClientConfigJAXRPC;
-import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedPortComponentRefMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedServiceRefMetaData;
-import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMappingFactory;
-import org.jboss.ws.metadata.jaxrpcmapping.ServiceEndpointInterfaceMapping;
-import org.jboss.ws.metadata.umdm.ClientEndpointMetaData;
-import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.ServiceMetaData;
-import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
-import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
-import org.jboss.ws.metadata.wsdl.NCName;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
-import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
-import org.jboss.ws.metadata.wsdl.WSDLService;
-import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
-import org.jboss.ws.metadata.wsse.WSSecurityConfigurationFactory;
-
-/**
- * A client side meta data builder.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 19-May-2005
- */
-public class JSR109ClientMetaDataBuilder extends JSR109MetaDataBuilder
-{
- // provide logging
- private final Logger log = Logger.getLogger(JSR109ClientMetaDataBuilder.class);
-
- /** Build from WSDL and jaxrpc-mapping.xml
- */
- public ServiceMetaData buildMetaData(QName serviceQName, URL wsdlURL, URL mappingURL, URL securityURL, UnifiedServiceRefMetaData serviceRefMetaData)
- {
- try
- {
- JavaWsdlMapping javaWsdlMapping = null;
- if (mappingURL != null)
- {
- JavaWsdlMappingFactory mappingFactory = JavaWsdlMappingFactory.newInstance();
- javaWsdlMapping = mappingFactory.parse(mappingURL);
- }
-
- WSSecurityConfiguration securityConfig = null;
- if (securityURL != null)
- {
- securityConfig = WSSecurityConfigurationFactory.newInstance().parse(securityURL);
- }
-
- return buildMetaData(serviceQName, wsdlURL, javaWsdlMapping, securityConfig, serviceRefMetaData);
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
- }
- }
-
- /** Build from WSDL and jaxrpc-mapping.xml
- */
- public ServiceMetaData buildMetaData(QName serviceQName, URL wsdlURL, JavaWsdlMapping javaWsdlMapping, WSSecurityConfiguration securityConfig,
- UnifiedServiceRefMetaData serviceRefMetaData)
- {
- log.debug("START buildMetaData: [service=" + serviceQName + "]");
- try
- {
- UnifiedMetaData wsMetaData = new UnifiedMetaData();
- wsMetaData.setClassLoader(classLoader);
- wsMetaData.setResourceLoader(resourceLoader);
-
- ServiceMetaData serviceMetaData = new ServiceMetaData(wsMetaData, serviceQName);
- wsMetaData.addService(serviceMetaData);
-
- serviceMetaData.setWsdlFile(wsdlURL.toExternalForm());
- WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
-
- URL mappingURL = null;
- if (javaWsdlMapping != null)
- {
- mappingURL = new URL(Constants.NS_JBOSSWS_URI + "/dummy-mapping-url");
- wsMetaData.addMappingDefinition(mappingURL.toExternalForm(), javaWsdlMapping);
- serviceMetaData.setJaxrpcMappingFile(mappingURL.toExternalForm());
- }
-
- if (securityConfig != null)
- {
- serviceMetaData.setSecurityConfiguration(securityConfig);
- setupSecurity(securityConfig);
- }
-
- buildMetaDataInternal(serviceMetaData, wsdlDefinitions, javaWsdlMapping, serviceRefMetaData);
-
- log.debug("END buildMetaData: " + wsMetaData);
- wsMetaData.eagerInitialize();
- wsMetaData.validate();
- return serviceMetaData;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
- }
- }
-
- private void buildMetaDataInternal(ServiceMetaData serviceMetaData, WSDLDefinitions wsdlDefinitions, JavaWsdlMapping javaWsdlMapping,
- UnifiedServiceRefMetaData serviceRefMetaData) throws IOException
- {
- QName serviceQName = serviceMetaData.getQName();
-
- // Get the WSDL service
- WSDLService wsdlService = null;
- if (serviceQName == null)
- {
- if (wsdlDefinitions.getServices().length != 1)
- throw new IllegalArgumentException("Expected a single service element");
-
- wsdlService = wsdlDefinitions.getServices()[0];
- serviceMetaData.setQName(wsdlService.getQName());
- }
- else
- {
- wsdlService = wsdlDefinitions.getService(new NCName(serviceQName.getLocalPart()));
- }
- if (wsdlService == null)
- throw new IllegalArgumentException("Cannot obtain wsdl service: " + serviceQName);
-
- // Build type mapping meta data
- setupTypesMetaData(serviceMetaData);
-
- // Build endpoint meta data
- for (WSDLEndpoint wsdlEndpoint : wsdlService.getEndpoints())
- {
- QName portName = wsdlEndpoint.getQName();
- ClientEndpointMetaData epMetaData = new ClientEndpointMetaData(serviceMetaData, portName, Type.JAXRPC);
- epMetaData.setEndpointAddress(wsdlEndpoint.getAddress());
- serviceMetaData.addEndpoint(epMetaData);
-
- // Init the endpoint binding
- initEndpointBinding(wsdlEndpoint, epMetaData);
-
- // Init the service encoding style
- initEndpointEncodingStyle(epMetaData);
-
- ServiceEndpointInterfaceMapping seiMapping = null;
- if (javaWsdlMapping != null)
- {
- QName portType = wsdlEndpoint.getInterface().getQName();
- seiMapping = javaWsdlMapping.getServiceEndpointInterfaceMappingByPortType(portType);
- if (seiMapping != null)
- {
- epMetaData.setServiceEndpointInterfaceName(seiMapping.getServiceEndpointInterface());
- }
- else
- {
- log.warn("Cannot obtain the SEI mapping for: " + portType);
- }
- }
-
- // config-name, config-file
- if (serviceRefMetaData != null)
- {
- String configName = serviceRefMetaData.getConfigName();
- if (configName != null)
- epMetaData.setConfigName(configName);
-
- String configFile = serviceRefMetaData.getConfigFile();
- if (configFile != null)
- epMetaData.setConfigFile(configFile);
-
- // Setup endpoint meta data
- for (UnifiedPortComponentRefMetaData pcRefMetaData : serviceRefMetaData.getPortComponentRefs())
- {
- String seiName = pcRefMetaData.getServiceEndpointInterface();
- String epSEIName = epMetaData.getServiceEndpointInterfaceName();
- if (seiName.equals(epSEIName) || epSEIName == null)
- {
- epMetaData.setServiceEndpointInterfaceName(seiName);
- epMetaData.setProperties(pcRefMetaData.getCallProperties());
- }
- }
- }
-
- processEndpointMetaDataExtensions(epMetaData, wsdlDefinitions);
- setupOperationsFromWSDL(epMetaData, wsdlEndpoint, seiMapping);
- setupHandlers(serviceRefMetaData, portName, epMetaData);
- }
- }
-
- private void setupHandlers(UnifiedServiceRefMetaData serviceRefMetaData, QName portName, EndpointMetaData epMetaData)
- {
- // Add pre handlers
- WSClientConfigJAXRPC jaxrpcConfig = (WSClientConfigJAXRPC)epMetaData.getEndpointConfig();
- epMetaData.addHandlers(jaxrpcConfig.getHandlers(epMetaData, HandlerType.PRE));
-
- // Setup the endpoint handlers
- if (serviceRefMetaData != null)
- {
- for (UnifiedHandlerMetaData uhmd : serviceRefMetaData.getHandlers())
- {
- Set<String> portNames = uhmd.getPortNames();
- if (portNames.size() == 0 || portNames.contains(portName.getLocalPart()))
- {
- epMetaData.addHandler(uhmd.getHandlerMetaDataJAXRPC(epMetaData, HandlerType.ENDPOINT));
- }
- }
- }
-
- // Add post handlers
- epMetaData.addHandlers(jaxrpcConfig.getHandlers(epMetaData, HandlerType.POST));
- }
-
- private void setupSecurity(WSSecurityConfiguration securityConfig)
- {
- if (securityConfig.getKeyStoreFile() != null)
- {
- URL location = resourceLoader.getResource(securityConfig.getKeyStoreFile());
- if (location != null)
- securityConfig.setKeyStoreURL(location);
- }
-
- if (securityConfig.getTrustStoreFile() != null)
- {
- URL location = resourceLoader.getResource(securityConfig.getTrustStoreFile());
- if (location != null)
- securityConfig.setTrustStoreURL(location);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109Deployment.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR109Deployment.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109Deployment.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,68 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
-
-import org.jboss.ws.metadata.webservices.WebservicesFactory;
-import org.jboss.ws.metadata.webservices.WebservicesMetaData;
-import org.jboss.xb.binding.ObjectModelFactory;
-import org.jboss.xb.binding.Unmarshaller;
-import org.jboss.xb.binding.UnmarshallerFactory;
-
-// $Id: UnifiedDeploymentInfo.java 312 2006-05-11 10:49:22Z thomas.diesler at jboss.com $
-
-/**
- * The container independent deployment info.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 05-May-2006
- */
-public class JSR109Deployment extends UnifiedDeploymentInfo
-{
- private WebservicesMetaData jsr109MetaData;
-
- public JSR109Deployment(DeploymentType type, URL webservicesURL) throws Exception
- {
- super(type);
-
- // Unmarshall webservices.xml
- InputStream is = webservicesURL.openStream();
- try
- {
- Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
- ObjectModelFactory factory = new WebservicesFactory(webservicesURL);
- jsr109MetaData = (WebservicesMetaData)unmarshaller.unmarshal(is, factory, null);
- }
- finally
- {
- is.close();
- }
- }
-
- public WebservicesMetaData getWebservicesMetaData()
- {
- return jsr109MetaData;
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109MetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR109MetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109MetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,627 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-//$Id: JSR109MetaDataBuilder.java 740 2006-08-14 08:07:47Z thomas.diesler at jboss.com $
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.jws.soap.SOAPBinding.ParameterStyle;
-import javax.wsdl.Message;
-import javax.wsdl.Part;
-import javax.xml.namespace.QName;
-import javax.xml.rpc.ParameterMode;
-import javax.xml.rpc.encoding.TypeMappingRegistry;
-
-import org.apache.xerces.xs.XSTypeDefinition;
-import org.jboss.logging.Logger;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
-import org.jboss.ws.core.jaxrpc.LiteralTypeMapping;
-import org.jboss.ws.core.jaxrpc.Style;
-import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
-import org.jboss.ws.core.jaxrpc.TypeMappingRegistryImpl;
-import org.jboss.ws.core.jaxrpc.Use;
-import org.jboss.ws.core.utils.JavaUtils;
-import org.jboss.ws.extensions.xop.jaxrpc.XOPScanner;
-import org.jboss.ws.metadata.jaxrpcmapping.ExceptionMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.JavaXmlTypeMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.MethodParamPartsMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.ServiceEndpointInterfaceMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.ServiceEndpointMethodMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.VariableMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.WsdlMessageMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.WsdlReturnValueMapping;
-import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.OperationMetaData;
-import org.jboss.ws.metadata.umdm.ParameterMetaData;
-import org.jboss.ws.metadata.umdm.ServiceMetaData;
-import org.jboss.ws.metadata.umdm.TypeMappingMetaData;
-import org.jboss.ws.metadata.umdm.TypesMetaData;
-import org.jboss.ws.metadata.wsdl.WSDLBinding;
-import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
-import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
-import org.jboss.ws.metadata.wsdl.WSDLInterface;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationPart;
-import org.jboss.ws.metadata.wsdl.WSDLProperty;
-import org.jboss.ws.metadata.wsdl.WSDLTypes;
-import org.jboss.ws.metadata.wsdl.WSDLUtils;
-import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
-
-/**
- * A meta data builder that is based on webservices.xml.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 19-Oct-2005
- */
-public abstract class JSR109MetaDataBuilder extends MetaDataBuilder
-{
- // provide logging
- final Logger log = Logger.getLogger(JSR109MetaDataBuilder.class);
-
- protected void setupTypesMetaData(ServiceMetaData serviceMetaData)
- {
- WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
- JavaWsdlMapping javaWsdlMapping = serviceMetaData.getJavaWsdlMapping();
- TypesMetaData typesMetaData = serviceMetaData.getTypesMetaData();
-
- // Copy the schema locations to the types meta data
- if (wsdlDefinitions != null)
- {
- WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
- typesMetaData.setSchemaModel(WSDLUtils.getSchemaModel(wsdlTypes));
- }
-
- // Copy the type mappings to the types meta data
- if (javaWsdlMapping != null)
- {
- for (JavaXmlTypeMapping xmlTypeMapping : javaWsdlMapping.getJavaXmlTypeMappings())
- {
- String javaTypeName = xmlTypeMapping.getJavaType();
- String qnameScope = xmlTypeMapping.getQnameScope();
-
- QName xmlType = xmlTypeMapping.getRootTypeQName();
- QName anonymousXMLType = xmlTypeMapping.getAnonymousTypeQName();
- if (xmlType == null && anonymousXMLType != null)
- xmlType = anonymousXMLType;
-
- String nsURI = xmlType.getNamespaceURI();
- if (Constants.NS_SCHEMA_XSD.equals(nsURI) == false && Constants.URI_SOAP11_ENC.equals(nsURI) == false)
- {
- TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
- tmMetaData.setQNameScope(qnameScope);
- typesMetaData.addTypeMapping(tmMetaData);
- }
- }
-
- for (ExceptionMapping exceptionMapping : javaWsdlMapping.getExceptionMappings())
- {
- QName xmlType = exceptionMapping.getWsdlMessage();
- String javaTypeName = exceptionMapping.getExceptionType();
- TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
- typesMetaData.addTypeMapping(tmMetaData);
- }
- }
- }
-
- protected void setupOperationsFromWSDL(EndpointMetaData epMetaData, WSDLEndpoint wsdlEndpoint, ServiceEndpointInterfaceMapping seiMapping)
- {
- WSDLDefinitions wsdlDefinitions = wsdlEndpoint.getInterface().getWsdlDefinitions();
-
- // For every WSDL interface operation build the OperationMetaData
- WSDLInterface wsdlInterface = wsdlEndpoint.getInterface();
- for (WSDLInterfaceOperation wsdlOperation : wsdlInterface.getOperations())
- {
- String opName = wsdlOperation.getName().toString();
- QName opQName = wsdlOperation.getQName();
-
- // Set java method name
- String javaName = opName.substring(0, 1).toLowerCase() + opName.substring(1);
- ServiceEndpointMethodMapping seiMethodMapping = null;
- if (seiMapping != null)
- {
- epMetaData.setServiceEndpointInterfaceName(seiMapping.getServiceEndpointInterface());
-
- seiMethodMapping = seiMapping.getServiceEndpointMethodMappingByWsdlOperation(opName);
- if (seiMethodMapping == null)
- throw new WSException("Cannot obtain method mapping for: " + opName);
-
- javaName = seiMethodMapping.getJavaMethodName();
- }
-
- OperationMetaData opMetaData = new OperationMetaData(epMetaData, opQName, javaName);
- epMetaData.addOperation(opMetaData);
-
- // Set the operation style
- String style = wsdlOperation.getStyle();
- epMetaData.setStyle(Style.valueOf(style));
-
- // Set the operation MEP
- if (Constants.WSDL20_PATTERN_IN_ONLY.equals(wsdlOperation.getPattern()))
- opMetaData.setOneWayOperation(true);
-
- // Set the operation SOAPAction
- WSDLBinding wsdlBinding = wsdlDefinitions.getBindingByInterfaceName(wsdlInterface.getQName());
- WSDLBindingOperation wsdlBindingOperation = wsdlBinding.getOperationByRef(opQName);
- if (wsdlBindingOperation != null)
- opMetaData.setSOAPAction(wsdlBindingOperation.getSOAPAction());
-
- // Get the type mapping for the encoding style
- String encStyle = epMetaData.getEncodingStyle().toURI();
- TypeMappingRegistry tmRegistry = new TypeMappingRegistryImpl();
- TypeMappingImpl typeMapping = (TypeMappingImpl)tmRegistry.getTypeMapping(encStyle);
-
- // Build the parameter meta data
- if (opMetaData.getStyle() == Style.RPC)
- {
- buildParameterMetaDataRpc(opMetaData, wsdlOperation, seiMethodMapping, typeMapping);
- }
- else
- {
- buildParameterMetaDataDoc(opMetaData, wsdlOperation, seiMethodMapping, typeMapping);
- }
-
- // Build operation faults
- buildFaultMetaData(opMetaData, wsdlOperation);
-
- // process further operation extensions
- processOpMetaExtensions(opMetaData, wsdlOperation);
- }
- }
-
- private void buildParameterMetaDataRpc(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping,
- TypeMappingImpl typeMapping)
- {
- log.trace("buildParameterMetaDataRpc: " + opMetaData.getQName());
-
- TypesMetaData typesMetaData = opMetaData.getEndpointMetaData().getServiceMetaData().getTypesMetaData();
-
- for (WSDLInterfaceOperationInput opInput : wsdlOperation.getInputs())
- {
- QName xmlName = opInput.getElement();
- QName xmlType = opInput.getXMLType();
- String partName = opInput.getProperty(Constants.WSDL_PROPERTY_PART_NAME).getValue();
- String javaTypeName = typeMapping.getJavaTypeName(xmlType);
-
- if (seiMethodMapping != null)
- {
- MethodParamPartsMapping paramMapping = seiMethodMapping.getMethodParamPartsMappingByPartName(partName);
- if (paramMapping == null)
- throw new WSException("Cannot obtain method parameter mapping for message part '" + partName + "' in wsdl operation: "
- + seiMethodMapping.getWsdlOperation());
-
- javaTypeName = paramMapping.getParamType();
- }
-
- JavaWsdlMapping javaWsdlMapping = opMetaData.getEndpointMetaData().getServiceMetaData().getJavaWsdlMapping();
- if (javaTypeName == null && javaWsdlMapping != null)
- {
- String packageName = javaWsdlMapping.getPackageNameForNamespaceURI(xmlType.getNamespaceURI());
- if (packageName != null)
- {
- javaTypeName = packageName + "." + xmlType.getLocalPart();
- log.warn("Guess java type from package mapping: [xmlType=" + xmlType + ",javaType=" + javaTypeName + "]");
- }
- }
-
- if (javaTypeName == null)
- throw new WSException("Cannot obtain java type mapping for: " + xmlType);
-
- ParameterMetaData inMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- opMetaData.addParameter(inMetaData);
-
- // In arrays of user types, wscompile does not generate a mapping in jaxrpc-mapping.xml
- if (typesMetaData.getTypeMappingByXMLType(xmlType) == null)
- {
- String nsURI = xmlType.getNamespaceURI();
- if (Constants.NS_SCHEMA_XSD.equals(nsURI) == false && Constants.URI_SOAP11_ENC.equals(nsURI) == false)
- {
- TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
- typesMetaData.addTypeMapping(tmMetaData);
- }
- }
-
- setupAttachmentParameter(opInput, inMetaData);
-
- boolean inHeader = opInput.getProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA) != null;
- inMetaData.setInHeader(inHeader);
-
- // SOAPENC:Array
- setupSOAPArrayParameter(inMetaData, javaTypeName);
- }
-
- for (WSDLInterfaceOperationOutput opOutput : wsdlOperation.getOutputs())
- {
- String partName = opOutput.getProperty(Constants.WSDL_PROPERTY_PART_NAME).getValue();
- QName xmlName = opOutput.getElement();
-
- ParameterMetaData outMetaData = opMetaData.getParameter(xmlName);
- if (outMetaData != null && wsdlOperation.getInputByPartName(partName) != null)
- {
- outMetaData.setMode(ParameterMode.INOUT);
- }
- else
- {
- QName xmlType = opOutput.getXMLType();
- String javaTypeName = typeMapping.getJavaTypeName(xmlType);
-
- boolean inHeader = opOutput.getProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA) != null;
- boolean hasReturnMapping = (inHeader == false);
-
- if (seiMethodMapping != null)
- {
- WsdlReturnValueMapping returnMapping = seiMethodMapping.getWsdlReturnValueMapping();
- if (returnMapping != null)
- {
- javaTypeName = returnMapping.getMethodReturnValue();
- hasReturnMapping = true;
- }
- else
- {
- MethodParamPartsMapping paramMapping = seiMethodMapping.getMethodParamPartsMappingByPartName(partName);
- if (paramMapping != null)
- {
- javaTypeName = paramMapping.getParamType();
- hasReturnMapping = false;
- }
- }
- }
-
- JavaWsdlMapping javaWsdlMapping = opMetaData.getEndpointMetaData().getServiceMetaData().getJavaWsdlMapping();
- if (javaTypeName == null && javaWsdlMapping != null)
- {
- String packageName = javaWsdlMapping.getPackageNameForNamespaceURI(xmlType.getNamespaceURI());
- if (packageName != null)
- {
- javaTypeName = packageName + "." + xmlType.getLocalPart();
- log.warn("Guess java type from package mapping: [xmlType=" + xmlType + ",javaType=" + javaTypeName + "]");
- }
- }
-
- if (javaTypeName == null)
- throw new WSException("Cannot obtain java type mapping for: " + xmlType);
-
- if (hasReturnMapping)
- {
- outMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- opMetaData.setReturnParameter(outMetaData);
-
- // In arrays of user types, wscompile does not generate a mapping in jaxrpc-mapping.xml
- if (typesMetaData.getTypeMappingByXMLType(xmlType) == null)
- {
- String nsURI = xmlType.getNamespaceURI();
- if (Constants.NS_SCHEMA_XSD.equals(nsURI) == false && Constants.URI_SOAP11_ENC.equals(nsURI) == false)
- {
- TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
- typesMetaData.addTypeMapping(tmMetaData);
- }
- }
-
- setupAttachmentParameter(opOutput, outMetaData);
- }
- else
- {
- outMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- outMetaData.setMode(ParameterMode.OUT);
- opMetaData.addParameter(outMetaData);
-
- setupAttachmentParameter(opOutput, outMetaData);
-
- outMetaData.setInHeader(inHeader);
- }
-
- // SOAPENC:Array
- setupSOAPArrayParameter(outMetaData, javaTypeName);
- }
- }
- }
-
- private void setupAttachmentParameter(WSDLInterfaceOperationPart wsdlOperationPart, ParameterMetaData paramMetaData)
- {
- QName xmlType = paramMetaData.getXmlType();
-
- WSDLProperty mimeTypeProp = wsdlOperationPart.getProperty(Constants.WSDL_PROPERTY_WSDL11_MIME_TYPE);
- if (mimeTypeProp != null)
- {
- String mimeTypes = mimeTypeProp.getValue();
- paramMetaData.setMimeTypes(mimeTypes);
- paramMetaData.setSwA(true);
- }
-
- // An XOP parameter is detected if it is a complex type that derives from xsd:base64Binary
- WSDLInterfaceOperation wsdlOperation = wsdlOperationPart.getWsdlOperation();
- WSDLTypes wsdlTypes = wsdlOperation.getWsdlInterface().getWsdlDefinitions().getWsdlTypes();
- JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlTypes);
- String localPart = xmlType.getLocalPart() != null ? xmlType.getLocalPart() : "";
- String ns = xmlType.getNamespaceURI() != null ? xmlType.getNamespaceURI() : "";
- XSTypeDefinition xsType = schemaModel.getTypeDefinition(localPart, ns);
- XOPScanner scanner = new XOPScanner();
- if(scanner.findXOPTypeDef(xsType)!=null | (localPart.equals("base64Binary")&&ns.equals(Constants.NS_SCHEMA_XSD)))
- {
- // FIXME: read the xmime:contentType from the element declaration
- // See SchemaUtils#findXOPTypeDef(XSTypeDefinition typeDef) for details
-
- /*
- FIXME: the classloader is not set yet
- paramMetaData.setXopContentType(
- MimeUtils.resolveMimeType(paramMetaData.getJavaType())
- );
- */
-
- paramMetaData.setXOP(true);
-
- }
- }
-
- /* SOAP-ENC:Array
- *
- * FIXME: This hack should be removed as soon as we can reliably get the
- * soapenc:arrayType from wsdl + schema.
- */
- private void setupSOAPArrayParameter(ParameterMetaData paramMetaData, String javaTypeName)
- {
- Use use = paramMetaData.getOperationMetaData().getUse();
- String xmlTypeLocalPart = paramMetaData.getXmlType().getLocalPart();
- if (use == Use.ENCODED && xmlTypeLocalPart.indexOf("ArrayOf") >= 0)
- {
- paramMetaData.setSOAPArrayParam(true);
- try
- {
- // This approach determins the array component type from the javaTypeName.
- // It will not work for user defined types, nor will the array dimension be
- // initialized properly. Ideally the array parameter meta data should be initialized
- // from the XSModel or wherever it is defined in WSDL.
- Class javaType = JavaUtils.loadJavaType(javaTypeName);
- Class compJavaType = javaType.getComponentType();
-
- if (xmlTypeLocalPart.indexOf("ArrayOfArrayOf") >= 0)
- compJavaType = compJavaType.getComponentType();
-
- QName compXMLType = new LiteralTypeMapping().getXMLType(compJavaType);
- paramMetaData.setSOAPArrayCompType(compXMLType);
- }
- catch (ClassNotFoundException e)
- {
- // ignore that user defined types cannot be loaded yet
- }
- }
- }
-
- private void buildParameterMetaDataDoc(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping,
- TypeMappingImpl typeMapping)
- {
- log.trace("buildParameterMetaDataDoc: " + opMetaData.getQName());
-
- EndpointMetaData epMetaData = opMetaData.getEndpointMetaData();
- ServiceMetaData serviceMetaData = epMetaData.getServiceMetaData();
- TypesMetaData typesMetaData = serviceMetaData.getTypesMetaData();
-
- WSDLDefinitions wsdlDefinitions = wsdlOperation.getWsdlInterface().getWsdlDefinitions();
- WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
-
- for (WSDLInterfaceOperationInput opInput : wsdlOperation.getInputs())
- {
- QName xmlName = opInput.getElement();
- QName xmlType = opInput.getXMLType();
- String javaTypeName = typeMapping.getJavaTypeName(xmlType);
-
- TypeMappingMetaData typeMetaData = typesMetaData.getTypeMappingByXMLType(xmlType);
- if (typeMetaData != null)
- javaTypeName = typeMetaData.getJavaTypeName();
-
- if (javaTypeName == null)
- throw new WSException("Cannot obtain java type mapping for: " + xmlType);
-
- // Check if we need to wrap the parameters
- boolean isWrappedElement = (seiMethodMapping != null ? seiMethodMapping.isWrappedElement() : false);
- log.trace("Method mapping wrapped-element: " + isWrappedElement);
- if (isWrappedElement == true)
- epMetaData.setParameterStyle(ParameterStyle.WRAPPED);
-
- boolean isMessageType = false;
- boolean isWrappedParameter = isWrappedElement;
- if (isWrappedParameter == false && seiMethodMapping != null)
- {
- MethodParamPartsMapping[] partsMappings = seiMethodMapping.getMethodParamPartsMappings();
- if (partsMappings.length > 0)
- {
- boolean matchingPartFound = false;
- for (MethodParamPartsMapping partsMapping : partsMappings)
- {
- String paramTypeName = partsMapping.getParamType();
- isMessageType = ParameterMetaData.isMessageType(paramTypeName);
-
- if (paramTypeName.equals(javaTypeName))
- {
- matchingPartFound = true;
- break;
- }
- else
- {
- // Check assignability, JavaUtils.isAssignableFrom("org.w3c.dom.Element", "javax.xml.soap.SOAPElement")
- try
- {
- Class paramType = JavaUtils.loadJavaType(paramTypeName);
- Class javaType = JavaUtils.loadJavaType(javaTypeName);
-
- // If it is assignable the explict mapping takes presedence and we don't wrap
- if (JavaUtils.isAssignableFrom(javaType, paramType))
- {
- javaTypeName = paramTypeName;
- matchingPartFound = true;
- break;
- }
- }
- catch (ClassNotFoundException e)
- {
- // Ignore. For simple types this should work, others should be lexically equal
- // if it is not wrapped.
- }
- }
- }
- isWrappedParameter = (matchingPartFound == false);
- log.trace("isWrapParameters based on matching parts: " + isWrappedParameter);
- }
- }
-
- if (isWrappedElement == false && isMessageType == false)
- epMetaData.setParameterStyle(isWrappedParameter ? ParameterStyle.WRAPPED : ParameterStyle.BARE);
-
- ParameterMetaData inMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- setupAttachmentParameter(opInput, inMetaData);
- inMetaData.setInHeader(opInput.getProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA) != null);
- opMetaData.addParameter(inMetaData);
-
- // Set the wrapped variable names
- if (opMetaData.isDocumentWrapped() && inMetaData.isMessageType() == false)
- {
- if (seiMethodMapping == null)
- throw new IllegalArgumentException("Cannot wrap parameters without SEI method mapping");
-
- ServiceEndpointInterfaceMapping seiMapping = seiMethodMapping.getServiceEndpointInterfaceMapping();
- JavaXmlTypeMapping javaXmlTypeMapping = seiMapping.getJavaWsdlMapping().getTypeMappingForQName(xmlType);
- if (javaXmlTypeMapping == null)
- throw new WSException("Cannot obtain java/xml type mapping for: " + xmlType);
-
- for (VariableMapping varMapping : javaXmlTypeMapping.getVariableMappings())
- {
- String varName = varMapping.getJavaVariableName();
- inMetaData.getWrappedVariables().add(varName);
- }
- }
- }
-
- for (WSDLInterfaceOperationOutput opOutput : wsdlOperation.getOutputs())
- {
- String partName = opOutput.getProperty(Constants.WSDL_PROPERTY_PART_NAME).getValue();
- QName xmlName = opOutput.getElement();
-
- ParameterMetaData paramMetaData = opMetaData.getParameter(xmlName);
- if (paramMetaData != null && wsdlOperation.getInputByPartName(partName) != null)
- {
- paramMetaData.setMode(ParameterMode.INOUT);
- }
- else
- {
- QName xmlType = opOutput.getXMLType();
- String javaTypeName = typeMapping.getJavaTypeName(xmlType);
-
- boolean inHeader = opOutput.getProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA) != null;
- boolean hasReturnMapping = (inHeader == false);
-
- if (typesMetaData.getTypeMappingByXMLType(xmlType) != null)
- javaTypeName = typesMetaData.getTypeMappingByXMLType(xmlType).getJavaTypeName();
-
- if (javaTypeName == null)
- throw new WSException("Cannot obtain java/xml type mapping for: " + xmlType);
-
- if (hasReturnMapping)
- {
- if (seiMethodMapping != null)
- {
- WsdlReturnValueMapping returnValueMapping = seiMethodMapping.getWsdlReturnValueMapping();
- if ((returnValueMapping != null && returnValueMapping.getMethodReturnValue().equals(javaTypeName)) == false)
- {
- if (xmlType.equals(Constants.TYPE_LITERAL_ANYTYPE))
- {
- javaTypeName = returnValueMapping.getMethodReturnValue();
- }
- }
- }
-
- ParameterMetaData retMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- opMetaData.setReturnParameter(retMetaData);
-
- setupAttachmentParameter(opOutput, retMetaData);
-
- // Set the wrapped variable names
- if (opMetaData.isDocumentWrapped() && retMetaData.isMessageType() == false)
- {
- if (seiMethodMapping == null)
- throw new IllegalArgumentException("Cannot wrap parameters without SEI method mapping");
-
- ServiceEndpointInterfaceMapping seiMapping = seiMethodMapping.getServiceEndpointInterfaceMapping();
- JavaWsdlMapping javaWsdlMapping = seiMapping.getJavaWsdlMapping();
- JavaXmlTypeMapping javaXmlTypeMapping = javaWsdlMapping.getTypeMappingForQName(xmlType);
- if (javaXmlTypeMapping == null)
- throw new WSException("Cannot obtain java/xml type mapping for: " + xmlType);
-
- for (VariableMapping varMapping : javaXmlTypeMapping.getVariableMappings())
- {
- String varName = varMapping.getJavaVariableName();
- retMetaData.getWrappedVariables().add(varName);
- }
- }
- }
- else
- {
- ParameterMetaData outMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- opMetaData.addParameter(outMetaData);
- outMetaData.setMode(ParameterMode.OUT);
-
- setupAttachmentParameter(opOutput, outMetaData);
-
- outMetaData.setInHeader(inHeader);
- }
- }
- }
-
- // Add header parameters that are defined in jaxrpc-mapping but are not part of the wsdl message parts
- // http://jira.jboss.org/jira/browse/JBWS-663
- if (seiMethodMapping != null && wsdlDefinitions.getWsdlOneOneDefinition() != null)
- {
- MethodParamPartsMapping[] mppMappings = seiMethodMapping.getMethodParamPartsMappings();
- for (int i = 0; i < mppMappings.length; i++)
- {
- MethodParamPartsMapping mppMapping = mppMappings[i];
- String javaTypeName = mppMapping.getParamType();
-
- WsdlMessageMapping wmMapping = mppMapping.getWsdlMessageMapping();
- if (wmMapping.isSoapHeader())
- {
- QName wsdlMessageName = wmMapping.getWsdlMessage();
- String partName = wmMapping.getWsdlMessagePartName();
- Message wsdl11Message = wsdlDefinitions.getWsdlOneOneDefinition().getMessage(wsdlMessageName);
- Part wsdl11Part = wsdl11Message.getPart(partName);
- QName xmlName = wsdl11Part.getElementName();
- if (opMetaData.getParameter(xmlName) == null)
- {
- String mode = wmMapping.getParameterMode();
- QName xmlType = wsdlTypes.getXMLType(xmlName);
-
- ParameterMetaData headerMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- opMetaData.addParameter(headerMetaData);
- headerMetaData.setInHeader(true);
- headerMetaData.setMode(mode);
- }
- }
- }
- }
- }
-
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ServerMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR109ServerMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR109ServerMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,339 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-// $Id: JSR109ServerMetaDataBuilder.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
-package org.jboss.ws.deployment;
-
-import java.io.IOException;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import javax.management.ObjectName;
-import javax.xml.namespace.QName;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.WSException;
-import org.jboss.ws.metadata.config.jaxrpc.WSEndpointConfigJAXRPC;
-import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedEjbPortComponentMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData.UnifiedWebResourceCollection;
-import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
-import org.jboss.ws.metadata.jaxrpcmapping.ServiceEndpointInterfaceMapping;
-import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
-import org.jboss.ws.metadata.umdm.ServiceMetaData;
-import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
-import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
-import org.jboss.ws.metadata.webservices.PortComponentMetaData;
-import org.jboss.ws.metadata.webservices.WebserviceDescriptionMetaData;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
-import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
-import org.jboss.ws.metadata.wsdl.WSDLService;
-import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
-
-/**
- * A server side meta data builder that is based on webservices.xml.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 19-May-2005
- */
-public class JSR109ServerMetaDataBuilder extends JSR109MetaDataBuilder
-{
- // provide logging
- final Logger log = Logger.getLogger(JSR109ServerMetaDataBuilder.class);
-
- /** Build from webservices.xml
- */
- public UnifiedMetaData buildMetaData(JSR109Deployment udi)
- {
- log.debug("START buildMetaData: [name=" + udi.getCanonicalName() + "]");
- try
- {
- // For every webservice-description build the ServiceMetaData
- UnifiedMetaData wsMetaData = new UnifiedMetaData();
- wsMetaData.setResourceLoader(resourceLoader);
- wsMetaData.setClassLoader(classLoader);
-
- WebserviceDescriptionMetaData[] wsDescriptionArr = udi.getWebservicesMetaData().getWebserviceDescriptions();
- for (WebserviceDescriptionMetaData wsdMetaData : wsDescriptionArr)
- {
- ServiceMetaData serviceMetaData = new ServiceMetaData(wsMetaData, null);
- serviceMetaData.setWebserviceDescriptionName(wsdMetaData.getWebserviceDescriptionName());
- wsMetaData.addService(serviceMetaData);
-
- // Unmarshall the WSDL
- serviceMetaData.setWsdlFile(wsdMetaData.getWsdlFile());
- WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
-
- // Unmarshall the jaxrpc-mapping.xml
- serviceMetaData.setJaxrpcMappingFile(wsdMetaData.getJaxrpcMappingFile());
- JavaWsdlMapping javaWsdlMapping = serviceMetaData.getJavaWsdlMapping();
-
- // JBWS-1114: Check for missing javaWsdlMapping
- if (javaWsdlMapping == null)
- throw new WSException("jaxrpc-mapping-file not configured from webservices.xml");
-
- // Build type mapping meta data
- setupTypesMetaData(serviceMetaData);
-
- // Assign the WS-Security configuration,
- WSSecurityConfiguration securityConfiguration = getWsSecurityConfiguration(udi);
- serviceMetaData.setSecurityConfiguration(securityConfiguration);
-
- // For every port-component build the EndpointMetaData
- PortComponentMetaData[] pcMetaDataArr = wsdMetaData.getPortComponents();
- for (PortComponentMetaData pcMetaData : pcMetaDataArr)
- {
- QName portName = pcMetaData.getWsdlPort();
-
- // [JBWS-722] <wsdl-port> in webservices.xml should be qualified
- if (portName.getNamespaceURI().length() == 0)
- {
- String nsURI = wsdlDefinitions.getTargetNamespace();
- portName = new QName(nsURI, portName.getLocalPart());
- log.warn("Adding wsdl targetNamespace to: " + portName);
- pcMetaData.setWsdlPort(portName);
- }
-
- WSDLEndpoint wsdlEndpoint = getWsdlEndpoint(wsdlDefinitions, portName);
- if (wsdlEndpoint == null)
- throw new WSException("Cannot find port in wsdl: " + portName);
-
- // set service name
- serviceMetaData.setQName(wsdlEndpoint.getWsdlService().getQName());
-
- ServerEndpointMetaData sepMetaData = new ServerEndpointMetaData(serviceMetaData, portName, Type.JAXRPC);
- sepMetaData.setPortComponentName(pcMetaData.getPortComponentName());
- String ejbLink = pcMetaData.getEjbLink();
- String servletLink = pcMetaData.getServletLink();
- sepMetaData.setLinkName(servletLink != null ? servletLink : ejbLink);
- serviceMetaData.addEndpoint(sepMetaData);
-
- // Init the service encoding style
- initEndpointEncodingStyle(sepMetaData);
-
- if (udi.metaData instanceof UnifiedApplicationMetaData)
- {
- UnifiedApplicationMetaData apMetaData = (UnifiedApplicationMetaData)udi.metaData;
- wsMetaData.setSecurityDomain(apMetaData.getSecurityDomain());
-
- // Copy the wsdl publish location from jboss.xml
- String wsdName = serviceMetaData.getWebserviceDescriptionName();
- String wsdlPublishLocation = apMetaData.getWsdlPublishLocationByName(wsdName);
- serviceMetaData.setWsdlPublishLocation(wsdlPublishLocation);
-
- // Copy <port-component> meta data
- UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)apMetaData.getBeanByEjbName(ejbLink);
- if (beanMetaData == null)
- throw new WSException("Cannot obtain UnifiedBeanMetaData for: " + ejbLink);
-
- String configName = apMetaData.getConfigName();
- if (configName != null)
- sepMetaData.setConfigName(configName);
-
- String configFile = apMetaData.getConfigFile();
- if (configFile != null)
- sepMetaData.setConfigFile(configFile);
-
- UnifiedEjbPortComponentMetaData bpcMetaData = beanMetaData.getPortComponent();
- if (bpcMetaData != null)
- {
- if (bpcMetaData.getAuthMethod() != null)
- {
- String authMethod = bpcMetaData.getAuthMethod();
- sepMetaData.setAuthMethod(authMethod);
- }
- if (bpcMetaData.getTransportGuarantee() != null)
- {
- String transportGuarantee = bpcMetaData.getTransportGuarantee();
- sepMetaData.setTransportGuarantee(transportGuarantee);
- }
-
- sepMetaData.setURLPattern(bpcMetaData.getURLPattern());
- }
-
- initServicePathEJB(udi, sepMetaData, ejbLink);
- }
- else if (udi.metaData instanceof UnifiedWebMetaData)
- {
- UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
- wsMetaData.setSecurityDomain(webMetaData.getSecurityDomain());
-
- String targetBean = webMetaData.getServletClassMap().get(servletLink);
- sepMetaData.setServiceEndpointImplName(targetBean);
-
- // Copy the wsdl publish location from jboss-web.xml
- String wsdName = serviceMetaData.getWebserviceDescriptionName();
- String wsdlPublishLocation = webMetaData.getWsdlPublishLocationByName(wsdName);
- serviceMetaData.setWsdlPublishLocation(wsdlPublishLocation);
-
- String configName = webMetaData.getConfigName();
- if (configName != null)
- sepMetaData.setConfigName(configName);
-
- String configFile = webMetaData.getConfigFile();
- if (configFile != null)
- sepMetaData.setConfigFile(configFile);
-
- initServicePathJSE(udi, sepMetaData, servletLink);
- initTransportGuaranteeJSE(udi, sepMetaData, servletLink);
- }
-
- // init service endpoint id
- ObjectName sepID = getServiceEndpointID(udi, sepMetaData);
- sepMetaData.setServiceEndpointID(sepID);
-
- replaceAddressLocation(sepMetaData);
-
- String seiName = pcMetaData.getServiceEndpointInterface();
- sepMetaData.setServiceEndpointInterfaceName(seiName);
-
- ServiceEndpointInterfaceMapping seiMapping = javaWsdlMapping.getServiceEndpointInterfaceMapping(seiName);
- if (seiMapping == null)
- log.warn("Cannot obtain SEI mapping for: " + seiName);
-
- // process endpoint meta extension
- processEndpointMetaDataExtensions(sepMetaData, wsdlDefinitions);
-
- // Setup the endpoint operations
- setupOperationsFromWSDL(sepMetaData, wsdlEndpoint, seiMapping);
-
- // Add pre handlers
- WSEndpointConfigJAXRPC jaxrpcConfig = (WSEndpointConfigJAXRPC)sepMetaData.getEndpointConfig();
- sepMetaData.addHandlers(jaxrpcConfig.getHandlers(sepMetaData, HandlerType.PRE));
-
- // Setup the endpoint handlers
- for (UnifiedHandlerMetaData uhmd : pcMetaData.getHandlers())
- {
- Set<String> portNames = uhmd.getPortNames();
- if (portNames.size() == 0 || portNames.contains(portName.getLocalPart()))
- {
- sepMetaData.addHandler(uhmd.getHandlerMetaDataJAXRPC(sepMetaData, HandlerType.ENDPOINT));
- }
- }
-
- // Add post handlers
- sepMetaData.addHandlers(jaxrpcConfig.getHandlers(sepMetaData, HandlerType.POST));
- }
- }
-
- log.debug("END buildMetaData: " + wsMetaData);
- wsMetaData.validate();
- return wsMetaData;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
- }
- }
-
- private WSDLEndpoint getWsdlEndpoint(WSDLDefinitions wsdlDefinitions, QName portName)
- {
- WSDLEndpoint wsdlEndpoint = null;
- for (WSDLService wsdlService : wsdlDefinitions.getServices())
- {
- WSDLEndpoint auxEndpoint = wsdlService.getEndpoint(portName);
- if (auxEndpoint != null)
- {
- wsdlEndpoint = auxEndpoint;
- break;
- }
- }
- return wsdlEndpoint;
- }
-
- private void initServicePathEJB(UnifiedDeploymentInfo udi, ServerEndpointMetaData epMetaData, String ejbLink)
- {
- UnifiedApplicationMetaData applMetaData = (UnifiedApplicationMetaData)udi.metaData;
- UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)applMetaData.getBeanByEjbName(ejbLink);
- if (beanMetaData == null)
- throw new WSException("Cannot obtain meta data for ejb link: " + ejbLink);
-
- // Use the webservice context root if we have one
- String contextRoot = applMetaData.getWebServiceContextRoot();
-
- // If not, derive the context root from the deployment short name
- if (contextRoot == null)
- {
- String shortName = udi.shortName;
- contextRoot = shortName.substring(0, shortName.indexOf('.'));
- contextRoot = "/" + contextRoot;
- }
- epMetaData.setContextRoot(contextRoot);
-
- String urlPattern;
- UnifiedEjbPortComponentMetaData ejbpcMetaData = beanMetaData.getPortComponent();
- if (ejbpcMetaData != null && ejbpcMetaData.getPortComponentURI() != null)
- {
- urlPattern = ejbpcMetaData.getPortComponentURI();
- }
- else
- {
- urlPattern = "/" + ejbLink;
- }
- epMetaData.setURLPattern(urlPattern);
- }
-
- private void initServicePathJSE(UnifiedDeploymentInfo udi, ServerEndpointMetaData epMetaData, String servletLink)
- {
- UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
- Map<String, String> servletMappings = webMetaData.getServletMappings();
-
- String contextRoot = webMetaData.getContextRoot();
-
- // If not, derive the context root from the deployment short name
- if (contextRoot == null)
- {
- String shortName = udi.shortName;
- contextRoot = shortName.substring(0, shortName.indexOf('.'));
- contextRoot = "/" + contextRoot;
- }
- epMetaData.setContextRoot(contextRoot);
-
- String urlPattern = (String)servletMappings.get(servletLink);
- if (urlPattern == null)
- throw new WSException("Cannot obtain servlet mapping for servlet link: " + servletLink);
-
- if (urlPattern.startsWith("/") == false)
- urlPattern = "/" + urlPattern;
-
- epMetaData.setURLPattern(urlPattern);
- }
-
- /**
- * Check the transport guarantee using the UnifiedWebMetaData.
- */
- protected void initTransportGuaranteeJSE(UnifiedDeploymentInfo udi, EndpointMetaData epMetaData, String servletLink) throws IOException
- {
- UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
- epMetaData.setTransportGuarantee(getTransportGuarantee(webMetaData, servletLink));
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181Deployment.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181Deployment.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181Deployment.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-
-// $Id: UnifiedDeploymentInfo.java 312 2006-05-11 10:49:22Z thomas.diesler at jboss.com $
-
-/**
- * The container independent deployment info.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 05-May-2006
- */
-public class JSR181Deployment extends UnifiedDeploymentInfo
-{
-
- public JSR181Deployment(DeploymentType type)
- {
- super(type);
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,695 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-// $Id: JSR181MetaDataBuilder.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
-
-import java.io.File;
-import java.io.InputStream;
-import java.lang.annotation.Annotation;
-import java.lang.reflect.Method;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.rmi.RemoteException;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.jws.HandlerChain;
-import javax.jws.Oneway;
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebResult;
-import javax.jws.WebService;
-import javax.jws.soap.SOAPBinding;
-import javax.jws.soap.SOAPMessageHandlers;
-import javax.jws.soap.SOAPBinding.ParameterStyle;
-import javax.management.ObjectName;
-import javax.xml.namespace.QName;
-import javax.xml.rpc.ParameterMode;
-import javax.xml.rpc.encoding.TypeMappingRegistry;
-import javax.xml.rpc.holders.Holder;
-import javax.xml.ws.BindingType;
-import javax.xml.ws.RequestWrapper;
-import javax.xml.ws.ResponseWrapper;
-import javax.xml.ws.addressing.AddressingProperties;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
-import org.jboss.ws.core.jaxrpc.ParameterWrapping;
-import org.jboss.ws.core.jaxrpc.Style;
-import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
-import org.jboss.ws.core.jaxrpc.TypeMappingRegistryImpl;
-import org.jboss.ws.core.jaxrpc.Use;
-import org.jboss.ws.core.utils.HolderUtils;
-import org.jboss.ws.core.utils.JBossWSEntityResolver;
-import org.jboss.ws.extensions.addressing.AddressingPropertiesImpl;
-import org.jboss.ws.extensions.addressing.metadata.AddressingOpMetaExt;
-import org.jboss.ws.metadata.config.jaxrpc.WSEndpointConfigJAXRPC;
-import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
-import org.jboss.ws.metadata.jsr181.HandlerChainFactory;
-import org.jboss.ws.metadata.jsr181.HandlerChainMetaData;
-import org.jboss.ws.metadata.jsr181.HandlerChainsMetaData;
-import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.FaultMetaData;
-import org.jboss.ws.metadata.umdm.OperationMetaData;
-import org.jboss.ws.metadata.umdm.ParameterMetaData;
-import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
-import org.jboss.ws.metadata.umdm.ServiceMetaData;
-import org.jboss.ws.metadata.umdm.TypeMappingMetaData;
-import org.jboss.ws.metadata.umdm.TypesMetaData;
-import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
-import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
-import org.jboss.ws.metadata.wsdl.WSDLUtils;
-import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
-import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
-import org.jboss.ws.tools.ToolsUtils;
-import org.jboss.xb.binding.ObjectModelFactory;
-import org.jboss.xb.binding.Unmarshaller;
-import org.jboss.xb.binding.UnmarshallerFactory;
-
-/** An abstract annotation meta data builder.
- *
- * @author Thomas.Diesler at jboss.org
- * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
- * @since 15-Oct-2005
- */
-public abstract class JSR181MetaDataBuilder extends AnnotationsMetaDataBuilder
-{
- // provide logging
- private final Logger log = Logger.getLogger(JSR181MetaDataBuilder.class);
-
- public JSR181MetaDataBuilder()
- {
- }
-
- protected ServerEndpointMetaData setupEndpointFromAnnotations(UnifiedMetaData wsMetaData, UnifiedDeploymentInfo udi, Class sepClass, String linkName)
- throws ClassNotFoundException
- {
- WebService anWebService = (WebService)sepClass.getAnnotation(WebService.class);
- if (anWebService == null)
- throw new WSException("Cannot obtain @WebService annotaion from: " + sepClass.getName());
-
- try
- {
- Class seiClass = null;
- String seiName = null;
- if (anWebService.endpointInterface().length() > 0)
- {
- seiName = anWebService.endpointInterface();
- seiClass = udi.annotationsCl.loadClass(seiName);
- anWebService = (WebService)seiClass.getAnnotation(WebService.class);
- if (anWebService == null)
- throw new WSException("Interface does not have a @WebService annotation: " + seiName);
- }
-
- Class wsClass = (seiClass != null ? seiClass : sepClass);
-
- WSDLUtils wsdlUtils = WSDLUtils.getInstance();
-
- String name = anWebService.name();
- if (name.length() == 0)
- name = wsdlUtils.getJustClassName(wsClass);
-
- String serviceName = anWebService.serviceName();
- if (serviceName.length() == 0)
- serviceName = name + "Service";
-
- String targetNS = anWebService.targetNamespace();
- if (targetNS.length() == 0)
- targetNS = wsdlUtils.getTypeNamespace(wsClass);
-
- String portName = anWebService.portName();
- if (portName.length() == 0)
- portName = name + "Port";
-
- ServiceMetaData serviceMetaData = new ServiceMetaData(wsMetaData, new QName(targetNS, serviceName));
- wsMetaData.addService(serviceMetaData);
-
- // Assign the WS-Security configuration,
- WSSecurityConfiguration securityConfiguration = getWsSecurityConfiguration(udi);
- serviceMetaData.setSecurityConfiguration(securityConfiguration);
-
- // Setup the ServerEndpointMetaData
- QName portQName = new QName(targetNS, portName);
- ServerEndpointMetaData sepMetaData = new ServerEndpointMetaData(serviceMetaData, portQName, Type.JAXWS);
- sepMetaData.setLinkName(linkName);
-
- sepMetaData.setServiceEndpointImplName(sepClass.getName());
- sepMetaData.setServiceEndpointInterfaceName(wsClass.getName());
-
- serviceMetaData.addEndpoint(sepMetaData);
-
- // Process an optional @SOAPBinding annotation
- if (wsClass.isAnnotationPresent(SOAPBinding.class))
- processSOAPBinding(sepMetaData, wsClass);
-
- // Process an optional @BindingType annotation
- if (wsClass.isAnnotationPresent(BindingType.class))
- processBindingType(sepMetaData, wsClass);
-
- boolean includeAllMethods = (wsClass == seiClass);
- processWebMethods(sepMetaData, wsClass, includeAllMethods);
-
- // Process or generate WSDL
- String wsdlLocation = anWebService.wsdlLocation();
- processOrGenerateWSDL(wsClass, serviceMetaData, wsdlLocation, sepMetaData);
-
- // Read the generated WSDL and initialize the schema model
- WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
- JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
- serviceMetaData.getTypesMetaData().setSchemaModel(schemaModel);
-
- // Set the endpoint address
- processPortComponent(udi, wsClass, linkName, sepMetaData);
-
- // Process an optional @SOAPMessageHandlers annotation
- if (sepClass.isAnnotationPresent(SOAPMessageHandlers.class) || wsClass.isAnnotationPresent(SOAPMessageHandlers.class))
- log.warn("@SOAPMessageHandlers is deprecated as of JSR-181 2.0 with no replacement.");
-
- // Add pre handlers
- WSEndpointConfigJAXRPC jaxrpcConfig = (WSEndpointConfigJAXRPC)sepMetaData.getEndpointConfig();
- sepMetaData.addHandlers(jaxrpcConfig.getHandlers(sepMetaData, HandlerType.PRE));
-
- // Process an optional @HandlerChain annotation
- if (sepClass.isAnnotationPresent(HandlerChain.class))
- processHandlerChain(sepMetaData, sepClass);
- else if (wsClass.isAnnotationPresent(HandlerChain.class))
- processHandlerChain(sepMetaData, wsClass);
-
- // Add post handlers
- sepMetaData.addHandlers(jaxrpcConfig.getHandlers(sepMetaData, HandlerType.POST));
-
- // init service endpoint id
- ObjectName sepID = getServiceEndpointID(udi, sepMetaData);
- sepMetaData.setServiceEndpointID(sepID);
-
- return sepMetaData;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
- }
- }
-
- protected void processSOAPBinding(EndpointMetaData epMetaData, Class wsClass)
- {
- SOAPBinding anSoapBinding = (SOAPBinding)wsClass.getAnnotation(SOAPBinding.class);
-
- SOAPBinding.Style attrStyle = anSoapBinding.style();
- Style style = (attrStyle == SOAPBinding.Style.RPC ? Style.RPC : Style.DOCUMENT);
- epMetaData.setStyle(style);
-
- SOAPBinding.Use attrUse = anSoapBinding.use();
- if (attrUse == SOAPBinding.Use.ENCODED)
- throw new WSException("SOAP encoding is not supported for JSR-181 deployments");
-
- epMetaData.setEncodingStyle(Use.LITERAL);
-
- ParameterStyle paramStyle = anSoapBinding.parameterStyle();
- epMetaData.setParameterStyle(paramStyle);
- }
-
- private WebParam getWebParamAnnotation(Method method, int pos)
- {
- for (Annotation annotation : method.getParameterAnnotations()[pos])
- if (annotation instanceof WebParam)
- return (WebParam)annotation;
-
- return null;
- }
-
- protected void processWebMethods(EndpointMetaData epMetaData, Class wsClass, boolean includeAllMethods)
- {
- epMetaData.clearOperations();
-
- // Process an @WebMethod annotations
- int webMethodCount = 0;
- for (Method method : wsClass.getMethods())
- {
- if (includeAllMethods || method.isAnnotationPresent(WebMethod.class))
- {
- processWebMethod(epMetaData, method);
- webMethodCount++;
- }
- }
-
- // @WebService should expose all inherited methods if @WebMethod is never specified
- // http://jira.jboss.org/jira/browse/JBWS-754
- if (webMethodCount == 0)
- {
- Class superClass = wsClass.getSuperclass();
- while (superClass != null)
- {
- for (Method method : superClass.getMethods())
- {
- processWebMethod(epMetaData, method);
- webMethodCount++;
- }
-
- superClass = superClass.getSuperclass();
- }
- }
-
- if (webMethodCount == 0)
- throw new WSException("At least one @WebMethod annotation is required");
- }
-
- private void processWebMethod(EndpointMetaData epMetaData, Method method)
- {
- ServiceMetaData serviceMetaData = epMetaData.getServiceMetaData();
- TypesMetaData typesMetaData = serviceMetaData.getTypesMetaData();
- String targetNS = epMetaData.getQName().getNamespaceURI();
-
- // reflection defaults
- String soapAction = "";
- String operationName = method.getName();
-
- // annotation values that override defaults
- if (method.isAnnotationPresent(WebMethod.class))
- {
- WebMethod anWebMethod = method.getAnnotation(WebMethod.class);
- soapAction = anWebMethod.action();
- if (anWebMethod.operationName().length() > 0)
- operationName = anWebMethod.operationName();
- }
-
- String javaName = method.getName();
- OperationMetaData opMetaData = new OperationMetaData(epMetaData, new QName(targetNS, operationName), javaName);
- opMetaData.setOneWayOperation(method.isAnnotationPresent(Oneway.class));
- opMetaData.setSOAPAction(soapAction);
- epMetaData.addOperation(opMetaData);
-
- Map<String, Integer> typeIndexes = new HashMap<String, Integer>();
-
- // Get the type mapping for the encoding style
- String encStyle = opMetaData.getUse().toURI();
- TypeMappingRegistry tmRegistry = new TypeMappingRegistryImpl();
- TypeMappingImpl typeMapping = (TypeMappingImpl)tmRegistry.getTypeMapping(encStyle);
-
- // Build parameter meta data
- QName xmlName = null;
- QName xmlType = null;
- Class[] parameterTypes = method.getParameterTypes();
-
- // Force paramter style to wrapped
- if (method.isAnnotationPresent(RequestWrapper.class) || method.isAnnotationPresent(ResponseWrapper.class))
- {
- epMetaData.setParameterStyle(ParameterStyle.WRAPPED);
- }
-
- ParameterMetaData wrappedParameter = null;
- if (opMetaData.isDocumentWrapped())
- {
- xmlName = opMetaData.getQName();
- xmlType = opMetaData.getQName();
-
- String requestWrapperType = null;
- if (method.isAnnotationPresent(RequestWrapper.class))
- {
- RequestWrapper anReqWrapper = method.getAnnotation(RequestWrapper.class);
-
- String localName = (anReqWrapper.localName().length() > 0 ? anReqWrapper.localName() : operationName);
- String targetNamespace = (anReqWrapper.targetNamespace().length() > 0 ? anReqWrapper.targetNamespace() : epMetaData.getQName().getNamespaceURI());
- xmlName = new QName(targetNamespace, localName);
-
- if (anReqWrapper.className().length() > 0)
- {
- requestWrapperType = anReqWrapper.className();
- TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, requestWrapperType);
- typesMetaData.addTypeMapping(tmMetaData);
- }
- }
-
- wrappedParameter = new ParameterMetaData(opMetaData, xmlName, xmlType, requestWrapperType);
- opMetaData.addParameter(wrappedParameter);
-
- if (!opMetaData.isOneWayOperation())
- {
- xmlName = new QName(targetNS, operationName + "Response");
- xmlType = new QName(targetNS, operationName + "Response");
-
- String responseWrapperType = null;
- if (method.isAnnotationPresent(ResponseWrapper.class))
- {
- ResponseWrapper anResWrapper = method.getAnnotation(ResponseWrapper.class);
-
- String localName = (anResWrapper.localName().length() > 0 ? anResWrapper.localName() : operationName + "Response");
- String targetNamespace = (anResWrapper.targetNamespace().length() > 0 ? anResWrapper.targetNamespace() : epMetaData.getQName().getNamespaceURI());
- xmlName = new QName(targetNamespace, localName);
-
- if (anResWrapper.className().length() > 0)
- {
- responseWrapperType = anResWrapper.className();
- TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, responseWrapperType);
- typesMetaData.addTypeMapping(tmMetaData);
- }
- }
-
- ParameterMetaData retMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, responseWrapperType);
- opMetaData.setReturnParameter(retMetaData);
- }
- }
-
- for (int i = 0; i < parameterTypes.length; i++)
- {
- Class javaType = parameterTypes[i];
- String javaTypeName = javaType.getName();
- WebParam anWebParam = getWebParamAnnotation(method, i);
- boolean isWrapped = opMetaData.isDocumentWrapped() && (anWebParam == null || !anWebParam.header());
-
- if (Holder.class.isAssignableFrom(javaType))
- {
- javaType = HolderUtils.getValueType(javaType);
- javaTypeName = javaType.getName();
- }
-
- xmlType = typeMapping.getXMLType(javaType);
- if (xmlType == null)
- xmlType = getWebParamType(opMetaData, javaType);
-
- if (isWrapped)
- {
- QName wrappedElementName = getWebParamName(opMetaData, typeIndexes, javaType, anWebParam);
- wrappedParameter.getWrappedElementNames().add(wrappedElementName);
- String variable = wrappedElementName.getLocalPart();
- if (variable.length() == 0)
- throw new WSException("A web parameter had a name with 0 length");
-
- variable = convertToProperty(variable);
-
- wrappedParameter.getWrappedVariables().add(variable);
- wrappedParameter.getWrappedTypes().add(javaTypeName);
- }
- else
- {
- TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
- typesMetaData.addTypeMapping(tmMetaData);
-
- xmlName = getWebParamName(opMetaData, typeIndexes, javaType, anWebParam);
- xmlType = typeMapping.getXMLType(javaType);
- if (xmlType == null)
- xmlType = getWebParamType(opMetaData, javaType);
-
- ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- if (anWebParam != null)
- {
- if (anWebParam.mode() == WebParam.Mode.INOUT)
- paramMetaData.setMode(ParameterMode.INOUT);
- if (anWebParam.mode() == WebParam.Mode.OUT)
- paramMetaData.setMode(ParameterMode.OUT);
-
- if (anWebParam.header())
- paramMetaData.setInHeader(true);
- }
-
- opMetaData.addParameter(paramMetaData);
- }
- }
-
- // Generate temporary wrapper types so that tools can generate the correct wsdl
- if (wrappedParameter != null)
- ParameterWrapping.generateWrapper(wrappedParameter, false);
-
- // Build result meta data
- Class returnType = method.getReturnType();
- String returnTypeName = returnType.getName();
- if ((returnType == void.class) == false)
- {
- if (opMetaData.isOneWayOperation())
- throw new IllegalArgumentException("[JSR-181 2.5.1] The method '" + method.getName() + "' can not have a return value if it is marked OneWay");
-
- xmlType = typeMapping.getXMLType(returnType);
- if (xmlType == null)
- xmlType = getWebResultType(targetNS, returnType);
-
- if (opMetaData.isDocumentWrapped())
- {
- QName elementName = getWebResultName(opMetaData, returnType, method.getAnnotation(WebResult.class));
-
- ParameterMetaData retMetaData = opMetaData.getReturnParameter();
- retMetaData.getWrappedElementNames().add(elementName);
- retMetaData.getWrappedVariables().add(convertToProperty(elementName.getLocalPart()));
- retMetaData.getWrappedTypes().add(returnTypeName);
-
- // Generate temporary wrapper types so that tools can generate the correct wsdl
- ParameterWrapping.generateWrapper(retMetaData, false);
- }
- else
- {
- TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, returnTypeName);
- typesMetaData.addTypeMapping(tmMetaData);
-
- xmlName = getWebResultName(opMetaData, returnType, method.getAnnotation(WebResult.class));
- ParameterMetaData retMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, returnTypeName);
- opMetaData.setReturnParameter(retMetaData);
- }
- }
-
- // Add faults
- for (Class exClass : method.getExceptionTypes())
- if (!RemoteException.class.isAssignableFrom(exClass))
- addFault(opMetaData, typesMetaData, exClass);
-
- // process op meta data extension
- processMetaExtensions(epMetaData, opMetaData);
- }
-
- private String convertToProperty(String variable)
- {
- if (Character.isUpperCase(variable.charAt(0)))
- {
- char c = Character.toLowerCase(variable.charAt(0));
- StringBuilder builder = new StringBuilder(variable);
- builder.setCharAt(0, c);
- variable = builder.toString();
- }
-
- return variable;
- }
-
- // Process an optional @HandlerChain annotation
- protected void processHandlerChain(EndpointMetaData epMetaData, Class wsClass)
- {
- if (wsClass.isAnnotationPresent(SOAPMessageHandlers.class))
- throw new WSException("Cannot combine @HandlerChain with @SOAPMessageHandlers");
-
- HandlerChain anHandlerChain = (HandlerChain)wsClass.getAnnotation(HandlerChain.class);
-
- URL fileURL = null;
- String filename = anHandlerChain.file();
-
- // Try the filename as URL
- try
- {
- fileURL = new URL(filename);
- }
- catch (MalformedURLException ex)
- {
- // ignore
- }
-
- // Try the filename as File
- if (fileURL == null)
- {
- try
- {
- File file = new File(filename);
- if (file.exists())
- fileURL = file.toURL();
- }
- catch (MalformedURLException e)
- {
- // ignore
- }
- }
-
- // Try the filename as Resource
- if (fileURL == null)
- {
- fileURL = epMetaData.getResourceLoader().getResource(filename);
- }
-
- // Try the filename relative to class
- if (fileURL == null)
- {
- String packagePath = wsClass.getPackage().getName().replace('.', '/');
- fileURL = epMetaData.getClassLoader().getResource(packagePath + "/" + filename);
- }
-
- if (fileURL == null)
- throw new WSException("Cannot resolve URL to handler file: " + filename);
-
- try
- {
- HandlerChainsMetaData handlerChainsMetaData = null;
- InputStream is = fileURL.openStream();
- try
- {
- Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
- unmarshaller.setValidation(true);
- unmarshaller.setSchemaValidation(true);
- unmarshaller.setEntityResolver(new JBossWSEntityResolver());
- ObjectModelFactory factory = new HandlerChainFactory();
- handlerChainsMetaData = (HandlerChainsMetaData)unmarshaller.unmarshal(is, factory, null);
- }
- finally
- {
- is.close();
- }
-
- // Setup the endpoint handlers
- for (HandlerChainMetaData handlerChainMetaData : handlerChainsMetaData.getHandlerChains())
- {
- for (UnifiedHandlerMetaData uhmd : handlerChainMetaData.getHandlers())
- {
- epMetaData.addHandler(uhmd.getHandlerMetaDataJAXRPC(epMetaData, HandlerType.ENDPOINT));
- }
- }
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- throw new WSException("Cannot process handler chain: " + filename, ex);
- }
- }
-
- private QName getWebParamName(OperationMetaData opMetaData, Map<String, Integer> typeIndexes, Class javaType, WebParam webParam)
- {
- QName xmlName = null;
- String namespaceURI = opMetaData.getQName().getNamespaceURI();
- if (webParam != null)
- {
- if (webParam.targetNamespace().length() > 0)
- namespaceURI = webParam.targetNamespace();
-
- if (webParam.name().length() > 0)
- {
- if (opMetaData.getStyle() != Style.RPC || webParam.header())
- xmlName = new QName(namespaceURI, webParam.name());
- else xmlName = new QName(webParam.name());
- }
- }
-
- if (xmlName == null && opMetaData.isDocumentBare())
- xmlName = new QName(namespaceURI, opMetaData.getQName().getLocalPart());
-
- if (xmlName == null)
- {
- WSDLUtils wsdlUtils = WSDLUtils.getInstance();
- String shortName = wsdlUtils.getJustClassName(javaType);
- Integer index = (Integer)typeIndexes.get(shortName);
- index = (index != null ? new Integer(index.intValue() + 1) : new Integer(1));
- typeIndexes.put(shortName, index);
-
- if (opMetaData.isDocumentWrapped())
- xmlName = new QName(namespaceURI, shortName + "_" + index);
- else xmlName = new QName(shortName + "_" + index);
- }
-
- return xmlName;
- }
-
- private QName getWebParamType(OperationMetaData opMetaData, Class javaType)
- {
- String namespaceURI = opMetaData.getQName().getNamespaceURI();
- return ToolsUtils.getXMLType(javaType, namespaceURI);
- }
-
- private QName getWebResultName(OperationMetaData opMetaData, Class javaType, WebResult anWebResult)
- {
- QName xmlName = null;
- String namespaceURI = opMetaData.getQName().getNamespaceURI();
-
- if (anWebResult != null)
- {
- if (anWebResult.targetNamespace().length() > 0)
- namespaceURI = anWebResult.targetNamespace();
-
- // Unlike WebParam.name, the default of WebResult.name is "return", so this condition will always be met.
- if (anWebResult.name().length() > 0)
- {
- if (opMetaData.getStyle() != Style.RPC)
- xmlName = new QName(namespaceURI, anWebResult.name());
- else xmlName = new QName(anWebResult.name());
- }
- }
- if (xmlName == null && opMetaData.isDocumentBare())
- xmlName = new QName(namespaceURI, opMetaData.getResponseName().getLocalPart());
-
- if (xmlName == null)
- {
- xmlName = new QName(Constants.DEFAULT_RPC_RETURN_NAME);
- }
- return xmlName;
- }
-
- private void addFault(OperationMetaData omd, TypesMetaData tmd, Class<?> exception)
- {
- if (omd.isOneWayOperation())
- throw new IllegalStateException("JSR-181 4.3.1 - A JSR-181 processor is REQUIRED to report an error if an operation marked "
- + "@Oneway has a return value, declares any checked exceptions or has any INOUT or OUT parameters.");
-
- String name = WSDLUtils.getInstance().getJustClassName(exception);
- QName xmlName = new QName(omd.getQName().getNamespaceURI(), name);
-
- FaultMetaData fmd = new FaultMetaData(omd, xmlName, xmlName, exception.getName());
- omd.addFault(fmd);
-
- TypeMappingMetaData mapping = new TypeMappingMetaData(tmd, xmlName, exception.getName());
- tmd.addTypeMapping(mapping);
- }
-
- private QName getWebResultType(String defaultNS, Class javaType)
- {
- return ToolsUtils.getXMLType(javaType, defaultNS);
- }
-
- /**
- * Process operation meta data extensions.
- */
- private void processMetaExtensions(EndpointMetaData epMetaData, OperationMetaData opMetaData)
- {
- // Until there is a addressing annotion we fallback to implicit action asosciation
- // TODO: figure out a way to assign message name instead of IN and OUT
- String tns = epMetaData.getQName().getNamespaceURI();
- String portTypeName = epMetaData.getQName().getLocalPart();
-
- AddressingProperties ADDR = new AddressingPropertiesImpl();
- AddressingOpMetaExt addrExt = new AddressingOpMetaExt(ADDR.getNamespaceURI());
- addrExt.setInboundAction(tns + "/" + portTypeName + "/IN");
-
- if (!opMetaData.isOneWayOperation())
- addrExt.setOutboundAction(tns + "/" + portTypeName + "/OUT");
-
- opMetaData.addExtension(addrExt);
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB21.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB21.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB21.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,91 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-// $Id: JSR181MetaDataBuilderEJB21.java 387 2006-05-20 14:45:47Z thomas.diesler at jboss.com $
-package org.jboss.ws.deployment;
-
-import java.util.Iterator;
-
-import javax.jws.WebService;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.WSException;
-import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
-import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
-import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-
-/**
- * A server side meta data builder that is based on JSR-181 annotations
- *
- * @author Thomas.Diesler at jboss.org
- * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
- * @since 19-May-2005
- */
-public class JSR181MetaDataBuilderEJB21 extends JSR181MetaDataBuilder
-{
- // provide logging
- private final Logger log = Logger.getLogger(JSR181MetaDataBuilderEJB21.class);
-
- /** Build from annotations
- */
- public UnifiedMetaData buildMetaData(UnifiedDeploymentInfo udi)
- {
- log.debug("START buildMetaData: [name=" + udi.getCanonicalName() + "]");
- try
- {
- UnifiedMetaData wsMetaData = new UnifiedMetaData();
- wsMetaData.setResourceLoader(resourceLoader);
- wsMetaData.setClassLoader(classLoader);
-
- if (udi.annotationsCl == null)
- throw new WSException("Annotations class loader not initialized");
-
- // For every bean
- UnifiedApplicationMetaData appMetaData = (UnifiedApplicationMetaData)udi.metaData;
- Iterator it = appMetaData.getEnterpriseBeans();
- while (it.hasNext())
- {
- UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)it.next();
-
- String ejbName = beanMetaData.getEjbName();
- String ejbClassName = beanMetaData.getEjbClass();
- Class beanClass = udi.annotationsCl.loadClass(ejbClassName);
- if (beanClass.isAnnotationPresent(WebService.class))
- {
- setupEndpointFromAnnotations(wsMetaData, udi, beanClass, ejbName);
- }
- }
-
- log.debug("END buildMetaData: " + wsMetaData);
- wsMetaData.validate();
- return wsMetaData;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB3.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB3.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB3.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,104 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-// $Id: JSR181MetaDataBuilderEJB3.java 377 2006-05-18 13:57:29Z thomas.diesler at jboss.com $
-package org.jboss.ws.deployment;
-
-import java.util.Iterator;
-
-import javax.jws.WebService;
-
-import org.jboss.annotation.security.SecurityDomain;
-import org.jboss.logging.Logger;
-import org.jboss.ws.WSException;
-import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
-import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-
-/**
- * A server side meta data builder that is based on JSR-181 annotations
- *
- * @author Thomas.Diesler at jboss.org
- * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
- * @since 19-May-2005
- */
-public class JSR181MetaDataBuilderEJB3 extends JSR181MetaDataBuilder
-{
- // provide logging
- private final Logger log = Logger.getLogger(JSR181MetaDataBuilderEJB3.class);
-
- protected Class annotatedClass;
-
- /** Build from webservices.xml
- */
- public UnifiedMetaData buildMetaData(UnifiedDeploymentInfo udi)
- {
- log.debug("START buildMetaData: [name=" + udi.getCanonicalName() + "]");
- try
- {
- UnifiedMetaData wsMetaData = new UnifiedMetaData();
- wsMetaData.setResourceLoader(resourceLoader);
- wsMetaData.setClassLoader(classLoader);
-
- if (udi.annotationsCl == null)
- throw new WSException("Annotations class loader not initialized");
-
- // The container objects below provide access to all of the ejb metadata
- UnifiedApplicationMetaData appMetaData = (UnifiedApplicationMetaData)udi.metaData;
- Iterator<UnifiedBeanMetaData> it = appMetaData.getEnterpriseBeans();
- while (it.hasNext())
- {
- UnifiedBeanMetaData beanMetaData = it.next();
- String ejbClassName = beanMetaData.getEjbClass();
- Class beanClass = udi.annotationsCl.loadClass(ejbClassName);
- if (beanClass.isAnnotationPresent(WebService.class))
- {
- String ejbLink = beanMetaData.getEjbName();
- setupEndpointFromAnnotations(wsMetaData, udi, beanClass, ejbLink);
-
- // setup the security domain
- if (beanClass.isAnnotationPresent(SecurityDomain.class))
- {
- SecurityDomain anSecurityDomain = (SecurityDomain)beanClass.getAnnotation(SecurityDomain.class);
- String lastDomain = wsMetaData.getSecurityDomain();
- String securityDomain = anSecurityDomain.value();
- if (lastDomain != null && lastDomain.equals(securityDomain) == false)
- throw new IllegalStateException("Multiple security domains not supported: " + securityDomain);
-
- wsMetaData.setSecurityDomain(securityDomain);
- }
- }
- }
-
- log.debug("END buildMetaData: " + wsMetaData);
- wsMetaData.validate();
- return wsMetaData;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderJSE.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderJSE.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderJSE.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,93 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-// $Id: JSR181MetaDataBuilderJSE.java 387 2006-05-20 14:45:47Z thomas.diesler at jboss.com $
-package org.jboss.ws.deployment;
-
-import java.util.Map;
-
-import javax.jws.WebService;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.WSException;
-import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
-import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-
-/**
- * A server side meta data builder that is based on JSR-181 annotations
- *
- * @author Thomas.Diesler at jboss.org
- * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
- * @since 23-Jul-2005
- */
-public class JSR181MetaDataBuilderJSE extends JSR181MetaDataBuilder
-{
- // provide logging
- private final Logger log = Logger.getLogger(JSR181MetaDataBuilderJSE.class);
-
- /** Build from annotations
- */
- public UnifiedMetaData buildMetaData(UnifiedDeploymentInfo udi)
- {
- log.debug("START buildMetaData: [name=" + udi.getCanonicalName() + "]");
- try
- {
- UnifiedMetaData wsMetaData = new UnifiedMetaData();
- wsMetaData.setResourceLoader(resourceLoader);
- wsMetaData.setClassLoader(classLoader);
-
- if (udi.annotationsCl == null)
- throw new WSException("Annotations class loader not initialized");
-
- // For every bean
- UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
- Map<String, String> servletClassMap = webMetaData.getServletClassMap();
- for (String servletName : servletClassMap.keySet())
- {
- String servletClassName = servletClassMap.get(servletName);
- try
- {
- Class beanClass = udi.annotationsCl.loadClass(servletClassName);
- if (beanClass.isAnnotationPresent(WebService.class))
- {
- setupEndpointFromAnnotations(wsMetaData, udi, beanClass, servletName);
- }
- }
- catch (ClassNotFoundException ex)
- {
- log.warn("Cannot load service endpoint class: " + servletClassName);
- }
- }
-
- log.debug("END buildMetaData: " + wsMetaData);
- wsMetaData.validate();
- return wsMetaData;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception ex)
- {
- throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/MetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/MetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/MetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,521 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-// $Id$
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.management.ObjectName;
-import javax.wsdl.Definition;
-import javax.wsdl.Import;
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.UnknownExtensibilityElement;
-import javax.wsdl.extensions.soap.SOAPAddress;
-import javax.xml.namespace.QName;
-import javax.xml.ws.addressing.AddressingProperties;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
-import org.jboss.ws.core.CommonSOAPBinding;
-import org.jboss.ws.core.jaxrpc.UnqualifiedFaultException;
-import org.jboss.ws.core.jaxrpc.Use;
-import org.jboss.ws.core.server.ServiceEndpointManager;
-import org.jboss.ws.core.server.ServiceEndpointManagerFactory;
-import org.jboss.ws.core.utils.ObjectNameFactory;
-import org.jboss.ws.extensions.addressing.AddressingPropertiesImpl;
-import org.jboss.ws.extensions.addressing.metadata.AddressingOpMetaExt;
-import org.jboss.ws.extensions.eventing.EventingConstants;
-import org.jboss.ws.extensions.eventing.deployment.EventingEndpoint;
-import org.jboss.ws.extensions.eventing.metadata.EventingEpMetaExt;
-import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedMessageDrivenMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData;
-import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData.UnifiedWebResourceCollection;
-import org.jboss.ws.metadata.umdm.ClientEndpointMetaData;
-import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.FaultMetaData;
-import org.jboss.ws.metadata.umdm.OperationMetaData;
-import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
-import org.jboss.ws.metadata.umdm.TypesMetaData;
-import org.jboss.ws.metadata.wsdl.NCName;
-import org.jboss.ws.metadata.wsdl.WSDLBinding;
-import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
-import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
-import org.jboss.ws.metadata.wsdl.WSDLInterface;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceFault;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutfault;
-import org.jboss.ws.metadata.wsdl.WSDLProperty;
-import org.jboss.ws.metadata.wsdl.WSDLService;
-import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
-import org.jboss.ws.metadata.wsse.WSSecurityConfigurationFactory;
-import org.w3c.dom.Element;
-
-/** An abstract meta data builder.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 19-May-2005
- */
-public abstract class MetaDataBuilder
-{
- // provide logging
- private final static Logger log = Logger.getLogger(MetaDataBuilder.class);
-
- protected ClassLoader classLoader;
- protected URLClassLoader resourceLoader;
-
- public void setClassLoader(ClassLoader classLoader)
- {
- this.classLoader = classLoader;
- }
-
- public void setResourceLoader(URLClassLoader resourceLoader)
- {
- this.resourceLoader = resourceLoader;
- }
-
- protected WSSecurityConfiguration getWsSecurityConfiguration(UnifiedDeploymentInfo udi) throws IOException
- {
- WSSecurityConfiguration config = null;
-
- String resource = WSSecurityConfigurationFactory.SERVER_RESOURCE_NAME;
- if (udi.metaData instanceof UnifiedWebMetaData)
- {
- resource = "WEB-INF/" + resource;
- }
- else
- {
- resource = "META-INF/" + resource;
- }
-
- URL location = resourceLoader.getResource(resource);
- if (location != null)
- {
- config = WSSecurityConfigurationFactory.newInstance().parse(location);
-
- // Get and set deployment path to the keystore file
- if (config.getKeyStoreFile() != null)
- {
- location = resourceLoader.getResource(config.getKeyStoreFile());
- if (location != null)
- config.setKeyStoreURL(location);
- }
-
- if (config.getTrustStoreFile() != null)
- {
- location = resourceLoader.getResource(config.getTrustStoreFile());
- if (location != null)
- config.setTrustStoreURL(location);
- }
- }
-
- return config;
- }
-
- /** Inititialize the endpoint binding
- */
- protected void initEndpointBinding(WSDLEndpoint wsdlEndpoint, ClientEndpointMetaData epMetaData)
- {
- WSDLDefinitions wsdlDefinitions = wsdlEndpoint.getWsdlService().getWsdlDefinitions();
- WSDLInterface wsdlInterface = wsdlEndpoint.getInterface();
- WSDLBinding wsdlBinding = wsdlDefinitions.getBindingByInterfaceName(wsdlInterface.getQName());
- String bindingType = wsdlBinding.getType();
- if (Constants.NS_SOAP11.equals(bindingType))
- epMetaData.setBindingId(CommonSOAPBinding.SOAP11HTTP_BINDING);
- else if (Constants.NS_SOAP12.equals(bindingType))
- epMetaData.setBindingId(CommonSOAPBinding.SOAP12HTTP_BINDING);
- }
-
- /** Initialize the endpoint encoding style from the binding operations
- */
- protected void initEndpointEncodingStyle(EndpointMetaData epMetaData)
- {
- WSDLDefinitions wsdlDefinitions = epMetaData.getServiceMetaData().getWsdlDefinitions();
- for (WSDLService wsdlService : wsdlDefinitions.getServices())
- {
- for (WSDLEndpoint wsdlEndpoint : wsdlService.getEndpoints())
- {
- if (epMetaData.getQName().equals(wsdlEndpoint.getQName()))
- {
- QName bindQName = wsdlEndpoint.getBinding();
- NCName ncName = new NCName(bindQName.getLocalPart());
- WSDLBinding wsdlBinding = wsdlDefinitions.getBinding(ncName);
- if (wsdlBinding == null)
- throw new WSException("Cannot obtain binding: " + ncName);
-
- for (WSDLBindingOperation wsdlBindingOperation : wsdlBinding.getOperations())
- {
- String encStyle = wsdlBindingOperation.getEncodingStyle();
- epMetaData.setEncodingStyle(Use.valueOf(encStyle));
- }
- }
- }
- }
- }
-
- protected void processEndpointMetaDataExtensions(EndpointMetaData epMetaData, WSDLDefinitions wsdlDefinitions)
- {
- for (WSDLInterface wsdlInterface : wsdlDefinitions.getInterfaces())
- {
- WSDLProperty eventSourceProp = wsdlInterface.getProperty(Constants.WSDL_PROPERTY_EVENTSOURCE);
- if (eventSourceProp != null && epMetaData instanceof ServerEndpointMetaData)
- {
- ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
- String eventSourceNS = wsdlInterface.getQName().getNamespaceURI() + "/" + wsdlInterface.getQName().getLocalPart();
- Object notificationSchema = null; // todo: resolve schema from operation message
-
- EventingEpMetaExt ext = new EventingEpMetaExt(EventingConstants.NS_EVENTING);
- ext.setEventSourceNS(eventSourceNS);
- ext.setNotificationSchema(notificationSchema);
-
- sepMetaData.addExtension(ext);
- sepMetaData.setManagedEndpointBean(EventingEndpoint.class.getName());
- }
- }
- }
-
- protected ObjectName getServiceEndpointID(UnifiedDeploymentInfo udi, ServerEndpointMetaData sepMetaData)
- {
- String endpoint = sepMetaData.getLinkName();
- String context = sepMetaData.getContextRoot();
- if (context.startsWith("/"))
- context = context.substring(1);
-
- StringBuilder idstr = new StringBuilder(ServerEndpointMetaData.SEPID_DOMAIN + ":");
- idstr.append(ServerEndpointMetaData.SEPID_PROPERTY_CONTEXT + "=" + context);
- idstr.append("," + ServerEndpointMetaData.SEPID_PROPERTY_ENDPOINT + "=" + endpoint);
-
- // Add JMS destination JNDI name for MDB endpoints
- if (udi.metaData instanceof UnifiedApplicationMetaData)
- {
- String ejbName = sepMetaData.getLinkName();
- if (ejbName == null)
- throw new WSException("Cannot obtain ejb-link from port component");
-
- UnifiedApplicationMetaData applMetaData = (UnifiedApplicationMetaData)udi.metaData;
- UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)applMetaData.getBeanByEjbName(ejbName);
- if (beanMetaData == null)
- throw new WSException("Cannot obtain ejb meta data for: " + ejbName);
-
- if (beanMetaData instanceof UnifiedMessageDrivenMetaData)
- {
- UnifiedMessageDrivenMetaData mdMetaData = (UnifiedMessageDrivenMetaData)beanMetaData;
- String jndiName = mdMetaData.getDestinationJndiName();
- idstr.append(",jms=" + jndiName);
- }
- }
-
- return ObjectNameFactory.create(idstr.toString());
- }
-
- protected void buildFaultMetaData(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation)
- {
- TypesMetaData typesMetaData = opMetaData.getEndpointMetaData().getServiceMetaData().getTypesMetaData();
-
- WSDLInterface wsdlInterface = wsdlOperation.getWsdlInterface();
- for (WSDLInterfaceOperationOutfault outFault : wsdlOperation.getOutfaults())
- {
- QName ref = outFault.getRef();
-
- WSDLInterfaceFault wsdlFault = wsdlInterface.getFault(new NCName(ref.getLocalPart()));
- QName xmlName = wsdlFault.getXmlName();
- QName xmlType = wsdlFault.getXmlType();
- String javaTypeName = null;
-
- if (xmlType == null)
- {
- log.warn("Cannot obtain fault type for element: " + xmlName);
- xmlType = xmlName;
- }
-
- if (typesMetaData.getTypeMappingByXMLType(xmlType) != null)
- javaTypeName = typesMetaData.getTypeMappingByXMLType(xmlType).getJavaTypeName();
-
- if (javaTypeName == null)
- {
- log.warn("Cannot obtain java type mapping for: " + xmlType);
- javaTypeName = new UnqualifiedFaultException(xmlType).getClass().getName();
- }
-
- FaultMetaData faultMetaData = new FaultMetaData(opMetaData, xmlName, xmlType, javaTypeName);
- opMetaData.addFault(faultMetaData);
- }
- }
-
- /** Process operation meta data extensions. */
- protected void processOpMetaExtensions(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation)
- {
-
- String tns = wsdlOperation.getQName().getNamespaceURI();
- String portTypeName = wsdlOperation.getQName().getLocalPart();
-
- AddressingProperties ADDR = new AddressingPropertiesImpl();
- AddressingOpMetaExt addrExt = new AddressingOpMetaExt(ADDR.getNamespaceURI());
-
- // inbound action
- WSDLProperty wsaInAction = wsdlOperation.getProperty(Constants.WSDL_PROPERTY_ACTION_IN);
- if (wsaInAction != null)
- {
- addrExt.setInboundAction(wsaInAction.getValue());
- }
- else
- {
- WSDLProperty messageName = wsdlOperation.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_IN);
- addrExt.setInboundAction(tns + "/" + portTypeName + "/" + messageName);
- }
-
- // outbound action
- WSDLProperty wsaOutAction = wsdlOperation.getProperty(Constants.WSDL_PROPERTY_ACTION_OUT);
- if (wsaOutAction != null)
- {
- addrExt.setOutboundAction(wsaOutAction.getValue());
- }
- else
- {
- WSDLProperty messageName = wsdlOperation.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_OUT);
- addrExt.setOutboundAction(tns + "/" + portTypeName + "/" + messageName);
- }
-
- opMetaData.addExtension(addrExt);
- }
-
- /** Get the web service address for a given path
- */
- public String getServiceEndpointAddress(String uriScheme, String servicePath)
- {
- if (servicePath == null || servicePath.length() == 0)
- throw new WSException("Service path cannot be null");
-
- if (servicePath.endsWith("/*"))
- servicePath = servicePath.substring(0, servicePath.length() - 2);
-
- if (uriScheme == null)
- uriScheme = "http";
-
- ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
- ServiceEndpointManager epManager = factory.getServiceEndpointManager();
- String host = epManager.getWebServiceHost();
- int port = epManager.getWebServicePort();
- if ("https".equals(uriScheme))
- port = epManager.getWebServiceSecurePort();
-
- String urlStr = uriScheme + "://" + host + ":" + port + servicePath;
- try
- {
- return new URL(urlStr).toExternalForm();
- }
- catch (MalformedURLException e)
- {
- throw new WSException("Malformed URL: " + urlStr);
- }
- }
-
- protected String getTransportGuarantee(final UnifiedWebMetaData webMetaData, final String servletLink)
- {
- String transportGuarantee = "";
-
- Map<String, String> servletMappings = webMetaData.getServletMappings();
- String urlPattern = servletMappings.get(servletLink);
-
- if (urlPattern == null)
- throw new WSException("Cannot find <url-pattern> for servlet-name: " + servletLink);
-
- List<UnifiedWebSecurityMetaData> securityList = webMetaData.getSecurityMetaData();
- for (UnifiedWebSecurityMetaData currentSecurity : securityList)
- {
- if (currentSecurity.getTransportGuarantee() != null && currentSecurity.getTransportGuarantee().length() > 0)
- {
- for (UnifiedWebResourceCollection currentCollection : currentSecurity.getWebResources())
- {
- for (String currentUrlPattern : currentCollection.getUrlPatterns())
- {
- if (urlPattern.equals(currentUrlPattern))
- {
- transportGuarantee = currentSecurity.getTransportGuarantee();
- }
- }
- }
- }
- }
-
- return transportGuarantee;
- }
-
- /** Replace the address locations for a given port component.
- */
- protected void replaceAddressLocation(ServerEndpointMetaData epMetaData)
- {
- WSDLDefinitions wsdlDefinitions = epMetaData.getServiceMetaData().getWsdlDefinitions();
- QName portName = epMetaData.getQName();
-
- boolean endpointFound = false;
- for (WSDLService wsdlService : wsdlDefinitions.getServices())
- {
- for (WSDLEndpoint wsdlEndpoint : wsdlService.getEndpoints())
- {
- QName wsdlPortName = wsdlEndpoint.getQName();
- if (wsdlPortName.equals(portName))
- {
- endpointFound = true;
-
- String orgAddress = wsdlEndpoint.getAddress();
- String uriScheme = getUriScheme(orgAddress);
-
- String transportGuarantee = epMetaData.getTransportGuarantee();
- if ("CONFIDENTIAL".equals(transportGuarantee))
- uriScheme = "https";
-
- String servicePath = epMetaData.getContextRoot() + epMetaData.getURLPattern();
- String serviceEndpointURL = getServiceEndpointAddress(uriScheme, servicePath);
-
- ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
- ServiceEndpointManager epManager = factory.getServiceEndpointManager();
- boolean alwaysModify = epManager.isAlwaysModifySOAPAddress();
-
- if (alwaysModify || uriScheme == null || orgAddress.indexOf("REPLACE_WITH_ACTUAL_URL") >= 0)
- {
- log.debug("Replace service endpoint address '" + orgAddress + "' with '" + serviceEndpointURL + "'");
- wsdlEndpoint.setAddress(serviceEndpointURL);
- epMetaData.setEndpointAddress(serviceEndpointURL);
-
- // modify the wsdl-1.1 definition
- if (wsdlDefinitions.getWsdlOneOneDefinition() != null)
- replaceWSDL11SOAPAddress(wsdlDefinitions, portName, serviceEndpointURL);
- }
- else
- {
- log.debug("Don't replace service endpoint address '" + orgAddress + "'");
- try
- {
- epMetaData.setEndpointAddress(new URL(orgAddress).toExternalForm());
- }
- catch (MalformedURLException e)
- {
- throw new WSException("Malformed URL: " + orgAddress);
- }
- }
- }
- }
- }
-
- if (endpointFound == false)
- throw new WSException("Cannot find port in wsdl: " + portName);
- }
-
- private void replaceWSDL11SOAPAddress(WSDLDefinitions wsdlDefinitions, QName portQName, String serviceEndpointURL)
- {
- Definition wsdlOneOneDefinition = wsdlDefinitions.getWsdlOneOneDefinition();
- String tnsURI = wsdlOneOneDefinition.getTargetNamespace();
-
- // search for matching portElement and replace the address URI
- Port wsdlOneOnePort = modifySOAPAddress(tnsURI, portQName, serviceEndpointURL, wsdlOneOneDefinition.getServices());
-
- // recursivly process imports if none can be found
- if (wsdlOneOnePort == null && !wsdlOneOneDefinition.getImports().isEmpty())
- {
-
- Iterator imports = wsdlOneOneDefinition.getImports().values().iterator();
- while (imports.hasNext())
- {
- List l = (List)imports.next();
- Iterator importsByNS = l.iterator();
- while (importsByNS.hasNext())
- {
- Import anImport = (Import)importsByNS.next();
- wsdlOneOnePort = modifySOAPAddress(anImport.getNamespaceURI(), portQName, serviceEndpointURL, anImport.getDefinition().getServices());
- }
- }
- }
-
- // if it still doesn't exist something is wrong
- if (wsdlOneOnePort == null)
- throw new IllegalArgumentException("Cannot find port with name '" + portQName + "' in wsdl document");
- }
-
- private Port modifySOAPAddress(String tnsURI, QName portQName, String serviceEndpointURL, Map services)
- {
- QName SOAP12_ADDRESS = new QName(Constants.NS_SOAP12, "address");
-
- Port wsdlOneOnePort = null;
- Iterator itServices = services.values().iterator();
- while (itServices.hasNext())
- {
- Service wsdlOneOneService = (Service)itServices.next();
- Map wsdlOneOnePorts = wsdlOneOneService.getPorts();
- Iterator itPorts = wsdlOneOnePorts.keySet().iterator();
- while (itPorts.hasNext())
- {
- String portLocalName = (String)itPorts.next();
- if (portQName.equals(new QName(tnsURI, portLocalName)))
- {
- wsdlOneOnePort = (Port)wsdlOneOnePorts.get(portLocalName);
- List<ExtensibilityElement> extElements = wsdlOneOnePort.getExtensibilityElements();
- for (ExtensibilityElement extElement : extElements)
- {
- QName elementType = extElement.getElementType();
- if (extElement instanceof SOAPAddress)
- {
- SOAPAddress address = (SOAPAddress)extElement;
- address.setLocationURI(serviceEndpointURL);
- }
- else if (SOAP12_ADDRESS.equals(elementType))
- {
- Element domElement = ((UnknownExtensibilityElement)extElement).getElement();
- domElement.setAttribute("location", serviceEndpointURL);
- }
- }
- }
- }
- }
-
- return wsdlOneOnePort;
- }
-
- private String getUriScheme(String addrStr)
- {
- try
- {
- URI addrURI = new URI(addrStr);
- String scheme = addrURI.getScheme();
- return scheme;
- }
- catch (URISyntaxException e)
- {
- return null;
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/ServiceEndpointDeployer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/ServiceEndpointDeployer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/ServiceEndpointDeployer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,197 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-import java.util.Map;
-import java.util.concurrent.ConcurrentHashMap;
-
-import javax.management.ObjectName;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.WSException;
-import org.jboss.ws.core.server.ServiceEndpointInfo;
-import org.jboss.ws.core.server.ServiceEndpointManager;
-import org.jboss.ws.core.server.WSDLFilePublisher;
-import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
-import org.jboss.ws.metadata.umdm.ServiceMetaData;
-import org.jboss.ws.metadata.umdm.UnifiedMetaData;
-
-/**
- * The deployer for web service endpoints
- *
- * @author Thomas.Diesler at jboss.org
- * @since 12-May-2006
- */
-public class ServiceEndpointDeployer
-{
- // logging support
- private static Logger log = Logger.getLogger(ServiceEndpointDeployer.class);
-
- // default bean name
- public static final String BEAN_NAME = "ServiceEndpointDeployer";
-
- // The servlet init param in web.xml that is the service endpoint class
- public static final String INIT_PARAM_SERVICE_ENDPOINT_IMPL = "ServiceEndpointImpl";
-
- // The ServiceEndpointManger injected by the kernel
- private ServiceEndpointManager epManager;
-
- // Maps the deployment url to UMDM
- private Map<String, UnifiedMetaData> metaDataMap = new ConcurrentHashMap<String, UnifiedMetaData>();
-
- // Injected by the Microkernel
- public void setServiceEndpointManager(ServiceEndpointManager epManager)
- {
- this.epManager = epManager;
- }
-
- public void create(UnifiedDeploymentInfo udi) throws Throwable
- {
- log.debug("create: " + udi.url);
-
- UnifiedMetaData wsMetaData;
- if (udi.type == UnifiedDeploymentInfo.DeploymentType.JSR109_JSE)
- {
- JSR109ServerMetaDataBuilder builder = new JSR109ServerMetaDataBuilder();
- builder.setClassLoader(null); // the web context loader is not available yet
- builder.setResourceLoader(udi.localCl);
- wsMetaData = builder.buildMetaData((JSR109Deployment)udi);
- }
- else if (udi.type == UnifiedDeploymentInfo.DeploymentType.JSR109_EJB21)
- {
- JSR109ServerMetaDataBuilder builder = new JSR109ServerMetaDataBuilder();
- builder.setClassLoader(udi.ucl);
- builder.setResourceLoader(udi.localCl);
- wsMetaData = builder.buildMetaData((JSR109Deployment)udi);
- }
- else if (udi.type == UnifiedDeploymentInfo.DeploymentType.JSR181_JSE)
- {
- JSR181MetaDataBuilderJSE builder = new JSR181MetaDataBuilderJSE();
- builder.setClassLoader(udi.annotationsCl);
- builder.setResourceLoader(udi.localCl);
- wsMetaData = builder.buildMetaData(udi);
- }
- else if (udi.type == UnifiedDeploymentInfo.DeploymentType.JSR181_EJB21)
- {
- JSR181MetaDataBuilderEJB21 builder = new JSR181MetaDataBuilderEJB21();
- builder.setClassLoader(udi.annotationsCl);
- builder.setResourceLoader(udi.localCl);
- wsMetaData = builder.buildMetaData(udi);
- }
- else if (udi.type == UnifiedDeploymentInfo.DeploymentType.JSR181_EJB3)
- {
- JSR181MetaDataBuilderEJB3 builder = new JSR181MetaDataBuilderEJB3();
- builder.setClassLoader(udi.annotationsCl);
- builder.setResourceLoader(udi.localCl);
- wsMetaData = builder.buildMetaData(udi);
- }
- else
- {
- throw new WSException("Invalid type: " + udi.type);
- }
-
- metaDataMap.put(udi.url.toExternalForm(), wsMetaData);
-
- for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
- {
- for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
- {
- ServiceEndpointInfo seInfo = new ServiceEndpointInfo(udi, (ServerEndpointMetaData)epMetaData);
- epManager.createServiceEndpoint(seInfo);
- }
- }
- }
-
- public void start(UnifiedDeploymentInfo udi) throws Throwable
- {
- log.debug("start: " + udi.url);
-
- UnifiedMetaData wsMetaData = getUnifiedMetaData(udi);
- if (wsMetaData != null)
- {
- // eagerly initialize the UMDM
- wsMetaData.setClassLoader(udi.ucl);
- wsMetaData.eagerInitialize();
-
- // Publish the WSDL file
- WSDLFilePublisher wsdlfp = new WSDLFilePublisher(udi);
- wsdlfp.publishWsdlFiles(wsMetaData);
- for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
- {
- for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
- {
- ObjectName sepID = ((ServerEndpointMetaData)epMetaData).getServiceEndpointID();
- epManager.startServiceEndpoint(sepID);
- }
- }
- }
- }
-
- public void stop(UnifiedDeploymentInfo udi) throws Throwable
- {
- log.debug("stop: " + udi.url);
-
- UnifiedMetaData wsMetaData = getUnifiedMetaData(udi);
- if (wsMetaData != null)
- {
- // Stop the service endpoints
- for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
- {
- for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
- {
- ObjectName sepID = ((ServerEndpointMetaData)epMetaData).getServiceEndpointID();
- epManager.stopServiceEndpoint(sepID);
- }
- }
-
- // Unpublish the WSDL file
- WSDLFilePublisher wsdlfp = new WSDLFilePublisher(udi);
- wsdlfp.unpublishWsdlFiles();
- }
- }
-
- public void destroy(UnifiedDeploymentInfo udi) throws Throwable
- {
- log.debug("destroy: " + udi.url);
-
- UnifiedMetaData wsMetaData = getUnifiedMetaData(udi);
- if (wsMetaData != null)
- {
- // Destroy the service endpoints
- for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
- {
- for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
- {
- ObjectName sepID = ((ServerEndpointMetaData)epMetaData).getServiceEndpointID();
- epManager.destroyServiceEndpoint(sepID);
- }
- }
- }
- }
-
- public UnifiedMetaData getUnifiedMetaData(UnifiedDeploymentInfo udi)
- {
- UnifiedMetaData wsMetaData = metaDataMap.get(udi.url.toExternalForm());
- return wsMetaData;
- }
-}
\ No newline at end of file
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/ServiceEndpointPublisher.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/ServiceEndpointPublisher.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/ServiceEndpointPublisher.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,241 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.core.utils.DOMWriter;
-import org.jboss.ws.WSException;
-import org.w3c.dom.Element;
-
-/**
- * The publisher for web service endpoints
- *
- * @author Thomas.Diesler at jboss.org
- * @since 12-May-2006
- */
-public abstract class ServiceEndpointPublisher
-{
- // default bean name
- public static final String BEAN_NAME = "ServiceEndpointPublisher";
-
- // The servlet init param in web.xml that is the service endpoint class
- public static final String INIT_PARAM_SERVICE_ENDPOINT_IMPL = "ServiceEndpointImpl";
-
- // logging support
- private static Logger log = Logger.getLogger(ServiceEndpointPublisher.class);
-
- // The service endpoint deployer
- protected ServiceEndpointDeployer serviceEndpointDeployer;
- // The configured service endpoint servlet
- protected String servletName;
-
- public ServiceEndpointDeployer getServiceEndpointDeployer()
- {
- return serviceEndpointDeployer;
- }
-
- public void setServiceEndpointDeployer(ServiceEndpointDeployer serviceEndpointDeployer)
- {
- this.serviceEndpointDeployer = serviceEndpointDeployer;
- }
-
- public String getServiceEndpointServlet()
- {
- return servletName;
- }
-
- public void setServiceEndpointServlet(String servletName)
- {
- this.servletName = servletName;
- }
-
- public abstract String publishServiceEndpoint(UnifiedDeploymentInfo udi) throws Exception;
-
- public abstract String destroyServiceEndpoint(UnifiedDeploymentInfo udi) throws Exception;
-
- public abstract Set<String> getWebServiceServletLinks(UnifiedDeploymentInfo udi) throws Exception;
-
- public Map<String, String> rewriteWebXML(UnifiedDeploymentInfo udi)
- {
- File warFile = new File(udi.localUrl.getFile());
- if (warFile.isDirectory() == false)
- throw new WSException("Expected a war directory: " + udi.localUrl);
-
- File webXML = new File(udi.localUrl.getFile() + "/WEB-INF/web.xml");
- if (webXML.isFile() == false)
- throw new WSException("Cannot find web.xml: " + webXML);
-
- try
- {
- Element root = DOMUtils.parse(new FileInputStream(webXML));
-
- String warName = warFile.getName();
- Set<String> wsServletLinks = getWebServiceServletLinks(udi);
- Map<String, String> sepTargetMap = modifyServletConfig(root, warName, wsServletLinks);
-
- // After redeployment there might be a stale copy of the original web.xml.org, we delete it
- File orgWebXML = new File(webXML.getCanonicalPath() + ".org");
- orgWebXML.delete();
-
- // Rename the web.xml
- if (webXML.renameTo(orgWebXML) == false)
- throw new WSException("Cannot rename web.xml: " + orgWebXML);
-
- FileOutputStream fos = new FileOutputStream(webXML);
- new DOMWriter(fos).setPrettyprint(true).print(root);
- fos.close();
-
- return sepTargetMap;
- }
- catch (RuntimeException rte)
- {
- throw rte;
- }
- catch (Exception e)
- {
- throw new WSException(e);
- }
- }
-
- private Map<String, String> modifyServletConfig(Element root, String warName, Set<String> webServiceServlets)
- {
- Map<String, String> sepTargetMap = new HashMap<String, String>();
-
- Iterator itServlets = DOMUtils.getChildElements(root, "servlet");
- while (itServlets.hasNext())
- {
- Element servletElement = (Element)itServlets.next();
- String linkName = DOMUtils.getTextContent(DOMUtils.getFirstChildElement(servletElement, "servlet-name"));
-
- // find the servlet-class
- Element classElement = DOMUtils.getFirstChildElement(servletElement, "servlet-class");
- if (classElement == null)
- throw new WSException("Cannot find <servlet-class> for servlet-name: " + linkName);
-
- // Get the servlet class
- String servletClassName = DOMUtils.getTextContent(classElement);
-
- String targetBeanName = null;
-
- // Nothing to do if we have an <init-param>
- if (isAlreadyModified(servletElement) == false)
- {
- // Check if the servlet is a known web service
- if (webServiceServlets.contains(linkName) == false)
- {
- log.info("Ignore servlet, not a known web service: " + linkName);
- continue;
- }
-
- // build a list of detached elements that come after <servlet-class>
- boolean startDetach = false;
- List<Element> detachedElements = new ArrayList<Element>();
- Iterator itDetached = DOMUtils.getChildElements(servletElement);
- while (itDetached.hasNext())
- {
- Element el = (Element)itDetached.next();
- if (startDetach == true)
- {
- detachedElements.add(el);
- servletElement.removeChild(el);
- }
- if (el.equals(classElement))
- {
- servletElement.removeChild(el);
- startDetach = true;
- }
- }
-
- // replace the class name
- classElement = (Element)DOMUtils.createElement("servlet-class");
- classElement.appendChild(DOMUtils.createTextNode(servletName));
- classElement = (Element)servletElement.getOwnerDocument().importNode(classElement, true);
- servletElement.appendChild(classElement);
-
- // add additional init params
- if (servletClassName.equals(servletName) == false)
- {
- Element paramElement = DOMUtils.createElement("init-param");
- paramElement.appendChild(DOMUtils.createElement("param-name")).appendChild(DOMUtils.createTextNode(INIT_PARAM_SERVICE_ENDPOINT_IMPL));
- paramElement.appendChild(DOMUtils.createElement("param-value")).appendChild(DOMUtils.createTextNode(servletClassName));
- paramElement = (Element)servletElement.getOwnerDocument().importNode(paramElement, true);
- servletElement.appendChild(paramElement);
- targetBeanName = servletClassName;
- }
-
- // reattach the elements
- itDetached = detachedElements.iterator();
- while (itDetached.hasNext())
- {
- Element el = (Element)itDetached.next();
- servletElement.appendChild(el);
- }
- }
- else
- {
- Iterator itParams = DOMUtils.getChildElements(servletElement, "init-param");
- while (itParams.hasNext())
- {
- Element elParam = (Element)itParams.next();
- Element elParamName = DOMUtils.getFirstChildElement(elParam, "param-name");
- Element elParamValue = DOMUtils.getFirstChildElement(elParam, "param-value");
- if (INIT_PARAM_SERVICE_ENDPOINT_IMPL.equals(DOMUtils.getTextContent(elParamName)))
- {
- targetBeanName = DOMUtils.getTextContent(elParamValue);
- }
- }
- }
-
- if (targetBeanName == null)
- throw new IllegalStateException("Cannot obtain service endpoint bean for: " + linkName);
-
- sepTargetMap.put(linkName, targetBeanName.trim());
- }
-
- return sepTargetMap;
- }
-
- // Return true if the web.xml is already modified
- private boolean isAlreadyModified(Element servletElement)
- {
- Iterator itParams = DOMUtils.getChildElements(servletElement, "init-param");
- while (itParams.hasNext())
- {
- Element elParam = (Element)itParams.next();
- Element elParamName = DOMUtils.getFirstChildElement(elParam, "param-name");
- if (INIT_PARAM_SERVICE_ENDPOINT_IMPL.equals(DOMUtils.getTextContent(elParamName)))
- return true;
- }
- return false;
- }
-}
\ No newline at end of file
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/UnifiedDeploymentInfo.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/UnifiedDeploymentInfo.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/deployment/UnifiedDeploymentInfo.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,94 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.deployment;
-
-// $Id$
-
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.management.ObjectName;
-
-/**
- * The container independent deployment info.
- *
- * @author Thomas.Diesler at jboss.org
- * @since 05-May-2006
- */
-public class UnifiedDeploymentInfo
-{
- public enum DeploymentType
- {
- JSR109_Client, JSR109_JSE, JSR109_EJB21, JSR181_JSE, JSR181_EJB21, JSR181_EJB3, JAXWS_PROVIDER_JSE, JAXWS_PROVIDER_EJB21, JAXWS_PROVIDER_EJB3
- };
-
- public UnifiedDeploymentInfo(DeploymentType type)
- {
- this.type = type;
- }
-
- /** The type of this deployment */
- public DeploymentType type;
-
- /** Sub deployments have a parent */
- public UnifiedDeploymentInfo parent;
-
- /** The suffix of the deployment url */
- public String shortName;
-
- /** The URL identifing this SDI **/
- public URL url;
-
- /** An optional URL to a local copy of the deployment */
- public URL localUrl;
-
- /** We can hold "typed" metadata */
- public Object metaData;
-
- /** A CL for preloading annotations */
- public ClassLoader annotationsCl;
-
- /** Local Cl is a CL that is used for metadata loading */
- public URLClassLoader localCl;
-
- /** Unified CL is a global scope class loader **/
- public ClassLoader ucl;
-
- /** The variable deployedObject can contain the MBean that
- * is created through the deployment
- */
- public ObjectName deployedObject;
-
- /** An arbitrary map of state associated with the deployment */
- public Map<String, Object> context = new HashMap<String, Object>();
-
- /** The sortName concatenated with the canonical names of all parents. */
- public String getCanonicalName()
- {
- String name = shortName;
- if (parent != null)
- name = parent.getCanonicalName() + "/" + name;
- return name;
- }
-}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/AddressingPropertiesImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/addressing/AddressingPropertiesImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/AddressingPropertiesImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,10 +28,15 @@
import javax.xml.namespace.QName;
import javax.xml.soap.SOAPElement;
-import javax.xml.ws.addressing.*;
+import javax.xml.ws.addressing.AddressingBuilder;
+import javax.xml.ws.addressing.AddressingConstants;
+import javax.xml.ws.addressing.AddressingProperties;
+import javax.xml.ws.addressing.AddressingType;
+import javax.xml.ws.addressing.AttributedURI;
+import javax.xml.ws.addressing.EndpointReference;
+import javax.xml.ws.addressing.ReferenceParameters;
+import javax.xml.ws.addressing.Relationship;
-import org.jboss.ws.core.soap.NameImpl;
-
// $Id$
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/jaxrpc/WSAddressingServerHandler.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/addressing/jaxrpc/WSAddressingServerHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/jaxrpc/WSAddressingServerHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -139,7 +139,7 @@
OperationMetaData opMetaData = ((SOAPMessageContextJAXRPC)msgContext).getOperationMetaData();
- if (!isFault && !opMetaData.isOneWayOperation())
+ if (!isFault && !opMetaData.isOneWay())
{
AddressingOpMetaExt addrExt = (AddressingOpMetaExt)opMetaData.getExtension(ADDR_CONSTANTS.getNamespaceURI());
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/soap/SOAPAddressingPropertiesImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/addressing/soap/SOAPAddressingPropertiesImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/addressing/soap/SOAPAddressingPropertiesImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -50,7 +50,6 @@
import org.jboss.ws.core.soap.SOAPElementImpl;
import org.jboss.ws.core.soap.SOAPFactoryImpl;
import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.core.utils.ThreadLocalAssociation;
import org.jboss.ws.extensions.addressing.AddressingConstantsImpl;
import org.jboss.ws.extensions.addressing.AddressingPropertiesImpl;
import org.jboss.ws.extensions.addressing.EndpointReferenceImpl;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventSourceEndpoint.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/EventSourceEndpoint.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventSourceEndpoint.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,13 +23,13 @@
// $Id$
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
import org.jboss.ws.extensions.eventing.element.SubscribeRequest;
import org.jboss.ws.extensions.eventing.element.SubscribeResponse;
import org.jboss.ws.extensions.eventing.element.SubscriptionEndRequest;
-import java.rmi.Remote;
-import java.rmi.RemoteException;
-
/**
* Event source endpoint interface.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventSourceEndpointImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/EventSourceEndpointImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventSourceEndpointImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,12 @@
// $Id$
+import java.rmi.RemoteException;
+
+import javax.xml.rpc.soap.SOAPFaultException;
+import javax.xml.ws.addressing.AddressingProperties;
+import javax.xml.ws.addressing.AttributedURI;
+
import org.jboss.logging.Logger;
import org.jboss.ws.extensions.eventing.element.EndpointReference;
import org.jboss.ws.extensions.eventing.element.SubscribeRequest;
@@ -33,11 +39,6 @@
import org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerMBean;
import org.jboss.ws.extensions.eventing.mgmt.SubscriptionTicket;
-import javax.xml.rpc.soap.SOAPFaultException;
-import javax.xml.ws.addressing.AddressingProperties;
-import javax.xml.ws.addressing.AttributedURI;
-import java.rmi.RemoteException;
-
/**
* Event source endpoint implementation.<br>
* Delegates to {@link org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventingConstants.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/EventingConstants.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/EventingConstants.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,15 +23,13 @@
// $Id$
-import org.jboss.ws.WSException;
+import java.net.URI;
+import java.net.URISyntaxException;
-import javax.management.MalformedObjectNameException;
-import javax.management.ObjectName;
import javax.xml.ws.addressing.AddressingBuilder;
import javax.xml.ws.addressing.AddressingConstants;
-import java.net.URI;
-import java.net.URISyntaxException;
+import org.jboss.ws.WSException;
/**
* @author Heiko Braun, <heiko at openj.net>
@@ -79,6 +77,8 @@
// default config
public final static String DISPATCHER_JNDI_NAME = "EventDispatcher";
+ public final static long MAX_LEASE_TIME = 1000 * 60 * 10L;
+ public final static long DEFAULT_LEASE = 1000 * 60 * 5L;
private static URI DELIVERY_PUSH_URI = null;
private static URI DIALECT_XPATH_URI = null;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/SubscriptionManagerEndpoint.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/SubscriptionManagerEndpoint.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/SubscriptionManagerEndpoint.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,11 +23,15 @@
// $Id$
-import org.jboss.ws.extensions.eventing.element.*;
-
import java.rmi.Remote;
import java.rmi.RemoteException;
+import org.jboss.ws.extensions.eventing.element.RenewRequest;
+import org.jboss.ws.extensions.eventing.element.RenewResponse;
+import org.jboss.ws.extensions.eventing.element.StatusRequest;
+import org.jboss.ws.extensions.eventing.element.StatusResponse;
+import org.jboss.ws.extensions.eventing.element.UnsubscribeRequest;
+
/**
* Subscription manager endpoint interface.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/deployment/EventingEndpointDI.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/deployment/EventingEndpointDI.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/deployment/EventingEndpointDI.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,10 +1,10 @@
package org.jboss.ws.extensions.eventing.deployment;
+import java.io.IOException;
+
import org.jboss.ws.core.utils.DOMUtils;
import org.w3c.dom.Element;
-import java.io.IOException;
-
/**
* Eventsource endpoint deployment info.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/DeliveryType.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/element/DeliveryType.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/DeliveryType.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,9 +23,10 @@
// $Id$
-import javax.xml.soap.SOAPElement;
import java.net.URI;
+import javax.xml.soap.SOAPElement;
+
/**
* A delivery element states where and how to send notifications.
* It can contain an EPR where the notifications should be delivered to:
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/EndpointReference.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/element/EndpointReference.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/EndpointReference.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,16 +23,16 @@
// $Id$
-import org.w3c.dom.Element;
+import java.net.URI;
+
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFactory;
+
import org.jboss.ws.core.soap.SOAPFactoryImpl;
import org.jboss.ws.extensions.addressing.EndpointReferenceImpl;
import org.jboss.ws.extensions.eventing.EventingConstants;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPFactory;
-import javax.xml.soap.SOAPException;
-import java.net.URI;
-
/**
* Simplified endpoint representation.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/FilterType.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/element/FilterType.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/FilterType.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,9 +23,10 @@
// $Id$
-import javax.xml.soap.SOAPElement;
import java.net.URI;
+import javax.xml.soap.SOAPElement;
+
/**
* A Boolean expression in some dialect,
* either as a string or as an XML fragment. If the expression evaluates to false
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/StatusRequest.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/element/StatusRequest.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/StatusRequest.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,7 +22,6 @@
package org.jboss.ws.extensions.eventing.element;
import javax.xml.soap.SOAPElement;
-// $Id$
/**
* @author Heiko Braun, <heiko at openj.net>
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/SubscribeRequest.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/element/SubscribeRequest.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/SubscribeRequest.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,9 +23,10 @@
// $Id$
-import javax.xml.soap.SOAPElement;
import java.util.Date;
+import javax.xml.soap.SOAPElement;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 24-Nov-2005
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/SubscriptionEndRequest.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/element/SubscriptionEndRequest.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/SubscriptionEndRequest.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,10 +23,10 @@
// $Id$
+import java.net.URI;
+
import org.jboss.ws.extensions.addressing.EndpointReferenceImpl;
-import java.net.URI;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 25-Nov-2005
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/UnsubscribeRequest.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/element/UnsubscribeRequest.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/element/UnsubscribeRequest.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,9 +23,10 @@
// $Id$
-import javax.xml.soap.SOAPElement;
import java.net.URI;
+import javax.xml.soap.SOAPElement;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 19-Dec-2005
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatchJob.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatchJob.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatchJob.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,12 +23,12 @@
// $Id$
-import org.w3c.dom.Element;
-
import java.net.URI;
import java.util.List;
import java.util.concurrent.ConcurrentMap;
+import org.w3c.dom.Element;
+
/**
* Event dispatch job implementation.
*/
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatcherDelegate.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatcherDelegate.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatcherDelegate.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -3,13 +3,18 @@
import java.net.URI;
import java.util.Properties;
-import javax.naming.*;
+import javax.management.MBeanServerConnection;
+import javax.management.MBeanServerInvocationHandler;
import javax.management.ObjectName;
-import javax.management.MBeanServerInvocationHandler;
-import javax.management.MBeanServerConnection;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import javax.naming.Reference;
+import javax.naming.Referenceable;
+import javax.naming.StringRefAddr;
+import org.jboss.ws.WSException;
import org.w3c.dom.Element;
-import org.jboss.ws.WSException;
/**
* Event dispatching delegate that will be bound to JNDI.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatcherFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatcherFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/DispatcherFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,10 +1,11 @@
package org.jboss.ws.extensions.eventing.mgmt;
+import java.util.Hashtable;
+
import javax.naming.Context;
import javax.naming.Name;
import javax.naming.Reference;
import javax.naming.spi.ObjectFactory;
-import java.util.Hashtable;
/**
* Creates event dispatcher delegates.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/EventDispatcher.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/EventDispatcher.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/EventDispatcher.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,10 +23,10 @@
// $Id$
+import java.net.URI;
+
import org.w3c.dom.Element;
-import java.net.URI;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 07-Dec-2005
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/EventingBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/EventingBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/EventingBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,12 +1,12 @@
package org.jboss.ws.extensions.eventing.mgmt;
+import java.net.URI;
+import java.net.URISyntaxException;
+
import org.jboss.ws.WSException;
import org.jboss.ws.extensions.eventing.EventingConstants;
import org.jboss.ws.extensions.eventing.deployment.EventingEndpointDI;
-import java.net.URI;
-import java.net.URISyntaxException;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 24-Jan-2006
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/Subscription.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/Subscription.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/Subscription.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,15 @@
// $Id$
+import java.io.ByteArrayInputStream;
+import java.net.URI;
+import java.net.URL;
+import java.util.Date;
+
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.transform.TransformerException;
+
import org.apache.xpath.XPathAPI;
import org.apache.xpath.objects.XObject;
import org.jboss.logging.Logger;
@@ -32,16 +41,6 @@
import org.jboss.ws.extensions.eventing.element.EndpointReference;
import org.w3c.dom.Element;
-import javax.xml.soap.MessageFactory;
-import javax.xml.soap.SOAPConnection;
-import javax.xml.soap.SOAPConnectionFactory;
-import javax.xml.soap.SOAPMessage;
-import javax.xml.transform.TransformerException;
-import java.io.ByteArrayInputStream;
-import java.net.URI;
-import java.net.URL;
-import java.util.Date;
-
/**
* Represents a subscription.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManager.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManager.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManager.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,27 @@
// $Id$
+import java.io.PrintWriter;
+import java.io.StringWriter;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+import java.util.concurrent.BlockingQueue;
+import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.ConcurrentMap;
+import java.util.concurrent.CopyOnWriteArrayList;
+import java.util.concurrent.LinkedBlockingQueue;
+import java.util.concurrent.ThreadPoolExecutor;
+import java.util.concurrent.TimeUnit;
+
+import javax.management.MBeanServer;
+import javax.management.MBeanServerFactory;
+import javax.management.ObjectName;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
import org.jboss.logging.Logger;
import org.jboss.util.naming.Util;
import org.jboss.ws.WSException;
@@ -34,20 +55,6 @@
import org.jboss.ws.extensions.eventing.element.ReferenceParameters;
import org.w3c.dom.Element;
-import javax.management.MBeanServer;
-import javax.management.MBeanServerFactory;
-import javax.management.ObjectName;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-import java.util.concurrent.*;
-
/**
* The SubscriptionManager maintains event sources and subscriptions.<br>
* It is interfaced through the EventSourceEndpoint and SubscriptionManagerEndpoint SOAP endpoints.
@@ -75,12 +82,11 @@
*/
public class SubscriptionManager implements SubscriptionManagerMBean, EventDispatcher
{
+
private static final Logger log = Logger.getLogger(SubscriptionManager.class);
- private long MAX_LEASE_TIME = 1000 * 60 * 10L;
- public long DEFAULT_LEASE = 1000 * 60 * 5L;
public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.ws:service=SubscriptionManager,module=eventing");
-
+
/**
* Maps event source namespaces to event source instances.
*/
@@ -133,31 +139,31 @@
public void start() throws Exception
{
log.debug("Start subscription manager");
-
+
// setup thread pool
threadPool = new ThreadPoolExecutor(5, 15, // core/max num threads
- 5000, TimeUnit.MILLISECONDS, // 5 seconds keepalive
- eventQueue);
+ 5000, TimeUnit.MILLISECONDS, // 5 seconds keepalive
+ eventQueue);
// start the subscription watchdog
watchDog = new WatchDog(subscriptionMapping);
watchDog.startup();
}
- public void stop()
+ public void stop()
{
log.debug("Stop subscription manager");
try
{
// remove event dispatcher
Util.unbind(new InitialContext(), EventingConstants.DISPATCHER_JNDI_NAME);
-
+
// stop thread pool
threadPool.shutdown();
-
+
// stop the watchdog
watchDog.shutdown();
-
+
for (URI eventSourceNS : eventSourceMapping.keySet())
{
removeEventSource(eventSourceNS);
@@ -165,9 +171,8 @@
}
catch (NamingException e)
{
- //log.warn("Cannot unbind event dispatcher: " + e.toString());
- // Ignore
- }
+ // ignore
+ }
}
private static URI generateSubscriptionID()
@@ -279,7 +284,7 @@
}
else
{
- expires = new Date((System.currentTimeMillis() + DEFAULT_LEASE));
+ expires = new Date((System.currentTimeMillis() + EventingConstants.DEFAULT_LEASE));
}
// filter constraints
@@ -320,14 +325,8 @@
private void assertLeaseConstraints(Date expireDate) throws SubscriptionError
{
long expires = expireDate.getTime() - System.currentTimeMillis();
- if (expires <= 0 ) {
+ if (expires < 0 || EventingConstants.MAX_LEASE_TIME < expires)
throw new SubscriptionError(EventingConstants.CODE_INVALID_EXPIRATION_TIME, "The expiration time requested is invalid: " + expires + "ms");
- }
- if (MAX_LEASE_TIME < expires) {
- expireDate.setTime((System.currentTimeMillis() + MAX_LEASE_TIME));
-
- }
-
}
/**
@@ -346,7 +345,7 @@
if (lease != null)
assertLeaseConstraints(lease);
- else lease = new Date((System.currentTimeMillis() + DEFAULT_LEASE));
+ else lease = new Date((System.currentTimeMillis() + EventingConstants.DEFAULT_LEASE));
subscription.setExpires(lease);
return lease;
@@ -491,11 +490,6 @@
threadPool.setCorePoolSize(corePoolSize);
}
- public int getMaxPoolSize()
- {
- return threadPool.getMaximumPoolSize();
- }
-
public void setMaxPoolSize(int maxPoolSize)
{
threadPool.setMaximumPoolSize(maxPoolSize);
@@ -506,27 +500,6 @@
threadPool.setKeepAliveTime(millies, TimeUnit.MILLISECONDS);
}
- public long getEventKeepAlive() {
- return threadPool.getKeepAliveTime(TimeUnit.MILLISECONDS);
- }
-
- public void setDefaultLeaseTimeMins(int mins) {
- this.DEFAULT_LEASE = mins * 60 * 1000L;
- }
-
- public int getDefaultLeaseTimeMins() {
- return (int) this.DEFAULT_LEASE/60/1000;
- }
-
- public void setMaxLeaseTimeMins(int mins) {
- this.MAX_LEASE_TIME = mins * 60 * 1000L;
- }
-
- public int getMaxLeaseTimeMins() {
- return (int) this.MAX_LEASE_TIME/60/1000;
- }
-
-
/**
* The watchdog maintains subscription expirations.
*/
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManagerMBean.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManagerMBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionManagerMBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -32,44 +32,26 @@
/**
* @author Heiko Braun, <heiko at openj.net>
- * @author Stefano Maestri
* @since 12-Dec-2005
*/
public interface SubscriptionManagerMBean
{
public static final String BEAN_NAME = "SubscriptionManager";
- // ----------------------------------------------------------------------------
- // Read/Write attributes
-
/**
* Returns the core number of threads.
*
* @return long
*/
- public int getCorePoolSize();
- public void setCorePoolSize(int corePoolSize);
+ int getCorePoolSize();
/**
* Returns the maximum allowed number of threads.
*
* @return int
*/
- public int getMaxPoolSize();
- public void setMaxPoolSize(int maxPoolSize);
+ int getMaximumPoolSize();
- public long getEventKeepAlive();
- public void setEventKeepAlive(long millies);
-
- public void setMaxLeaseTimeMins(int mins);
- public int getMaxLeaseTimeMins();
-
- public void setDefaultLeaseTimeMins(int mins);
- public int getDefaultLeaseTimeMins();
-
- // ----------------------------------------------------------------------------
- // Read only attributes
-
/**
* Returns the largest number of threads that have ever simultaneously been in the pool.
*
@@ -91,7 +73,12 @@
*/
long getCompletedTaskCount();
- // ----------------------------------------------------------------------------
+ public void setCorePoolSize(int corePoolSize);
+
+ public void setMaxPoolSize(int maxPoolSize);
+
+ public void setEventKeepAlive(long millies);
+
// subscription endpointReference business
SubscriptionTicket subscribe(URI eventSourceNS, EndpointReference notifyTo, EndpointReference endTo, Date expires, Filter filter) throws SubscriptionError;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionTicket.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionTicket.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/eventing/mgmt/SubscriptionTicket.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,11 +23,11 @@
// $Id$
-import org.jboss.ws.extensions.eventing.element.EndpointReference;
-
import java.net.URI;
import java.util.Date;
+import org.jboss.ws.extensions.eventing.element.EndpointReference;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 02-Dec-2005
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/Policy.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/policy/Policy.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/Policy.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,9 +28,9 @@
import java.util.Collection;
import java.util.Iterator;
+import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
-import org.jboss.ws.WSException;
import org.jboss.xb.binding.NamespaceRegistry;
import org.w3c.dom.Element;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/PolicyAlternative.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/policy/PolicyAlternative.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/PolicyAlternative.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,9 +28,9 @@
import java.util.Collection;
import java.util.Iterator;
+import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
-import org.jboss.ws.WSException;
import org.w3c.dom.Element;
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/PolicyFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/policy/PolicyFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/policy/PolicyFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,8 +28,8 @@
import javax.xml.namespace.QName;
+import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.WSException;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/CreateAttachmentVisitor.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/xop/CreateAttachmentVisitor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/CreateAttachmentVisitor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,14 +21,14 @@
*/
package org.jboss.ws.extensions.xop;
+import java.io.IOException;
+import java.io.Writer;
+import java.util.Iterator;
+
import org.jboss.ws.core.soap.SAAJVisitor;
import org.jboss.ws.core.soap.SOAPContentElement;
import org.jboss.ws.core.soap.SOAPElementImpl;
-import java.util.Iterator;
-import java.io.Writer;
-import java.io.IOException;
-
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
@@ -62,7 +62,7 @@
public void visitSOAPContentElement(SOAPContentElement scElement) {
// Calling writeElement will enforce marshalling of this object
- // Any attachment will be created while doiong this.
+ // Any attachment will be created while doing this.
try
{
scElement.writeElement( new NoopWriter() );
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/DisableMTOMHandler.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/xop/DisableMTOMHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/DisableMTOMHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,12 +21,12 @@
*/
package org.jboss.ws.extensions.xop;
-import org.jboss.ws.core.jaxrpc.StubExt;
-
import javax.xml.namespace.QName;
import javax.xml.rpc.handler.GenericHandler;
import javax.xml.rpc.handler.MessageContext;
+import org.jboss.ws.core.jaxrpc.StubExt;
+
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/RestoreXOPElementVisitor.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/xop/RestoreXOPElementVisitor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/RestoreXOPElementVisitor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,12 +21,12 @@
*/
package org.jboss.ws.extensions.xop;
+import java.util.Iterator;
+
import org.jboss.ws.core.soap.SAAJVisitor;
import org.jboss.ws.core.soap.SOAPContentElement;
import org.jboss.ws.core.soap.SOAPElementImpl;
-import java.util.Iterator;
-
/**
* Visit soap object model and restore XOP contents.
* This visitor is invoked when:
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/XOPContext.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/xop/XOPContext.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/XOPContext.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.ws.extensions.xop;
import org.jboss.logging.Logger;
@@ -35,7 +35,6 @@
import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.core.utils.MimeUtils;
import org.jboss.ws.extensions.xop.jaxrpc.XOPMarshallerImpl;
-import org.jboss.ws.extensions.xop.jaxrpc.XOPUnmarshallerImpl;
import org.jboss.xb.binding.SimpleTypeBindings;
import org.jboss.xb.binding.sunday.xop.XOPMarshaller;
import org.jboss.xb.binding.sunday.xop.XOPObject;
@@ -54,27 +53,30 @@
* look at the SOAPContentElement implementation.
*
* @see org.jboss.ws.core.soap.SOAPContentElement#handleMTOMTransitions()
- * @see XOPUnmarshallerImpl
+ * @see org.jboss.ws.extensions.xop.jaxrpc.XOPUnmarshallerImpl
* @see XOPMarshallerImpl
*
* @author Heiko Braun <heiko.braun at jboss.com>
* @since May 10, 2006
* @version $Id$
*/
-public class XOPContext {
-
+public class XOPContext
+{
+ // provide logging
private static final Logger log = Logger.getLogger(XOPContext.class);
private static final String NS_XOP_JBOSSWS = "http://org.jboss.ws/xop";
-
+
/**
* Check if the current soap message flagged as a XOP package.
* This may differ from the wire format when jaxrpc handlers are in place.
*/
- public static boolean isXOPMessage() {
+ public static boolean isXOPMessage()
+ {
boolean isXOP = false;
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
- if(msgContext!=null) {
+ if (msgContext != null)
+ {
SOAPMessageImpl soapMessage = (SOAPMessageImpl)msgContext.getSOAPMessage();
isXOP = (soapMessage != null && soapMessage.isXOPMessage());
}
@@ -88,14 +90,15 @@
{
boolean isMultippartXOP = false;
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
- if(msgContext!=null) {
+ if (msgContext != null)
+ {
SOAPMessageImpl soapMessage = (SOAPMessageImpl)msgContext.getSOAPMessage();
String[] contentType = soapMessage.getMimeHeaders().getHeader("content-type");
- if(contentType!=null)
+ if (contentType != null)
{
- for(String value : contentType)
+ for (String value : contentType)
{
- if(value.indexOf(MimeConstants.TYPE_APPLICATION_XOP_XML) != -1)
+ if (value.indexOf(MimeConstants.TYPE_APPLICATION_XOP_XML) != -1)
{
isMultippartXOP = true;
break;
@@ -108,13 +111,15 @@
}
/**
- * Check if MTOM is disabled through a message context property.
+ * Check if MTOM is enabled.<br>
+ *
+ * With JAX-WS is depends on a endpoint property and defaults to FALSE,
+ * opposed to JAX-RPC where it defaults to TRUE and is set through a message context property.
* (<code>org.jboss.ws.mtom.enabled</code>)<br>
- * Defaults to TRUE if the property is not set.
*/
public static boolean isMTOMEnabled()
{
- CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
+ CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
Boolean mtomEnabled = (Boolean)msgContext.getProperty(StubExt.PROPERTY_MTOM_ENABLED);
return Boolean.TRUE.equals(mtomEnabled) || mtomEnabled == null;
}
@@ -132,11 +137,11 @@
*/
public static void inlineXOPData(SOAPElement xopElement)
{
- String ns = xopElement.getNamespaceURI()!=null ? xopElement.getNamespaceURI(): "";
+ String ns = xopElement.getNamespaceURI() != null ? xopElement.getNamespaceURI() : "";
String localName = xopElement.getLocalName();
// rpc/lit
- if(ns.equals(Constants.NS_XOP) && localName.equals("Include"))
+ if (ns.equals(Constants.NS_XOP) && localName.equals("Include"))
{
replaceXOPInclude(xopElement.getParentElement(), xopElement);
}
@@ -144,12 +149,12 @@
{
// doc/lit
Iterator it = DOMUtils.getChildElements(xopElement);
- while(it.hasNext())
+ while (it.hasNext())
{
SOAPElement childElement = (SOAPElement)it.next();
- String childNS = childElement.getNamespaceURI()!=null ? childElement.getNamespaceURI(): "";
+ String childNS = childElement.getNamespaceURI() != null ? childElement.getNamespaceURI() : "";
String childName = childElement.getLocalName();
- if(childNS.equals(Constants.NS_XOP) && childName.equals("Include"))
+ if (childNS.equals(Constants.NS_XOP) && childName.equals("Include"))
{
replaceXOPInclude(xopElement, childElement);
}
@@ -185,16 +190,16 @@
*/
public static void eagerlyCreateAttachments()
{
- if(!isXOPMessage())
+ if (!isXOPMessage())
return;
-
+
try
{
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
SOAPMessage soapMessage = msgContext != null ? msgContext.getSOAPMessage() : null;
- SOAPBody body = soapMessage!=null ? soapMessage.getSOAPBody() : null;
+ SOAPBody body = soapMessage != null ? soapMessage.getSOAPBody() : null;
- if(body!=null)
+ if (body != null)
{
CreateAttachmentVisitor visitor = new CreateAttachmentVisitor();
visitor.visitXOPElements((SOAPElementImpl)body);
@@ -213,7 +218,7 @@
{
try
{
- if(!isXOPMessage() && isMTOMEnabled())
+ if (!isXOPMessage() && isMTOMEnabled())
{
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
SOAPBody body = msgContext.getSOAPMessage().getSOAPBody();
@@ -236,7 +241,7 @@
public static void restoreXOPDataDOM(SOAPElement xopElement)
{
String contentType = xopElement.getAttributeNS(NS_XOP_JBOSSWS, "content-type");
- if(contentType != null && contentType.length()>0)
+ if (contentType != null && contentType.length() > 0)
{
replaceBase64Representation(xopElement, contentType);
xopElement.removeAttribute(new NameImpl(new QName(NS_XOP_JBOSSWS, "content-type")));
@@ -244,7 +249,7 @@
else
{
Iterator it = DOMUtils.getChildElements(xopElement);
- while(it.hasNext())
+ while (it.hasNext())
{
SOAPElement childElement = (SOAPElement)it.next();
restoreXOPDataDOM(childElement);
@@ -252,10 +257,11 @@
}
}
- private static void replaceBase64Representation(SOAPElement xopElement, String contentType) {
+ private static void replaceBase64Representation(SOAPElement xopElement, String contentType)
+ {
SOAPElement parentElement = xopElement.getParentElement();
- log.debug("Replace base64 representation on element [xmlName=" + parentElement.getLocalName()+"]");
+ log.debug("Replace base64 representation on element [xmlName=" + parentElement.getLocalName() + "]");
String base64 = xopElement.getValue();
byte[] data = SimpleTypeBindings.unmarshalBase64(base64);
@@ -277,7 +283,7 @@
{
SOAPElement xopInclude = xopElement.addChildElement(Constants.NAME_XOP_INCLUDE);
xopInclude.setAttribute("href", cid);
- log.debug("Restored xop:Include element on [xmlName="+xopElement.getLocalName()+"]");
+ log.debug("Restored xop:Include element on [xmlName=" + xopElement.getLocalName() + "]");
XOPContext.setXOPMessage(true);
}
@@ -291,7 +297,7 @@
private static void replaceXOPInclude(SOAPElement parent, SOAPElement xopIncludeElement)
{
- log.debug("Replace xop:Include on element [xmlName=" + parent.getLocalName() +"]");
+ log.debug("Replace xop:Include on element [xmlName=" + parent.getLocalName() + "]");
String cid = xopIncludeElement.getAttribute("href");
byte[] data;
@@ -326,11 +332,12 @@
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
SOAPMessageImpl soapMessage = (SOAPMessageImpl)msgContext.getSOAPMessage();
- if(cid.startsWith("cid:")) cid = cid.substring(4);
- cid = '<'+cid+'>';
+ if (cid.startsWith("cid:"))
+ cid = cid.substring(4);
+ cid = '<' + cid + '>';
AttachmentPart removedPart = soapMessage.removeAttachmentByContentId(cid);
- if(null == removedPart)
+ if (null == removedPart)
throw new WSException("Unable to remove attachment part " + cid);
log.debug("Removed attachment part " + cid);
@@ -349,8 +356,9 @@
SOAPMessageImpl soapMessage = (SOAPMessageImpl)msgContext.getSOAPMessage();
// RFC2392 requires the 'cid:' part to be stripped from the cid
- if(cid.startsWith("cid:")) cid = cid.substring(4);
- cid = '<'+cid+'>';
+ if (cid.startsWith("cid:"))
+ cid = cid.substring(4);
+ cid = '<' + cid + '>';
AttachmentPart part = soapMessage.getAttachmentByContentId(cid);
if (part == null)
@@ -368,11 +376,11 @@
DataHandler dataHandler;
Object o = xopObject.getContent();
- if(o instanceof DataHandler)
+ if (o instanceof DataHandler)
{
dataHandler = (DataHandler)o;
}
- else if(xopObject.getContentType() != null)
+ else if (xopObject.getContentType() != null)
{
dataHandler = new DataHandler(o, xopObject.getContentType());
}
@@ -386,7 +394,7 @@
public static String getContentTypeForClazz(Class clazz)
{
- if(JavaUtils.isAssignableFrom(java.awt.Image.class, clazz))
+ if (JavaUtils.isAssignableFrom(java.awt.Image.class, clazz))
{
return "image/jpeg";
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/JBossXBContentAdapter.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/JBossXBContentAdapter.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/JBossXBContentAdapter.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,15 @@
*/
package org.jboss.ws.extensions.xop.jaxrpc;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.activation.DataHandler;
+import javax.activation.DataSource;
+import javax.xml.namespace.QName;
+
import org.jboss.logging.Logger;
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
@@ -36,14 +45,6 @@
import org.jboss.xb.binding.sunday.unmarshalling.TypeBinding;
import org.jboss.xb.binding.sunday.unmarshalling.UnmarshallingContext;
-import javax.activation.DataHandler;
-import javax.activation.DataSource;
-import javax.xml.namespace.QName;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-
/**
* Adopts raw binary contents to java types.
* This class works in conjunction with the <code>XOPUnmarshallerImpl</code>
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPMarshallerImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPMarshallerImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPMarshallerImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,10 @@
*/
package org.jboss.ws.extensions.xop.jaxrpc;
+import javax.activation.DataHandler;
+import javax.xml.namespace.QName;
+import javax.xml.soap.AttachmentPart;
+
import org.jboss.logging.Logger;
import org.jboss.util.NotImplementedException;
import org.jboss.ws.core.CommonMessageContext;
@@ -32,15 +36,11 @@
import org.jboss.xb.binding.sunday.xop.XOPMarshaller;
import org.jboss.xb.binding.sunday.xop.XOPObject;
-import javax.activation.DataHandler;
-import javax.xml.namespace.QName;
-import javax.xml.soap.AttachmentPart;
-
/**
* The XOPUnmarshallerImpl allows callbacks from the binding layer towards the
* soap processing components in order to optimize binary processing.
*
- * @see org.jboss.ws.extensions.xop.jaxrpc.XOPUnmarshallerImpl
+ * @see XOPUnmarshallerImpl
*
* @author Heiko Braun <heiko.braun at jboss.com>
* @since May 9, 2006
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPScanner.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPScanner.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPScanner.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,11 +21,18 @@
*/
package org.jboss.ws.extensions.xop.jaxrpc;
-import org.apache.xerces.xs.*;
-
import java.util.ArrayList;
import java.util.List;
+import org.apache.xerces.xs.XSComplexTypeDefinition;
+import org.apache.xerces.xs.XSElementDeclaration;
+import org.apache.xerces.xs.XSModelGroup;
+import org.apache.xerces.xs.XSObjectList;
+import org.apache.xerces.xs.XSParticle;
+import org.apache.xerces.xs.XSSimpleTypeDefinition;
+import org.apache.xerces.xs.XSTerm;
+import org.apache.xerces.xs.XSTypeDefinition;
+
/**
* Scans complex type definitions for nested XOP type declarations.
* A XOP type declaration is identified as a complex type
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPUnmarshallerImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPUnmarshallerImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/extensions/xop/jaxrpc/XOPUnmarshallerImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,14 @@
*/
package org.jboss.ws.extensions.xop.jaxrpc;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+
+import javax.activation.DataHandler;
+import javax.xml.namespace.QName;
+import javax.xml.soap.AttachmentPart;
+import javax.xml.soap.SOAPException;
+
import org.jboss.logging.Logger;
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
@@ -29,13 +37,6 @@
import org.jboss.xb.binding.sunday.xop.XOPObject;
import org.jboss.xb.binding.sunday.xop.XOPUnmarshaller;
-import javax.activation.DataHandler;
-import javax.xml.namespace.QName;
-import javax.xml.soap.AttachmentPart;
-import javax.xml.soap.SOAPException;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-
/**
* The XOPUnmarshallerImpl allows callbacks from the binding layer towards the
* soap processing components in order to optimize binary processing.
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ApplicationMetaDataAdaptor.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ApplicationMetaDataAdaptor.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ApplicationMetaDataAdaptor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ApplicationMetaDataAdaptor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: ApplicationMetaDataAdaptor.java 354 2006-05-16 13:46:47Z thomas.diesler at jboss.com $
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.jboss.metadata.ApplicationMetaData;
+import org.jboss.metadata.BeanMetaData;
+import org.jboss.metadata.EjbPortComponentMetaData;
+import org.jboss.metadata.MessageDrivenMetaData;
+import org.jboss.metadata.SessionMetaData;
+import org.jboss.metadata.WebMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedEjbPortComponentMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedMessageDrivenMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedSessionMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData.PublishLocationAdapter;
+
+/**
+ * Build container independent application meta data
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 05-May-2006
+ */
+public class ApplicationMetaDataAdaptor
+{
+ public static UnifiedApplicationMetaData buildUnifiedApplicationMetaData(ApplicationMetaData apmd)
+ {
+ UnifiedApplicationMetaData umd = new UnifiedApplicationMetaData();
+ buildUnifiedBeanMetaData(umd, apmd);
+ umd.setConfigName(apmd.getConfigName());
+ umd.setConfigFile(apmd.getConfigFile());
+ umd.setWebServiceContextRoot(apmd.getWebServiceContextRoot());
+ umd.setSecurityDomain(apmd.getSecurityDomain());
+ umd.setPublishLocationAdapter(getPublishLocationAdpater(apmd));
+ return umd;
+ }
+
+ private static PublishLocationAdapter getPublishLocationAdpater(final ApplicationMetaData apmd)
+ {
+ return new PublishLocationAdapter ()
+ {
+ public String getWsdlPublishLocationByName(String name)
+ {
+ return apmd.getWsdlPublishLocationByName(name);
+ }
+ };
+ }
+
+ private static void buildUnifiedBeanMetaData(UnifiedApplicationMetaData umd, ApplicationMetaData metaData)
+ {
+ List<UnifiedBeanMetaData> beans = new ArrayList<UnifiedBeanMetaData>();
+ Iterator it = metaData.getEnterpriseBeans();
+ while (it.hasNext())
+ {
+ BeanMetaData bmd = (BeanMetaData)it.next();
+ UnifiedBeanMetaData ubmd = buildUnifiedBeanMetaData(bmd);
+ if (ubmd != null)
+ {
+ beans.add(ubmd);
+ }
+ }
+ umd.setEnterpriseBeans(beans);
+ }
+
+ private static UnifiedBeanMetaData buildUnifiedBeanMetaData(BeanMetaData bmd)
+ {
+ UnifiedBeanMetaData ubmd = null;
+ if (bmd instanceof SessionMetaData)
+ {
+ ubmd = new UnifiedSessionMetaData();
+ }
+ else if (bmd instanceof MessageDrivenMetaData)
+ {
+ ubmd = new UnifiedMessageDrivenMetaData();
+ ((UnifiedMessageDrivenMetaData)ubmd).setDestinationJndiName(((MessageDrivenMetaData)bmd).getDestinationJndiName());
+ }
+
+ if (ubmd != null)
+ {
+ ubmd.setEjbName(bmd.getEjbName());
+ ubmd.setEjbClass(bmd.getEjbClass());
+ ubmd.setServiceEndpoint(bmd.getServiceEndpoint());
+ ubmd.setHome(bmd.getHome());
+ ubmd.setLocalHome(bmd.getLocalHome());
+ ubmd.setJndiName(bmd.getJndiName());
+ ubmd.setLocalJndiName(bmd.getLocalJndiName());
+
+ EjbPortComponentMetaData pcmd = bmd.getPortComponent();
+ if (pcmd != null)
+ {
+ UnifiedEjbPortComponentMetaData upcmd = new UnifiedEjbPortComponentMetaData();
+ upcmd.setPortComponentName(pcmd.getPortComponentName());
+ upcmd.setPortComponentURI(pcmd.getPortComponentURI());
+ upcmd.setAuthMethod(pcmd.getAuthMethod());
+ upcmd.setTransportGuarantee(pcmd.getTransportGuarantee());
+ ubmd.setPortComponent(upcmd);
+ }
+ }
+ return ubmd;
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptor.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptor.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,190 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+//$Id: WebServiceDeployer.java 377 2006-05-18 13:57:29Z thomas.diesler at jboss.com $
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.deployment.MainDeployerMBean;
+import org.jboss.deployment.SubDeployerInterceptorSupport;
+import org.jboss.kernel.spi.registry.KernelRegistry;
+import org.jboss.kernel.spi.registry.KernelRegistryEntry;
+import org.jboss.metadata.WebMetaData;
+import org.jboss.mx.server.Invocation;
+import org.jboss.mx.util.MBeanProxy;
+import org.jboss.ws.core.server.AbstractServiceEndpointPublisher;
+import org.jboss.ws.core.server.KernelLocator;
+import org.jboss.ws.core.server.ServiceEndpointDeployer;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+
+/**
+ * A deployer service that manages WS4EE compliant Web Services
+ *
+ * This service is called from the {@see org.jboss.ws.metadata.WebServiceInterceptor}
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @author Dimitris.Andreadis at jboss.org
+ * @since 15-Jan-2005
+ */
+public abstract class DeployerInterceptor extends SubDeployerInterceptorSupport
+{
+ // The main deployer
+ private MainDeployerMBean mainDeployer;
+
+ /** Create the deployer service
+ */
+ protected void createService() throws Exception
+ {
+ mainDeployer = (MainDeployerMBean)MBeanProxy.get(MainDeployerMBean.class, MainDeployerMBean.OBJECT_NAME, server);
+ super.attach();
+ }
+
+ /** Destroy the deployer service
+ */
+ protected void destroyService()
+ {
+ super.detach();
+ }
+
+ /** Overwrite to create the webservice
+ */
+ protected Object create(Invocation invocation, DeploymentInfo di) throws Throwable
+ {
+ log.debug("create: " + di.url);
+
+ Object retn = invokeNext(invocation);
+
+ if (isWebserviceDeployment(di))
+ {
+ UnifiedDeploymentInfo udi = createUnifiedDeploymentInfo(di);
+ createServiceEndpoint(udi, di);
+ }
+
+ return retn;
+ }
+
+ protected void createServiceEndpoint(UnifiedDeploymentInfo udi, DeploymentInfo di) throws Throwable
+ {
+ getServiceEndpointDeployer().create(udi);
+ di.context.put(UnifiedDeploymentInfo.class.getName(), udi);
+ udi.context.put(DeploymentInfo.class.getName(), di);
+ }
+
+ /** Overwrite to start the webservice
+ */
+ protected Object start(Invocation invocation, DeploymentInfo di) throws Throwable
+ {
+ log.debug("start: " + di.url);
+
+ Object retn = invokeNext(invocation);
+
+ UnifiedDeploymentInfo udi = getServiceEndpointDeployment(di);
+ if (udi != null)
+ {
+ // late initialization of the web context loader
+ if (di.metaData instanceof WebMetaData)
+ {
+ ClassLoader classLoader = ((WebMetaData)di.metaData).getContextLoader();
+ udi.classLoader = classLoader;
+ }
+
+ getServiceEndpointDeployer().start(udi);
+ }
+
+ return retn;
+ }
+
+ /** Overwrite to stop the webservice
+ */
+ protected Object stop(Invocation invocation, DeploymentInfo di) throws Throwable
+ {
+ log.debug("stop: " + di.url);
+
+ UnifiedDeploymentInfo udi = getServiceEndpointDeployment(di);
+ if (udi != null)
+ {
+ getServiceEndpointDeployer().stop(udi);
+ }
+
+ return invokeNext(invocation);
+ }
+
+ /** Overwrite to destroy the webservice
+ */
+ protected Object destroy(Invocation invocation, DeploymentInfo di) throws Throwable
+ {
+ log.debug("destroy: " + di.url);
+
+ UnifiedDeploymentInfo udi = getServiceEndpointDeployment(di);
+ if (udi != null)
+ {
+ getServiceEndpointDeployer().destroy(udi);
+ }
+
+ return invokeNext(invocation);
+ }
+
+ protected ServiceEndpointDeployer getServiceEndpointDeployer()
+ {
+ KernelRegistry registry = KernelLocator.getKernel().getRegistry();
+ KernelRegistryEntry entry = registry.getEntry(ServiceEndpointDeployer.BEAN_NAME);
+ return (ServiceEndpointDeployer)entry.getTarget();
+ }
+
+ protected ServiceEndpointPublisher getServiceEndpointPublisher()
+ {
+ KernelRegistry registry = KernelLocator.getKernel().getRegistry();
+ KernelRegistryEntry entry = registry.getEntry(AbstractServiceEndpointPublisher.BEAN_NAME);
+ return (ServiceEndpointPublisher)entry.getTarget();
+ }
+
+ /** Return true if the deployment contains a web service endpoint
+ */
+ protected abstract boolean isWebserviceDeployment(DeploymentInfo di);
+
+ protected abstract UnifiedDeploymentInfo createUnifiedDeploymentInfo(DeploymentInfo di) throws Throwable;
+
+ protected UnifiedDeploymentInfo getServiceEndpointDeployment(DeploymentInfo di)
+ {
+ return (UnifiedDeploymentInfo)di.context.get(UnifiedDeploymentInfo.class.getName());
+ }
+
+ /** Handle all webservice deployment exceptions.
+ * You can either simply logs the problem and keep the EJB/WAR module
+ * alive or undeploy properly.
+ */
+ protected void handleStartupException(DeploymentInfo di, Throwable th)
+ {
+ log.error("Cannot startup webservice for: " + di.shortName, th);
+ mainDeployer.undeploy(di);
+ }
+
+ /** Handle all webservice deployment exceptions.
+ *
+ * You can either simply logs the problem and keep the EJB/WAR module
+ * alive or undeploy properly.
+ */
+ protected void handleShutdownException(String moduleName, Throwable th)
+ {
+ log.error("Cannot shutdown webservice for: " + moduleName, th);
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,63 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+//$Id: WebServiceDeployerEJB.java 377 2006-05-18 13:57:29Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.mx.server.Invocation;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+
+/**
+ * A deployer service that manages WS4EE compliant Web-Services for EJB Endpoints
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 15-Jan-2005
+ */
+public abstract class DeployerInterceptorEJB extends DeployerInterceptor
+{
+ protected void createServiceEndpoint(UnifiedDeploymentInfo udi, DeploymentInfo di) throws Throwable
+ {
+ super.createServiceEndpoint(udi, di);
+ UnifiedMetaData wsMetaData = getServiceEndpointDeployer().getUnifiedMetaData(udi);
+ udi.expandedWebApp = generateWebDeployment(di, wsMetaData);
+ getServiceEndpointPublisher().publishServiceEndpoint(udi.expandedWebApp, udi.classLoader);
+ udi.context.put(DeploymentInfo.class.getName(), di);
+ }
+
+ protected abstract URL generateWebDeployment(DeploymentInfo di, UnifiedMetaData wsMetaData) throws IOException;
+
+ protected Object destroy(Invocation invocation, DeploymentInfo di) throws Throwable
+ {
+ UnifiedDeploymentInfo udi = getServiceEndpointDeployment(di);
+ if (udi != null)
+ {
+ getServiceEndpointPublisher().destroyServiceEndpoint(udi.expandedWebApp);
+ }
+
+ return super.destroy(invocation, di);
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB21.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB21.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB21.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB21.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+//$Id: WebServiceDeployerEJB21.java 377 2006-05-18 13:57:29Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.Iterator;
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.metadata.ApplicationMetaData;
+import org.jboss.metadata.BeanMetaData;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.builder.jaxrpc.JAXRPCDeployment;
+import org.jboss.ws.metadata.builder.jsr181.JSR181Deployment;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+
+/**
+ * A deployer service that manages WS4EE compliant Web-Services for EJB-2.1 Endpoints
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 15-Jan-2005
+ */
+public class DeployerInterceptorEJB21 extends DeployerInterceptorEJB implements DeployerInterceptorEJB21MBean
+{
+ protected UnifiedDeploymentInfo createUnifiedDeploymentInfo(DeploymentInfo di) throws Exception
+ {
+ UnifiedDeploymentInfo udi;
+ URL webservicesURL = getWebservicesDescriptor(di);
+ if (webservicesURL != null)
+ {
+ udi = new JAXRPCDeployment(UnifiedDeploymentInfo.DeploymentType.JAXRPC_EJB21, webservicesURL);
+ DeploymentInfoAdaptor.buildDeploymentInfo(udi, di);
+ }
+ else
+ {
+ udi = new JSR181Deployment(UnifiedDeploymentInfo.DeploymentType.JSR181_EJB21);
+ DeploymentInfoAdaptor.buildDeploymentInfo(udi, di);
+ }
+ return udi;
+ }
+
+ /** Return true if the deployment is a web service endpoint
+ */
+ protected boolean isWebserviceDeployment(DeploymentInfo di)
+ {
+ ApplicationMetaData applMetaData = (ApplicationMetaData)di.metaData;
+ boolean isWebserviceDeployment = applMetaData.isWebServiceDeployment();
+
+ // Check if we have a webservices.xml descriptor
+ if (isWebserviceDeployment == false)
+ {
+ isWebserviceDeployment = getWebservicesDescriptor(di) != null;
+ }
+
+ // Check if the ejb-jar contains annotated endpoints
+ if (isWebserviceDeployment == false)
+ {
+ try
+ {
+ Iterator itBeans = applMetaData.getEnterpriseBeans();
+ while (itBeans.hasNext() && isWebserviceDeployment == false)
+ {
+ BeanMetaData beanMetaData = (BeanMetaData)itBeans.next();
+ String ejbClassName = beanMetaData.getEjbClass();
+ Class ejbClass = di.annotationsCl.loadClass(ejbClassName);
+ isWebserviceDeployment = ejbClass.isAnnotationPresent(javax.jws.WebService.class);
+ }
+ }
+ catch (RuntimeException e)
+ {
+ throw e;
+ }
+ catch (Exception e)
+ {
+ throw new WSException(e);
+ }
+ }
+
+ applMetaData.setWebServiceDeployment(isWebserviceDeployment);
+ return isWebserviceDeployment;
+ }
+
+ /**
+ * Get the resource name of the webservices.xml descriptor.
+ */
+ protected URL getWebservicesDescriptor(DeploymentInfo di)
+ {
+ return di.localCl.findResource("META-INF/webservices.xml");
+ }
+
+ protected URL generateWebDeployment(DeploymentInfo di, UnifiedMetaData wsMetaData) throws IOException
+ {
+ ServiceEndpointGeneratorEJB21 generator = new ServiceEndpointGeneratorEJB21();
+ return generator.generatWebDeployment(di, wsMetaData);
+ }
+
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB21MBean.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB21MBean.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB21MBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB21MBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,37 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.integration.jboss4;
+
+import javax.management.ObjectName;
+
+import org.jboss.deployment.SubDeployerInterceptorMBean;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+
+/**
+ * MBean interface.
+ * @since 19-Jan-2005
+ */
+public interface DeployerInterceptorEJB21MBean extends SubDeployerInterceptorMBean
+{
+ //default object name
+ public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.ws:service=WebServiceDeployerEJB21");
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB3.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB3.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB3.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB3.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: WebServiceDeployerEJB3.java 377 2006-05-18 13:57:29Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.ArrayList;
+
+import javax.jws.WebService;
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.ejb3.Ejb3ModuleMBean;
+import org.jboss.ejb3.stateless.StatelessContainer;
+import org.jboss.mx.util.MBeanProxy;
+import org.jboss.mx.util.MBeanProxyCreationException;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.builder.jsr181.JSR181Deployment;
+import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+
+/**
+ * A deployer service that manages WS4EE compliant Web-Services for EJB3 Endpoints
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 10-May-2005
+ */
+public class DeployerInterceptorEJB3 extends DeployerInterceptorEJB implements DeployerInterceptorEJB3MBean
+{
+ protected UnifiedDeploymentInfo createUnifiedDeploymentInfo(DeploymentInfo di) throws Exception
+ {
+ UnifiedDeploymentInfo udi = new JSR181Deployment(UnifiedDeploymentInfo.DeploymentType.JSR181_EJB3);
+ DeploymentInfoAdaptor.buildDeploymentInfo(udi, di);
+
+ Ejb3ModuleMBean ejb3Module = getEJB3Module(di.deployedObject);
+
+ // The container objects below provide access to all of the ejb metadata
+ ArrayList<UnifiedBeanMetaData> beans = new ArrayList<UnifiedBeanMetaData>();
+ for (Object container : ejb3Module.getContainers().values())
+ {
+ if (container instanceof StatelessContainer)
+ {
+ StatelessContainer slc = (StatelessContainer)container;
+ UnifiedBeanMetaData uslc = new UnifiedBeanMetaData();
+ uslc.setEjbName(slc.getEjbName());
+ uslc.setEjbClass(slc.getBeanClassName());
+ beans.add(uslc);
+ }
+ }
+
+ UnifiedApplicationMetaData appMetaData = new UnifiedApplicationMetaData();
+ appMetaData.setEnterpriseBeans(beans);
+ udi.metaData = appMetaData;
+
+ return udi;
+ }
+
+ /** Return true if the deployment is a web service endpoint
+ */
+ protected boolean isWebserviceDeployment(DeploymentInfo di)
+ {
+ boolean isWebserviceDeployment = false;
+
+ // Check if the ejb3 contains annotated endpoints
+ Ejb3ModuleMBean ejb3Module = getEJB3Module(di.deployedObject);
+ for (Object manager : ejb3Module.getContainers().values())
+ {
+ if (manager instanceof StatelessContainer)
+ {
+ StatelessContainer container = (StatelessContainer)manager;
+ if (container.resolveAnnotation(WebService.class) != null)
+ {
+ isWebserviceDeployment = true;
+ break;
+ }
+ }
+ }
+
+ return isWebserviceDeployment;
+ }
+
+ private Ejb3ModuleMBean getEJB3Module(ObjectName objectName)
+ {
+ Ejb3ModuleMBean ejb3Module;
+ try
+ {
+ MBeanServer server = MBeanServerLocator.locateJBoss();
+ ejb3Module = (Ejb3ModuleMBean)MBeanProxy.get(Ejb3ModuleMBean.class, objectName, server);
+ if (ejb3Module == null)
+ throw new WSException("Cannot obtain EJB3 module: " + objectName);
+
+ return ejb3Module;
+ }
+ catch (MBeanProxyCreationException ex)
+ {
+ throw new WSException("Cannot obtain proxy to EJB3 module");
+ }
+ }
+
+ protected URL generateWebDeployment(DeploymentInfo di, UnifiedMetaData wsMetaData) throws IOException
+ {
+ return new ServiceEndpointGeneratorEJB3().generatWebDeployment(di, wsMetaData);
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB3MBean.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB3MBean.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorEJB3MBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorEJB3MBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,37 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.integration.jboss4;
+
+import javax.management.ObjectName;
+
+import org.jboss.deployment.SubDeployerInterceptorMBean;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+
+/**
+ * MBean interface.
+ * @since 19-Jan-2005
+ */
+public interface DeployerInterceptorEJB3MBean extends SubDeployerInterceptorMBean
+{
+ //default object name
+ public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.ws:service=WebServiceDeployerEJB3");
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorJSE.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorJSE.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorJSE.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorJSE.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,136 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: WebServiceDeployerJSE.java 377 2006-05-18 13:57:29Z thomas.diesler at jboss.com $
+
+import java.net.URL;
+import java.util.Iterator;
+import java.util.Map;
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.metadata.WebMetaData;
+import org.jboss.mx.server.Invocation;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo.DeploymentType;
+import org.jboss.ws.metadata.builder.jaxrpc.JAXRPCDeployment;
+import org.jboss.ws.metadata.builder.jsr181.JSR181Deployment;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+
+/**
+ * A deployer service that manages WS4EE compliant Web Services for WAR
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 15-Jan-2005
+ */
+public class DeployerInterceptorJSE extends DeployerInterceptor implements DeployerInterceptorJSEMBean
+{
+ protected UnifiedDeploymentInfo createUnifiedDeploymentInfo(DeploymentInfo di) throws Exception
+ {
+ UnifiedDeploymentInfo udi;
+
+ DeploymentType type = (DeploymentType)di.context.get("UnifiedDeploymentInfo.Type");
+ if (type == UnifiedDeploymentInfo.DeploymentType.JAXRPC_JSE)
+ {
+ URL webservicesURL = getWebservicesDescriptor(di);
+ udi = new JAXRPCDeployment(UnifiedDeploymentInfo.DeploymentType.JAXRPC_JSE, webservicesURL);
+ DeploymentInfoAdaptor.buildDeploymentInfo(udi, di);
+
+ }
+ else if (type == UnifiedDeploymentInfo.DeploymentType.JSR181_JSE)
+ {
+ udi = new JSR181Deployment(UnifiedDeploymentInfo.DeploymentType.JSR181_JSE);
+ DeploymentInfoAdaptor.buildDeploymentInfo(udi, di);
+ }
+ else
+ {
+ throw new WSException("Unexpected type: " + type);
+ }
+
+ return udi;
+ }
+
+ @Override
+ protected void createServiceEndpoint(UnifiedDeploymentInfo udi, DeploymentInfo di) throws Throwable
+ {
+ super.createServiceEndpoint(udi, di);
+ ServiceEndpointPublisher endpointPublisher = getServiceEndpointPublisher();
+ endpointPublisher.rewriteWarWebXml(udi.url, udi.classLoader);
+ }
+
+ /** Return true if the deployment is a web service endpoint
+ */
+ protected boolean isWebserviceDeployment(DeploymentInfo di)
+ {
+ WebMetaData webMetaData = (WebMetaData)di.metaData;
+ boolean isWebserviceDeployment = webMetaData.isWebServiceDeployment();
+
+ // Check if we have a webservices.xml descriptor
+ if (isWebserviceDeployment == false)
+ {
+ if (getWebservicesDescriptor(di) != null)
+ {
+ di.context.put("UnifiedDeploymentInfo.Type", UnifiedDeploymentInfo.DeploymentType.JAXRPC_JSE);
+ isWebserviceDeployment = true;
+ }
+ }
+
+ // Check if the web.xml contains annotated endpoint impl
+ if (isWebserviceDeployment == false)
+ {
+ Map servletClassMap = webMetaData.getServletClassMap();
+ Iterator<String> it = servletClassMap.values().iterator();
+ while (it.hasNext() && isWebserviceDeployment == false)
+ {
+ String servletClassName = it.next();
+ try
+ {
+ Class servletClass = di.annotationsCl.loadClass(servletClassName);
+ if (servletClass.isAnnotationPresent(javax.jws.WebService.class))
+ {
+ di.context.put("UnifiedDeploymentInfo.Type", UnifiedDeploymentInfo.DeploymentType.JSR181_JSE);
+ isWebserviceDeployment = true;
+ }
+ }
+ catch (ClassNotFoundException ex)
+ {
+ log.warn("Cannot load servlet class: " + servletClassName);
+ }
+ }
+ }
+
+ webMetaData.setWebServiceDeployment(isWebserviceDeployment);
+ return isWebserviceDeployment;
+ }
+
+ /**
+ * Get the resource name of the webservices.xml descriptor.
+ */
+ protected URL getWebservicesDescriptor(DeploymentInfo di)
+ {
+ return di.localCl.findResource("WEB-INF/webservices.xml");
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorJSEMBean.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorJSEMBean.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorJSEMBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorJSEMBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,37 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.integration.jboss4;
+
+import javax.management.ObjectName;
+
+import org.jboss.deployment.SubDeployerInterceptorMBean;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+
+/**
+ * MBean interface.
+ * @since 19-Jan-2005
+ */
+public interface DeployerInterceptorJSEMBean extends SubDeployerInterceptorMBean
+{
+ //default object name
+ public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.ws:service=WebServiceDeployerJSE");
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorNestedJSE.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorNestedJSE.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorNestedJSE.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorNestedJSE.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: WebServiceDeployerNestedJSE.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+
+import org.jboss.deployment.DeploymentException;
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.deployment.MainDeployerMBean;
+import org.jboss.deployment.SubDeployerSupport;
+import org.jboss.system.server.ServerConfig;
+import org.jboss.system.server.ServerConfigLocator;
+import org.jboss.ws.core.utils.IOUtils;
+
+/**
+ * A deployer service that manages WS4EE compliant Web Services for
+ * nested POJO endpoints.
+ *
+ * The WebServiceDeployerJSE attaches itself as an deployment interceptor to
+ * the jboss.web:service=WebServer deployer. As a consequence, all *.war deployments
+ * that are picked up before the interceptor is installed are not treated as potential
+ * web service endpoint deployments.
+ *
+ * Nested POJO endpoints can be packaged in *.jse deployments that are then picked up by this
+ * deployer.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 03-Mar-2005
+ */
+public class DeployerInterceptorNestedJSE extends SubDeployerSupport implements DeployerInterceptorNestedJSEMBean
+{
+ private static final String NESTED_JSE_WAR_FILE = "org.jboss.ws.server.nested.jse";
+
+ // The MainDeployer
+ protected MainDeployerMBean mainDeployer;
+
+ public void setMainDeployer(MainDeployerMBean mainDeployer)
+ {
+ this.mainDeployer = mainDeployer;
+ }
+
+ public boolean accepts(DeploymentInfo sdi)
+ {
+ setSuffixes(new String[] { ".jse" });
+ return super.accepts(sdi);
+ }
+
+ /** Copy the *.jse to a *.war and deploy through the main deployer
+ */
+ public void create(DeploymentInfo di) throws DeploymentException
+ {
+ log.debug("create: " + di.url);
+
+ try
+ {
+ File jseFile = new File(di.localUrl.getFile());
+ if (jseFile.isFile() == false)
+ throw new DeploymentException("Expected a file: " + di.localUrl);
+
+ ServerConfig config = ServerConfigLocator.locate();
+ String warFileName = config.getServerTempDir().getCanonicalPath() + "/deploy/" + di.shortName;
+ warFileName = warFileName.substring(0, warFileName.length() - 4) + ".war";
+ File warFile = new File(warFileName);
+
+ FileOutputStream fos = new FileOutputStream(warFile);
+ FileInputStream fis = new FileInputStream(jseFile);
+ try
+ {
+ IOUtils.copyStream(fos, fis);
+ }
+ finally
+ {
+ fos.close();
+ fis.close();
+ }
+
+ mainDeployer.deploy(warFile.toURL());
+
+ // remember the war url that we deployed
+ di.context.put(NESTED_JSE_WAR_FILE, warFile);
+
+ super.create(di);
+ }
+ catch (IOException ex)
+ {
+ throw new DeploymentException("Failed to create: " + di.url, ex);
+ }
+ }
+
+ /** Undeploy the *.war through the main deployer
+ */
+ public void destroy(DeploymentInfo di) throws DeploymentException
+ {
+ log.debug("destroy: " + di.url);
+ try
+ {
+ File warFile = (File)di.context.get(NESTED_JSE_WAR_FILE);
+ mainDeployer.undeploy(warFile.toURL());
+ warFile.delete();
+
+ super.destroy(di);
+ }
+ catch (IOException ex)
+ {
+ throw new DeploymentException("Failed to destroy: " + di.url, ex);
+ }
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorNestedJSEMBean.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorNestedJSEMBean.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeployerInterceptorNestedJSEMBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeployerInterceptorNestedJSEMBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,42 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.integration.jboss4;
+
+// $Id: WebServiceDeployerNestedJSEMBean.java 296 2006-05-08 19:45:49Z thomas.diesler at jboss.com $
+
+import javax.management.ObjectName;
+
+import org.jboss.deployment.MainDeployerMBean;
+import org.jboss.deployment.SubDeployerMBean;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+
+/**
+ * @author Thomas.Diesler at jboss.org
+ * @since 03-Mar-2005
+ */
+public interface DeployerInterceptorNestedJSEMBean extends SubDeployerMBean
+{
+ //default object name
+ public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.ws:service=WebServiceDeployerNestedJSE");
+
+ void setMainDeployer(MainDeployerMBean mainDeployer);
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeploymentInfoAdaptor.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeploymentInfoAdaptor.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/DeploymentInfoAdaptor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/DeploymentInfoAdaptor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,86 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: WebServiceDeploymentAdaptor.java 317 2006-05-14 17:16:59Z thomas.diesler at jboss.com $
+
+import java.io.File;
+import java.net.URL;
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.metadata.ApplicationMetaData;
+import org.jboss.metadata.WebMetaData;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+
+/**
+ * Build container independent deployment info.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 05-May-2006
+ */
+public class DeploymentInfoAdaptor
+{
+ public static UnifiedDeploymentInfo buildDeploymentInfo(UnifiedDeploymentInfo udi, DeploymentInfo di)
+ {
+ if (di.parent != null)
+ {
+ udi.parent = new UnifiedDeploymentInfo(null);
+ buildDeploymentInfo(udi.parent, di.parent);
+ }
+ udi.shortName = di.shortName;
+
+ udi.url = di.localUrl;
+
+ // FIXME - Ugly Hack. Remove this once URL handling in UnifiedDeploymentInfo is fixed.
+ try
+ {
+ if (!di.isDirectory && "file".equals(udi.url.getProtocol()))
+ {
+ File file = new File(udi.url.getFile());
+ if (file.exists() && !file.isDirectory())
+ udi.url = new URL("jar:" + udi.url.toExternalForm() + "!/");
+ }
+ }
+ catch (Exception e)
+ {
+ // Eat
+ }
+ udi.metaData = buildMetaData(di.metaData);
+ udi.classLoader = di.annotationsCl;
+
+ return udi;
+ }
+
+ private static Object buildMetaData(Object metaData)
+ {
+ Object retMetaData = null;
+ if (metaData instanceof WebMetaData)
+ {
+ retMetaData = WebMetaDataAdaptor.buildUnifiedWebMetaData((WebMetaData)metaData);
+ }
+ else if (metaData instanceof ApplicationMetaData)
+ {
+ retMetaData = ApplicationMetaDataAdaptor.buildUnifiedApplicationMetaData((ApplicationMetaData)metaData);
+ }
+ return retMetaData;
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/JBossContextServlet.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/JBossContextServlet.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/JBossContextServlet.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/JBossContextServlet.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id$
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.core.CommonContextServlet;
+import org.jboss.ws.core.server.ServiceEndpointManagerFactory;
+
+/**
+ * The servlet that that is associated with context /jbossws
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 21-Mar-2005
+ */
+public class JBossContextServlet extends CommonContextServlet
+{
+ // provide logging
+ protected final Logger log = Logger.getLogger(JBossContextServlet.class);
+
+ protected void initServiceEndpointManager()
+ {
+ ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
+ epManager = factory.getServiceEndpointManager();
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/JBossServiceEndpointServlet.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/JBossServiceEndpointServlet.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/JBossServiceEndpointServlet.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/JBossServiceEndpointServlet.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,87 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: ServiceEndpointServlet.java 296 2006-05-08 19:45:49Z thomas.diesler at jboss.com $
+
+import java.util.List;
+
+import javax.servlet.ServletContext;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.AbstractServiceEndpointServlet;
+import org.jboss.ws.core.server.ServiceEndpoint;
+import org.jboss.ws.metadata.config.WSCommonConfig;
+import org.jboss.ws.metadata.umdm.HandlerMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
+
+/**
+ * A servlet that is installed for every web service endpoint.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 16-May-2006
+ */
+public class JBossServiceEndpointServlet extends AbstractServiceEndpointServlet
+{
+ // provide logging
+ private static final Logger log = Logger.getLogger(JBossServiceEndpointServlet.class);
+
+ /** Initialize the service endpoint
+ */
+ protected void initServiceEndpoint(String contextPath)
+ {
+ super.initServiceEndpoint(contextPath);
+
+ ServiceEndpoint wsEndpoint = epManager.getServiceEndpointByID(sepId);
+ if (wsEndpoint == null)
+ throw new WSException("Cannot obtain endpoint for: " + sepId);
+
+ // read the config name/file from web.xml
+ ServletContext ctx = getServletContext();
+ String configName = ctx.getInitParameter("jbossws-config-name");
+ String configFile = ctx.getInitParameter("jbossws-config-file");
+ if (configName != null || configFile != null)
+ {
+ log.debug("Updating service endpoint config\n config-name: " + configName + "\n config-file: " + configFile);
+ ServerEndpointMetaData sepMetaData = wsEndpoint.getServiceEndpointInfo().getServerEndpointMetaData();
+ sepMetaData.setConfigName(configName);
+ sepMetaData.setConfigFile(configFile);
+
+ List<HandlerMetaData> sepHandlers = sepMetaData.getHandlerMetaData(HandlerType.ENDPOINT);
+ sepMetaData.clearHandlers();
+
+ // Add pre handlers
+ WSCommonConfig sepConfig = sepMetaData.getEndpointConfig();
+ sepMetaData.addHandlers(sepConfig.getHandlers(sepMetaData, HandlerType.PRE));
+
+ // Restore the endpoint handlers
+ sepMetaData.addHandlers(sepHandlers);
+
+ // Add post handlers
+ sepMetaData.addHandlers(sepConfig.getHandlers(sepMetaData, HandlerType.POST));
+
+ log.debug("Updated endpoint meta data" + sepMetaData);
+ }
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/PortComponentLinkServlet.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/PortComponentLinkServlet.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/PortComponentLinkServlet.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/PortComponentLinkServlet.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: PortComponentLinkServlet.java 419 2006-05-30 13:32:38Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.io.PrintWriter;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.ServiceEndpoint;
+import org.jboss.ws.core.server.ServiceEndpointManager;
+import org.jboss.ws.core.server.ServiceEndpointManagerFactory;
+
+/**
+ * A servlet that reports the serviceURL for a given service ID.
+ * <p/>
+ * When the web service client ENC is setup, it may contain port-component-link
+ * entries that point to service endpoints in the same top level deployment.
+ * The final serviceURL of those endpoints will become available after the
+ * reference to the javax.xml.rpc.Service is bound to JNDI.
+ * <p/>
+ * When the client does a lookup of the javax.xml.rpc.Service from JNDI the ObjectFactory
+ * will contact this servlet for the final serviceURL. It is acceptable that the client
+ * wsdl does not contain the correct serviceURL if the client is using the port-component-link element.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 29-May-2004
+ */
+public class PortComponentLinkServlet extends HttpServlet
+{
+ // provide logging
+ private static final Logger log = Logger.getLogger(PortComponentLinkServlet.class);
+
+ protected ServiceEndpointManager epManager;
+
+ public void init(ServletConfig config) throws ServletException
+ {
+ super.init(config);
+ ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
+ epManager = factory.getServiceEndpointManager();
+ }
+
+ /**
+ * Get the serviceURL as string for a given serviceID.
+ */
+ public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
+ {
+ String pcLink = req.getParameter("pcLink");
+ if (pcLink == null)
+ throw new IllegalArgumentException("Cannot obtain request parameter 'pcLink'");
+
+ ServiceEndpoint serviceEndpoint = epManager.resolvePortComponentLink(pcLink);
+ ;
+ if (serviceEndpoint == null)
+ throw new WSException("Cannot resolve port-component-link: " + pcLink);
+
+ res.setContentType("text/plain");
+ PrintWriter out = res.getWriter();
+
+ String endpointAddress = serviceEndpoint.getServiceEndpointInfo().getServerEndpointMetaData().getEndpointAddress();
+ out.println(endpointAddress);
+
+ log.debug("Resolved " + pcLink + " to: " + endpointAddress);
+ out.close();
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServerConfigImpl.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServerConfigImpl.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServerConfigImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServerConfigImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,150 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+//$Id: ServiceEndpointManagerFactoryImpl.java 294 2006-05-08 16:33:42Z thomas.diesler at jboss.com $
+
+import java.io.File;
+import java.util.Set;
+
+import javax.management.AttributeNotFoundException;
+import javax.management.JMException;
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+import org.jboss.logging.Logger;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.jboss.ws.core.server.ServerConfig;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+
+/**
+ * JBoss specific implementation of a ServerConfig
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @author darran.lofthouse at jboss.com
+ * @since 08-May-2006
+ */
+public class ServerConfigImpl implements ServerConfig
+{
+
+ private static final Logger log = Logger.getLogger(ServerConfigImpl.class);
+
+ public File getServerTempDir()
+ {
+ try
+ {
+ MBeanServer server = MBeanServerLocator.locateJBoss();
+ ObjectName oname = ObjectNameFactory.create("jboss.system:type=ServerConfig");
+ File tmpdir = (File)server.getAttribute(oname, "ServerTempDir");
+ return tmpdir;
+ }
+ catch (JMException e)
+ {
+ return null;
+ }
+ }
+
+ public File getServerDataDir()
+ {
+ try
+ {
+ MBeanServer server = MBeanServerLocator.locateJBoss();
+ ObjectName oname = ObjectNameFactory.create("jboss.system:type=ServerConfig");
+ File tmpdir = (File)server.getAttribute(oname, "ServerDataDir");
+ return tmpdir;
+ }
+ catch (JMException e)
+ {
+ return null;
+ }
+ }
+
+ public int getWebServicePort()
+ {
+ int port = getConnectorPort("HTTP/1.1", false);
+ if (port > -1)
+ {
+ return port;
+ }
+
+ log.warn("Unable to calculate 'WebServicePort', using default '8080'");
+ return 8080;
+ }
+
+ public int getWebServiceSecurePort()
+ {
+ int port = getConnectorPort("HTTP/1.1", true);
+ if (port > -1)
+ {
+ return port;
+ }
+
+ log.warn("Unable to calculate 'WebServiceSecurePort', using default '8443'");
+ return 8443;
+ }
+
+ private int getConnectorPort(final String protocol, final boolean secure)
+ {
+ int port = -1;
+
+ try
+ {
+ MBeanServer server = MBeanServerLocator.locateJBoss();
+ ObjectName connectors = new ObjectName("jboss.web:type=Connector,*");
+
+ Set connectorNames = server.queryNames(connectors, null);
+ for (Object current : connectorNames)
+ {
+ ObjectName currentName = (ObjectName)current;
+
+ try
+ {
+ int connectorPort = (Integer)server.getAttribute(currentName, "port");
+ boolean connectorSecure = (Boolean)server.getAttribute(currentName, "secure");
+ String connectorProtocol = (String)server.getAttribute(currentName, "protocol");
+
+ if (protocol.equals(connectorProtocol) && secure == connectorSecure)
+ {
+ if (port > -1)
+ {
+ log.warn("Found multiple connectors for protocol='" + protocol + "' and secure='" + secure + "', using first port found '" + port + "'");
+ }
+ else
+ {
+ port = connectorPort;
+ }
+ }
+ }
+ catch (AttributeNotFoundException ignored)
+ {
+ }
+ }
+
+ return port;
+ }
+ catch (JMException e)
+ {
+ return -1;
+ }
+
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointGeneratorEJB.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointGeneratorEJB.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,306 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+//$Id$
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.logging.Logger;
+import org.jboss.system.server.ServerConfig;
+import org.jboss.system.server.ServerConfigLocator;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.core.utils.DOMWriter;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+import org.w3c.dom.Element;
+
+/**
+ * Generate a web deployment for EJB endpoints
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 12-May-2006
+ */
+public abstract class ServiceEndpointGeneratorEJB
+{
+ // logging support
+ protected Logger log = Logger.getLogger(ServiceEndpointGeneratorEJB.class);
+
+ public URL generatWebDeployment(DeploymentInfo di, UnifiedMetaData wsMetaData) throws IOException
+ {
+ // Collect the list of PortComponentMetaData
+ List<EndpointMetaData> epMetaDataList = new ArrayList<EndpointMetaData>();
+ for (ServiceMetaData serviceMetaData : wsMetaData.getServices())
+ {
+ for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
+ {
+ epMetaDataList.add(epMetaData);
+ }
+ }
+
+ Element webDoc = createWebAppDescriptor(di, epMetaDataList);
+ Element jbossDoc = createJBossWebAppDescriptor(di, epMetaDataList);
+
+ File tmpWar = null;
+ try
+ {
+ ServerConfig config = ServerConfigLocator.locate();
+ File tmpdir = new File(config.getServerTempDir().getCanonicalPath() + "/deploy");
+
+ String deploymentName = di.getCanonicalName().replace('/', '-') + "-ws";
+ tmpWar = File.createTempFile(deploymentName, ".war", tmpdir);
+ tmpWar.delete();
+ File webInf = new File(tmpWar, "WEB-INF");
+ webInf.mkdirs();
+
+ File webXml = new File(webInf, "web.xml");
+ FileWriter fw = new FileWriter(webXml);
+ new DOMWriter(fw).setPrettyprint(true).print(webDoc);
+ fw.close();
+
+ File jbossWebXml = new File(webInf, "jboss-web.xml");
+ fw = new FileWriter(jbossWebXml);
+ new DOMWriter(fw).setPrettyprint(true).print(jbossDoc);
+ fw.close();
+ }
+ catch (IOException e)
+ {
+ throw new WSException("Failed to create webservice.war", e);
+ }
+
+ return tmpWar.toURL();
+ }
+
+ private Element createWebAppDescriptor(DeploymentInfo di, List<EndpointMetaData> epMetaDataList)
+ {
+ Element webApp = DOMUtils.createElement("web-app");
+
+ /*
+ <servlet>
+ <servlet-name>
+ <servlet-class>
+ </servlet>
+ */
+ for (EndpointMetaData epMetaData : epMetaDataList)
+ {
+ ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
+ String ejbName = sepMetaData.getLinkName();
+ Element servlet = (Element)webApp.appendChild(DOMUtils.createElement("servlet"));
+ Element servletName = (Element)servlet.appendChild(DOMUtils.createElement("servlet-name"));
+ servletName.appendChild(DOMUtils.createTextNode(ejbName));
+ Element servletClass = (Element)servlet.appendChild(DOMUtils.createElement("servlet-class"));
+ String targetBean = sepMetaData.getServiceEndpointImplName();
+ String seiName = sepMetaData.getServiceEndpointInterfaceName();
+ String servletClassName = (targetBean != null ? targetBean : seiName);
+ servletClass.appendChild(DOMUtils.createTextNode(servletClassName));
+ }
+
+ /*
+ <servlet-mapping>
+ <servlet-name>
+ <url-pattern>
+ </servlet-mapping>
+ */
+ ArrayList<String> urlPatters = new ArrayList<String>();
+ for (EndpointMetaData epMetaData : epMetaDataList)
+ {
+ ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
+ String ejbName = sepMetaData.getLinkName();
+ Element servletMapping = (Element)webApp.appendChild(DOMUtils.createElement("servlet-mapping"));
+ Element servletName = (Element)servletMapping.appendChild(DOMUtils.createElement("servlet-name"));
+ servletName.appendChild(DOMUtils.createTextNode(ejbName));
+ Element urlPatternElement = (Element)servletMapping.appendChild(DOMUtils.createElement("url-pattern"));
+
+ String urlPattern = "/*";
+ if (sepMetaData.getURLPattern() != null)
+ {
+ urlPattern = sepMetaData.getURLPattern();
+ }
+
+ if (urlPatters.contains(urlPattern))
+ throw new IllegalArgumentException("Cannot use the same url-pattern with different endpoints, " + "check your <port-component-uri> in jboss.xml");
+
+ urlPatternElement.appendChild(DOMUtils.createTextNode(urlPattern));
+ urlPatters.add(urlPattern);
+ }
+
+ String authMethod = null;
+
+ // Add web-app/security-constraint for each port component
+ for (EndpointMetaData epMetaData : epMetaDataList)
+ {
+ ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
+ String ejbName = sepMetaData.getLinkName();
+ if (sepMetaData.getAuthMethod() != null || sepMetaData.getTransportGuarantee() != null)
+ {
+ /*
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>TestUnAuthPort</web-resource-name>
+ <url-pattern>/HSTestRoot/TestUnAuth/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>*</role-name>
+ </auth-constraint>
+ <user-data-constraint>
+ <transport-guarantee>NONE</transport-guarantee>
+ </user-data-constraint>
+ </security-constraint>
+ */
+ Element securityConstraint = (Element)webApp.appendChild(DOMUtils.createElement("security-constraint"));
+ Element wrc = (Element)securityConstraint.appendChild(DOMUtils.createElement("web-resource-collection"));
+ Element wrName = (Element)wrc.appendChild(DOMUtils.createElement("web-resource-name"));
+ wrName.appendChild(DOMUtils.createTextNode(ejbName));
+ Element pattern = (Element)wrc.appendChild(DOMUtils.createElement("url-pattern"));
+ String uri = sepMetaData.getURLPattern();
+ pattern.appendChild(DOMUtils.createTextNode(uri));
+ Element method = (Element)wrc.appendChild(DOMUtils.createElement("http-method"));
+ method.appendChild(DOMUtils.createTextNode("GET"));
+ method = (Element)wrc.appendChild(DOMUtils.createElement("http-method"));
+ method.appendChild(DOMUtils.createTextNode("POST"));
+
+ // Optional auth-constraint
+ if (sepMetaData.getAuthMethod() != null)
+ {
+ // Only the first auth-method gives the war login-config/auth-method
+ if (authMethod == null)
+ authMethod = sepMetaData.getAuthMethod();
+
+ Element authConstraint = (Element)securityConstraint.appendChild(DOMUtils.createElement("auth-constraint"));
+ Element roleName = (Element)authConstraint.appendChild(DOMUtils.createElement("role-name"));
+ roleName.appendChild(DOMUtils.createTextNode("*"));
+ }
+ // Optional user-data-constraint
+ if (sepMetaData.getTransportGuarantee() != null)
+ {
+ Element userData = (Element)securityConstraint.appendChild(DOMUtils.createElement("user-data-constraint"));
+ Element transport = (Element)userData.appendChild(DOMUtils.createElement("transport-guarantee"));
+ transport.appendChild(DOMUtils.createTextNode(sepMetaData.getTransportGuarantee()));
+ }
+ }
+ }
+
+ // Optional login-config/auth-method
+ if (authMethod != null)
+ {
+ Element loginConfig = (Element)webApp.appendChild(DOMUtils.createElement("login-config"));
+ Element method = (Element)loginConfig.appendChild(DOMUtils.createElement("auth-method"));
+ method.appendChild(DOMUtils.createTextNode(authMethod));
+ Element realm = (Element)loginConfig.appendChild(DOMUtils.createElement("realm-name"));
+ realm.appendChild(DOMUtils.createTextNode("EJBServiceEndpointServlet Realm"));
+
+ addEJBSecurityRoles(di, webApp);
+ }
+
+ return webApp;
+ }
+
+ private Element createJBossWebAppDescriptor(DeploymentInfo di, List<EndpointMetaData> epMetaDataList)
+ {
+ /* Create a jboss-web
+ <jboss-web>
+ <security-domain>java:/jaas/cts</security-domain>
+ <context-root>/ws/ejbN/</context-root>
+ </jboss-web>
+ */
+ Element jbossWeb = DOMUtils.createElement("jboss-web");
+
+ UnifiedMetaData wsMetaData = epMetaDataList.get(0).getServiceMetaData().getUnifiedMetaData();
+ String securityDomain = wsMetaData.getSecurityDomain();
+ if (securityDomain != null)
+ {
+ Element secDomain = (Element)jbossWeb.appendChild(DOMUtils.createElement("security-domain"));
+ secDomain.appendChild(DOMUtils.createTextNode("java:/jaas/" + securityDomain));
+ }
+
+ // Get the context root for this deployment
+ String contextRoot = null;
+ for (EndpointMetaData epMetaData : epMetaDataList)
+ {
+ ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
+ String next = sepMetaData.getContextRoot();
+ if (next != null)
+ {
+ if (contextRoot == null)
+ {
+ contextRoot = next;
+ }
+ else if (contextRoot.equals(next) == false)
+ {
+ throw new WSException("Multiple context root not supported");
+ }
+ }
+ }
+ if (contextRoot == null)
+ throw new WSException("Cannot obtain context root");
+
+ Element root = (Element)jbossWeb.appendChild(DOMUtils.createElement("context-root"));
+ root.appendChild(DOMUtils.createTextNode(contextRoot));
+
+ String[] virtualHosts = null;
+ for (EndpointMetaData epMetaData : epMetaDataList)
+ {
+ ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
+ String[] next = sepMetaData.getVirtualHosts();
+ if (next != null && next.length > 0)
+ {
+ Arrays.sort(next);
+ if (virtualHosts == null)
+ {
+ virtualHosts = next;
+ }
+ else
+ {
+ if (Arrays.equals(virtualHosts, next) == false)
+ {
+ throw new WSException("All endpoints must define the same virtual hosts");
+ }
+ }
+ }
+ }
+
+ if (virtualHosts != null)
+ {
+ for (String current : virtualHosts)
+ {
+ Element virtualHost = (Element)jbossWeb.appendChild(DOMUtils.createElement("virtual-host"));
+ virtualHost.appendChild(DOMUtils.createTextNode(current));
+ }
+ }
+
+ return jbossWeb;
+ }
+
+ /** Add the roles from ejb-jar.xml to the security roles
+ */
+ protected abstract void addEJBSecurityRoles(DeploymentInfo di, Element webApp);
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB21.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointGeneratorEJB21.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointGeneratorEJB21.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB21.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+//$Id$
+
+import java.util.Iterator;
+import java.util.Map;
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.logging.Logger;
+import org.jboss.metadata.ApplicationMetaData;
+import org.jboss.metadata.AssemblyDescriptorMetaData;
+import org.jboss.ws.core.utils.DOMUtils;
+import org.w3c.dom.Element;
+
+/**
+ * Generate a service endpoint deployment for EJB endpoints
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 12-May-2006
+ */
+public class ServiceEndpointGeneratorEJB21 extends ServiceEndpointGeneratorEJB
+{
+ // logging support
+ protected Logger log = Logger.getLogger(ServiceEndpointGeneratorEJB21.class);
+
+ /** Add the roles from ejb-jar.xml to the security roles
+ */
+ protected void addEJBSecurityRoles(DeploymentInfo di, Element webApp)
+ {
+ // Fix: http://jira.jboss.org/jira/browse/JBWS-309
+ ApplicationMetaData applMetaData = (ApplicationMetaData)di.metaData;
+ AssemblyDescriptorMetaData assemblyDescriptor = applMetaData.getAssemblyDescriptor();
+ if (assemblyDescriptor != null)
+ {
+ Map securityRoles = assemblyDescriptor.getSecurityRoles();
+ if (securityRoles != null)
+ {
+ Iterator it = securityRoles.keySet().iterator();
+ while (it.hasNext())
+ {
+ Element securityRole = (Element)webApp.appendChild(DOMUtils.createElement("security-role"));
+ Element roleName = (Element)securityRole.appendChild(DOMUtils.createElement("role-name"));
+ roleName.appendChild(DOMUtils.createTextNode((String)it.next()));
+ }
+ }
+ }
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB3.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointGeneratorEJB3.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointGeneratorEJB3.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointGeneratorEJB3.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,95 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+//$Id$
+
+import javax.annotation.security.RolesAllowed;
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.ejb3.Ejb3ModuleMBean;
+import org.jboss.ejb3.stateless.StatelessContainer;
+import org.jboss.logging.Logger;
+import org.jboss.mx.util.MBeanProxy;
+import org.jboss.mx.util.MBeanProxyCreationException;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.WSException;
+import org.w3c.dom.Element;
+
+/**
+ * Generate a service endpoint deployment for EJB endpoints
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 12-May-2006
+ */
+public class ServiceEndpointGeneratorEJB3 extends ServiceEndpointGeneratorEJB
+{
+ // logging support
+ protected Logger log = Logger.getLogger(ServiceEndpointGeneratorEJB3.class);
+
+ /** Add the roles from ejb-jar.xml to the security roles
+ */
+ protected void addEJBSecurityRoles(DeploymentInfo di, Element webApp)
+ {
+ // The container objects below provide access to all of the ejb metadata
+ Ejb3ModuleMBean ejb3Module = getEJB3Module(di.deployedObject);
+ for (Object manager : ejb3Module.getContainers().values())
+ {
+ if (manager instanceof StatelessContainer)
+ {
+ StatelessContainer container = (StatelessContainer)manager;
+
+ RolesAllowed anRolesAllowed = (RolesAllowed)container.resolveAnnotation(RolesAllowed.class);
+ if (anRolesAllowed != null)
+ {
+ for (String role : anRolesAllowed.value())
+ {
+ Element securityRole = (Element)webApp.appendChild(DOMUtils.createElement("security-role"));
+ Element roleName = (Element)securityRole.appendChild(DOMUtils.createElement("role-name"));
+ roleName.appendChild(DOMUtils.createTextNode(role));
+ }
+ }
+ }
+ }
+ }
+
+ private Ejb3ModuleMBean getEJB3Module(ObjectName objectName)
+ {
+ Ejb3ModuleMBean ejb3Module;
+ try
+ {
+ MBeanServer server = MBeanServerLocator.locateJBoss();
+ ejb3Module = (Ejb3ModuleMBean)MBeanProxy.get(Ejb3ModuleMBean.class, objectName, server);
+ if (ejb3Module == null)
+ throw new WSException("Cannot obtain EJB3 module: " + objectName);
+
+ return ejb3Module;
+ }
+ catch (MBeanProxyCreationException ex)
+ {
+ throw new WSException("Cannot obtain proxy to EJB3 module");
+ }
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInterceptor.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointInterceptor.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointInterceptor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInterceptor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,140 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.integration.jboss4;
+
+// $Id: ServiceEndpointInterceptor.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
+
+import javax.xml.soap.SOAPMessage;
+
+import org.jboss.ejb.plugins.AbstractInterceptor;
+import org.jboss.invocation.Invocation;
+import org.jboss.invocation.InvocationKey;
+import org.jboss.logging.Logger;
+import org.jboss.ws.core.CommonBinding;
+import org.jboss.ws.core.CommonBindingProvider;
+import org.jboss.ws.core.CommonMessageContext;
+import org.jboss.ws.core.CommonSOAPBinding;
+import org.jboss.ws.core.EndpointInvocation;
+import org.jboss.ws.metadata.umdm.OperationMetaData;
+import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
+
+/**
+ * This Interceptor does the ws4ee handler processing.
+ *
+ * According to the ws4ee spec the handler logic must be invoked after the container
+ * applied method level security to the invocation.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 21-Sep-2005
+ */
+public class ServiceEndpointInterceptor extends AbstractInterceptor
+{
+ // provide logging
+ private static Logger log = Logger.getLogger(ServiceEndpointInterceptor.class);
+
+ // Interceptor implementation --------------------------------------
+
+ /** Before and after we call the service endpoint bean, we process the handler chains.
+ */
+ public Object invoke(final Invocation mi) throws Exception
+ {
+ // If no msgContext, it's not for us
+ CommonMessageContext msgContext = (CommonMessageContext)mi.getPayloadValue(InvocationKey.SOAP_MESSAGE_CONTEXT);
+ if (msgContext == null)
+ {
+ return getNext().invoke(mi);
+ }
+
+ // Get the endpoint invocation
+ EndpointInvocation epInv = (EndpointInvocation)mi.getValue(EndpointInvocation.class.getName());
+ OperationMetaData opMetaData = epInv.getOperationMetaData();
+
+ // Get the handler callback
+ String key = ServiceEndpointInvokerEJB21.HandlerCallback.class.getName();
+ ServiceEndpointInvokerEJB21.HandlerCallback callback = (ServiceEndpointInvokerEJB21.HandlerCallback)mi.getValue(key);
+
+ // Handlers need to be Tx. Therefore we must invoke the handler chain after the TransactionInterceptor.
+ if (callback != null && epInv != null)
+ {
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(opMetaData.getEndpointMetaData());
+ try
+ {
+ // call the request handlers
+ boolean handlersPass = callback.callRequestHandlerChain(HandlerType.ENDPOINT);
+ handlersPass = handlersPass && callback.callRequestHandlerChain(HandlerType.POST);
+
+ // Call the next interceptor in the chain
+ if (handlersPass)
+ {
+ // The SOAPContentElements stored in the EndpointInvocation might have changed after
+ // handler processing. Get the updated request payload. This should be a noop if request
+ // handlers did not modify the incomming SOAP message.
+ Object[] reqParams = epInv.getRequestPayload();
+ mi.setArguments(reqParams);
+ Object resObj = getNext().invoke(mi);
+ epInv.setReturnValue(resObj);
+
+ // Bind the response message
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
+ SOAPMessage resMessage = (SOAPMessage)binding.bindResponseMessage(opMetaData, epInv);
+ msgContext.setSOAPMessage(resMessage);
+ }
+
+ // call the response handlers
+ handlersPass = callback.callResponseHandlerChain(HandlerType.POST);
+ handlersPass = handlersPass && callback.callResponseHandlerChain(HandlerType.ENDPOINT);
+
+ // update the return value after response handler processing
+ Object resObj = epInv.getReturnValue();
+
+ return resObj;
+ }
+ catch (Exception ex)
+ {
+ try
+ {
+ CommonSOAPBinding soapBinding = (CommonSOAPBinding)bindingProvider.getCommonBinding();
+ SOAPMessage faultMessage = soapBinding.exceptionToFaultMessage(ex);
+ msgContext.setSOAPMessage(faultMessage);
+
+ // call the fault handlers
+ boolean handlersPass = callback.callFaultHandlerChain(HandlerType.POST, ex);
+ handlersPass = handlersPass && callback.callFaultHandlerChain(HandlerType.ENDPOINT, ex);
+ }
+ catch (Exception subEx)
+ {
+ log.warn("Cannot process handlerChain.handleFault, ignoring: ", subEx);
+ }
+ throw ex;
+ }
+ finally
+ {
+ // do nothing
+ }
+ }
+ else
+ {
+ log.warn("Handler callback not available");
+ return getNext().invoke(mi);
+ }
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerEJB21.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointInvokerEJB21.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointInvokerEJB21.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerEJB21.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,264 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: ServiceEndpointInvokerEJB21.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
+
+import java.lang.reflect.Method;
+import java.security.Principal;
+
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+import javax.xml.rpc.soap.SOAPFaultException;
+
+import org.jboss.ejb.EjbModule;
+import org.jboss.ejb.Interceptor;
+import org.jboss.ejb.StatelessSessionContainer;
+import org.jboss.invocation.Invocation;
+import org.jboss.invocation.InvocationKey;
+import org.jboss.invocation.InvocationType;
+import org.jboss.invocation.PayloadKey;
+import org.jboss.logging.Logger;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.jboss.security.SecurityAssociation;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.CommonMessageContext;
+import org.jboss.ws.core.EndpointInvocation;
+import org.jboss.ws.core.server.AbstractServiceEndpointInvoker;
+import org.jboss.ws.core.server.ServiceEndpointInfo;
+import org.jboss.ws.core.server.ServiceEndpointInvoker;
+import org.jboss.ws.core.soap.MessageContextAssociation;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
+import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
+
+/**
+ * Handles invocations on EJB2.1 endpoints.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 19-Jan-2005
+ */
+public class ServiceEndpointInvokerEJB21 extends AbstractServiceEndpointInvoker implements ServiceEndpointInvoker
+{
+ // provide logging
+ private Logger log = Logger.getLogger(ServiceEndpointInvokerEJB21.class);
+
+ private String jndiName;
+ private MBeanServer server;
+ private ObjectName objectName;
+
+ public ServiceEndpointInvokerEJB21()
+ {
+ server = MBeanServerLocator.locateJBoss();
+ }
+
+ /** Initialize the service endpoint */
+ @Override
+ public void initServiceEndpoint(ServiceEndpointInfo seInfo)
+ {
+ super.initServiceEndpoint(seInfo);
+
+ ServerEndpointMetaData epMetaData = seInfo.getServerEndpointMetaData();
+ String ejbName = epMetaData.getLinkName();
+ if (ejbName == null)
+ throw new WSException("Cannot obtain ejb-link from port component");
+
+ UnifiedApplicationMetaData applMetaData = (UnifiedApplicationMetaData)seInfo.getUnifiedDeploymentInfo().metaData;
+ UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)applMetaData.getBeanByEjbName(ejbName);
+ if (beanMetaData == null)
+ throw new WSException("Cannot obtain ejb meta data for: " + ejbName);
+
+ // verify the service endpoint
+ String seiName = epMetaData.getServiceEndpointInterfaceName();
+ if (epMetaData.getType() == Type.JAXRPC && seiName != null)
+ {
+ String bmdSEI = beanMetaData.getServiceEndpoint();
+ if (seiName.equals(bmdSEI) == false)
+ throw new WSException("Endpoint meta data defines SEI '" + seiName + "', <service-endpoint> in ejb-jar.xml defines '" + bmdSEI + "'");
+ }
+
+ // get the bean's JNDI name
+ jndiName = beanMetaData.getContainerObjectNameJndiName();
+ if (jndiName == null)
+ throw new WSException("Cannot obtain JNDI name for: " + ejbName);
+
+ objectName = ObjectNameFactory.create("jboss.j2ee:jndiName=" + jndiName + ",service=EJB");
+
+ // Dynamically add the service endpoint interceptor
+ // http://jira.jboss.org/jira/browse/JBWS-758
+ try
+ {
+ EjbModule ejbModule = (EjbModule)server.getAttribute(objectName, "EjbModule");
+ StatelessSessionContainer container = (StatelessSessionContainer)ejbModule.getContainer(ejbName);
+
+ boolean injectionPointFound = false;
+ Interceptor prev = container.getInterceptor();
+ while (prev != null && prev.getNext() != null)
+ {
+ Interceptor next = prev.getNext();
+ if (next.getNext() == null)
+ {
+ log.debug("Inject service endpoint interceptor after: " + prev.getClass().getName());
+ ServiceEndpointInterceptor sepInterceptor = new ServiceEndpointInterceptor();
+ prev.setNext(sepInterceptor);
+ sepInterceptor.setNext(next);
+ injectionPointFound = true;
+ }
+ prev = next;
+ }
+ if (injectionPointFound == false)
+ log.warn("Cannot service endpoint interceptor injection point");
+ }
+ catch (Exception ex)
+ {
+ log.warn("Cannot add service endpoint interceptor", ex);
+ }
+ }
+
+ /** Load the SEI implementation bean if necessary
+ */
+ public Class loadServiceEndpoint(ServiceEndpointInfo seInfo)
+ {
+ if (server.isRegistered(objectName) == false)
+ throw new WSException("Cannot find service endpoint target: " + objectName);
+
+ return null;
+ }
+
+ /** Create an instance of the SEI implementation bean if necessary */
+ public Object createServiceEndpoint(ServiceEndpointInfo seInfo, Object endpointContext, Class seiImplClass)
+ {
+ return null;
+ }
+
+ /** Invoke an instance of the SEI implementation bean */
+ public void invokeServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl, EndpointInvocation epInv) throws SOAPFaultException, Exception
+ {
+ log.debug("invokeServiceEndpoint: " + epInv.getJavaMethod().getName());
+
+ // these are provided by the ServerLoginHandler
+ Principal principal = SecurityAssociation.getPrincipal();
+ Object credential = SecurityAssociation.getCredential();
+
+ CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
+
+ // invoke on the container
+ try
+ {
+ // setup the invocation
+ Method method = epInv.getJavaMethod();
+ Object[] args = epInv.getRequestPayload();
+ Invocation inv = new Invocation(null, method, args, null, principal, credential);
+
+ inv.setValue(InvocationKey.SOAP_MESSAGE_CONTEXT, msgContext);
+ inv.setValue(InvocationKey.SOAP_MESSAGE, msgContext.getSOAPMessage());
+ inv.setType(InvocationType.SERVICE_ENDPOINT);
+
+ // Set the handler callback and endpoint invocation
+ inv.setValue(HandlerCallback.class.getName(), new HandlerCallback(seInfo), PayloadKey.TRANSIENT);
+ inv.setValue(EndpointInvocation.class.getName(), epInv, PayloadKey.TRANSIENT);
+
+ String[] sig = { Invocation.class.getName() };
+ Object retObj = server.invoke(objectName, "invoke", new Object[] { inv }, sig);
+ epInv.setReturnValue(retObj);
+ }
+ catch (Exception e)
+ {
+ handleInvocationException(e);
+ }
+ }
+
+ /** Create an instance of the SEI implementation bean if necessary */
+ public void destroyServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl)
+ {
+ // do nothing
+ }
+
+ /** Handlers are beeing called through the HandlerCallback from the EJB interceptor */
+ public boolean callRequestHandlerChain(ServiceEndpointInfo seInfo, HandlerType type)
+ {
+ if (type == HandlerType.PRE)
+ return handlerDelegate.callRequestHandlerChain(seInfo, type);
+ else
+ return true;
+ }
+
+ /** Handlers are beeing called through the HandlerCallback from the EJB interceptor */
+ public boolean callResponseHandlerChain(ServiceEndpointInfo seInfo, HandlerType type)
+ {
+ if (type == HandlerType.PRE)
+ return handlerDelegate.callResponseHandlerChain(seInfo, type);
+ else
+ return true;
+ }
+
+ /** Handlers are beeing called through the HandlerCallback from the EJB interceptor */
+ public boolean callFaultHandlerChain(ServiceEndpointInfo seInfo, HandlerType type, Exception ex)
+ {
+ if (type == HandlerType.PRE)
+ return handlerDelegate.callFaultHandlerChain(seInfo, type, ex);
+ else
+ return true;
+ }
+
+ // The ServiceEndpointInterceptor calls the methods in this callback
+ public class HandlerCallback
+ {
+ private ServiceEndpointInfo seInfo;
+
+ public HandlerCallback(ServiceEndpointInfo seInfo)
+ {
+ this.seInfo = seInfo;
+ }
+
+ /** Handlers are beeing called through the HandlerCallback from the EJB interceptor */
+ public boolean callRequestHandlerChain(HandlerType type)
+ {
+ if (type == HandlerType.PRE)
+ return true;
+ else
+ return handlerDelegate.callRequestHandlerChain(seInfo, type);
+ }
+
+ /** Handlers are beeing called through the HandlerCallback from the EJB interceptor */
+ public boolean callResponseHandlerChain(HandlerType type)
+ {
+ if (type == HandlerType.PRE)
+ return true;
+ else
+ return handlerDelegate.callResponseHandlerChain(seInfo, type);
+ }
+
+ /** Handlers are beeing called through the HandlerCallback from the EJB interceptor */
+ public boolean callFaultHandlerChain(HandlerType type, Exception ex)
+ {
+ if (type == HandlerType.PRE)
+ return true;
+ else
+ return handlerDelegate.callFaultHandlerChain(seInfo, type, ex);
+ }
+
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerEJB3.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointInvokerEJB3.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointInvokerEJB3.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerEJB3.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,145 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.integration.jboss4;
+
+// $Id: ServiceEndpointInvokerEJB3.java 902 2006-09-05 20:10:19Z thomas.diesler at jboss.com $
+
+import java.lang.reflect.Method;
+
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+import javax.xml.rpc.soap.SOAPFaultException;
+
+import org.jboss.aop.Dispatcher;
+import org.jboss.ejb3.stateless.StatelessContainer;
+import org.jboss.logging.Logger;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.EndpointInvocation;
+import org.jboss.ws.core.server.AbstractServiceEndpointInvoker;
+import org.jboss.ws.core.server.ServiceEndpointInfo;
+import org.jboss.ws.core.server.ServiceEndpointInvoker;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+
+/**
+ * Handles invocations on EJB3 endpoints.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 23-Jul-2005
+ */
+public class ServiceEndpointInvokerEJB3 extends AbstractServiceEndpointInvoker implements ServiceEndpointInvoker
+{
+ // provide logging
+ private Logger log = Logger.getLogger(ServiceEndpointInvokerEJB3.class);
+
+ private MBeanServer server;
+ private ObjectName objectName;
+
+ public ServiceEndpointInvokerEJB3()
+ {
+ server = MBeanServerLocator.locateJBoss();
+ }
+
+ /** Initialize the service endpoint */
+ @Override
+ public void initServiceEndpoint(ServiceEndpointInfo seInfo)
+ {
+ super.initServiceEndpoint(seInfo);
+
+ String ejbName = seInfo.getServerEndpointMetaData().getLinkName();
+ UnifiedDeploymentInfo udi = seInfo.getUnifiedDeploymentInfo();
+ String nameStr = "jboss.j2ee:name=" + ejbName + ",service=EJB3,jar=" + udi.shortName;
+ if (udi.parent != null)
+ {
+ nameStr += ",ear=" + udi.parent.shortName;
+ }
+
+ objectName = ObjectNameFactory.create(nameStr.toString());
+ }
+
+ /** Load the SEI implementation bean if necessary
+ */
+ public Class loadServiceEndpoint(ServiceEndpointInfo seInfo)
+ {
+ if (server.isRegistered(objectName) == false)
+ throw new WSException("Cannot find service endpoint target: " + objectName);
+
+ return null;
+ }
+
+ /** Create an instance of the SEI implementation bean if necessary */
+ public Object createServiceEndpoint(ServiceEndpointInfo seInfo, Object endpointContext, Class seiImplClass)
+ {
+ return null;
+ }
+
+ /** Invoke an instance of the SEI implementation bean */
+ public void invokeServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl, EndpointInvocation epInv) throws SOAPFaultException, Exception
+ {
+ log.debug("invokeServiceEndpoint: " + epInv.getJavaMethod().getName());
+
+ /* [FIXME] how to do this for EJB3
+
+ // these are provided by the ServerLoginHandler
+ Principal principal = SecurityAssociation.getPrincipal();
+ Object credential = SecurityAssociation.getCredential();
+
+ CommonMessageContext msgContext = MessageContextAssociation.getMessageContext();
+
+ Invocation inv = new Invocation(null, method, args, null, principal, credential);
+ inv.setValue(InvocationKey.SOAP_MESSAGE_CONTEXT, msgContext);
+ inv.setValue(InvocationKey.SOAP_MESSAGE, msgContext.getMessage());
+ inv.setType(InvocationType.SERVICE_ENDPOINT);
+ */
+
+ // invoke on the container
+ try
+ {
+ // setup the invocation
+ Method seiMethod = epInv.getJavaMethod();
+ Object[] args = epInv.getRequestPayload();
+
+ Dispatcher dispatcher = Dispatcher.singleton;
+ String canonicalName = objectName.getCanonicalName();
+ StatelessContainer container = (StatelessContainer)dispatcher.getRegistered(canonicalName);
+ if (container == null)
+ throw new WSException("Cannot obtain container from Dispatcher: " + canonicalName);
+
+ Class implClass = container.getBeanClass();
+ Method implMethod = getImplMethod(implClass, seiMethod);
+
+ Object retObj = container.localInvoke(implMethod, args);
+ epInv.setReturnValue(retObj);
+ }
+ catch (Throwable e)
+ {
+ handleInvocationException(e);
+ }
+ }
+
+ /** Create an instance of the SEI implementation bean if necessary */
+ public void destroyServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl)
+ {
+ // do nothing
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerMDB.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointInvokerMDB.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceEndpointInvokerMDB.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceEndpointInvokerMDB.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,97 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: ServiceEndpointInvokerMDB.java 694 2006-08-04 16:27:13Z thomas.diesler at jboss.com $
+
+import java.lang.reflect.Method;
+
+import javax.xml.rpc.soap.SOAPFaultException;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.core.EndpointInvocation;
+import org.jboss.ws.core.server.AbstractServiceEndpointInvoker;
+import org.jboss.ws.core.server.ServiceEndpointInfo;
+import org.jboss.ws.core.server.ServiceEndpointInvoker;
+import org.jboss.ws.core.utils.ThreadLocalAssociation;
+
+/**
+ * Handles invocations on MDB endpoints.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 21-Mar-2006
+ */
+public class ServiceEndpointInvokerMDB extends AbstractServiceEndpointInvoker implements ServiceEndpointInvoker
+{
+ // provide logging
+ private Logger log = Logger.getLogger(ServiceEndpointInvokerMDB.class);
+
+ /** Load the SEI implementation bean if necessary
+ */
+ public Class loadServiceEndpoint(ServiceEndpointInfo seInfo) throws ClassNotFoundException
+ {
+ return null;
+ }
+
+ // The dispatcher sets the target bean object
+ public void setTargetBeanObject(Object targetMDB)
+ {
+ ThreadLocalAssociation.localInvokerMDBAssoc().set(targetMDB);
+ }
+
+ /** Create an instance of the SEI implementation bean if necessary
+ */
+ public Object createServiceEndpoint(ServiceEndpointInfo seInfo, Object endpointContext, Class seiImplClass) throws InstantiationException, IllegalAccessException
+ {
+ return ThreadLocalAssociation.localInvokerMDBAssoc().get();
+ }
+
+ /** Invoke an instance of the SEI implementation bean */
+ public void invokeServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl, EndpointInvocation epInv) throws SOAPFaultException, Exception
+ {
+ log.debug("invokeServiceEndpoint: " + epInv.getJavaMethod().getName());
+ try
+ {
+ Class implClass = seiImpl.getClass();
+ Method seiMethod = epInv.getJavaMethod();
+ Method implMethod = getImplMethod(implClass, seiMethod);
+
+ Object[] args = epInv.getRequestPayload();
+ Object retObj = implMethod.invoke(seiImpl, args);
+ epInv.setReturnValue(retObj);
+ }
+ catch (Exception e)
+ {
+ handleInvocationException(e);
+ }
+ finally
+ {
+ // cleanup thread local
+ setTargetBeanObject(null);
+ }
+ }
+
+ /** Destroy an instance of the SEI implementation bean if necessary */
+ public void destroyServiceEndpoint(ServiceEndpointInfo seInfo, Object seiImpl)
+ {
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceRefMetaDataAdaptor.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceRefMetaDataAdaptor.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/ServiceRefMetaDataAdaptor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/ServiceRefMetaDataAdaptor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,106 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: ServiceRefMetaDataAdaptor.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+
+import javax.xml.namespace.QName;
+
+import org.jboss.webservice.metadata.serviceref.HandlerMetaData;
+import org.jboss.webservice.metadata.serviceref.InitParamMetaData;
+import org.jboss.webservice.metadata.serviceref.PortComponentRefMetaData;
+import org.jboss.webservice.metadata.serviceref.ServiceRefMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedPortComponentRefMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedServiceRefMetaData;
+import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerInitParam;
+
+/**
+ * Build container independent service ref meta data
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 05-May-2006
+ */
+public class ServiceRefMetaDataAdaptor
+{
+ public static UnifiedServiceRefMetaData buildUnifiedServiceRefMetaData(ServiceRefMetaData srmd)
+ {
+ UnifiedServiceRefMetaData usrmd = new UnifiedServiceRefMetaData();
+ usrmd.setServiceRefName(srmd.getServiceRefName());
+ usrmd.setServiceInterface(srmd.getServiceInterface());
+ usrmd.setWsdlFile(srmd.getWsdlFile());
+ usrmd.setJaxrpcMappingFile(srmd.getJaxrpcMappingFile());
+ usrmd.setServiceQName(srmd.getServiceQName());
+
+ LinkedHashMap<String, UnifiedPortComponentRefMetaData> pcrefs = new LinkedHashMap<String, UnifiedPortComponentRefMetaData>();
+ for (PortComponentRefMetaData pcmd : srmd.getPortComponentRefs())
+ {
+ UnifiedPortComponentRefMetaData upcmd = new UnifiedPortComponentRefMetaData();
+ upcmd.setServiceEndpointInterface(pcmd.getServiceEndpointInterface());
+ upcmd.setPortComponentLink(pcmd.getPortComponentLink());
+ upcmd.setCallProperties(pcmd.getCallProperties());
+ pcrefs.put(pcmd.getServiceEndpointInterface(), upcmd);
+ }
+ usrmd.setPortComponentRefs(pcrefs);
+
+ ArrayList<UnifiedHandlerMetaData> handlers = new ArrayList<UnifiedHandlerMetaData>();
+ for (HandlerMetaData hmd : srmd.getHandlers())
+ {
+ UnifiedHandlerMetaData uhmd = new UnifiedHandlerMetaData(null);
+ uhmd.setHandlerName(hmd.getHandlerName());
+ uhmd.setHandlerClass(hmd.getHandlerClass());
+
+ for(String portname : hmd.getPortNames())
+ {
+ uhmd.addPortName(portname);
+ }
+ for (InitParamMetaData ipmd : hmd.getInitParams())
+ {
+ HandlerInitParam ip = new HandlerInitParam();
+ ip.setParamName(ipmd.getParamName());
+ ip.setParamValue(ipmd.getParamValue());
+ uhmd.addInitParam(ip);
+ }
+ for (QName soapHeader : hmd.getSoapHeaders())
+ {
+ uhmd.addSoapHeader(soapHeader);
+ }
+ for (String soapRole : hmd.getSoapRoles())
+ {
+ uhmd.addSoapRole(soapRole);
+ }
+ handlers.add(uhmd);
+ }
+ usrmd.setHandlers(handlers);
+
+ usrmd.setConfigName(srmd.getConfigName());
+ usrmd.setConfigFile(srmd.getConfigFile());
+ usrmd.setWsdlOverride(srmd.getWsdlOverride());
+ usrmd.setCallProperties(srmd.getCallProperties());
+ usrmd.setResourceCL(srmd.getResourceCL());
+
+ return usrmd;
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebMetaDataAdaptor.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/WebMetaDataAdaptor.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/WebMetaDataAdaptor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebMetaDataAdaptor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: WebMetaDataAdaptor.java 354 2006-05-16 13:46:47Z thomas.diesler at jboss.com $
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.jboss.metadata.WebMetaData;
+import org.jboss.metadata.WebSecurityMetaData;
+import org.jboss.metadata.WebSecurityMetaData.WebResourceCollection;
+import org.jboss.ws.metadata.j2ee.UnifiedServiceRefMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData.PublishLocationAdapter;
+import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData.UnifiedWebResourceCollection;
+
+/**
+ * Build container independent web meta data
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 05-May-2006
+ */
+public class WebMetaDataAdaptor
+{
+ public static UnifiedWebMetaData buildUnifiedWebMetaData(WebMetaData wmd)
+ {
+ UnifiedWebMetaData umd = new UnifiedWebMetaData();
+ umd.setContextRoot(wmd.getContextRoot());
+ umd.setServletMappings(wmd.getServletMappings());
+ umd.setServletClassNames(wmd.getServletClassMap());
+ umd.setConfigName(wmd.getConfigName());
+ umd.setConfigFile(wmd.getConfigFile());
+ umd.setSecurityDomain(wmd.getSecurityDomain());
+ umd.setPublishLocationAdapter(getPublishLocationAdpater(wmd));
+ umd.setSecurityMetaData(getSecurityMetaData(wmd.getSecurityContraints()));
+
+ return umd;
+ }
+
+ private static PublishLocationAdapter getPublishLocationAdpater(final WebMetaData wmd)
+ {
+ return new PublishLocationAdapter ()
+ {
+ public String getWsdlPublishLocationByName(String name)
+ {
+ return wmd.getWsdlPublishLocationByName(name);
+ }
+ };
+ }
+
+ private static List<UnifiedWebSecurityMetaData> getSecurityMetaData(final Iterator securityConstraints)
+ {
+ ArrayList<UnifiedWebSecurityMetaData> unifiedsecurityMetaData = new ArrayList<UnifiedWebSecurityMetaData>();
+
+ while (securityConstraints.hasNext())
+ {
+ WebSecurityMetaData securityMetaData = (WebSecurityMetaData)securityConstraints.next();
+
+ UnifiedWebSecurityMetaData current = new UnifiedWebSecurityMetaData();
+ unifiedsecurityMetaData.add(current);
+
+ current.setTransportGuarantee(securityMetaData.getTransportGuarantee());
+
+ HashMap resources = securityMetaData.getWebResources();
+ for (Object webResourceObj : resources.values())
+ {
+ WebResourceCollection webResource = (WebResourceCollection)webResourceObj;
+ UnifiedWebResourceCollection currentResource = current.addWebResource(webResource.getName());
+ for (String currentPattern : webResource.getUrlPatterns())
+ {
+ currentResource.addPattern(currentPattern);
+ }
+ }
+
+ }
+
+ return unifiedsecurityMetaData;
+ }
+
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebServiceClientDeployer.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/WebServiceClientDeployer.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/WebServiceClientDeployer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebServiceClientDeployer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,139 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.integration.jboss4;
+
+// $Id: WebServiceClientDeployer.java 522 2006-06-30 06:54:49Z thomas.diesler at jboss.com $
+
+import java.net.URL;
+import java.util.Iterator;
+
+import javax.naming.Context;
+import javax.wsdl.Definition;
+import javax.wsdl.WSDLException;
+import javax.xml.rpc.JAXRPCException;
+
+import org.jboss.deployment.DeploymentException;
+import org.jboss.deployment.DeploymentInfo;
+import org.jboss.naming.Util;
+import org.jboss.system.ServiceMBeanSupport;
+import org.jboss.webservice.metadata.serviceref.ServiceRefMetaData;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.jaxrpc.ServiceReferenceable;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientDeployment;
+import org.jboss.ws.metadata.j2ee.UnifiedServiceRefMetaData;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMappingFactory;
+import org.jboss.ws.tools.wsdl.WSDL11DefinitionFactory;
+
+/**
+ * Binds a JAXRPC Service object in the client's ENC for every service-ref element in the
+ * deployment descriptor.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 15-Jan-2005
+ */
+public class WebServiceClientDeployer extends ServiceMBeanSupport implements WebServiceClientDeployerMBean
+{
+ /**
+ * This binds a jaxrpc Service into the callers ENC for every service-ref element
+ *
+ * @param envCtx ENC to bind the javax.rpc.xml.Service object to
+ * @param serviceRefs An iterator of the service-ref elements in the client deployment descriptor
+ * @param di The client's deployment info
+ * @throws org.jboss.deployment.DeploymentException if it goes wrong
+ */
+ public void setupServiceRefEnvironment(Context envCtx, Iterator serviceRefs, DeploymentInfo di) throws DeploymentException
+ {
+ try
+ {
+ while (serviceRefs.hasNext())
+ {
+ ServiceRefMetaData serviceRef = (ServiceRefMetaData)serviceRefs.next();
+ String serviceRefName = serviceRef.getServiceRefName();
+
+ UnifiedServiceRefMetaData wsServiceRef = ServiceRefMetaDataAdaptor.buildUnifiedServiceRefMetaData(serviceRef);
+
+ JavaWsdlMapping javaWsdlMapping = getJavaWsdlMapping(wsServiceRef);
+ wsServiceRef.setJavaWsdlMapping(javaWsdlMapping);
+
+ Definition wsdlDefinition = getWsdlDefinition(wsServiceRef);
+ wsServiceRef.setWsdlDefinition(wsdlDefinition);
+
+ // build the container independent deployment info
+ UnifiedDeploymentInfo udi = new JAXRPCClientDeployment(UnifiedDeploymentInfo.DeploymentType.JAXRPC_Client);
+ DeploymentInfoAdaptor.buildDeploymentInfo(udi, di);
+
+ ServiceReferenceable ref = new ServiceReferenceable(wsServiceRef, udi);
+ Util.bind(envCtx, serviceRefName, ref);
+
+ log.debug("Webservice binding: java:comp/env/" + serviceRefName);
+ }
+ }
+ catch (Exception e)
+ {
+ throw new DeploymentException("Cannot bind webservice to client environment", e);
+ }
+ }
+
+ private JavaWsdlMapping getJavaWsdlMapping(UnifiedServiceRefMetaData serviceRef)
+ {
+ JavaWsdlMapping javaWsdlMapping = null;
+ URL mappingURL = serviceRef.getJavaWsdlMappingURL();
+ if (mappingURL != null)
+ {
+ try
+ {
+ // setup the XML binding Unmarshaller
+ JavaWsdlMappingFactory mappingFactory = JavaWsdlMappingFactory.newInstance();
+ javaWsdlMapping = mappingFactory.parse(mappingURL);
+ }
+ catch (Exception e)
+ {
+ throw new JAXRPCException("Cannot unmarshal jaxrpc-mapping-file: " + mappingURL, e);
+ }
+ }
+ return javaWsdlMapping;
+ }
+
+ private Definition getWsdlDefinition(UnifiedServiceRefMetaData serviceRef)
+ {
+ Definition wsdlDefinition = null;
+ {
+ URL wsdlOverride = serviceRef.getWsdlOverride();
+ URL wsdlURL = serviceRef.getWsdlURL();
+ if (wsdlOverride == null && wsdlURL != null)
+ {
+ try
+ {
+ WSDL11DefinitionFactory factory = WSDL11DefinitionFactory.newInstance();
+ wsdlDefinition = factory.parse(wsdlURL);
+ }
+ catch (WSDLException e)
+ {
+ throw new WSException("Cannot unmarshall wsdl, cause: " + e.toString());
+ }
+ }
+ }
+ return wsdlDefinition;
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebServiceClientDeployerMBean.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/WebServiceClientDeployerMBean.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/WebServiceClientDeployerMBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/WebServiceClientDeployerMBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,38 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.integration.jboss4;
+
+import javax.management.ObjectName;
+
+import org.jboss.ws.core.utils.ObjectNameFactory;
+import org.jboss.system.ServiceMBean;
+import org.jboss.webservice.WebServiceClientDeployment;
+
+/**
+ * MBean interface.
+ * @since 19-Jan-2005
+ */
+public interface WebServiceClientDeployerMBean extends WebServiceClientDeployment, ServiceMBean
+{
+ // default object name
+ public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.ws:service=WebServiceClientDeployer");
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/jms)
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSMessageDispatcher.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/jms/JMSMessageDispatcher.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSMessageDispatcher.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-package org.jboss.ws.integration.jboss42.jms;
+package org.jboss.ws.integration.jboss4.jms;
// $Id:JMSMessageDispatcher.java 915 2006-09-08 08:40:45Z thomas.diesler at jboss.com $
@@ -42,12 +42,12 @@
import org.jboss.ws.core.server.ServiceEndpointManager;
import org.jboss.ws.core.server.ServiceEndpointManagerFactory;
import org.jboss.ws.core.soap.MessageContextAssociation;
-import org.jboss.ws.integration.jboss42.ServiceEndpointInvokerMDB;
+import org.jboss.ws.integration.jboss4.ServiceEndpointInvokerMDB;
import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
/**
* A dispatcher for SOAPMessages
- *
+ *
* @author Thomas.Diesler at jboss.org
*/
public class JMSMessageDispatcher implements JMSMessageDispatcherMBean
@@ -83,7 +83,7 @@
CommonMessageContext msgContext = new SOAPMessageContextJAXRPC();
MessageContextAssociation.pushMessageContext(msgContext);
msgContext.setEndpointMetaData(sepMetaData);
-
+
SOAPMessage resMessage = null;
try
{
@@ -96,13 +96,13 @@
}
catch (Exception ex)
{
- WSException.rethrowException("Cannot process SOAP request", ex);
+ WSException.rethrow("Cannot process SOAP request", ex);
}
finally
{
MessageContextAssociation.popMessageContext();
}
-
+
return resMessage;
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSMessageDispatcherMBean.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/jms/JMSMessageDispatcherMBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSMessageDispatcherMBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-package org.jboss.ws.integration.jboss42.jms;
+package org.jboss.ws.integration.jboss4.jms;
// $Id:JMSMessageDispatcher.java 915 2006-09-08 08:40:45Z thomas.diesler at jboss.com $
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSTransportSupport.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/jms/JMSTransportSupport.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/JMSTransportSupport.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-package org.jboss.ws.integration.jboss42.jms;
+package org.jboss.ws.integration.jboss4.jms;
// $Id:JMSTransportSupport.java 915 2006-09-08 08:40:45Z thomas.diesler at jboss.com $
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/MessageDispatcher.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/jboss42/jms/MessageDispatcher.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/jboss4/jms/MessageDispatcher.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-package org.jboss.ws.integration.jboss42.jms;
+package org.jboss.ws.integration.jboss4.jms;
// $Id:MessageDispatcher.java 898 2006-09-05 08:23:03Z thomas.diesler at jboss.com $
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/DeploymentInfoAdaptor.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/tomcat/DeploymentInfoAdaptor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/DeploymentInfoAdaptor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -37,9 +37,9 @@
import javax.servlet.ServletContext;
import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.AbstractServiceEndpointPublisher;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.deployment.UnifiedDeploymentInfo;
-import org.jboss.ws.deployment.ServiceEndpointPublisher;
import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData.UnifiedWebResourceCollection;
@@ -69,13 +69,9 @@
shortName = shortName.substring(1) + ".war";
udi.shortName = shortName;
- udi.localUrl = warURL;
udi.url = warURL;
udi.metaData = buildWebMetaData(udi, ctx);
- udi.annotationsCl = loader.getParent();
- udi.localCl = loader;
- udi.ucl = loader.getParent();
- udi.deployedObject = null;
+ udi.classLoader = loader;
return udi;
}
@@ -86,11 +82,10 @@
UnifiedWebMetaData wmd = new UnifiedWebMetaData();
wmd.setServletMappings(getServetMappings(webXML));
- wmd.setServletClassMap(getServetClassMap(webXML));
+ wmd.setServletClassNames(getServetClassMap(webXML));
wmd.setContextRoot(getContextRoot(udi.url));
wmd.setConfigName(ctx.getInitParameter("jbossws-config-name"));
wmd.setConfigFile(ctx.getInitParameter("jbossws-config-file"));
- wmd.setContextLoader(udi.ucl);
wmd.setSecurityMetaData(getSecurityMetaData(webXML));
return wmd;
@@ -143,7 +138,7 @@
Element ipel = (Element)itParams.next();
String paramName = DOMUtils.getTextContent(DOMUtils.getFirstChildElement(ipel, "param-name"));
String paramValue = DOMUtils.getTextContent(DOMUtils.getFirstChildElement(ipel, "param-value"));
- if (ServiceEndpointPublisher.INIT_PARAM_SERVICE_ENDPOINT_IMPL.equals(paramName))
+ if (AbstractServiceEndpointPublisher.INIT_PARAM_SERVICE_ENDPOINT_IMPL.equals(paramName))
{
servletClassMap.put(servletName, paramValue);
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/ServerConfigImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/tomcat/ServerConfigImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/ServerConfigImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -61,15 +61,4 @@
return null;
}
}
-
- public int getWebServicePort()
- {
- return 8080;
- }
-
- public int getWebServiceSecurePort()
- {
- return 8443;
- }
-
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatContextServlet.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/tomcat/TomcatContextServlet.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatContextServlet.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,21 +24,11 @@
// $Id$
import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
import java.net.URL;
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletContext;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
import org.jboss.ws.core.CommonContextServlet;
-import org.jboss.ws.core.server.ServiceEndpointManager;
import org.jboss.ws.core.server.ServiceEndpointManagerFactory;
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointPublisher.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointPublisher.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointPublisher.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,37 +24,24 @@
// $Id$
import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
import java.net.URL;
import java.util.Arrays;
import java.util.HashSet;
-import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.jboss.logging.Logger;
-import org.jboss.ws.WSException;
-import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.core.utils.JBossWSEntityResolver;
-import org.jboss.ws.deployment.ServiceEndpointPublisher;
-import org.jboss.ws.deployment.UnifiedDeploymentInfo;
-import org.jboss.ws.metadata.webservices.PortComponentMetaData;
-import org.jboss.ws.metadata.webservices.WebserviceDescriptionMetaData;
-import org.jboss.ws.metadata.webservices.WebservicesFactory;
-import org.jboss.ws.metadata.webservices.WebservicesMetaData;
-import org.jboss.xb.binding.ObjectModelFactory;
-import org.jboss.xb.binding.Unmarshaller;
-import org.jboss.xb.binding.UnmarshallerFactory;
-import org.w3c.dom.Element;
+import org.jboss.util.NotImplementedException;
+import org.jboss.ws.core.server.AbstractServiceEndpointPublisher;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
/**
- * Publish the HTTP service endpoint to Tomcat
- *
+ * Publish the HTTP service endpoint to Tomcat
+ *
* @author Thomas.Diesler at jboss.org
* @since 12-May-2006
*/
-public class TomcatServiceEndpointPublisher extends ServiceEndpointPublisher
+public class TomcatServiceEndpointPublisher extends AbstractServiceEndpointPublisher
{
// logging support
private static Logger log = Logger.getLogger(TomcatServiceEndpointPublisher.class);
@@ -80,7 +67,7 @@
{
this.targetDir = new File(dirName);
if (targetDir.isDirectory() == false)
- throw new IllegalArgumentException("Target dir does not exist: " + targetDir);
+ throw new IllegalArgumentException ("Target dir does not exist: " + targetDir);
}
public void setInterval(long interval)
@@ -88,138 +75,29 @@
this.interval = interval;
}
- public String publishServiceEndpoint(UnifiedDeploymentInfo udi) throws Exception
+ public String publishServiceEndpoint(URL warURL, ClassLoader loader) throws Exception
{
- new wspublish().process(udi.url, targetDir, servletName);
+ new wspublish().process(warURL, targetDir, servletName);
return "OK";
}
- public String destroyServiceEndpoint(UnifiedDeploymentInfo udi) throws Exception
+ public String destroyServiceEndpoint(URL warURL) throws Exception
{
- File targetFile = new File(targetDir.getAbsolutePath() + "/" + new File(udi.url.getFile()).getName());
+ File targetFile = new File(targetDir.getAbsolutePath() + "/" + new File(warURL.getFile()).getName());
if (targetFile.delete())
return "OK";
- else return "NOT FOUND";
- }
-
- public Set<String> getWebServiceServletLinks(UnifiedDeploymentInfo udi) throws Exception
- {
- File warDir = new File(udi.localUrl.getFile());
-
- if (warDir.exists() == false || warDir.isDirectory() == false)
- {
- throw new IllegalArgumentException("Invalid localUrl " + udi.localUrl);
- }
-
- File webServicesXml = new File(warDir.getCanonicalPath() + "/WEB-INF/webservices.xml");
- if (webServicesXml.exists())
- {
- return readWebservicesXmlLinks(webServicesXml.toURL());
- }
else
- {
- return testAnnotatedServices(udi);
- }
+ return "NOT FOUND";
}
- private Set<String> readWebservicesXmlLinks(URL webServicesXml)
+ public String publishServiceEndpoint(UnifiedDeploymentInfo udi)
{
- HashSet<String> links = new HashSet<String>();
-
- try
- {
- InputStream is = webServicesXml.openStream();
- try
- {
- Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
- unmarshaller.setEntityResolver(new JBossWSEntityResolver());
- ObjectModelFactory factory = new WebservicesFactory(webServicesXml);
- WebservicesMetaData jsr109MetaData = (WebservicesMetaData)unmarshaller.unmarshal(is, factory, null);
-
- for (WebserviceDescriptionMetaData currentWebService : jsr109MetaData.getWebserviceDescriptions())
- {
- for (PortComponentMetaData currentPort : currentWebService.getPortComponents())
- {
- String servletLink = currentPort.getServletLink();
- if (servletLink != null && servletLink.length() > 0)
- {
- links.add(servletLink);
- }
- }
- }
- }
- finally
- {
- is.close();
- }
- }
- catch (RuntimeException e)
- {
- throw e;
- }
- catch (Exception e)
- {
- throw new WSException(e);
- }
-
- return links;
+ throw new NotImplementedException();
}
- private Set<String> testAnnotatedServices(UnifiedDeploymentInfo udi)
+ public String destroyServiceEndpoint(UnifiedDeploymentInfo udi)
{
- HashSet<String> links = new HashSet<String>();
-
- try
- {
- ClassLoader warClassLoader = DeploymentLoader.newInstance(udi.localUrl);
- File webXML = new File(udi.localUrl.getFile() + "/WEB-INF/web.xml");
- Element root = DOMUtils.parse(new FileInputStream(webXML));
-
- Iterator itServlets = DOMUtils.getChildElements(root, "servlet");
-
- while (itServlets.hasNext())
- {
- Element servletElement = (Element)itServlets.next();
- String linkName = DOMUtils.getTextContent(DOMUtils.getFirstChildElement(servletElement, "servlet-name"));
-
- // find the servlet-class
- Element classElement = DOMUtils.getFirstChildElement(servletElement, "servlet-class");
- if (classElement == null)
- throw new WSException("Cannot find <servlet-class> for servlet-name: " + linkName);
- String servletClassName = DOMUtils.getTextContent(classElement);
-
- log.debug("Testing '" + linkName + "', '" + servletClassName + "'");
-
- try
- {
- Class servletClass = warClassLoader.loadClass(servletClassName);
-
- if (servletClass.isAnnotationPresent(javax.jws.WebService.class))
- {
- links.add(linkName);
- }
- else
- {
- log.debug("Servlet for '" + linkName + "' not annotated with javax.jws.WebService, assuming normal servlet");
- }
- }
- catch (ClassNotFoundException e)
- {
- log.warn("Unable to load class '" + servletClassName + "' for servlet '" + linkName + "'", e);
- }
-
- }
- }
- catch (RuntimeException e)
- {
- throw e;
- }
- catch (Exception e)
- {
- throw new WSException(e);
- }
-
- return links;
+ throw new NotImplementedException();
}
private void scanDeployDir()
@@ -254,9 +132,7 @@
if (new File(targetDir.getAbsolutePath() + "/" + file.getName()).exists() == false)
{
System.out.println("Deploy file: " + file);
- UnifiedDeploymentInfo udi = new UnifiedDeploymentInfo(null);
- udi.url = file.toURL();
- publishServiceEndpoint(udi);
+ publishServiceEndpoint(file.toURL(), null);
}
else
{
@@ -276,9 +152,7 @@
if (new File(targetDir.getAbsolutePath() + "/" + file.getName()).exists())
{
System.out.println("Undeploy file: " + file);
- UnifiedDeploymentInfo udi = new UnifiedDeploymentInfo(null);
- udi.url = file.toURL();
- destroyServiceEndpoint(udi);
+ destroyServiceEndpoint(file.toURL());
}
else
{
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointServlet.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointServlet.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointServlet.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -38,12 +38,12 @@
import org.jboss.kernel.spi.registry.KernelRegistryEntry;
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.AbstractServiceEndpointServlet;
+import org.jboss.ws.core.server.JAXWSDeployment;
import org.jboss.ws.core.server.KernelLocator;
-import org.jboss.ws.core.server.StandardEndpointServlet;
-import org.jboss.ws.deployment.JSR109Deployment;
-import org.jboss.ws.deployment.JSR181Deployment;
-import org.jboss.ws.deployment.ServiceEndpointDeployer;
-import org.jboss.ws.deployment.UnifiedDeploymentInfo;
+import org.jboss.ws.core.server.ServiceEndpointDeployer;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.builder.jaxrpc.JAXRPCDeployment;
/**
* A servlet that is installed for every web service endpoint.
@@ -51,7 +51,7 @@
* @author Thomas.Diesler at jboss.org
* @since 16-May-2006
*/
-public class TomcatServiceEndpointServlet extends StandardEndpointServlet
+public class TomcatServiceEndpointServlet extends AbstractServiceEndpointServlet
{
// provide logging
private static final Logger log = Logger.getLogger(TomcatServiceEndpointServlet.class);
@@ -63,7 +63,7 @@
{
CrossContextLoader jbwsLoader = CrossContextLoader.newInstance(config.getServletContext());
Thread.currentThread().setContextClassLoader(jbwsLoader);
-
+
super.init(config);
deployServiceEndpoints(getServletContext());
}
@@ -94,7 +94,7 @@
{
CrossContextLoader jbwsLoader = CrossContextLoader.newInstance(getServletContext());
Thread.currentThread().setContextClassLoader(jbwsLoader);
- }
+ }
super.service(req, res);
}
finally
@@ -103,7 +103,7 @@
}
}
- /**
+ /**
* Bootstrap the Microkernel and initialize the
* ServiceEndpointManager
*/
@@ -113,7 +113,7 @@
File jbosswsDir = new File(jbosswsPath);
if (jbosswsDir.exists() == false || jbosswsDir.isDirectory() == false)
throw new IllegalStateException("Cannot find expanded dir: " + jbosswsDir);
-
+
File beansFile = new File(jbosswsPath + "/META-INF/jboss-beans.xml");
if (beansFile.exists() == false)
throw new IllegalStateException("Cannot find jboss-beans.xml at: " + beansFile);
@@ -164,11 +164,11 @@
URL webservices109URL = ctxLoader.findResource("WEB-INF/webservices.xml");
if (webservices109URL != null)
{
- udi = new JSR109Deployment(UnifiedDeploymentInfo.DeploymentType.JSR109_JSE, webservices109URL);
+ udi = new JAXRPCDeployment(UnifiedDeploymentInfo.DeploymentType.JAXRPC_JSE, webservices109URL);
}
else
{
- udi = new JSR181Deployment(UnifiedDeploymentInfo.DeploymentType.JSR181_JSE);
+ udi = new JAXWSDeployment(UnifiedDeploymentInfo.DeploymentType.JSR181_JSE);
}
DeploymentInfoAdaptor.buildDeploymentInfo(udi, ctxLoader, servletContext);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.integration.tomcat;
-// $Id:wspublish.java 915 2006-09-08 08:40:45Z thomas.diesler at jboss.com $
+// $Id$
import java.io.File;
import java.io.FileOutputStream;
@@ -32,10 +32,9 @@
import org.jboss.logging.Logger;
import org.jboss.util.file.JarUtils;
-import org.jboss.ws.deployment.UnifiedDeploymentInfo;
/**
- * Publish a standard portable J2EE web service endpoint
+ * Publish a standard portable J2EE web service endpoint
* to standalone Tomcat
*
* @author Thomas.Diesler at jboss.org
@@ -46,7 +45,7 @@
// provide logging
protected final Logger log = Logger.getLogger(wspublish.class);
- public static final String DEFAULT_TOMCAT_SERVICE_ENDPOINT_SERVLET = TomcatServiceEndpointServlet.class.getName();
+ public static final String DEFAULT_TOMCAT_SERVICE_ENDPOINT_SERVLET = "org.jboss.ws.integration.tomcat.TomcatServiceEndpointServlet";
public URL process(URL warURL, File destDir, String servletName) throws IOException
{
@@ -70,9 +69,7 @@
TomcatServiceEndpointPublisher publisher = new TomcatServiceEndpointPublisher();
publisher.setServiceEndpointServlet(servletName);
- UnifiedDeploymentInfo udi = new UnifiedDeploymentInfo(null);
- udi.localUrl = tmpDir.toURL();
- publisher.rewriteWebXML(udi);
+ publisher.rewriteWarWebXml(tmpDir.toURL(), null);
File outFile = new File(destDir.getCanonicalPath() + "/" + warName);
outFile.getParentFile().mkdirs();
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/acessor/ReflectiveMethodAccessor.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/acessor/ReflectiveMethodAccessor.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/acessor/ReflectiveMethodAccessor.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,105 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.acessor;
+
+import java.beans.PropertyDescriptor;
+import java.lang.reflect.Method;
+
+import org.jboss.ws.WSException;
+import org.jboss.ws.metadata.umdm.ParameterMetaData;
+import org.jboss.ws.metadata.umdm.WrappedParameter;
+import org.jboss.ws.metadata.umdm.ParameterMetaData.AccessorFactoryCreator;
+import org.jboss.ws.metadata.umdm.WrappedParameter.Accessor;
+import org.jboss.ws.metadata.umdm.WrappedParameter.AccessorFactory;
+
+/**
+ * A simple JavaBean accessor that uses ordinary reflection.
+ *
+ * @author <a href="jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1603 $
+ */
+ at SuppressWarnings("unchecked")
+public class ReflectiveMethodAccessor implements Accessor
+{
+ private Method getter;
+ private Method setter;
+
+ public static AccessorFactoryCreator FACTORY_CREATOR = new AccessorFactoryCreator()
+ {
+ public AccessorFactory create(ParameterMetaData parameter)
+ {
+ final Class clazz = parameter.getJavaType();
+
+ return new AccessorFactory()
+ {
+ public Accessor create(WrappedParameter parameter)
+ {
+ try
+ {
+ PropertyDescriptor pd = new PropertyDescriptor(parameter.getVariable(), clazz);
+ return new ReflectiveMethodAccessor(pd.getReadMethod(), pd.getWriteMethod());
+ }
+ catch (Throwable t)
+ {
+ WSException ex = new WSException(t.getMessage());
+ ex.setStackTrace(t.getStackTrace());
+ throw ex;
+ }
+ }
+ };
+ }
+ };
+
+ private ReflectiveMethodAccessor(Method getter, Method setter)
+ {
+ this.getter = getter;
+ this.setter = setter;
+ }
+
+ public Object get(Object bean)
+ {
+ try
+ {
+ return getter.invoke(bean);
+ }
+ catch (Throwable e)
+ {
+ WSException ex = new WSException(e.getMessage());
+ ex.setStackTrace(ex.getStackTrace());
+ throw ex;
+ }
+ }
+
+ public void set(Object bean, Object value)
+ {
+ try
+ {
+ setter.invoke(bean, value);
+ }
+ catch (Throwable e)
+ {
+ WSException ex = new WSException(e.getMessage());
+ ex.setStackTrace(ex.getStackTrace());
+ throw ex;
+ }
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/acessor/ReflectiveMethodAccessor.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,476 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.builder;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import javax.management.ObjectName;
+import javax.wsdl.Definition;
+import javax.wsdl.Import;
+import javax.wsdl.Port;
+import javax.wsdl.Service;
+import javax.wsdl.extensions.ExtensibilityElement;
+import javax.wsdl.extensions.UnknownExtensibilityElement;
+import javax.wsdl.extensions.soap.SOAPAddress;
+import javax.xml.namespace.QName;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.CommonSOAPBinding;
+import org.jboss.ws.core.jaxrpc.Use;
+import org.jboss.ws.core.server.ServiceEndpointManager;
+import org.jboss.ws.core.server.ServiceEndpointManagerFactory;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.core.utils.ObjectNameFactory;
+import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedEjbPortComponentMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedMessageDrivenMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData.UnifiedWebResourceCollection;
+import org.jboss.ws.metadata.umdm.ClientEndpointMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.wsdl.NCName;
+import org.jboss.ws.metadata.wsdl.WSDLBinding;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
+import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
+import org.jboss.ws.metadata.wsdl.WSDLInterface;
+import org.jboss.ws.metadata.wsdl.WSDLService;
+import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
+import org.jboss.ws.metadata.wsse.WSSecurityConfigurationFactory;
+import org.w3c.dom.Element;
+
+/** An abstract meta data builder.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 19-May-2005
+ */
+public abstract class MetaDataBuilder
+{
+ // provide logging
+ private final static Logger log = Logger.getLogger(MetaDataBuilder.class);
+
+ public static WSSecurityConfiguration getWsSecurityConfiguration(UnifiedDeploymentInfo udi) throws IOException
+ {
+ WSSecurityConfiguration config = null;
+
+ String resource = WSSecurityConfigurationFactory.SERVER_RESOURCE_NAME;
+ if (udi.metaData instanceof UnifiedWebMetaData)
+ {
+ resource = "WEB-INF/" + resource;
+ }
+ else
+ {
+ resource = "META-INF/" + resource;
+ }
+
+ URL location = udi.classLoader.getResource(resource);
+ if (location != null)
+ {
+ config = WSSecurityConfigurationFactory.newInstance().parse(location);
+
+ // Get and set deployment path to the keystore file
+ if (config.getKeyStoreFile() != null)
+ {
+ location = udi.classLoader.getResource(config.getKeyStoreFile());
+ if (location != null)
+ config.setKeyStoreURL(location);
+ }
+
+ if (config.getTrustStoreFile() != null)
+ {
+ location = udi.classLoader.getResource(config.getTrustStoreFile());
+ if (location != null)
+ config.setTrustStoreURL(location);
+ }
+ }
+
+ return config;
+ }
+
+ /** Inititialize the endpoint binding */
+ protected void initEndpointBinding(WSDLEndpoint wsdlEndpoint, ClientEndpointMetaData epMetaData)
+ {
+ WSDLDefinitions wsdlDefinitions = wsdlEndpoint.getWsdlService().getWsdlDefinitions();
+ WSDLInterface wsdlInterface = wsdlEndpoint.getInterface();
+ WSDLBinding wsdlBinding = wsdlDefinitions.getBindingByInterfaceName(wsdlInterface.getQName());
+ String bindingType = wsdlBinding.getType();
+ if (Constants.NS_SOAP11.equals(bindingType))
+ epMetaData.setBindingId(CommonSOAPBinding.SOAP11HTTP_BINDING);
+ else if (Constants.NS_SOAP12.equals(bindingType))
+ epMetaData.setBindingId(CommonSOAPBinding.SOAP12HTTP_BINDING);
+ }
+
+ /** Initialize the endpoint encoding style from the binding operations
+ */
+ protected void initEndpointEncodingStyle(EndpointMetaData epMetaData)
+ {
+ WSDLDefinitions wsdlDefinitions = epMetaData.getServiceMetaData().getWsdlDefinitions();
+ for (WSDLService wsdlService : wsdlDefinitions.getServices())
+ {
+ for (WSDLEndpoint wsdlEndpoint : wsdlService.getEndpoints())
+ {
+ if (epMetaData.getQName().equals(wsdlEndpoint.getQName()))
+ {
+ QName bindQName = wsdlEndpoint.getBinding();
+ NCName ncName = new NCName(bindQName.getLocalPart());
+ WSDLBinding wsdlBinding = wsdlDefinitions.getBinding(ncName);
+ if (wsdlBinding == null)
+ throw new WSException("Cannot obtain binding: " + ncName);
+
+ for (WSDLBindingOperation wsdlBindingOperation : wsdlBinding.getOperations())
+ {
+ String encStyle = wsdlBindingOperation.getEncodingStyle();
+ epMetaData.setEncodingStyle(Use.valueOf(encStyle));
+ }
+ }
+ }
+ }
+ }
+
+
+ public static void initEndpointAddress(UnifiedDeploymentInfo udi, ServerEndpointMetaData sepMetaData, String linkName)
+ {
+ String contextRoot = sepMetaData.getContextRoot();
+ String urlPattern = sepMetaData.getURLPattern();
+
+ if (udi.metaData instanceof UnifiedWebMetaData)
+ {
+ UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
+ String jbwebContextRoot = webMetaData.getContextRoot();
+ if (jbwebContextRoot != null)
+ contextRoot = jbwebContextRoot;
+
+ Map<String, String> servletMappings = webMetaData.getServletMappings();
+ urlPattern = (String)servletMappings.get(linkName);
+ if (urlPattern == null)
+ throw new WSException("Cannot obtain url pattern for servlet name: " + linkName);
+ }
+
+ if (udi.metaData instanceof UnifiedApplicationMetaData)
+ {
+ UnifiedApplicationMetaData applMetaData = (UnifiedApplicationMetaData)udi.metaData;
+ UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)applMetaData.getBeanByEjbName(linkName);
+ if (beanMetaData == null)
+ throw new WSException("Cannot obtain meta data for ejb link: " + linkName);
+
+ String wsContextRoot = applMetaData.getWebServiceContextRoot();
+ if (wsContextRoot != null)
+ contextRoot = wsContextRoot;
+
+ UnifiedEjbPortComponentMetaData ejbpcMetaData = beanMetaData.getPortComponent();
+ if (ejbpcMetaData != null && ejbpcMetaData.getPortComponentURI() != null)
+ {
+ String pcUrlPattern = ejbpcMetaData.getPortComponentURI();
+ if (pcUrlPattern != null)
+ urlPattern = pcUrlPattern;
+ }
+ }
+
+ // If not, derive the context root from the deployment
+ if (contextRoot == null)
+ {
+ contextRoot = "/";
+ if (udi.parent != null)
+ {
+ String shortName = udi.parent.shortName;
+ shortName = shortName.substring(0, shortName.indexOf('.'));
+ contextRoot += shortName + "-";
+ }
+ String shortName = udi.shortName;
+ shortName = shortName.substring(0, shortName.indexOf('.'));
+ contextRoot += shortName;
+ }
+
+ if (contextRoot.startsWith("/") == false)
+ contextRoot = "/" + contextRoot;
+ if (urlPattern == null)
+ urlPattern = "/" + linkName;
+ if (urlPattern.startsWith("/") == false)
+ urlPattern = "/" + urlPattern;
+
+ sepMetaData.setContextRoot(contextRoot);
+ sepMetaData.setURLPattern(urlPattern);
+
+ String servicePath = contextRoot + urlPattern;
+ sepMetaData.setEndpointAddress(getServiceEndpointAddress(null, servicePath));
+ }
+
+ public static ObjectName getServiceEndpointID(UnifiedDeploymentInfo udi, ServerEndpointMetaData sepMetaData)
+ {
+ String linkName = sepMetaData.getLinkName();
+ String context = sepMetaData.getContextRoot();
+ if (context.startsWith("/"))
+ context = context.substring(1);
+
+ StringBuilder idstr = new StringBuilder(ServerEndpointMetaData.SEPID_DOMAIN + ":");
+ idstr.append(ServerEndpointMetaData.SEPID_PROPERTY_CONTEXT + "=" + context);
+ idstr.append("," + ServerEndpointMetaData.SEPID_PROPERTY_ENDPOINT + "=" + linkName);
+
+ // Add JMS destination JNDI name for MDB endpoints
+ if (udi.metaData instanceof UnifiedApplicationMetaData)
+ {
+ String ejbName = sepMetaData.getLinkName();
+ if (ejbName == null)
+ throw new WSException("Cannot obtain ejb-link from port component");
+
+ UnifiedApplicationMetaData applMetaData = (UnifiedApplicationMetaData)udi.metaData;
+ UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)applMetaData.getBeanByEjbName(ejbName);
+ if (beanMetaData == null)
+ throw new WSException("Cannot obtain ejb meta data for: " + ejbName);
+
+ if (beanMetaData instanceof UnifiedMessageDrivenMetaData)
+ {
+ UnifiedMessageDrivenMetaData mdMetaData = (UnifiedMessageDrivenMetaData)beanMetaData;
+ String jndiName = mdMetaData.getDestinationJndiName();
+ idstr.append(",jms=" + jndiName);
+ }
+ }
+
+ return ObjectNameFactory.create(idstr.toString());
+ }
+
+
+ /** Get the web service address for a given path
+ */
+ public static String getServiceEndpointAddress(String uriScheme, String servicePath)
+ {
+ if (servicePath == null || servicePath.length() == 0)
+ throw new WSException("Service path cannot be null");
+
+ if (servicePath.endsWith("/*"))
+ servicePath = servicePath.substring(0, servicePath.length() - 2);
+
+ if (uriScheme == null)
+ uriScheme = "http";
+
+ ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
+ ServiceEndpointManager epManager = factory.getServiceEndpointManager();
+ String host = epManager.getWebServiceHost();
+ int port = epManager.getWebServicePort();
+ if ("https".equals(uriScheme))
+ port = epManager.getWebServiceSecurePort();
+
+ String urlStr = uriScheme + "://" + host + ":" + port + servicePath;
+ try
+ {
+ return new URL(urlStr).toExternalForm();
+ }
+ catch (MalformedURLException e)
+ {
+ throw new WSException("Malformed URL: " + urlStr);
+ }
+ }
+
+ /**
+ * Read the transport guarantee from web.xml
+ */
+ protected void initTransportGuaranteeJSE(UnifiedDeploymentInfo udi, ServerEndpointMetaData sepMetaData, String servletLink) throws IOException
+ {
+ String transportGuarantee = null;
+ if (udi.metaData instanceof UnifiedWebMetaData)
+ {
+ UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
+ Map<String, String> servletMappings = webMetaData.getServletMappings();
+ String urlPattern = servletMappings.get(servletLink);
+
+ if (urlPattern == null)
+ throw new WSException("Cannot find <url-pattern> for servlet-name: " + servletLink);
+
+ List<UnifiedWebSecurityMetaData> securityList = webMetaData.getSecurityMetaData();
+ for (UnifiedWebSecurityMetaData currentSecurity : securityList)
+ {
+ if (currentSecurity.getTransportGuarantee() != null && currentSecurity.getTransportGuarantee().length() > 0)
+ {
+ for (UnifiedWebResourceCollection currentCollection : currentSecurity.getWebResources())
+ {
+ for (String currentUrlPattern : currentCollection.getUrlPatterns())
+ {
+ if (urlPattern.equals(currentUrlPattern))
+ {
+ transportGuarantee = currentSecurity.getTransportGuarantee();
+ }
+ }
+ }
+ }
+ }
+ }
+ sepMetaData.setTransportGuarantee(transportGuarantee);
+ }
+
+ /** Replace the address locations for a given port component.
+ */
+ public static void replaceAddressLocation(ServerEndpointMetaData sepMetaData)
+ {
+ WSDLDefinitions wsdlDefinitions = sepMetaData.getServiceMetaData().getWsdlDefinitions();
+ QName portName = sepMetaData.getQName();
+
+ boolean endpointFound = false;
+ for (WSDLService wsdlService : wsdlDefinitions.getServices())
+ {
+ for (WSDLEndpoint wsdlEndpoint : wsdlService.getEndpoints())
+ {
+ QName wsdlPortName = wsdlEndpoint.getQName();
+ if (wsdlPortName.equals(portName))
+ {
+ endpointFound = true;
+
+ String orgAddress = wsdlEndpoint.getAddress();
+ String uriScheme = getUriScheme(orgAddress);
+
+ String transportGuarantee = sepMetaData.getTransportGuarantee();
+ if ("CONFIDENTIAL".equals(transportGuarantee))
+ uriScheme = "https";
+
+ String servicePath = sepMetaData.getContextRoot() + sepMetaData.getURLPattern();
+ String serviceEndpointURL = getServiceEndpointAddress(uriScheme, servicePath);
+
+ ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
+ ServiceEndpointManager epManager = factory.getServiceEndpointManager();
+ boolean alwaysModify = epManager.isAlwaysModifySOAPAddress();
+
+ if (alwaysModify || uriScheme == null || orgAddress.indexOf("REPLACE_WITH_ACTUAL_URL") >= 0)
+ {
+ log.debug("Replace service endpoint address '" + orgAddress + "' with '" + serviceEndpointURL + "'");
+ wsdlEndpoint.setAddress(serviceEndpointURL);
+ sepMetaData.setEndpointAddress(serviceEndpointURL);
+
+ // modify the wsdl-1.1 definition
+ if (wsdlDefinitions.getWsdlOneOneDefinition() != null)
+ replaceWSDL11SOAPAddress(wsdlDefinitions, portName, serviceEndpointURL);
+ }
+ else
+ {
+ log.debug("Don't replace service endpoint address '" + orgAddress + "'");
+ try
+ {
+ sepMetaData.setEndpointAddress(new URL(orgAddress).toExternalForm());
+ }
+ catch (MalformedURLException e)
+ {
+ throw new WSException("Malformed URL: " + orgAddress);
+ }
+ }
+ }
+ }
+ }
+
+ if (endpointFound == false)
+ throw new WSException("Cannot find port in wsdl: " + portName);
+ }
+
+ private static void replaceWSDL11SOAPAddress(WSDLDefinitions wsdlDefinitions, QName portQName, String serviceEndpointURL)
+ {
+ Definition wsdlOneOneDefinition = wsdlDefinitions.getWsdlOneOneDefinition();
+ String tnsURI = wsdlOneOneDefinition.getTargetNamespace();
+
+ // search for matching portElement and replace the address URI
+ Port wsdlOneOnePort = modifySOAPAddress(tnsURI, portQName, serviceEndpointURL, wsdlOneOneDefinition.getServices());
+
+ // recursivly process imports if none can be found
+ if (wsdlOneOnePort == null && !wsdlOneOneDefinition.getImports().isEmpty())
+ {
+
+ Iterator imports = wsdlOneOneDefinition.getImports().values().iterator();
+ while (imports.hasNext())
+ {
+ List l = (List)imports.next();
+ Iterator importsByNS = l.iterator();
+ while (importsByNS.hasNext())
+ {
+ Import anImport = (Import)importsByNS.next();
+ wsdlOneOnePort = modifySOAPAddress(anImport.getNamespaceURI(), portQName, serviceEndpointURL, anImport.getDefinition().getServices());
+ }
+ }
+ }
+
+ // if it still doesn't exist something is wrong
+ if (wsdlOneOnePort == null)
+ throw new IllegalArgumentException("Cannot find port with name '" + portQName + "' in wsdl document");
+ }
+
+ private static Port modifySOAPAddress(String tnsURI, QName portQName, String serviceEndpointURL, Map services)
+ {
+ QName SOAP12_ADDRESS = new QName(Constants.NS_SOAP12, "address");
+
+ Port wsdlOneOnePort = null;
+ Iterator itServices = services.values().iterator();
+ while (itServices.hasNext())
+ {
+ Service wsdlOneOneService = (Service)itServices.next();
+ Map wsdlOneOnePorts = wsdlOneOneService.getPorts();
+ Iterator itPorts = wsdlOneOnePorts.keySet().iterator();
+ while (itPorts.hasNext())
+ {
+ String portLocalName = (String)itPorts.next();
+ if (portQName.equals(new QName(tnsURI, portLocalName)))
+ {
+ wsdlOneOnePort = (Port)wsdlOneOnePorts.get(portLocalName);
+ List extElements = wsdlOneOnePort.getExtensibilityElements();
+ for (Object extElement : extElements)
+ {
+ QName elementType = ((ExtensibilityElement)extElement).getElementType();
+ if (extElement instanceof SOAPAddress)
+ {
+ SOAPAddress address = (SOAPAddress)extElement;
+ address.setLocationURI(serviceEndpointURL);
+ }
+ else if (SOAP12_ADDRESS.equals(elementType))
+ {
+ Element domElement = ((UnknownExtensibilityElement)extElement).getElement();
+ domElement.setAttribute("location", serviceEndpointURL);
+ }
+ }
+ }
+ }
+ }
+
+ return wsdlOneOnePort;
+ }
+
+ private static String getUriScheme(String addrStr)
+ {
+ try
+ {
+ URI addrURI = new URI(addrStr);
+ String scheme = addrURI.getScheme();
+ return scheme;
+ }
+ catch (URISyntaxException e)
+ {
+ return null;
+ }
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientDeployment.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientDeployment.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientDeployment.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.builder.jaxrpc;
+
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+
+
+// $Id: JAXRPCClientDeployment.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
+
+/**
+ * The container independent deployment info.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 05-May-2006
+ */
+public class JAXRPCClientDeployment extends UnifiedDeploymentInfo
+{
+
+ public JAXRPCClientDeployment(DeploymentType type)
+ {
+ super(type);
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientDeployment.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,258 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.builder.jaxrpc;
+
+//$Id: JAXRPCClientMetaDataBuilder.java 1632 2006-12-12 13:17:22Z thomas.diesler at jboss.com $
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.Set;
+
+import javax.xml.namespace.QName;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+import org.jboss.ws.metadata.config.jaxrpc.WSClientConfigJAXRPC;
+import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedServiceRefMetaData;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMappingFactory;
+import org.jboss.ws.metadata.jaxrpcmapping.ServiceEndpointInterfaceMapping;
+import org.jboss.ws.metadata.umdm.ClientEndpointMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
+import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
+import org.jboss.ws.metadata.wsdl.NCName;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
+import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
+import org.jboss.ws.metadata.wsdl.WSDLService;
+import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
+import org.jboss.ws.metadata.wsse.WSSecurityConfigurationFactory;
+
+/**
+ * A client side meta data builder.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 19-May-2005
+ */
+public class JAXRPCClientMetaDataBuilder extends JAXRPCMetaDataBuilder
+{
+ // provide logging
+ private final Logger log = Logger.getLogger(JAXRPCClientMetaDataBuilder.class);
+
+ /** Build from WSDL and jaxrpc-mapping.xml
+ */
+ public ServiceMetaData buildMetaData(QName serviceQName, URL wsdlURL, URL mappingURL, URL securityURL,
+ UnifiedServiceRefMetaData serviceRefMetaData, ClassLoader loader)
+ {
+ try
+ {
+ JavaWsdlMapping javaWsdlMapping = null;
+ if (mappingURL != null)
+ {
+ JavaWsdlMappingFactory mappingFactory = JavaWsdlMappingFactory.newInstance();
+ javaWsdlMapping = mappingFactory.parse(mappingURL);
+ }
+
+ WSSecurityConfiguration securityConfig = null;
+ if (securityURL != null)
+ {
+ securityConfig = WSSecurityConfigurationFactory.newInstance().parse(securityURL);
+ }
+
+ return buildMetaData(serviceQName, wsdlURL, javaWsdlMapping, securityConfig, serviceRefMetaData, loader);
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
+ }
+ }
+
+ /** Build from WSDL and jaxrpc-mapping.xml
+ */
+ public ServiceMetaData buildMetaData(QName serviceQName, URL wsdlURL, JavaWsdlMapping javaWsdlMapping, WSSecurityConfiguration securityConfig,
+ UnifiedServiceRefMetaData serviceRefMetaData, ClassLoader loader)
+ {
+ log.debug("START buildMetaData: [service=" + serviceQName + "]");
+ try
+ {
+ UnifiedMetaData wsMetaData = new UnifiedMetaData();
+ wsMetaData.setClassLoader(loader);
+
+ ServiceMetaData serviceMetaData = new ServiceMetaData(wsMetaData, serviceQName);
+ wsMetaData.addService(serviceMetaData);
+
+ serviceMetaData.setWsdlLocation(wsdlURL);
+ WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
+
+ URL mappingURL = null;
+ if (javaWsdlMapping != null)
+ {
+ mappingURL = new URL(Constants.NS_JBOSSWS_URI + "/dummy-mapping-url");
+ wsMetaData.addMappingDefinition(mappingURL.toExternalForm(), javaWsdlMapping);
+ serviceMetaData.setMappingLocation(mappingURL);
+ }
+
+ if (securityConfig != null)
+ {
+ serviceMetaData.setSecurityConfiguration(securityConfig);
+ setupSecurity(securityConfig, loader);
+ }
+
+ buildMetaDataInternal(serviceMetaData, wsdlDefinitions, javaWsdlMapping, serviceRefMetaData);
+
+ // eagerly initialize
+ wsMetaData.eagerInitialize();
+
+ log.debug("END buildMetaData: " + wsMetaData);
+ return serviceMetaData;
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
+ }
+ }
+
+ private void buildMetaDataInternal(ServiceMetaData serviceMetaData, WSDLDefinitions wsdlDefinitions, JavaWsdlMapping javaWsdlMapping,
+ UnifiedServiceRefMetaData serviceRefMetaData) throws IOException
+ {
+ QName serviceQName = serviceMetaData.getServiceName();
+
+ // Get the WSDL service
+ WSDLService wsdlService = null;
+ if (serviceQName == null)
+ {
+ if (wsdlDefinitions.getServices().length != 1)
+ throw new IllegalArgumentException("Expected a single service element");
+
+ wsdlService = wsdlDefinitions.getServices()[0];
+ serviceMetaData.setServiceName(wsdlService.getQName());
+ }
+ else
+ {
+ wsdlService = wsdlDefinitions.getService(new NCName(serviceQName.getLocalPart()));
+ }
+ if (wsdlService == null)
+ throw new IllegalArgumentException("Cannot obtain wsdl service: " + serviceQName);
+
+ // Build type mapping meta data
+ setupTypesMetaData(serviceMetaData);
+
+ // Build endpoint meta data
+ for (WSDLEndpoint wsdlEndpoint : wsdlService.getEndpoints())
+ {
+ QName portName = wsdlEndpoint.getQName();
+ QName interfaceQName = wsdlEndpoint.getInterface().getQName();
+ ClientEndpointMetaData epMetaData = new ClientEndpointMetaData(serviceMetaData, portName, interfaceQName, Type.JAXRPC);
+ epMetaData.setEndpointAddress(wsdlEndpoint.getAddress());
+ serviceMetaData.addEndpoint(epMetaData);
+
+ // config-name, config-file
+ if (serviceRefMetaData != null)
+ {
+ String configName = serviceRefMetaData.getConfigName();
+ if (configName != null)
+ epMetaData.setConfigName(configName);
+
+ String configFile = serviceRefMetaData.getConfigFile();
+ if (configFile != null)
+ epMetaData.setConfigFile(configFile);
+ }
+
+ // Init the endpoint binding
+ initEndpointBinding(wsdlEndpoint, epMetaData);
+
+ // Init the service encoding style
+ initEndpointEncodingStyle(epMetaData);
+
+ ServiceEndpointInterfaceMapping seiMapping = null;
+ if (javaWsdlMapping != null)
+ {
+ QName portType = wsdlEndpoint.getInterface().getQName();
+ seiMapping = javaWsdlMapping.getServiceEndpointInterfaceMappingByPortType(portType);
+ if (seiMapping != null)
+ {
+ epMetaData.setServiceEndpointInterfaceName(seiMapping.getServiceEndpointInterface());
+ }
+ else
+ {
+ log.warn("Cannot obtain the SEI mapping for: " + portType);
+ }
+ }
+
+ processEndpointMetaDataExtensions(epMetaData, wsdlDefinitions);
+ setupOperationsFromWSDL(epMetaData, wsdlEndpoint, seiMapping);
+ setupHandlers(serviceRefMetaData, portName, epMetaData);
+ }
+ }
+
+ private void setupHandlers(UnifiedServiceRefMetaData serviceRefMetaData, QName portName, EndpointMetaData epMetaData)
+ {
+ // Add pre handlers
+ WSClientConfigJAXRPC jaxrpcConfig = (WSClientConfigJAXRPC)epMetaData.getEndpointConfig();
+ epMetaData.addHandlers(jaxrpcConfig.getHandlers(epMetaData, HandlerType.PRE));
+
+ // Setup the endpoint handlers
+ if (serviceRefMetaData != null)
+ {
+ for (UnifiedHandlerMetaData uhmd : serviceRefMetaData.getHandlers())
+ {
+ Set<String> portNames = uhmd.getPortNames();
+ if (portNames.size() == 0 || portNames.contains(portName.getLocalPart()))
+ {
+ epMetaData.addHandler(uhmd.getHandlerMetaDataJAXRPC(epMetaData, HandlerType.ENDPOINT));
+ }
+ }
+ }
+
+ // Add post handlers
+ epMetaData.addHandlers(jaxrpcConfig.getHandlers(epMetaData, HandlerType.POST));
+ }
+
+ private void setupSecurity(WSSecurityConfiguration securityConfig, ClassLoader loader)
+ {
+ if (securityConfig.getKeyStoreFile() != null)
+ {
+ URL location = loader.getResource(securityConfig.getKeyStoreFile());
+ if (location != null)
+ securityConfig.setKeyStoreURL(location);
+ }
+
+ if (securityConfig.getTrustStoreFile() != null)
+ {
+ URL location = loader.getResource(securityConfig.getTrustStoreFile());
+ if (location != null)
+ securityConfig.setTrustStoreURL(location);
+ }
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCClientMetaDataBuilder.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCDeployment.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCDeployment.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCDeployment.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.builder.jaxrpc;
+
+import java.io.InputStream;
+import java.net.URL;
+
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.webservices.WebservicesFactory;
+import org.jboss.ws.metadata.webservices.WebservicesMetaData;
+import org.jboss.xb.binding.ObjectModelFactory;
+import org.jboss.xb.binding.Unmarshaller;
+import org.jboss.xb.binding.UnmarshallerFactory;
+
+// $Id: JAXRPCDeployment.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
+
+/**
+ * The container independent deployment info.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 05-May-2006
+ */
+public class JAXRPCDeployment extends UnifiedDeploymentInfo
+{
+ private WebservicesMetaData jsr109MetaData;
+
+ public JAXRPCDeployment(DeploymentType type, URL webservicesURL)
+ {
+ super(type);
+
+ try
+ {
+ // Unmarshall webservices.xml
+ InputStream is = webservicesURL.openStream();
+ try
+ {
+ Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
+ ObjectModelFactory factory = new WebservicesFactory(webservicesURL);
+ jsr109MetaData = (WebservicesMetaData)unmarshaller.unmarshal(is, factory, null);
+ }
+ finally
+ {
+ is.close();
+ }
+ }
+ catch (Exception ex)
+ {
+ throw new RuntimeException(ex);
+ }
+ }
+
+ public WebservicesMetaData getWebservicesMetaData()
+ {
+ return jsr109MetaData;
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCDeployment.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,968 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.builder.jaxrpc;
+
+//$Id: JAXRPCMetaDataBuilder.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
+import javax.xml.rpc.encoding.TypeMappingRegistry;
+import javax.xml.ws.addressing.AddressingProperties;
+
+import org.apache.xerces.xs.XSTypeDefinition;
+import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.jaxrpc.LiteralTypeMapping;
+import org.jboss.ws.core.jaxrpc.Style;
+import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
+import org.jboss.ws.core.jaxrpc.TypeMappingRegistryImpl;
+import org.jboss.ws.core.jaxrpc.UnqualifiedFaultException;
+import org.jboss.ws.core.jaxrpc.Use;
+import org.jboss.ws.core.utils.JavaUtils;
+import org.jboss.ws.extensions.addressing.AddressingPropertiesImpl;
+import org.jboss.ws.extensions.addressing.metadata.AddressingOpMetaExt;
+import org.jboss.ws.extensions.eventing.EventingConstants;
+import org.jboss.ws.extensions.eventing.deployment.EventingEndpoint;
+import org.jboss.ws.extensions.eventing.metadata.EventingEpMetaExt;
+import org.jboss.ws.extensions.xop.jaxrpc.XOPScanner;
+import org.jboss.ws.metadata.builder.MetaDataBuilder;
+import org.jboss.ws.metadata.jaxrpcmapping.ExceptionMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaXmlTypeMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.MethodParamPartsMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.ServiceEndpointInterfaceMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.ServiceEndpointMethodMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.VariableMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.WsdlMessageMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.WsdlReturnValueMapping;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.FaultMetaData;
+import org.jboss.ws.metadata.umdm.OperationMetaData;
+import org.jboss.ws.metadata.umdm.ParameterMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.umdm.TypeMappingMetaData;
+import org.jboss.ws.metadata.umdm.TypesMetaData;
+import org.jboss.ws.metadata.umdm.WrappedParameter;
+import org.jboss.ws.metadata.wsdl.NCName;
+import org.jboss.ws.metadata.wsdl.WSDLBinding;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperationInput;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
+import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
+import org.jboss.ws.metadata.wsdl.WSDLInterface;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceFault;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutfault;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLMIMEPart;
+import org.jboss.ws.metadata.wsdl.WSDLProperty;
+import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem;
+import org.jboss.ws.metadata.wsdl.WSDLSOAPHeader;
+import org.jboss.ws.metadata.wsdl.WSDLTypes;
+import org.jboss.ws.metadata.wsdl.WSDLUtils;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem.Direction;
+import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
+
+/**
+ * A meta data builder that is based on webservices.xml.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @authoer <a href="mailto:jason.greene at jboss.org">Jason T. Greene</a>
+ * @since 19-Oct-2005
+ */
+public abstract class JAXRPCMetaDataBuilder extends MetaDataBuilder
+{
+ // provide logging
+ final Logger log = Logger.getLogger(JAXRPCMetaDataBuilder.class);
+
+ protected QName lookupSchemaType(WSDLInterfaceOperation operation, QName element)
+ {
+ WSDLDefinitions wsdlDefinitions = operation.getWsdlInterface().getWsdlDefinitions();
+ WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
+ return wsdlTypes.getXMLType(element);
+ }
+
+ protected void setupTypesMetaData(ServiceMetaData serviceMetaData)
+ {
+ WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
+ JavaWsdlMapping javaWsdlMapping = serviceMetaData.getJavaWsdlMapping();
+ TypesMetaData typesMetaData = serviceMetaData.getTypesMetaData();
+
+ // Copy the schema locations to the types meta data
+ if (wsdlDefinitions != null)
+ {
+ WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
+ typesMetaData.setSchemaModel(WSDLUtils.getSchemaModel(wsdlTypes));
+ }
+
+ // Copy the type mappings to the types meta data
+ if (javaWsdlMapping != null)
+ {
+ for (JavaXmlTypeMapping xmlTypeMapping : javaWsdlMapping.getJavaXmlTypeMappings())
+ {
+ String javaTypeName = xmlTypeMapping.getJavaType();
+ String qnameScope = xmlTypeMapping.getQnameScope();
+
+ QName xmlType = xmlTypeMapping.getRootTypeQName();
+ QName anonymousXMLType = xmlTypeMapping.getAnonymousTypeQName();
+ if (xmlType == null && anonymousXMLType != null)
+ xmlType = anonymousXMLType;
+
+ String nsURI = xmlType.getNamespaceURI();
+ if (Constants.NS_SCHEMA_XSD.equals(nsURI) == false && Constants.URI_SOAP11_ENC.equals(nsURI) == false)
+ {
+ TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
+ tmMetaData.setQNameScope(qnameScope);
+ typesMetaData.addTypeMapping(tmMetaData);
+ }
+ }
+
+ for (ExceptionMapping exceptionMapping : javaWsdlMapping.getExceptionMappings())
+ {
+ QName xmlType = exceptionMapping.getWsdlMessage();
+ String javaTypeName = exceptionMapping.getExceptionType();
+ TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
+ typesMetaData.addTypeMapping(tmMetaData);
+ }
+ }
+ }
+
+ protected void setupOperationsFromWSDL(EndpointMetaData epMetaData, WSDLEndpoint wsdlEndpoint, ServiceEndpointInterfaceMapping seiMapping)
+ {
+ WSDLDefinitions wsdlDefinitions = wsdlEndpoint.getInterface().getWsdlDefinitions();
+
+ // For every WSDL interface operation build the OperationMetaData
+ WSDLInterface wsdlInterface = wsdlEndpoint.getInterface();
+ for (WSDLInterfaceOperation wsdlOperation : wsdlInterface.getOperations())
+ {
+ String opName = wsdlOperation.getName().toString();
+ QName opQName = wsdlOperation.getQName();
+
+ // Set java method name
+ String javaName = opName.substring(0, 1).toLowerCase() + opName.substring(1);
+ ServiceEndpointMethodMapping seiMethodMapping = null;
+ if (seiMapping != null)
+ {
+ epMetaData.setServiceEndpointInterfaceName(seiMapping.getServiceEndpointInterface());
+
+ seiMethodMapping = seiMapping.getServiceEndpointMethodMappingByWsdlOperation(opName);
+ if (seiMethodMapping == null)
+ throw new WSException("Cannot obtain method mapping for: " + opName);
+
+ javaName = seiMethodMapping.getJavaMethodName();
+ }
+
+ OperationMetaData opMetaData = new OperationMetaData(epMetaData, opQName, javaName);
+ epMetaData.addOperation(opMetaData);
+
+ // Set the operation style
+ String style = wsdlOperation.getStyle();
+ epMetaData.setStyle((Constants.URI_STYLE_IRI.equals(style) ? Style.DOCUMENT : Style.RPC));
+
+ // Set the operation MEP
+ if (Constants.WSDL20_PATTERN_IN_ONLY.equals(wsdlOperation.getPattern()))
+ opMetaData.setOneWay(true);
+
+ // Set the operation SOAPAction
+ WSDLBinding wsdlBinding = wsdlDefinitions.getBindingByInterfaceName(wsdlInterface.getQName());
+ WSDLBindingOperation wsdlBindingOperation = wsdlBinding.getOperationByRef(opQName);
+ if (wsdlBindingOperation != null)
+ opMetaData.setSOAPAction(wsdlBindingOperation.getSOAPAction());
+
+ // Get the type mapping for the encoding style
+ String encStyle = epMetaData.getEncodingStyle().toURI();
+ TypeMappingRegistry tmRegistry = new TypeMappingRegistryImpl();
+ TypeMappingImpl typeMapping = (TypeMappingImpl)tmRegistry.getTypeMapping(encStyle);
+
+ // Build the parameter meta data
+ if (opMetaData.getStyle() == Style.RPC)
+ {
+ buildParameterMetaDataRpc(opMetaData, wsdlOperation, seiMethodMapping, typeMapping);
+ }
+ else
+ {
+ buildParameterMetaDataDoc(opMetaData, wsdlOperation, seiMethodMapping, typeMapping);
+ }
+
+ // Build operation faults
+ buildFaultMetaData(opMetaData, wsdlOperation);
+
+ // process further operation extensions
+ processOpMetaExtensions(opMetaData, wsdlOperation);
+ }
+ }
+
+ private ParameterMetaData buildInputParameter(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping, TypeMappingImpl typeMapping, String partName, QName xmlName, QName xmlType, int pos)
+ {
+ WSDLRPCSignatureItem item = wsdlOperation.getRpcSignatureitem(partName);
+ if (item != null)
+ pos = item.getPosition();
+
+ String javaTypeName = typeMapping.getJavaTypeName(xmlType);
+ if (seiMethodMapping != null)
+ {
+ MethodParamPartsMapping paramMapping = seiMethodMapping.getMethodParamPartsMappingByPartName(partName);
+ if (paramMapping == null)
+ throw new WSException("Cannot obtain method parameter mapping for message part '" + partName + "' in wsdl operation: "
+ + seiMethodMapping.getWsdlOperation());
+
+ javaTypeName = paramMapping.getParamType();
+ pos = paramMapping.getParamPosition();
+ }
+
+ JavaWsdlMapping javaWsdlMapping = opMetaData.getEndpointMetaData().getServiceMetaData().getJavaWsdlMapping();
+ if (javaTypeName == null && javaWsdlMapping != null)
+ {
+ String packageName = javaWsdlMapping.getPackageNameForNamespaceURI(xmlType.getNamespaceURI());
+ if (packageName != null)
+ {
+ javaTypeName = packageName + "." + xmlType.getLocalPart();
+ log.warn("Guess java type from package mapping: [xmlType=" + xmlType + ",javaType=" + javaTypeName + "]");
+ }
+ }
+
+ if (javaTypeName == null)
+ throw new WSException("Cannot obtain java type mapping for: " + xmlType);
+
+ ParameterMetaData inMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
+ inMetaData.setPartName(partName);
+ inMetaData.setIndex(pos);
+ opMetaData.addParameter(inMetaData);
+
+ TypesMetaData typesMetaData = opMetaData.getEndpointMetaData().getServiceMetaData().getTypesMetaData();
+ // In arrays of user types, wscompile does not generate a mapping in jaxrpc-mapping.xml
+ if (typesMetaData.getTypeMappingByXMLType(xmlType) == null)
+ {
+ String nsURI = xmlType.getNamespaceURI();
+ if (Constants.NS_SCHEMA_XSD.equals(nsURI) == false && Constants.URI_SOAP11_ENC.equals(nsURI) == false)
+ {
+ TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
+ typesMetaData.addTypeMapping(tmMetaData);
+ }
+ }
+
+ return inMetaData;
+ }
+
+ private ParameterMetaData buildOutputParameter(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping, int pos, String partName, QName xmlName, QName xmlType, TypeMappingImpl typeMapping)
+ {
+ // Default is first listed output
+ boolean hasReturnMapping = opMetaData.getReturnParameter() == null;
+
+ WSDLRPCSignatureItem item = wsdlOperation.getRpcSignatureitem(partName);
+ if (item != null)
+ {
+ hasReturnMapping = item.getDirection() == Direction.RETURN;
+ pos = item.getPosition();
+ }
+
+ String javaTypeName = typeMapping.getJavaTypeName(xmlType);
+ if (seiMethodMapping != null)
+ {
+ MethodParamPartsMapping paramMapping = seiMethodMapping.getMethodParamPartsMappingByPartName(partName);
+ if (paramMapping != null)
+ {
+ javaTypeName = paramMapping.getParamType();
+ pos = paramMapping.getParamPosition();
+ hasReturnMapping = false;
+ }
+ else
+ {
+ WsdlReturnValueMapping returnMapping = seiMethodMapping.getWsdlReturnValueMapping();
+ String mappingPart = returnMapping.getWsdlMessagePartName();
+ if (returnMapping != null && mappingPart != null && partName.equals(mappingPart));
+ {
+ javaTypeName = returnMapping.getMethodReturnValue();
+ hasReturnMapping = true;
+ }
+ }
+ }
+
+ JavaWsdlMapping javaWsdlMapping = opMetaData.getEndpointMetaData().getServiceMetaData().getJavaWsdlMapping();
+ if (javaTypeName == null && javaWsdlMapping != null)
+ {
+ String packageName = javaWsdlMapping.getPackageNameForNamespaceURI(xmlType.getNamespaceURI());
+ if (packageName != null)
+ {
+ javaTypeName = packageName + "." + xmlType.getLocalPart();
+ log.warn("Guess java type from package mapping: [xmlType=" + xmlType + ",javaType=" + javaTypeName + "]");
+ }
+ }
+
+ if (javaTypeName == null)
+ throw new WSException("Cannot obtain java type mapping for: " + xmlType);
+
+ ParameterMetaData outMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
+ outMetaData.setPartName(partName);
+
+ if (hasReturnMapping)
+ {
+ opMetaData.setReturnParameter(outMetaData);
+ }
+ else
+ {
+ outMetaData.setIndex(pos);
+ outMetaData.setMode(ParameterMode.OUT);
+ opMetaData.addParameter(outMetaData);
+ }
+
+ TypesMetaData typesMetaData = opMetaData.getEndpointMetaData().getServiceMetaData().getTypesMetaData();
+ // In arrays of user types, wscompile does not generate a mapping in jaxrpc-mapping.xml
+ if (typesMetaData.getTypeMappingByXMLType(xmlType) == null)
+ {
+ String nsURI = xmlType.getNamespaceURI();
+ if (Constants.NS_SCHEMA_XSD.equals(nsURI) == false && Constants.URI_SOAP11_ENC.equals(nsURI) == false)
+ {
+ TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
+ typesMetaData.addTypeMapping(tmMetaData);
+ }
+ }
+
+ return outMetaData;
+ }
+
+ private int processBindingParameters(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping, TypeMappingImpl typeMapping, WSDLBindingOperation bindingOperation, int wsdlPosition)
+ {
+ WSDLBindingOperationInput bindingInput = bindingOperation.getInputs()[0];
+ for (WSDLSOAPHeader header : bindingInput.getSoapHeaders())
+ {
+ QName xmlName = header.getElement();
+ QName xmlType = lookupSchemaType(wsdlOperation, xmlName);
+ String partName = header.getPartName();
+
+ ParameterMetaData pmd = buildInputParameter(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, partName, xmlName, xmlType, wsdlPosition++);
+ pmd.setInHeader(true);
+ }
+
+ for (WSDLMIMEPart mimePart : bindingInput.getMimeParts())
+ {
+ String partName = mimePart.getPartName();
+ QName xmlName = new QName(partName);
+ QName xmlType = mimePart.getXmlType();
+
+ ParameterMetaData pmd = buildInputParameter(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, partName, xmlName, xmlType, wsdlPosition++);
+ pmd.setSwA(true);
+ pmd.setMimeTypes(mimePart.getMimeTypes());
+ }
+
+ return wsdlPosition;
+ }
+
+ private int processBindingOutputParameters(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping, TypeMappingImpl typeMapping, WSDLBindingOperation bindingOperation, int wsdlPosition)
+ {
+ WSDLBindingOperationOutput bindingOutput = bindingOperation.getOutputs()[0];
+ for (WSDLSOAPHeader header : bindingOutput.getSoapHeaders())
+ {
+ String partName = header.getPartName();
+ QName xmlName = header.getElement();
+
+ ParameterMetaData outMetaData = opMetaData.getParameter(xmlName);
+ if (outMetaData != null)
+ {
+ outMetaData.setMode(ParameterMode.INOUT);
+ }
+ else
+ {
+ QName xmlType = lookupSchemaType(wsdlOperation, xmlName);
+
+ ParameterMetaData pmd = buildOutputParameter(opMetaData, wsdlOperation, seiMethodMapping, wsdlPosition, partName, xmlName, xmlType, typeMapping);
+ pmd.setInHeader(true);
+
+ if (opMetaData.getReturnParameter() != pmd)
+ wsdlPosition++;
+ }
+ }
+
+ for (WSDLMIMEPart mimePart : bindingOutput.getMimeParts())
+ {
+ String partName = mimePart.getPartName();
+ QName xmlName = new QName(partName);
+
+ ParameterMetaData outMetaData = opMetaData.getParameter(xmlName);
+ if (outMetaData != null)
+ {
+ outMetaData.setMode(ParameterMode.INOUT);
+ }
+ else
+ {
+ QName xmlType = mimePart.getXmlType();
+
+ ParameterMetaData pmd = buildOutputParameter(opMetaData, wsdlOperation, seiMethodMapping, wsdlPosition, partName, xmlName, xmlType, typeMapping);
+ pmd.setSwA(true);
+ pmd.setMimeTypes(mimePart.getMimeTypes());
+
+ if (opMetaData.getReturnParameter() != pmd)
+ wsdlPosition++;
+ }
+ }
+
+ return wsdlPosition;
+ }
+
+ /* SOAP-ENC:Array
+ *
+ * FIXME: This hack should be removed as soon as we can reliably get the
+ * soapenc:arrayType from wsdl + schema.
+ */
+ private void setupSOAPArrayParameter(ParameterMetaData paramMetaData)
+ {
+ Use use = paramMetaData.getOperationMetaData().getUse();
+ String xmlTypeLocalPart = paramMetaData.getXmlType().getLocalPart();
+ if (use == Use.ENCODED && xmlTypeLocalPart.indexOf("ArrayOf") >= 0)
+ {
+ paramMetaData.setSOAPArrayParam(true);
+ try
+ {
+ String javaTypeName = paramMetaData.getJavaTypeName();
+ // This approach determins the array component type from the javaTypeName.
+ // It will not work for user defined types, nor will the array dimension be
+ // initialized properly. Ideally the array parameter meta data should be initialized
+ // from the XSModel or wherever it is defined in WSDL.
+ Class javaType = JavaUtils.loadJavaType(javaTypeName);
+ Class compJavaType = javaType.getComponentType();
+
+ if (xmlTypeLocalPart.indexOf("ArrayOfArrayOf") >= 0)
+ compJavaType = compJavaType.getComponentType();
+
+ QName compXMLType = new LiteralTypeMapping().getXMLType(compJavaType);
+ paramMetaData.setSOAPArrayCompType(compXMLType);
+ }
+ catch (ClassNotFoundException e)
+ {
+ // ignore that user defined types cannot be loaded yet
+ }
+ }
+ }
+
+ private void setupXOPAttachmentParameter(WSDLInterfaceOperation operation, ParameterMetaData paramMetaData)
+ {
+ QName xmlType = paramMetaData.getXmlType();
+
+ // An XOP parameter is detected if it is a complex type that derives from xsd:base64Binary
+ WSDLTypes wsdlTypes = operation.getWsdlInterface().getWsdlDefinitions().getWsdlTypes();
+ JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlTypes);
+ String localPart = xmlType.getLocalPart() != null ? xmlType.getLocalPart() : "";
+ String ns = xmlType.getNamespaceURI() != null ? xmlType.getNamespaceURI() : "";
+ XSTypeDefinition xsType = schemaModel.getTypeDefinition(localPart, ns);
+ XOPScanner scanner = new XOPScanner();
+ if(scanner.findXOPTypeDef(xsType)!=null | (localPart.equals("base64Binary")&&ns.equals(Constants.NS_SCHEMA_XSD)))
+ {
+ // FIXME: read the xmime:contentType from the element declaration
+ // See SchemaUtils#findXOPTypeDef(XSTypeDefinition typeDef) for details
+
+ /*
+ FIXME: the classloader is not set yet
+ paramMetaData.setXopContentType(
+ MimeUtils.resolveMimeType(paramMetaData.getJavaType())
+ );
+ */
+
+ paramMetaData.setXOP(true);
+
+ }
+ }
+
+ /*
+ * Perhaps the JAX-RPC mapping model should be hash based. For now we optimize just this case.
+ */
+ private Map<String, String> createVariableMappingMap(VariableMapping[] mappings)
+ {
+ HashMap<String, String> map = new HashMap<String, String>();
+ if (mappings != null)
+ for (VariableMapping mapping : mappings)
+ map.put(mapping.getXmlElementName(), mapping.getJavaVariableName());
+
+ return map;
+ }
+
+ private void buildParameterMetaDataRpc(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping,
+ TypeMappingImpl typeMapping)
+ {
+ log.trace("buildParameterMetaDataRpc: " + opMetaData.getQName());
+
+ WSDLBindingOperation bindingOperation = wsdlOperation.getBindingOperation();
+ if (bindingOperation == null)
+ throw new WSException("Could not locate binding operation for:" + opMetaData.getQName());
+
+ // RPC has one input
+ WSDLInterfaceOperationInput input = wsdlOperation.getInputs()[0];
+ int wsdlPosition = 0;
+ for (WSDLRPCPart part : input.getChildParts())
+ {
+ QName xmlType = part.getType();
+ String partName = part.getName();
+ QName xmlName = new QName(partName);
+
+ ParameterMetaData pmd = buildInputParameter(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, partName, xmlName, xmlType, wsdlPosition++);
+
+ setupXOPAttachmentParameter(wsdlOperation, pmd);
+ setupSOAPArrayParameter(pmd);
+ }
+
+ wsdlPosition = processBindingParameters(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, bindingOperation, wsdlPosition);
+
+ WSDLInterfaceOperationOutput[] outputs = wsdlOperation.getOutputs();
+ if (outputs.length > 0)
+ {
+ WSDLInterfaceOperationOutput output = outputs[0];
+ for (WSDLRPCPart part : output.getChildParts())
+ {
+ String partName = part.getName();
+
+ ParameterMetaData outMetaData = opMetaData.getParameter(new QName(partName));
+ if (outMetaData != null)
+ {
+ outMetaData.setMode(ParameterMode.INOUT);
+ }
+ else
+ {
+ QName xmlName = new QName(partName);
+ QName xmlType = part.getType();
+
+ ParameterMetaData pmd = buildOutputParameter(opMetaData, wsdlOperation, seiMethodMapping, wsdlPosition, partName, xmlName, xmlType, typeMapping);
+ if (opMetaData.getReturnParameter() != pmd)
+ wsdlPosition++;
+
+ setupXOPAttachmentParameter(wsdlOperation, pmd);
+ setupSOAPArrayParameter(pmd);
+ }
+ }
+
+ processBindingOutputParameters(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, bindingOperation, wsdlPosition);
+ }
+ else if (wsdlOperation.getPattern() != Constants.WSDL20_PATTERN_IN_ONLY)
+ {
+ throw new WSException("RPC style was missing an output, and was not an IN-ONLY MEP.");
+ }
+ }
+
+ private int processDocElement(OperationMetaData operation, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping, TypeMappingImpl typeMapping, List<WrappedParameter> wrappedParameters, List<WrappedParameter> wrappedResponseParameters)
+ {
+ WSDLInterfaceOperationInput input = wsdlOperation.getInputs()[0];
+ int wsdlPosition;
+
+ QName xmlName = input.getElement();
+ QName xmlType = input.getXMLType();
+ String javaTypeName = typeMapping.getJavaTypeName(xmlType);
+
+ TypesMetaData typesMetaData = operation.getEndpointMetaData().getServiceMetaData().getTypesMetaData();
+ TypeMappingMetaData typeMetaData = typesMetaData.getTypeMappingByXMLType(xmlType);
+ if (typeMetaData != null)
+ javaTypeName = typeMetaData.getJavaTypeName();
+
+ if (javaTypeName == null)
+ throw new WSException("Cannot obtain java type mapping for: " + xmlType);
+
+ // Check if we need to wrap the parameters
+ boolean isWrapped = isWrapped(seiMethodMapping, javaTypeName);
+ operation.getEndpointMetaData().setParameterStyle(isWrapped ? ParameterStyle.WRAPPED : ParameterStyle.BARE);
+
+ ParameterMetaData inMetaData = new ParameterMetaData(operation, xmlName, xmlType, javaTypeName);
+ operation.addParameter(inMetaData);
+
+
+ // Set the variable names
+ if (inMetaData.getOperationMetaData().isDocumentWrapped())
+ {
+ if (seiMethodMapping == null)
+ throw new IllegalArgumentException("Cannot wrap parameters without SEI method mapping");
+
+ ServiceEndpointInterfaceMapping seiMapping = seiMethodMapping.getServiceEndpointInterfaceMapping();
+ JavaXmlTypeMapping javaXmlTypeMapping = seiMapping.getJavaWsdlMapping().getTypeMappingForQName(xmlType);
+ if (javaXmlTypeMapping == null)
+ throw new WSException("Cannot obtain java/xml type mapping for: " + xmlType);
+
+
+ Map<String, String> variableMap = createVariableMappingMap(javaXmlTypeMapping.getVariableMappings());
+ for (MethodParamPartsMapping partMapping : seiMethodMapping.getMethodParamPartsMappings())
+ {
+ WsdlMessageMapping wsdlMessageMapping = partMapping.getWsdlMessageMapping();
+ if (wsdlMessageMapping == null)
+ throw new IllegalArgumentException("wsdl-message-message mapping required for document/literal wrapped");
+
+ String elementName = wsdlMessageMapping.getWsdlMessagePartName();
+ String variable = variableMap.get(wsdlMessageMapping.getWsdlMessagePartName());
+ if (variable == null)
+ throw new IllegalArgumentException("Could not determine variable name for element: " + elementName);
+
+ WrappedParameter wrapped = new WrappedParameter(new QName(elementName), partMapping.getParamType(), variable,
+ partMapping.getParamPosition());
+
+
+ String parameterMode = wsdlMessageMapping.getParameterMode();
+ if (parameterMode == null || parameterMode.length() < 2)
+ throw new IllegalArgumentException("Invalid parameter mode for element: " + elementName);
+
+ if (! "OUT".equals(parameterMode))
+ wrappedParameters.add(wrapped);
+ if (! "IN".equals(parameterMode))
+ wrappedResponseParameters.add(wrapped);
+ }
+ inMetaData.setWrappedParameters(wrappedParameters);
+ wsdlPosition = wrappedParameters.size();
+ }
+ else
+ {
+ if (seiMethodMapping != null)
+ {
+ MethodParamPartsMapping part = seiMethodMapping.getMethodParamPartsMappingByPartName(input.getPartName());
+ if (part != null)
+ {
+ inMetaData.setJavaTypeName(part.getParamType());
+ inMetaData.setIndex(part.getParamPosition());
+ }
+ }
+
+ setupXOPAttachmentParameter(wsdlOperation, inMetaData);
+ wsdlPosition = 1;
+ }
+
+ return wsdlPosition;
+ }
+
+ private boolean isWrapped(ServiceEndpointMethodMapping seiMethodMapping, String javaTypeName)
+ {
+ boolean isWrapParameters = (seiMethodMapping != null ? seiMethodMapping.isWrappedElement() : false);
+ log.trace("isWrapParameters based on wrapped-element: " + isWrapParameters);
+ if (isWrapParameters == false && seiMethodMapping != null)
+ {
+
+ MethodParamPartsMapping[] partsMappings = seiMethodMapping.getMethodParamPartsMappings();
+ if (partsMappings.length > 0)
+ {
+ boolean matchingPartFound = false;
+ for (MethodParamPartsMapping partsMapping : partsMappings)
+ {
+ String paramTypeName = partsMapping.getParamType();
+ if (paramTypeName.equals(javaTypeName))
+ {
+ matchingPartFound = true;
+ break;
+ }
+ else
+ {
+ // Check assignability,
+ // JavaUtils.isAssignableFrom("org.w3c.dom.Element",
+ // "javax.xml.soap.SOAPElement")
+ try
+ {
+ Class paramType = JavaUtils.loadJavaType(paramTypeName);
+ Class javaType = JavaUtils.loadJavaType(javaTypeName);
+
+ // If it is assignable the explict mapping takes presedence
+ // and we don't wrap
+ if (JavaUtils.isAssignableFrom(javaType, paramType))
+ {
+ // javaTypeName = paramTypeName;
+ matchingPartFound = true;
+ break;
+ }
+ }
+ catch (ClassNotFoundException e)
+ {
+ // Ignore. For simple types this should work, others should
+ // be lexically equal
+ // if it is not wrapped.
+ }
+ }
+ }
+ // Do we really want to continue to handle invalid mappings?
+ isWrapParameters = (matchingPartFound == false);
+ log.trace("isWrapParameters based on matching parts: " + isWrapParameters);
+ }
+ }
+ return isWrapParameters;
+ }
+
+ private int processOutputDocElement(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation,
+ ServiceEndpointMethodMapping seiMethodMapping, TypeMappingImpl typeMapping, List<WrappedParameter> wrappedResponseParameters,
+ int wsdlPosition)
+ {
+ WSDLInterfaceOperationOutput opOutput = wsdlOperation.getOutputs()[0];
+ QName xmlName = opOutput.getElement();
+ QName xmlType = opOutput.getXMLType();
+
+ String javaTypeName = typeMapping.getJavaTypeName(xmlType);
+
+ TypesMetaData typesMetaData = opMetaData.getEndpointMetaData().getServiceMetaData().getTypesMetaData();
+ if (typesMetaData.getTypeMappingByXMLType(xmlType) != null)
+ javaTypeName = typesMetaData.getTypeMappingByXMLType(xmlType).getJavaTypeName();
+
+ if (javaTypeName == null)
+ throw new WSException("Cannot obtain java/xml type mapping for: " + xmlType);
+
+ ParameterMetaData outMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
+
+ boolean hasReturnMapping = true;
+ if (opMetaData.isDocumentWrapped())
+ {
+ if (seiMethodMapping == null)
+ throw new IllegalArgumentException("Cannot wrap parameters without SEI method mapping");
+
+ WsdlReturnValueMapping returnValueMapping = seiMethodMapping.getWsdlReturnValueMapping();
+ if (returnValueMapping != null)
+ {
+ ServiceEndpointInterfaceMapping seiMapping = seiMethodMapping.getServiceEndpointInterfaceMapping();
+ JavaWsdlMapping javaWsdlMapping = seiMapping.getJavaWsdlMapping();
+ JavaXmlTypeMapping javaXmlTypeMapping = javaWsdlMapping.getTypeMappingForQName(xmlType);
+ if (javaXmlTypeMapping == null)
+ throw new WSException("Cannot obtain java/xml type mapping for: " + xmlType);
+
+ Map<String, String> map = createVariableMappingMap(javaXmlTypeMapping.getVariableMappings());
+ String elementName = returnValueMapping.getWsdlMessagePartName();
+ String variable = map.get(elementName);
+ if (variable == null)
+ throw new IllegalArgumentException("Could not determine variable name for element: " + elementName);
+
+ String wrappedType = returnValueMapping.getMethodReturnValue();
+ QName element = new QName(elementName);
+ WrappedParameter wrappedParameter = new WrappedParameter(element, wrappedType, variable, WrappedParameter.RETURN);
+ wrappedResponseParameters.add(0, wrappedParameter);
+ }
+
+ outMetaData.setWrappedParameters(wrappedResponseParameters);
+ }
+ else
+ {
+ if (seiMethodMapping != null)
+ {
+ MethodParamPartsMapping part = seiMethodMapping.getMethodParamPartsMappingByPartName(opOutput.getPartName());
+ String mode = null;
+ if (part != null)
+ {
+ WsdlMessageMapping wsdlMessageMapping = part.getWsdlMessageMapping();
+ mode = wsdlMessageMapping.getParameterMode();
+ }
+ if ("INOUT".equals(mode))
+ {
+ ParameterMetaData inMetaData = opMetaData.getParameter(xmlName);
+ if (inMetaData != null)
+ {
+ inMetaData.setMode(ParameterMode.INOUT);
+ return wsdlPosition;
+ }
+
+ throw new WSException("Could not update IN parameter to be INOUT, as indicated in the mapping: " + opOutput.getPartName());
+ }
+ // It's potentialy possible that an input parameter could exist with the same part name
+ else if ("OUT".equals(mode))
+ {
+ hasReturnMapping = false;
+ javaTypeName = part.getParamType();
+ outMetaData.setIndex(part.getParamPosition());
+ outMetaData.setJavaTypeName(javaTypeName);
+ }
+ else
+ {
+ WsdlReturnValueMapping returnValueMapping = seiMethodMapping.getWsdlReturnValueMapping();
+ if (returnValueMapping != null)
+ {
+ javaTypeName = returnValueMapping.getMethodReturnValue();
+ outMetaData.setJavaTypeName(javaTypeName);
+ }
+ }
+ }
+
+ setupXOPAttachmentParameter(wsdlOperation, outMetaData);
+ }
+
+ if (hasReturnMapping)
+ {
+ opMetaData.setReturnParameter(outMetaData);
+ }
+ else
+ {
+ opMetaData.addParameter(outMetaData);
+ outMetaData.setMode(ParameterMode.OUT);
+ wsdlPosition++;
+ }
+
+ return wsdlPosition;
+ }
+
+ private void buildParameterMetaDataDoc(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping,
+ TypeMappingImpl typeMapping)
+ {
+ log.trace("buildParameterMetaDataDoc: " + opMetaData.getQName());
+
+ WSDLBindingOperation bindingOperation = wsdlOperation.getBindingOperation();
+ if (bindingOperation == null)
+ throw new WSException("Could not locate binding operation for:" + bindingOperation);
+
+ List<WrappedParameter> wrappedParameters = new ArrayList<WrappedParameter>();
+ List<WrappedParameter> wrappedResponseParameters = new ArrayList<WrappedParameter>();
+
+ int wsdlPosition = 0;
+ // WS-I BP 1.0 allows document/literal bare to have zero message parts
+ if (wsdlOperation.getInputs().length > 0)
+ {
+ wsdlPosition = processDocElement(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, wrappedParameters, wrappedResponseParameters);
+ wsdlPosition = processBindingParameters(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, bindingOperation, wsdlPosition);
+ }
+ else
+ {
+ // Set the default to bare in case there isn't an input object, revisit this
+ opMetaData.getEndpointMetaData().setParameterStyle(ParameterStyle.BARE);
+ }
+
+ if (wsdlOperation.getOutputs().length > 0)
+ {
+ wsdlPosition = processOutputDocElement(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, wrappedResponseParameters, wsdlPosition);
+ wsdlPosition = processBindingOutputParameters(opMetaData, wsdlOperation, seiMethodMapping, typeMapping, bindingOperation, wsdlPosition);
+ }
+ }
+
+ /**
+ * Build default action according to the pattern described in
+ * http://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/
+ * Section 3.3.2 'Default Action Pattern'<br>
+ * [target namespace]/[port type name]/[input|output name]
+ *
+ * @param wsdlOperation
+ * @return action value
+ */
+ private String buildWsaActionValue(WSDLInterfaceOperation wsdlOperation)
+ {
+ WSDLProperty wsaAction = wsdlOperation.getProperty(Constants.WSDL_ATTRIBUTE_WSA_ACTION.toString());
+ String actionValue = null;
+
+ if (null == wsaAction)
+ {
+
+ String tns = wsdlOperation.getQName().getNamespaceURI();
+ String portTypeName = wsdlOperation.getQName().getLocalPart();
+ WSDLProperty messageName = wsdlOperation.getProperty("http://www.jboss.org/jbossws/messagename/in");
+
+ actionValue = new String(tns + "/" + portTypeName + "/" + messageName.getValue());
+ }
+ else
+ {
+ actionValue = wsaAction.getValue();
+ }
+
+ return actionValue;
+ }
+
+ protected void buildFaultMetaData(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation)
+ {
+ TypesMetaData typesMetaData = opMetaData.getEndpointMetaData().getServiceMetaData().getTypesMetaData();
+
+ WSDLInterface wsdlInterface = wsdlOperation.getWsdlInterface();
+ for (WSDLInterfaceOperationOutfault outFault : wsdlOperation.getOutfaults())
+ {
+ QName ref = outFault.getRef();
+
+ WSDLInterfaceFault wsdlFault = wsdlInterface.getFault(new NCName(ref.getLocalPart()));
+ QName xmlName = wsdlFault.getElement();
+ QName xmlType = wsdlFault.getXmlType();
+ String javaTypeName = null;
+
+ if (xmlType == null)
+ {
+ log.warn("Cannot obtain fault type for element: " + xmlName);
+ xmlType = xmlName;
+ }
+
+ TypeMappingMetaData tmMetaData = typesMetaData.getTypeMappingByXMLType(xmlType);
+ if (tmMetaData != null)
+ javaTypeName = tmMetaData.getJavaTypeName();
+
+ if (javaTypeName == null)
+ {
+ log.warn("Cannot obtain java type mapping for: " + xmlType);
+ javaTypeName = new UnqualifiedFaultException(xmlType).getClass().getName();
+ }
+
+ FaultMetaData faultMetaData = new FaultMetaData(opMetaData, xmlName, xmlType, javaTypeName);
+ opMetaData.addFault(faultMetaData);
+ }
+ }
+
+ protected void processEndpointMetaDataExtensions(EndpointMetaData epMetaData, WSDLDefinitions wsdlDefinitions)
+ {
+ for (WSDLInterface wsdlInterface : wsdlDefinitions.getInterfaces())
+ {
+ WSDLProperty eventSourceProp = wsdlInterface.getProperty(Constants.WSDL_PROPERTY_EVENTSOURCE);
+ if (eventSourceProp != null && epMetaData instanceof ServerEndpointMetaData)
+ {
+ ServerEndpointMetaData sepMetaData = (ServerEndpointMetaData)epMetaData;
+ String eventSourceNS = wsdlInterface.getQName().getNamespaceURI() + "/" + wsdlInterface.getQName().getLocalPart();
+ Object notificationSchema = null; // todo: resolve schema from operation message
+
+ EventingEpMetaExt ext = new EventingEpMetaExt(EventingConstants.NS_EVENTING);
+ ext.setEventSourceNS(eventSourceNS);
+ ext.setNotificationSchema(notificationSchema);
+
+ sepMetaData.addExtension(ext);
+ sepMetaData.setManagedEndpointBean(EventingEndpoint.class.getName());
+ }
+ }
+ }
+
+ /** Process operation meta data extensions. */
+ protected void processOpMetaExtensions(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation)
+ {
+
+ String tns = wsdlOperation.getQName().getNamespaceURI();
+ String portTypeName = wsdlOperation.getQName().getLocalPart();
+
+ AddressingProperties ADDR = new AddressingPropertiesImpl();
+ AddressingOpMetaExt addrExt = new AddressingOpMetaExt(ADDR.getNamespaceURI());
+
+ // inbound action
+ WSDLProperty wsaInAction = wsdlOperation.getProperty(Constants.WSDL_PROPERTY_ACTION_IN);
+ if (wsaInAction != null)
+ {
+ addrExt.setInboundAction(wsaInAction.getValue());
+ }
+ else
+ {
+ WSDLProperty messageName = wsdlOperation.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_IN);
+ addrExt.setInboundAction(tns + "/" + portTypeName + "/" + messageName);
+ }
+
+ // outbound action
+ WSDLProperty wsaOutAction = wsdlOperation.getProperty(Constants.WSDL_PROPERTY_ACTION_OUT);
+ if (wsaOutAction != null)
+ {
+ addrExt.setOutboundAction(wsaOutAction.getValue());
+ }
+ else
+ {
+ WSDLProperty messageName = wsdlOperation.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_OUT);
+ addrExt.setOutboundAction(tns + "/" + portTypeName + "/" + messageName);
+ }
+
+ opMetaData.addExtension(addrExt);
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCMetaDataBuilder.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,269 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+// $Id: JAXRPCServerMetaDataBuilder.java 1632 2006-12-12 13:17:22Z thomas.diesler at jboss.com $
+package org.jboss.ws.metadata.builder.jaxrpc;
+
+import java.net.URL;
+import java.util.Set;
+
+import javax.management.ObjectName;
+import javax.xml.namespace.QName;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.metadata.config.jaxrpc.WSEndpointConfigJAXRPC;
+import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedEjbPortComponentMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
+import org.jboss.ws.metadata.jaxrpcmapping.ServiceEndpointInterfaceMapping;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
+import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
+import org.jboss.ws.metadata.webservices.PortComponentMetaData;
+import org.jboss.ws.metadata.webservices.WebserviceDescriptionMetaData;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
+import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
+import org.jboss.ws.metadata.wsdl.WSDLService;
+import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
+
+/**
+ * A server side meta data builder that is based on webservices.xml.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 19-May-2005
+ */
+public class JAXRPCServerMetaDataBuilder extends JAXRPCMetaDataBuilder
+{
+ // provide logging
+ final Logger log = Logger.getLogger(JAXRPCServerMetaDataBuilder.class);
+
+ /**
+ * Build from webservices.xml
+ */
+ public UnifiedMetaData buildMetaData(JAXRPCDeployment udi)
+ {
+ log.debug("START buildMetaData: [name=" + udi.getCanonicalName() + "]");
+ try
+ {
+ // For every webservice-description build the ServiceMetaData
+ UnifiedMetaData wsMetaData = new UnifiedMetaData();
+ wsMetaData.setDeploymentName(udi.getCanonicalName());
+ wsMetaData.setClassLoader(udi.classLoader);
+
+ WebserviceDescriptionMetaData[] wsDescriptionArr = udi.getWebservicesMetaData().getWebserviceDescriptions();
+ for (WebserviceDescriptionMetaData wsdMetaData : wsDescriptionArr)
+ {
+ ServiceMetaData serviceMetaData = new ServiceMetaData(wsMetaData, null);
+ serviceMetaData.setWebserviceDescriptionName(wsdMetaData.getWebserviceDescriptionName());
+ wsMetaData.addService(serviceMetaData);
+
+ // Set wsdl location
+ String wsdlFile = wsdMetaData.getWsdlFile();
+ URL wsdlLocation = udi.getMetaDataFile(wsdlFile);
+
+ // Unmarshall the WSDL
+ serviceMetaData.setWsdlLocation(wsdlLocation);
+ WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
+
+ // Unmarshall the jaxrpc-mapping.xml
+ String mappingFile = wsdMetaData.getJaxrpcMappingFile();
+ serviceMetaData.setMappingLocation(udi.getMetaDataFile(mappingFile));
+ JavaWsdlMapping javaWsdlMapping = serviceMetaData.getJavaWsdlMapping();
+ if (javaWsdlMapping == null)
+ throw new WSException("jaxrpc-mapping-file not configured from webservices.xml");
+
+ // Build type mapping meta data
+ setupTypesMetaData(serviceMetaData);
+
+ // Assign the WS-Security configuration,
+ WSSecurityConfiguration securityConfiguration = getWsSecurityConfiguration(udi);
+ serviceMetaData.setSecurityConfiguration(securityConfiguration);
+
+ // For every port-component build the EndpointMetaData
+ PortComponentMetaData[] pcMetaDataArr = wsdMetaData.getPortComponents();
+ for (PortComponentMetaData pcMetaData : pcMetaDataArr)
+ {
+ QName portName = pcMetaData.getWsdlPort();
+
+ // JBWS-722
+ // <wsdl-port> in webservices.xml should be qualified
+ if (portName.getNamespaceURI().length() == 0)
+ {
+ String nsURI = wsdlDefinitions.getTargetNamespace();
+ portName = new QName(nsURI, portName.getLocalPart());
+ log.warn("Adding wsdl targetNamespace to: " + portName);
+ pcMetaData.setWsdlPort(portName);
+ }
+
+ WSDLEndpoint wsdlEndpoint = getWsdlEndpoint(wsdlDefinitions, portName);
+ if (wsdlEndpoint == null)
+ throw new WSException("Cannot find port in wsdl: " + portName);
+
+ // set service name
+ serviceMetaData.setServiceName(wsdlEndpoint.getWsdlService().getQName());
+ QName interfaceQName = wsdlEndpoint.getInterface().getQName();
+
+ ServerEndpointMetaData sepMetaData = new ServerEndpointMetaData(serviceMetaData, portName, interfaceQName, Type.JAXRPC);
+ sepMetaData.setPortComponentName(pcMetaData.getPortComponentName());
+ String linkName = pcMetaData.getEjbLink() != null ? pcMetaData.getEjbLink() : pcMetaData.getServletLink();
+ sepMetaData.setLinkName(linkName);
+ serviceMetaData.addEndpoint(sepMetaData);
+
+ initEndpointEncodingStyle(sepMetaData);
+
+ initEndpointAddress(udi, sepMetaData, linkName);
+
+ if (udi.metaData instanceof UnifiedApplicationMetaData)
+ {
+ UnifiedApplicationMetaData apMetaData = (UnifiedApplicationMetaData)udi.metaData;
+ wsMetaData.setSecurityDomain(apMetaData.getSecurityDomain());
+
+ // Copy the wsdl publish location from jboss.xml
+ String wsdName = serviceMetaData.getWebserviceDescriptionName();
+ String wsdlPublishLocation = apMetaData.getWsdlPublishLocationByName(wsdName);
+ serviceMetaData.setWsdlPublishLocation(wsdlPublishLocation);
+
+ // Copy <port-component> meta data
+ UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)apMetaData.getBeanByEjbName(linkName);
+ if (beanMetaData == null)
+ throw new WSException("Cannot obtain UnifiedBeanMetaData for: " + linkName);
+
+ String configName = apMetaData.getConfigName();
+ if (configName != null)
+ sepMetaData.setConfigName(configName);
+
+ String configFile = apMetaData.getConfigFile();
+ if (configFile != null)
+ sepMetaData.setConfigFile(configFile);
+
+ UnifiedEjbPortComponentMetaData bpcMetaData = beanMetaData.getPortComponent();
+ if (bpcMetaData != null)
+ {
+ if (bpcMetaData.getAuthMethod() != null)
+ {
+ String authMethod = bpcMetaData.getAuthMethod();
+ sepMetaData.setAuthMethod(authMethod);
+ }
+ if (bpcMetaData.getTransportGuarantee() != null)
+ {
+ String transportGuarantee = bpcMetaData.getTransportGuarantee();
+ sepMetaData.setTransportGuarantee(transportGuarantee);
+ }
+
+ sepMetaData.setURLPattern(bpcMetaData.getURLPattern());
+ }
+ }
+ else if (udi.metaData instanceof UnifiedWebMetaData)
+ {
+ UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
+ wsMetaData.setSecurityDomain(webMetaData.getSecurityDomain());
+
+ String targetBean = webMetaData.getServletClassNames().get(linkName);
+ sepMetaData.setServiceEndpointImplName(targetBean);
+
+ // Copy the wsdl publish location from jboss-web.xml
+ String wsdName = serviceMetaData.getWebserviceDescriptionName();
+ String wsdlPublishLocation = webMetaData.getWsdlPublishLocationByName(wsdName);
+ serviceMetaData.setWsdlPublishLocation(wsdlPublishLocation);
+
+ String configName = webMetaData.getConfigName();
+ if (configName != null)
+ sepMetaData.setConfigName(configName);
+
+ String configFile = webMetaData.getConfigFile();
+ if (configFile != null)
+ sepMetaData.setConfigFile(configFile);
+
+ initTransportGuaranteeJSE(udi, sepMetaData, linkName);
+ }
+
+ // init service endpoint id
+ ObjectName sepID = getServiceEndpointID(udi, sepMetaData);
+ sepMetaData.setServiceEndpointID(sepID);
+
+ replaceAddressLocation(sepMetaData);
+
+ String seiName = pcMetaData.getServiceEndpointInterface();
+ sepMetaData.setServiceEndpointInterfaceName(seiName);
+
+ ServiceEndpointInterfaceMapping seiMapping = javaWsdlMapping.getServiceEndpointInterfaceMapping(seiName);
+ if (seiMapping == null)
+ log.warn("Cannot obtain SEI mapping for: " + seiName);
+
+ // process endpoint meta extension
+ processEndpointMetaDataExtensions(sepMetaData, wsdlDefinitions);
+
+ // Setup the endpoint operations
+ setupOperationsFromWSDL(sepMetaData, wsdlEndpoint, seiMapping);
+
+ // Add pre handlers
+ WSEndpointConfigJAXRPC jaxrpcConfig = (WSEndpointConfigJAXRPC)sepMetaData.getEndpointConfig();
+ sepMetaData.addHandlers(jaxrpcConfig.getHandlers(sepMetaData, HandlerType.PRE));
+
+ // Setup the endpoint handlers
+ for (UnifiedHandlerMetaData uhmd : pcMetaData.getHandlers())
+ {
+ Set<String> portNames = uhmd.getPortNames();
+ if (portNames.size() == 0 || portNames.contains(portName.getLocalPart()))
+ {
+ sepMetaData.addHandler(uhmd.getHandlerMetaDataJAXRPC(sepMetaData, HandlerType.ENDPOINT));
+ }
+ }
+
+ // Add post handlers
+ sepMetaData.addHandlers(jaxrpcConfig.getHandlers(sepMetaData, HandlerType.POST));
+ }
+ }
+
+ log.debug("END buildMetaData: " + wsMetaData);
+ return wsMetaData;
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
+ }
+ }
+
+ private WSDLEndpoint getWsdlEndpoint(WSDLDefinitions wsdlDefinitions, QName portName)
+ {
+ WSDLEndpoint wsdlEndpoint = null;
+ for (WSDLService wsdlService : wsdlDefinitions.getServices())
+ {
+ WSDLEndpoint auxEndpoint = wsdlService.getEndpoint(portName);
+ if (auxEndpoint != null)
+ {
+ wsdlEndpoint = auxEndpoint;
+ break;
+ }
+ }
+ return wsdlEndpoint;
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java
___________________________________________________________________
Name: svn:executable
+ *
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/AnnotationsMetaDataBuilder.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/AnnotationsMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/AnnotationsMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,245 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.builder.jsr181;
+
+// $Id:AnnotationsMetaDataBuilder.java 732 2006-08-12 18:40:21Z thomas.diesler at jboss.com $
+
+import java.io.File;
+import java.io.IOException;
+import java.io.Writer;
+import java.net.URL;
+import java.util.List;
+import java.util.Map;
+
+import javax.xml.ws.BindingType;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+import org.jboss.ws.annotation.PortComponent;
+import org.jboss.ws.core.server.ServerConfig;
+import org.jboss.ws.core.server.ServerConfigFactory;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.core.utils.IOUtils;
+import org.jboss.ws.metadata.builder.MetaDataBuilder;
+import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData.UnifiedWebResourceCollection;
+import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
+import org.jboss.ws.tools.JavaToWSDL;
+import org.jboss.ws.tools.wsdl.WSDLWriter;
+
+/** An abstract annotation meta data builder.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 27-Jun-2005
+ */
+public abstract class AnnotationsMetaDataBuilder extends MetaDataBuilder
+{
+ // provide logging
+ private final Logger log = Logger.getLogger(AnnotationsMetaDataBuilder.class);
+
+ public AnnotationsMetaDataBuilder()
+ {
+ }
+
+ protected void processBindingType(EndpointMetaData epMetaData, Class wsClass)
+ {
+ BindingType anBindingType = (BindingType)wsClass.getAnnotation(BindingType.class);
+ String uri = anBindingType.value();
+ if (uri.length() > 0)
+ {
+ epMetaData.setBindingId(uri);
+ }
+ }
+
+ protected void processOrGenerateWSDL(Class wsClass, ServiceMetaData serviceMetaData, URL wsdlLocation, EndpointMetaData endpointMetaData)
+ {
+ if (wsdlLocation != null)
+ {
+ serviceMetaData.setWsdlLocation(wsdlLocation);
+ }
+ else
+ {
+ // Generate the wsdl
+ ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
+ try
+ {
+ UnifiedMetaData wsMetaData = serviceMetaData.getUnifiedMetaData();
+ Thread.currentThread().setContextClassLoader(wsMetaData.getClassLoader());
+ String serviceName = serviceMetaData.getServiceName().getLocalPart();
+ String serviceNamespace = serviceMetaData.getServiceName().getNamespaceURI();
+
+ JavaToWSDL javaToWSDL = new JavaToWSDL(Constants.NS_WSDL11);
+ javaToWSDL.setTargetNamespace(serviceNamespace);
+ javaToWSDL.setUnifiedMetaData(wsMetaData);
+ javaToWSDL.setQualifiedElements(true);
+ WSDLDefinitions wsdlDefinitions = javaToWSDL.generate(wsClass);
+
+ ServerConfigFactory factory = ServerConfigFactory.getInstance();
+ ServerConfig config = factory.getServerConfig();
+ File tmpdir = new File(config.getServerTempDir().getCanonicalPath() + "/jbossws");
+ tmpdir.mkdirs();
+
+ File wsdlTmpFile = File.createTempFile(serviceName, ".wsdl", tmpdir);
+ wsdlTmpFile.deleteOnExit();
+
+ Writer writer = IOUtils.getCharsetFileWriter(wsdlTmpFile, Constants.DEFAULT_XML_CHARSET);
+ new WSDLWriter(wsdlDefinitions).write(writer, Constants.DEFAULT_XML_CHARSET);
+ writer.close();
+
+ serviceMetaData.setWsdlLocation(wsdlTmpFile.toURL());
+
+ JavaWsdlMapping jaxrpcMapping = javaToWSDL.getJavaWsdlMapping();
+ File mappingTmpFile = File.createTempFile(serviceName, ".xml", tmpdir);
+ mappingTmpFile.deleteOnExit();
+
+ writer = IOUtils.getCharsetFileWriter(mappingTmpFile, Constants.DEFAULT_XML_CHARSET);
+ writer.write(jaxrpcMapping.serialize());
+ writer.close();
+
+ serviceMetaData.setMappingLocation(mappingTmpFile.toURL());
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (IOException e)
+ {
+ throw new WSException("Cannot write generated wsdl", e);
+ }
+ finally
+ {
+ Thread.currentThread().setContextClassLoader(ctxLoader);
+ }
+ }
+ }
+
+ protected String getTransportGuarantee(final UnifiedWebMetaData webMetaData, final String servletLink)
+ {
+ String transportGuarantee = "";
+
+ Map<String, String> servletMappings = webMetaData.getServletMappings();
+ String urlPattern = servletMappings.get(servletLink);
+
+ if (urlPattern == null)
+ throw new WSException("Cannot find <url-pattern> for servlet-name: " + servletLink);
+
+ List<UnifiedWebSecurityMetaData> securityList = webMetaData.getSecurityMetaData();
+ for (UnifiedWebSecurityMetaData currentSecurity : securityList)
+ {
+ if (currentSecurity.getTransportGuarantee() != null && currentSecurity.getTransportGuarantee().length() > 0)
+ {
+ for (UnifiedWebResourceCollection currentCollection : currentSecurity.getWebResources())
+ {
+ for (String currentUrlPattern : currentCollection.getUrlPatterns())
+ {
+ if (urlPattern.equals(currentUrlPattern))
+ {
+ transportGuarantee = currentSecurity.getTransportGuarantee();
+ }
+ }
+ }
+ }
+ }
+
+ return transportGuarantee;
+ }
+
+
+ protected void processPortComponent(UnifiedDeploymentInfo udi, Class<?> wsClass, String linkName, ServerEndpointMetaData epMetaData)
+ {
+ // Setting the defaults
+ String contextRoot = "/" + udi.shortName.substring(0, udi.shortName.indexOf('.'));
+ String urlPattern = "/" + linkName;
+
+ // Init contextRoot from jboss-web.xml
+ if (udi.metaData instanceof UnifiedWebMetaData)
+ {
+ UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
+ contextRoot = webMetaData.getContextRoot();
+ urlPattern = webMetaData.getServletMappings().get(linkName);
+
+ epMetaData.setTransportGuarantee(getTransportGuarantee(webMetaData, linkName));
+ }
+
+ // Process @PortComponent
+ PortComponent anPortComponent = wsClass.getAnnotation(PortComponent.class);
+ if (anPortComponent != null)
+ {
+ // setup config name
+ String configName = anPortComponent.configName();
+ if (configName.length() > 0)
+ epMetaData.setConfigName(configName);
+
+ // setup config file
+ String configFile = anPortComponent.configFile();
+ if (configFile.length() > 0)
+ epMetaData.setConfigFile(configFile);
+
+ if (anPortComponent.contextRoot().length() > 0)
+ {
+ contextRoot = anPortComponent.contextRoot();
+ }
+
+ String[] virtualHosts = anPortComponent.virtualHosts();
+ if (virtualHosts != null & virtualHosts.length > 0)
+ {
+ epMetaData.setVirtualHosts(virtualHosts);
+ }
+
+ if (anPortComponent.urlPattern().length() > 0)
+ {
+ urlPattern = anPortComponent.urlPattern();
+ }
+
+ // setup authetication method
+ String authMethod = anPortComponent.authMethod();
+ if (authMethod.length() > 0)
+ epMetaData.setAuthMethod(authMethod);
+
+ if (epMetaData.getTransportGuarantee() == null || epMetaData.getTransportGuarantee().length() == 0)
+ {
+ // setup transport guarantee
+ String transportGuarantee = anPortComponent.transportGuarantee();
+ if (transportGuarantee.length() > 0)
+ {
+ epMetaData.setTransportGuarantee(transportGuarantee);
+ }
+ }
+ }
+
+ epMetaData.setContextRoot(contextRoot);
+ epMetaData.setURLPattern(urlPattern);
+
+ String servicePath = contextRoot + urlPattern;
+ epMetaData.setEndpointAddress(getServiceEndpointAddress(null, servicePath));
+
+ // replace the SOAP address
+ replaceAddressLocation(epMetaData);
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181Deployment.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181Deployment.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181Deployment.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181Deployment.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.builder.jsr181;
+
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+
+
+// $Id: UnifiedDeploymentInfo.java 312 2006-05-11 10:49:22Z thomas.diesler at jboss.com $
+
+/**
+ * The container independent deployment info.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 05-May-2006
+ */
+public class JSR181Deployment extends UnifiedDeploymentInfo
+{
+
+ public JSR181Deployment(DeploymentType type)
+ {
+ super(type);
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilder.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,701 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.builder.jsr181;
+
+// $Id: JSR181MetaDataBuilder.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
+
+import java.io.File;
+import java.io.InputStream;
+import java.lang.annotation.Annotation;
+import java.lang.reflect.Method;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.rmi.RemoteException;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.jws.HandlerChain;
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPMessageHandlers;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+import javax.management.ObjectName;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
+import javax.xml.rpc.encoding.TypeMappingRegistry;
+import javax.xml.rpc.holders.Holder;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+import javax.xml.ws.addressing.AddressingProperties;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.jaxrpc.ParameterWrapping;
+import org.jboss.ws.core.jaxrpc.Style;
+import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
+import org.jboss.ws.core.jaxrpc.TypeMappingRegistryImpl;
+import org.jboss.ws.core.jaxrpc.Use;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.core.utils.HolderUtils;
+import org.jboss.ws.core.utils.JBossWSEntityResolver;
+import org.jboss.ws.extensions.addressing.AddressingPropertiesImpl;
+import org.jboss.ws.extensions.addressing.metadata.AddressingOpMetaExt;
+import org.jboss.ws.metadata.config.jaxrpc.WSEndpointConfigJAXRPC;
+import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
+import org.jboss.ws.metadata.jsr181.HandlerChainFactory;
+import org.jboss.ws.metadata.jsr181.HandlerChainMetaData;
+import org.jboss.ws.metadata.jsr181.HandlerChainsMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.FaultMetaData;
+import org.jboss.ws.metadata.umdm.OperationMetaData;
+import org.jboss.ws.metadata.umdm.ParameterMetaData;
+import org.jboss.ws.metadata.umdm.ServerEndpointMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.umdm.TypeMappingMetaData;
+import org.jboss.ws.metadata.umdm.TypesMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+import org.jboss.ws.metadata.umdm.WrappedParameter;
+import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
+import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
+import org.jboss.ws.metadata.wsdl.WSDLUtils;
+import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
+import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
+import org.jboss.ws.tools.ToolsUtils;
+import org.jboss.xb.binding.ObjectModelFactory;
+import org.jboss.xb.binding.Unmarshaller;
+import org.jboss.xb.binding.UnmarshallerFactory;
+
+/** An abstract annotation meta data builder.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @since 15-Oct-2005
+ */
+public abstract class JSR181MetaDataBuilder extends AnnotationsMetaDataBuilder
+{
+ // provide logging
+ private final Logger log = Logger.getLogger(JSR181MetaDataBuilder.class);
+
+ public JSR181MetaDataBuilder()
+ {
+ }
+
+ protected ServerEndpointMetaData setupEndpointFromAnnotations(UnifiedMetaData wsMetaData, UnifiedDeploymentInfo udi, Class sepClass, String linkName)
+ throws ClassNotFoundException
+ {
+ WebService anWebService = (WebService)sepClass.getAnnotation(WebService.class);
+ if (anWebService == null)
+ throw new WSException("Cannot obtain @WebService annotaion from: " + sepClass.getName());
+
+ try
+ {
+ Class seiClass = null;
+ String seiName = null;
+ if (anWebService.endpointInterface().length() > 0)
+ {
+ seiName = anWebService.endpointInterface();
+ seiClass = udi.classLoader.loadClass(seiName);
+ anWebService = (WebService)seiClass.getAnnotation(WebService.class);
+ if (anWebService == null)
+ throw new WSException("Interface does not have a @WebService annotation: " + seiName);
+ }
+
+ Class wsClass = (seiClass != null ? seiClass : sepClass);
+
+ WSDLUtils wsdlUtils = WSDLUtils.getInstance();
+
+ String name = anWebService.name();
+ if (name.length() == 0)
+ name = wsdlUtils.getJustClassName(wsClass);
+
+ String serviceName = anWebService.serviceName();
+ if (serviceName.length() == 0)
+ serviceName = name + "Service";
+
+ String targetNS = anWebService.targetNamespace();
+ if (targetNS.length() == 0)
+ targetNS = wsdlUtils.getTypeNamespace(wsClass);
+
+ String portName = anWebService.portName();
+ if (portName.length() == 0)
+ portName = name + "Port";
+
+ ServiceMetaData serviceMetaData = new ServiceMetaData(wsMetaData, new QName(targetNS, serviceName));
+ wsMetaData.addService(serviceMetaData);
+
+ // Assign the WS-Security configuration,
+ WSSecurityConfiguration securityConfiguration = getWsSecurityConfiguration(udi);
+ serviceMetaData.setSecurityConfiguration(securityConfiguration);
+
+ // Setup the ServerEndpointMetaData
+ QName portQName = new QName(targetNS, portName);
+ QName portTypeQName = new QName(targetNS, name);
+ ServerEndpointMetaData sepMetaData = new ServerEndpointMetaData(serviceMetaData, portQName, portTypeQName, Type.JAXRPC);
+ sepMetaData.setLinkName(linkName);
+
+ sepMetaData.setServiceEndpointImplName(sepClass.getName());
+ sepMetaData.setServiceEndpointInterfaceName(wsClass.getName());
+
+ serviceMetaData.addEndpoint(sepMetaData);
+
+ // Process an optional @SOAPBinding annotation
+ if (wsClass.isAnnotationPresent(SOAPBinding.class))
+ processSOAPBinding(sepMetaData, wsClass);
+
+ // Process an optional @BindingType annotation
+ if (wsClass.isAnnotationPresent(BindingType.class))
+ processBindingType(sepMetaData, wsClass);
+
+ boolean includeAllMethods = (wsClass == seiClass);
+ processWebMethods(sepMetaData, wsClass, includeAllMethods);
+
+ // Process or generate WSDL
+ URL wsdlLocation = udi.getMetaDataFile(anWebService.wsdlLocation());
+
+ processOrGenerateWSDL(wsClass, serviceMetaData, wsdlLocation, sepMetaData);
+
+ // Read the generated WSDL and initialize the schema model
+ WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
+ JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
+ serviceMetaData.getTypesMetaData().setSchemaModel(schemaModel);
+
+ // Set the endpoint address
+ processPortComponent(udi, wsClass, linkName, sepMetaData);
+
+ // Process an optional @SOAPMessageHandlers annotation
+ if (sepClass.isAnnotationPresent(SOAPMessageHandlers.class) || wsClass.isAnnotationPresent(SOAPMessageHandlers.class))
+ log.warn("@SOAPMessageHandlers is deprecated as of JSR-181 2.0 with no replacement.");
+
+ // Add pre handlers
+ WSEndpointConfigJAXRPC jaxrpcConfig = (WSEndpointConfigJAXRPC)sepMetaData.getEndpointConfig();
+ sepMetaData.addHandlers(jaxrpcConfig.getHandlers(sepMetaData, HandlerType.PRE));
+
+ // Process an optional @HandlerChain annotation
+ if (sepClass.isAnnotationPresent(HandlerChain.class))
+ processHandlerChain(sepMetaData, sepClass);
+ else if (wsClass.isAnnotationPresent(HandlerChain.class))
+ processHandlerChain(sepMetaData, wsClass);
+
+ // Add post handlers
+ sepMetaData.addHandlers(jaxrpcConfig.getHandlers(sepMetaData, HandlerType.POST));
+
+ // init service endpoint id
+ ObjectName sepID = getServiceEndpointID(udi, sepMetaData);
+ sepMetaData.setServiceEndpointID(sepID);
+
+ return sepMetaData;
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
+ }
+ }
+
+ protected void processSOAPBinding(EndpointMetaData epMetaData, Class wsClass)
+ {
+ SOAPBinding anSoapBinding = (SOAPBinding)wsClass.getAnnotation(SOAPBinding.class);
+
+ SOAPBinding.Style attrStyle = anSoapBinding.style();
+ Style style = (attrStyle == SOAPBinding.Style.RPC ? Style.RPC : Style.DOCUMENT);
+ epMetaData.setStyle(style);
+
+ SOAPBinding.Use attrUse = anSoapBinding.use();
+ if (attrUse == SOAPBinding.Use.ENCODED)
+ throw new WSException("SOAP encoding is not supported for JSR-181 deployments");
+
+ epMetaData.setEncodingStyle(Use.LITERAL);
+
+ ParameterStyle paramStyle = anSoapBinding.parameterStyle();
+ epMetaData.setParameterStyle(paramStyle);
+ }
+
+ private WebParam getWebParamAnnotation(Method method, int pos)
+ {
+ for (Annotation annotation : method.getParameterAnnotations()[pos])
+ if (annotation instanceof WebParam)
+ return (WebParam)annotation;
+
+ return null;
+ }
+
+ protected void processWebMethods(EndpointMetaData epMetaData, Class wsClass, boolean includeAllMethods)
+ {
+ epMetaData.clearOperations();
+
+ // Process an @WebMethod annotations
+ int webMethodCount = 0;
+ for (Method method : wsClass.getMethods())
+ {
+ if (includeAllMethods || method.isAnnotationPresent(WebMethod.class))
+ {
+ processWebMethod(epMetaData, method);
+ webMethodCount++;
+ }
+ }
+
+ // @WebService should expose all inherited methods if @WebMethod is never specified
+ // http://jira.jboss.org/jira/browse/JBWS-754
+ if (webMethodCount == 0)
+ {
+ for (Method method : wsClass.getMethods())
+ {
+ if (method.getDeclaringClass() == Object.class)
+ continue;
+
+ processWebMethod(epMetaData, method);
+ webMethodCount++;
+ }
+ }
+
+ if (webMethodCount == 0)
+ throw new WSException("At least one @WebMethod annotation is required");
+ }
+
+ private void processWebMethod(EndpointMetaData epMetaData, Method method)
+ {
+ ServiceMetaData serviceMetaData = epMetaData.getServiceMetaData();
+ TypesMetaData typesMetaData = serviceMetaData.getTypesMetaData();
+ String targetNS = epMetaData.getQName().getNamespaceURI();
+
+ // reflection defaults
+ String soapAction = "";
+ String operationName = method.getName();
+
+ // annotation values that override defaults
+ if (method.isAnnotationPresent(WebMethod.class))
+ {
+ WebMethod anWebMethod = method.getAnnotation(WebMethod.class);
+ soapAction = anWebMethod.action();
+ if (anWebMethod.operationName().length() > 0)
+ operationName = anWebMethod.operationName();
+ }
+
+ String javaName = method.getName();
+ OperationMetaData opMetaData = new OperationMetaData(epMetaData, new QName(targetNS, operationName), javaName);
+ opMetaData.setOneWay(method.isAnnotationPresent(Oneway.class));
+ opMetaData.setSOAPAction(soapAction);
+ epMetaData.addOperation(opMetaData);
+
+ Map<String, Integer> typeIndexes = new HashMap<String, Integer>();
+
+ // Get the type mapping for the encoding style
+ String encStyle = opMetaData.getUse().toURI();
+ TypeMappingRegistry tmRegistry = new TypeMappingRegistryImpl();
+ TypeMappingImpl typeMapping = (TypeMappingImpl)tmRegistry.getTypeMapping(encStyle);
+
+ // Build parameter meta data
+ QName xmlName = null;
+ QName xmlType = null;
+ Class[] parameterTypes = method.getParameterTypes();
+
+ // Force paramter style to wrapped
+ if (method.isAnnotationPresent(RequestWrapper.class) || method.isAnnotationPresent(ResponseWrapper.class))
+ {
+ epMetaData.setParameterStyle(ParameterStyle.WRAPPED);
+ }
+
+ ParameterMetaData wrapperParameter = null;
+ List<WrappedParameter> wrappedParameters = null;
+ if (opMetaData.isDocumentWrapped())
+ {
+ xmlName = opMetaData.getQName();
+ xmlType = opMetaData.getQName();
+
+ String requestWrapperType = null;
+ if (method.isAnnotationPresent(RequestWrapper.class))
+ {
+ RequestWrapper anReqWrapper = method.getAnnotation(RequestWrapper.class);
+
+ String localName = (anReqWrapper.localName().length() > 0 ? anReqWrapper.localName() : operationName);
+ String targetNamespace = (anReqWrapper.targetNamespace().length() > 0 ? anReqWrapper.targetNamespace() : epMetaData.getQName().getNamespaceURI());
+ xmlName = new QName(targetNamespace, localName);
+
+ if (anReqWrapper.className().length() > 0)
+ {
+ requestWrapperType = anReqWrapper.className();
+ TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, requestWrapperType);
+ typesMetaData.addTypeMapping(tmMetaData);
+ }
+ }
+
+ wrapperParameter = new ParameterMetaData(opMetaData, xmlName, xmlType, requestWrapperType);
+ wrappedParameters = new ArrayList<WrappedParameter>(parameterTypes.length);
+ wrapperParameter.setWrappedParameters(wrappedParameters);
+ opMetaData.addParameter(wrapperParameter);
+
+ if (!opMetaData.isOneWay())
+ {
+ xmlName = new QName(targetNS, operationName + "Response");
+ xmlType = new QName(targetNS, operationName + "Response");
+
+ String responseWrapperType = null;
+ if (method.isAnnotationPresent(ResponseWrapper.class))
+ {
+ ResponseWrapper anResWrapper = method.getAnnotation(ResponseWrapper.class);
+
+ String localName = (anResWrapper.localName().length() > 0 ? anResWrapper.localName() : operationName + "Response");
+ String targetNamespace = (anResWrapper.targetNamespace().length() > 0 ? anResWrapper.targetNamespace() : epMetaData.getQName().getNamespaceURI());
+ xmlName = new QName(targetNamespace, localName);
+
+ if (anResWrapper.className().length() > 0)
+ {
+ responseWrapperType = anResWrapper.className();
+ TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, responseWrapperType);
+ typesMetaData.addTypeMapping(tmMetaData);
+ }
+ }
+
+ ParameterMetaData retMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, responseWrapperType);
+ retMetaData.setWrappedParameters(new ArrayList<WrappedParameter>(1));
+ opMetaData.setReturnParameter(retMetaData);
+ }
+ }
+
+ for (int i = 0; i < parameterTypes.length; i++)
+ {
+ Class javaType = parameterTypes[i];
+ String javaTypeName = javaType.getName();
+ WebParam anWebParam = getWebParamAnnotation(method, i);
+ boolean isWrapped = opMetaData.isDocumentWrapped() && (anWebParam == null || !anWebParam.header());
+
+ if (Holder.class.isAssignableFrom(javaType))
+ {
+ javaType = HolderUtils.getValueType(javaType);
+ javaTypeName = javaType.getName();
+ }
+
+ xmlType = typeMapping.getXMLType(javaType);
+ if (xmlType == null)
+ xmlType = getWebParamType(opMetaData, javaType);
+
+ if (isWrapped)
+ {
+ QName wrappedElementName = getWebParamName(opMetaData, typeIndexes, javaType, anWebParam);
+ String variable = wrappedElementName.getLocalPart();
+ if (variable.length() == 0)
+ throw new WSException("A web parameter had a name with 0 length");
+
+ variable = convertToProperty(variable);
+
+ wrappedParameters.add(new WrappedParameter(wrappedElementName, javaTypeName, variable, i));
+ }
+ else
+ {
+ TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, javaTypeName);
+ typesMetaData.addTypeMapping(tmMetaData);
+
+ xmlName = getWebParamName(opMetaData, typeIndexes, javaType, anWebParam);
+ xmlType = typeMapping.getXMLType(javaType);
+ if (xmlType == null)
+ xmlType = getWebParamType(opMetaData, javaType);
+
+ ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaTypeName);
+ paramMetaData.setIndex(i);
+ if (anWebParam != null)
+ {
+ if (anWebParam.mode() == WebParam.Mode.INOUT)
+ paramMetaData.setMode(ParameterMode.INOUT);
+ if (anWebParam.mode() == WebParam.Mode.OUT)
+ paramMetaData.setMode(ParameterMode.OUT);
+
+ if (anWebParam.header())
+ paramMetaData.setInHeader(true);
+ }
+
+ opMetaData.addParameter(paramMetaData);
+ }
+ }
+
+ // Generate temporary wrapper types so that tools can generate the correct wsdl
+ if (wrapperParameter != null)
+ ParameterWrapping.generateWrapper(wrapperParameter, false);
+
+ // Build result meta data
+ Class returnType = method.getReturnType();
+ String returnTypeName = returnType.getName();
+ if ((returnType == void.class) == false)
+ {
+ if (opMetaData.isOneWay())
+ throw new IllegalArgumentException("[JSR-181 2.5.1] The method '" + method.getName() + "' can not have a return value if it is marked OneWay");
+
+ xmlType = typeMapping.getXMLType(returnType);
+ if (xmlType == null)
+ xmlType = getWebResultType(targetNS, returnType);
+
+ if (opMetaData.isDocumentWrapped())
+ {
+ QName elementName = getWebResultName(opMetaData, returnType, method.getAnnotation(WebResult.class));
+
+ ParameterMetaData retMetaData = opMetaData.getReturnParameter();
+ retMetaData.getWrappedParameters().add(new WrappedParameter(elementName, returnTypeName, convertToProperty(elementName.getLocalPart()), -1));
+
+
+
+ // Generate temporary wrapper types so that tools can generate the correct wsdl
+ ParameterWrapping.generateWrapper(retMetaData, false);
+ }
+ else
+ {
+ TypeMappingMetaData tmMetaData = new TypeMappingMetaData(typesMetaData, xmlType, returnTypeName);
+ typesMetaData.addTypeMapping(tmMetaData);
+
+ xmlName = getWebResultName(opMetaData, returnType, method.getAnnotation(WebResult.class));
+ ParameterMetaData retMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, returnTypeName);
+ opMetaData.setReturnParameter(retMetaData);
+ }
+ }
+
+ // Add faults
+ for (Class exClass : method.getExceptionTypes())
+ if (!RemoteException.class.isAssignableFrom(exClass))
+ addFault(opMetaData, typesMetaData, exClass);
+
+ // process op meta data extension
+ processMetaExtensions(epMetaData, opMetaData);
+ }
+
+ private String convertToProperty(String variable)
+ {
+ if (Character.isUpperCase(variable.charAt(0)))
+ {
+ char c = Character.toLowerCase(variable.charAt(0));
+ StringBuilder builder = new StringBuilder(variable);
+ builder.setCharAt(0, c);
+ variable = builder.toString();
+ }
+
+ return variable;
+ }
+
+ // Process an optional @HandlerChain annotation
+ protected void processHandlerChain(EndpointMetaData epMetaData, Class wsClass)
+ {
+ if (wsClass.isAnnotationPresent(SOAPMessageHandlers.class))
+ throw new WSException("Cannot combine @HandlerChain with @SOAPMessageHandlers");
+
+ HandlerChain anHandlerChain = (HandlerChain)wsClass.getAnnotation(HandlerChain.class);
+
+ URL fileURL = null;
+ String filename = anHandlerChain.file();
+
+ // Try the filename as URL
+ try
+ {
+ fileURL = new URL(filename);
+ }
+ catch (MalformedURLException ex)
+ {
+ // ignore
+ }
+
+ // Try the filename as File
+ if (fileURL == null)
+ {
+ try
+ {
+ File file = new File(filename);
+ if (file.exists())
+ fileURL = file.toURL();
+ }
+ catch (MalformedURLException e)
+ {
+ // ignore
+ }
+ }
+
+ // Try the filename as Resource
+ if (fileURL == null)
+ {
+ fileURL = epMetaData.getClassLoader().getResource(filename);
+ }
+
+ // Try the filename relative to class
+ if (fileURL == null)
+ {
+ String packagePath = wsClass.getPackage().getName().replace('.', '/');
+ fileURL = epMetaData.getClassLoader().getResource(packagePath + "/" + filename);
+ }
+
+ if (fileURL == null)
+ throw new WSException("Cannot resolve URL to handler file: " + filename);
+
+ try
+ {
+ HandlerChainsMetaData handlerChainsMetaData = null;
+ InputStream is = fileURL.openStream();
+ try
+ {
+ Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
+ unmarshaller.setValidation(true);
+ unmarshaller.setSchemaValidation(true);
+ unmarshaller.setEntityResolver(new JBossWSEntityResolver());
+ ObjectModelFactory factory = new HandlerChainFactory();
+ handlerChainsMetaData = (HandlerChainsMetaData)unmarshaller.unmarshal(is, factory, null);
+ }
+ finally
+ {
+ is.close();
+ }
+
+ // Setup the endpoint handlers
+ for (HandlerChainMetaData handlerChainMetaData : handlerChainsMetaData.getHandlerChains())
+ {
+ for (UnifiedHandlerMetaData uhmd : handlerChainMetaData.getHandlers())
+ {
+ epMetaData.addHandler(uhmd.getHandlerMetaDataJAXRPC(epMetaData, HandlerType.ENDPOINT));
+ }
+ }
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot process handler chain: " + filename, ex);
+ }
+ }
+
+ private QName getWebParamName(OperationMetaData opMetaData, Map<String, Integer> typeIndexes, Class javaType, WebParam webParam)
+ {
+ QName xmlName = null;
+ String namespaceURI = opMetaData.getQName().getNamespaceURI();
+ if (webParam != null)
+ {
+ if (webParam.targetNamespace().length() > 0)
+ namespaceURI = webParam.targetNamespace();
+
+ if (webParam.name().length() > 0)
+ {
+ if (opMetaData.getStyle() != Style.RPC || webParam.header())
+ xmlName = new QName(namespaceURI, webParam.name());
+ else xmlName = new QName(webParam.name());
+ }
+ }
+
+ if (xmlName == null && opMetaData.isDocumentBare())
+ xmlName = new QName(namespaceURI, opMetaData.getQName().getLocalPart());
+
+ if (xmlName == null)
+ {
+ WSDLUtils wsdlUtils = WSDLUtils.getInstance();
+ String shortName = wsdlUtils.getJustClassName(javaType);
+ Integer index = (Integer)typeIndexes.get(shortName);
+ index = (index != null ? new Integer(index.intValue() + 1) : new Integer(1));
+ typeIndexes.put(shortName, index);
+
+ if (opMetaData.isDocumentWrapped())
+ xmlName = new QName(namespaceURI, shortName + "_" + index);
+ else xmlName = new QName(shortName + "_" + index);
+ }
+
+ return xmlName;
+ }
+
+ private QName getWebParamType(OperationMetaData opMetaData, Class javaType)
+ {
+ String namespaceURI = opMetaData.getQName().getNamespaceURI();
+ return ToolsUtils.getXMLType(javaType, namespaceURI);
+ }
+
+ private QName getWebResultName(OperationMetaData opMetaData, Class javaType, WebResult anWebResult)
+ {
+ QName xmlName = null;
+ String namespaceURI = opMetaData.getQName().getNamespaceURI();
+
+ if (anWebResult != null)
+ {
+ if (anWebResult.targetNamespace().length() > 0)
+ namespaceURI = anWebResult.targetNamespace();
+
+ // Unlike WebParam.name, the default of WebResult.name is "return", so this condition will always be met.
+ if (anWebResult.name().length() > 0)
+ {
+ if (opMetaData.getStyle() != Style.RPC)
+ xmlName = new QName(namespaceURI, anWebResult.name());
+ else xmlName = new QName(anWebResult.name());
+ }
+ }
+ if (xmlName == null && opMetaData.isDocumentBare())
+ xmlName = new QName(namespaceURI, opMetaData.getResponseName().getLocalPart());
+
+ if (xmlName == null)
+ {
+ xmlName = new QName(Constants.DEFAULT_RPC_RETURN_NAME);
+ }
+ return xmlName;
+ }
+
+ private void addFault(OperationMetaData omd, TypesMetaData tmd, Class<?> exception)
+ {
+ if (omd.isOneWay())
+ throw new IllegalStateException("JSR-181 4.3.1 - A JSR-181 processor is REQUIRED to report an error if an operation marked "
+ + "@Oneway has a return value, declares any checked exceptions or has any INOUT or OUT parameters.");
+
+ String name = WSDLUtils.getInstance().getJustClassName(exception);
+ QName xmlName = new QName(omd.getQName().getNamespaceURI(), name);
+
+ FaultMetaData fmd = new FaultMetaData(omd, xmlName, xmlName, exception.getName());
+ omd.addFault(fmd);
+
+ TypeMappingMetaData mapping = new TypeMappingMetaData(tmd, xmlName, exception.getName());
+ tmd.addTypeMapping(mapping);
+ }
+
+ private QName getWebResultType(String defaultNS, Class javaType)
+ {
+ return ToolsUtils.getXMLType(javaType, defaultNS);
+ }
+
+ /**
+ * Process operation meta data extensions.
+ */
+ private void processMetaExtensions(EndpointMetaData epMetaData, OperationMetaData opMetaData)
+ {
+ // Until there is a addressing annotion we fallback to implicit action asosciation
+ // TODO: figure out a way to assign message name instead of IN and OUT
+ String tns = epMetaData.getQName().getNamespaceURI();
+ String portTypeName = epMetaData.getQName().getLocalPart();
+
+ AddressingProperties ADDR = new AddressingPropertiesImpl();
+ AddressingOpMetaExt addrExt = new AddressingOpMetaExt(ADDR.getNamespaceURI());
+ addrExt.setInboundAction(tns + "/" + portTypeName + "/IN");
+
+ if (!opMetaData.isOneWay())
+ addrExt.setOutboundAction(tns + "/" + portTypeName + "/OUT");
+
+ opMetaData.addExtension(addrExt);
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderEJB21.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB21.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB21.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderEJB21.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,90 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+// $Id: JSR181MetaDataBuilderEJB21.java 387 2006-05-20 14:45:47Z thomas.diesler at jboss.com $
+package org.jboss.ws.metadata.builder.jsr181;
+
+import java.util.Iterator;
+
+import javax.jws.WebService;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+
+/**
+ * A server side meta data builder that is based on JSR-181 annotations
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @since 19-May-2005
+ */
+public class JSR181MetaDataBuilderEJB21 extends JSR181MetaDataBuilder
+{
+ // provide logging
+ private final Logger log = Logger.getLogger(JSR181MetaDataBuilderEJB21.class);
+
+ /** Build from annotations
+ */
+ public UnifiedMetaData buildMetaData(UnifiedDeploymentInfo udi)
+ {
+ log.debug("START buildMetaData: [name=" + udi.getCanonicalName() + "]");
+ try
+ {
+ UnifiedMetaData wsMetaData = new UnifiedMetaData();
+ wsMetaData.setClassLoader(udi.classLoader);
+
+ if (udi.classLoader == null)
+ throw new WSException("Annotations class loader not initialized");
+
+ // For every bean
+ UnifiedApplicationMetaData appMetaData = (UnifiedApplicationMetaData)udi.metaData;
+ Iterator it = appMetaData.getEnterpriseBeans();
+ while (it.hasNext())
+ {
+ UnifiedBeanMetaData beanMetaData = (UnifiedBeanMetaData)it.next();
+
+ String ejbName = beanMetaData.getEjbName();
+ String ejbClassName = beanMetaData.getEjbClass();
+ Class<?> beanClass = udi.classLoader.loadClass(ejbClassName);
+ if (beanClass.isAnnotationPresent(WebService.class))
+ {
+ setupEndpointFromAnnotations(wsMetaData, udi, beanClass, ejbName);
+ }
+ }
+
+ log.debug("END buildMetaData: " + wsMetaData);
+ wsMetaData.validate();
+ return wsMetaData;
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
+ }
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderEJB3.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB3.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderEJB3.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderEJB3.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+// $Id: JSR181MetaDataBuilderEJB3.java 377 2006-05-18 13:57:29Z thomas.diesler at jboss.com $
+package org.jboss.ws.metadata.builder.jsr181;
+
+import java.util.Iterator;
+
+import javax.jws.WebService;
+
+import org.jboss.annotation.security.SecurityDomain;
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedBeanMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+
+/**
+ * A server side meta data builder that is based on JSR-181 annotations
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @since 19-May-2005
+ */
+public class JSR181MetaDataBuilderEJB3 extends JSR181MetaDataBuilder
+{
+ // provide logging
+ private final Logger log = Logger.getLogger(JSR181MetaDataBuilderEJB3.class);
+
+ protected Class annotatedClass;
+
+ /** Build from webservices.xml
+ */
+ public UnifiedMetaData buildMetaData(UnifiedDeploymentInfo udi)
+ {
+ log.debug("START buildMetaData: [name=" + udi.getCanonicalName() + "]");
+ try
+ {
+ UnifiedMetaData wsMetaData = new UnifiedMetaData();
+ wsMetaData.setClassLoader(udi.classLoader);
+
+ if (udi.classLoader== null)
+ throw new WSException("Annotations class loader not initialized");
+
+ // The container objects below provide access to all of the ejb metadata
+ UnifiedApplicationMetaData appMetaData = (UnifiedApplicationMetaData)udi.metaData;
+ Iterator<UnifiedBeanMetaData> it = appMetaData.getEnterpriseBeans();
+ while (it.hasNext())
+ {
+ UnifiedBeanMetaData beanMetaData = it.next();
+ String ejbClassName = beanMetaData.getEjbClass();
+ Class<?> beanClass = udi.classLoader.loadClass(ejbClassName);
+ if (beanClass.isAnnotationPresent(WebService.class))
+ {
+ String ejbLink = beanMetaData.getEjbName();
+ setupEndpointFromAnnotations(wsMetaData, udi, beanClass, ejbLink);
+
+ // setup the security domain
+ if (beanClass.isAnnotationPresent(SecurityDomain.class))
+ {
+ SecurityDomain anSecurityDomain = (SecurityDomain)beanClass.getAnnotation(SecurityDomain.class);
+ String lastDomain = wsMetaData.getSecurityDomain();
+ String securityDomain = anSecurityDomain.value();
+ if (lastDomain != null && lastDomain.equals(securityDomain) == false)
+ throw new IllegalStateException("Multiple security domains not supported: " + securityDomain);
+
+ wsMetaData.setSecurityDomain(securityDomain);
+ }
+ }
+ }
+
+ log.debug("END buildMetaData: " + wsMetaData);
+ wsMetaData.validate();
+ return wsMetaData;
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
+ }
+ }
+}
Copied: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderJSE.java (from rev 1632, branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderJSE.java)
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/deployment/JSR181MetaDataBuilderJSE.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/builder/jsr181/JSR181MetaDataBuilderJSE.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+// $Id: JSR181MetaDataBuilderJSE.java 387 2006-05-20 14:45:47Z thomas.diesler at jboss.com $
+package org.jboss.ws.metadata.builder.jsr181;
+
+import java.util.Map;
+
+import javax.jws.WebService;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.server.UnifiedDeploymentInfo;
+import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
+import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+
+/**
+ * A server side meta data builder that is based on JSR-181 annotations
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @since 23-Jul-2005
+ */
+public class JSR181MetaDataBuilderJSE extends JSR181MetaDataBuilder
+{
+ // provide logging
+ private final Logger log = Logger.getLogger(JSR181MetaDataBuilderJSE.class);
+
+ /** Build from annotations
+ */
+ public UnifiedMetaData buildMetaData(UnifiedDeploymentInfo udi)
+ {
+ log.debug("START buildMetaData: [name=" + udi.getCanonicalName() + "]");
+ try
+ {
+ UnifiedMetaData wsMetaData = new UnifiedMetaData();
+ wsMetaData.setClassLoader(udi.classLoader);
+
+ if (udi.classLoader == null)
+ throw new WSException("Annotations class loader not initialized");
+
+ // For every bean
+ UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
+ Map<String, String> servletClassMap = webMetaData.getServletClassNames();
+ for (String servletName : servletClassMap.keySet())
+ {
+ String servletClassName = servletClassMap.get(servletName);
+ try
+ {
+ Class<?> beanClass = udi.classLoader.loadClass(servletClassName);
+ if (beanClass.isAnnotationPresent(WebService.class))
+ {
+ setupEndpointFromAnnotations(wsMetaData, udi, beanClass, servletName);
+ }
+ }
+ catch (ClassNotFoundException ex)
+ {
+ log.warn("Cannot load service endpoint class: " + servletClassName);
+ }
+ }
+
+ log.debug("END buildMetaData: " + wsMetaData);
+ wsMetaData.validate();
+ return wsMetaData;
+ }
+ catch (RuntimeException rte)
+ {
+ throw rte;
+ }
+ catch (Exception ex)
+ {
+ throw new WSException("Cannot build meta data: " + ex.getMessage(), ex);
+ }
+ }
+}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/WSConfigFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/config/WSConfigFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/WSConfigFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -39,17 +39,17 @@
import org.jboss.xb.binding.sunday.unmarshalling.XsdBinder;
import org.w3c.dom.Element;
-/**
- * A factory for the JBossWS endpoint/client configuration
+/**
+ * A factory for the JBossWS endpoint/client configuration
*
* @author Thomas.Diesler at jboss.org
* @since 18-Dec-2005
*/
-public class WSConfigFactory
+public class WSConfigFactory
{
// provide logging
private final Logger log = Logger.getLogger(WSConfigFactory.class);
-
+
private static String URN_JAXRPC_CONFIG = "urn:jboss:jaxrpc-config:2.0";
private static String URN_JAXWS_CONFIG = "urn:jboss:jaxws-config:2.0";
@@ -85,7 +85,7 @@
return wsConfig;
}
- // Below is ObjectModelFactory stuff, which should be removed when parseWithSchemaBinding works.
+ // Below is ObjectModelFactory stuff, which should be removed when parseWithSchemaBinding works.
public Object parseWithObjectModelFactory(URL configURL) throws IOException, JBossXBException
{
@@ -94,7 +94,7 @@
Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
unmarshaller.setValidation(true);
unmarshaller.setSchemaValidation(true);
-
+
Object wsConfig;
String nsURI = getNamespaceURI(configURL);
if (URN_JAXRPC_CONFIG.equals(nsURI))
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/jaxrpc/WSConfigFactoryJAXRPC.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/config/jaxrpc/WSConfigFactoryJAXRPC.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/jaxrpc/WSConfigFactoryJAXRPC.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,7 +29,6 @@
import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
import org.jboss.ws.metadata.jsr181.HandlerChainMetaData;
import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerInitParam;
-import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
import org.jboss.xb.binding.ObjectModelFactory;
import org.jboss.xb.binding.UnmarshallingContext;
import org.xml.sax.Attributes;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/jaxrpc/WSEndpointConfigJAXRPC.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/config/jaxrpc/WSEndpointConfigJAXRPC.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/config/jaxrpc/WSEndpointConfigJAXRPC.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,16 +21,8 @@
*/
package org.jboss.ws.metadata.config.jaxrpc;
-import java.util.ArrayList;
-import java.util.List;
-import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
-import org.jboss.ws.metadata.jsr181.HandlerChainMetaData;
-import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.HandlerMetaData;
-import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
-
// $Id$
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedApplicationMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedApplicationMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedApplicationMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.j2ee;
-//$Id: UnifiedApplicationMetaData.java 316 2006-05-12 17:09:42Z thomas.diesler at jboss.com $
+//$Id: UnifiedApplicationMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
import java.util.ArrayList;
import java.util.Iterator;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedBeanMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedBeanMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedBeanMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.j2ee;
-//$Id: UnifiedBeanMetaData.java 314 2006-05-11 10:57:59Z thomas.diesler at jboss.com $
+//$Id: UnifiedBeanMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
* The container independent common meta data class for the entity, message-driven and session beans.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedEjbPortComponentMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedEjbPortComponentMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedEjbPortComponentMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,7 +22,7 @@
package org.jboss.ws.metadata.j2ee;
-//$Id: UnifiedEjbPortComponentMetaData.java 314 2006-05-11 10:57:59Z thomas.diesler at jboss.com $
+//$Id: UnifiedEjbPortComponentMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedHandlerMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedHandlerMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedHandlerMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.j2ee;
-//$Id: UnifiedHandlerMetaData.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
+//$Id: UnifiedHandlerMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
import java.io.Serializable;
import java.util.ArrayList;
@@ -39,7 +39,7 @@
/**
* The container independent metdata data for a handler element
- *
+ *
* @author Thomas.Diesler at jboss.org
* @since 05-May-2006
*/
@@ -141,7 +141,7 @@
{
return portNames;
}
-
+
public HandlerMetaDataJAXRPC getHandlerMetaDataJAXRPC (EndpointMetaData epMetaData, HandlerType type)
{
HandlerMetaDataJAXRPC hmd = new HandlerMetaDataJAXRPC(epMetaData, type);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedMessageDrivenMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedMessageDrivenMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedMessageDrivenMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,7 +22,7 @@
package org.jboss.ws.metadata.j2ee;
-// $Id: UnifiedMessageDrivenMetaData.java 314 2006-05-11 10:57:59Z thomas.diesler at jboss.com $
+// $Id: UnifiedMessageDrivenMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedPortComponentRefMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedPortComponentRefMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedPortComponentRefMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,7 +24,7 @@
import java.io.Serializable;
import java.util.Properties;
-//$Id: UnifiedPortComponentRefMetaData.java 314 2006-05-11 10:57:59Z thomas.diesler at jboss.com $
+//$Id: UnifiedPortComponentRefMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
* The container independent metdata data from handler init params
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedServiceRefMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedServiceRefMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedServiceRefMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.j2ee;
-//$Id: UnifiedServiceRefMetaData.java 314 2006-05-11 10:57:59Z thomas.diesler at jboss.com $
+//$Id: UnifiedServiceRefMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
import java.io.Serializable;
import java.net.URL;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedSessionMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedSessionMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedSessionMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,7 +22,7 @@
package org.jboss.ws.metadata.j2ee;
-// $Id: UnifiedSessionMetaData.java 314 2006-05-11 10:57:59Z thomas.diesler at jboss.com $
+// $Id: UnifiedSessionMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedWebMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedWebMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/j2ee/UnifiedWebMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.j2ee;
-//$Id: UnifiedWebMetaData.java 316 2006-05-12 17:09:42Z thomas.diesler at jboss.com $
+//$Id: UnifiedWebMetaData.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
import java.util.HashMap;
import java.util.List;
@@ -37,16 +37,14 @@
{
/** The war context root as specified at the jboss-web.xml descriptor level. */
private String contextRoot;
- /** The web.xml servlet-mapping <String, String> */
+ /** The servlet-mapping <servlet-name, url-pattern> */
private Map<String, String> servletMappings = new HashMap<String, String>();
- /** The web.xml servlet <String, String> */
+ /** The servlet <servlet-name, servlet-class> */
private Map<String, String> servletClassNames = new HashMap<String, String>();
/** The optional JBossWS config-name */
private String configName;
/** The optional JBossWS config-file */
private String configFile;
- /** The web context class loader, used to create the ws4ee service endpoint */
- private ClassLoader ctxLoader;
/** The security-domain value assigned to the application */
private String securityDomain;
/** A HashMap<String, String> for webservice description publish locations */
@@ -74,12 +72,12 @@
this.servletMappings = servletMappings;
}
- public Map<String, String> getServletClassMap()
+ public Map<String, String> getServletClassNames()
{
return servletClassNames;
}
- public void setServletClassMap(Map<String, String> servletClassNames)
+ public void setServletClassNames(Map<String, String> servletClassNames)
{
this.servletClassNames = servletClassNames;
}
@@ -104,16 +102,6 @@
this.configFile = configFile;
}
- public ClassLoader getContextLoader()
- {
- return ctxLoader;
- }
-
- public void setContextLoader(ClassLoader ctxLoader)
- {
- this.ctxLoader = ctxLoader;
- }
-
public String getSecurityDomain()
{
return securityDomain;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ExceptionMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ExceptionMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ExceptionMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.jaxrpcmapping;
-// $Id: ExceptionMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: ExceptionMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
import java.io.Serializable;
import java.util.ArrayList;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaWsdlMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaWsdlMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaWsdlMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,17 +21,17 @@
*/
package org.jboss.ws.metadata.jaxrpcmapping;
-// $Id: JavaWsdlMapping.java 742 2006-08-14 09:49:19Z thomas.diesler at jboss.com $
+// $Id: JavaWsdlMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
-import org.jboss.logging.Logger;
-
-import javax.xml.namespace.QName;
-
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
+import javax.xml.namespace.QName;
+
+import org.jboss.logging.Logger;
+
/**
* XML mapping of the java-wsdl-mapping root element in jaxrpc-mapping.xml
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaWsdlMappingFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaWsdlMappingFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaWsdlMappingFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.jaxrpcmapping;
-// $Id: JavaWsdlMappingFactory.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: JavaWsdlMappingFactory.java 1632 2006-12-12 13:17:22Z thomas.diesler at jboss.com $
import java.io.IOException;
import java.io.InputStream;
@@ -30,6 +30,7 @@
import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
+import org.jboss.ws.core.utils.ResourceURL;
import org.jboss.xb.binding.JBossXBException;
import org.jboss.xb.binding.ObjectModelFactory;
import org.jboss.xb.binding.Unmarshaller;
@@ -64,16 +65,16 @@
/**
* Factory method for JavaWsdlMapping
*/
- public JavaWsdlMapping parse(URL jaxrpcMappingFile) throws IOException
+ public JavaWsdlMapping parse(URL mappingLocation) throws IOException
{
- if (jaxrpcMappingFile == null)
+ if (mappingLocation == null)
{
throw new IllegalArgumentException("URL cannot be null");
}
// setup the XML binding Unmarshaller
Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
- InputStream is = jaxrpcMappingFile.openStream();
+ InputStream is = new ResourceURL(mappingLocation).openStream();
try
{
JavaWsdlMapping javaWsdlMapping = (JavaWsdlMapping)unmarshaller.unmarshal(is, this, null);
@@ -81,7 +82,7 @@
}
catch (JBossXBException e)
{
- IOException ioex = new IOException("Cannot parse: " + jaxrpcMappingFile);
+ IOException ioex = new IOException("Cannot parse: " + mappingLocation);
Throwable cause = e.getCause();
if (cause != null)
ioex.initCause(cause);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaXmlTypeMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaXmlTypeMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/JavaXmlTypeMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,13 +21,13 @@
*/
package org.jboss.ws.metadata.jaxrpcmapping;
-// $Id: JavaXmlTypeMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: JavaXmlTypeMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
-import javax.xml.namespace.QName;
-
import java.io.Serializable;
import java.util.ArrayList;
+import javax.xml.namespace.QName;
+
/**
* XML mapping of the java-wsdl-mapping/java-xml-type-mapping element.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/MethodParamPartsMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/MethodParamPartsMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/MethodParamPartsMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,7 +23,7 @@
import java.io.Serializable;
-// $Id: MethodParamPartsMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: MethodParamPartsMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
* XML mapping of the java-wsdl-mapping/service-endpoint-interface-mapping/service-endpoint-method-mapping/method-param-parts-mapping element.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/PackageMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/PackageMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/PackageMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,7 +23,7 @@
import java.io.Serializable;
-// $Id: PackageMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: PackageMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
* XML mapping of the java-wsdl-mapping/package-mapping element.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/PortMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/PortMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/PortMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,7 +23,7 @@
import java.io.Serializable;
-// $Id: PortMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: PortMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
* XML mapping of the java-wsdl-mapping/service-interface-mapping/port-mapping element.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceEndpointInterfaceMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceEndpointInterfaceMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceEndpointInterfaceMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,15 +21,15 @@
*/
package org.jboss.ws.metadata.jaxrpcmapping;
-// $Id: ServiceEndpointInterfaceMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: ServiceEndpointInterfaceMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
-import javax.xml.namespace.QName;
-
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
+import javax.xml.namespace.QName;
+
/**
* XML mapping of the java-wsdl-mapping/service-endpoint-interface-mapping element.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceEndpointMethodMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceEndpointMethodMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceEndpointMethodMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.jaxrpcmapping;
-// $Id: ServiceEndpointMethodMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: ServiceEndpointMethodMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
import java.io.Serializable;
import java.util.ArrayList;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceInterfaceMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceInterfaceMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/ServiceInterfaceMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,15 +21,15 @@
*/
package org.jboss.ws.metadata.jaxrpcmapping;
-// $Id: ServiceInterfaceMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: ServiceInterfaceMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
-import javax.xml.namespace.QName;
-
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
+import javax.xml.namespace.QName;
+
/**
* XML mapping of the java-wsdl-mapping/service-interface-mapping element.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/VariableMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/VariableMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/VariableMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,7 +23,7 @@
import java.io.Serializable;
-// $Id: VariableMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: VariableMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
* XML mapping of the java-wsdl-mapping/java-xml-type-mapping/varaible-mapping element.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/WsdlMessageMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/WsdlMessageMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/WsdlMessageMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,7 +25,7 @@
import javax.xml.namespace.QName;
-// $Id: WsdlMessageMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: WsdlMessageMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
/**
* Created by IntelliJ IDEA.
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/WsdlReturnValueMapping.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/WsdlReturnValueMapping.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jaxrpcmapping/WsdlReturnValueMapping.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.ws.metadata.jaxrpcmapping;
-// $Id: WsdlReturnValueMapping.java 275 2006-05-04 21:36:29Z jason.greene at jboss.com $
+// $Id: WsdlReturnValueMapping.java 1603 2006-12-07 12:05:41Z thomas.diesler at jboss.com $
import java.io.Serializable;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jsr181/HandlerChainMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/jsr181/HandlerChainMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/jsr181/HandlerChainMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -30,7 +30,6 @@
import org.jboss.logging.Logger;
import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
-import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
/**
* XML Binding element for handler-config/handler-chain elements
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ClientEndpointMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/ClientEndpointMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ClientEndpointMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -32,7 +32,6 @@
import org.jboss.ws.WSException;
import org.jboss.ws.metadata.config.WSConfigFactory;
import org.jboss.ws.metadata.config.jaxrpc.WSConfigRootJAXRPC;
-import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
/**
@@ -46,9 +45,9 @@
// provide logging
private static Logger log = Logger.getLogger(ClientEndpointMetaData.class);
- public ClientEndpointMetaData(ServiceMetaData service, QName portName, Type type)
+ public ClientEndpointMetaData(ServiceMetaData service, QName qname, QName interfaceQName, Type type)
{
- super(service, portName, type);
+ super(service, qname, interfaceQName, type);
}
public void setConfigName(String configName)
@@ -78,7 +77,14 @@
String configFile = getConfigFile();
if (configFile == null)
{
- configFile = "META-INF/standard-jaxrpc-client-config.xml";
+ if (getType() == Type.JAXRPC)
+ {
+ configFile = "META-INF/standard-jaxrpc-client-config.xml";
+ }
+ else
+ {
+ configFile = "META-INF/standard-jaxws-client-config.xml";
+ }
setConfigFile(configFile);
}
@@ -120,9 +126,16 @@
}
// Get the client config
- endpointConfig = ((WSConfigRootJAXRPC)wsConfig).getClientConfigByName(configName);
- if (endpointConfig == null)
- throw new WSException("Cannot obtain client config: " + configName);
+ if (wsConfig instanceof WSConfigRootJAXRPC)
+ {
+ endpointConfig = ((WSConfigRootJAXRPC)wsConfig).getClientConfigByName(configName);
+ if (endpointConfig == null)
+ throw new WSException("Cannot obtain client config: " + configName);
+ }
+ else
+ {
+ throw new WSException("Invalid config type");
+ }
}
return endpointConfig;
@@ -139,7 +152,6 @@
buffer.append("\n configFile=" + getConfigFile());
buffer.append("\n configName=" + getConfigName());
buffer.append("\n authMethod=" + getAuthMethod());
- buffer.append("\n transportGuarantee=" + getTransportGuarantee());
buffer.append("\n properties=" + getProperties());
for (OperationMetaData opMetaData : getOperations())
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/EndpointMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/EndpointMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/EndpointMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,27 +23,27 @@
// $Id$
-import java.lang.reflect.Method;
-import java.net.URLClassLoader;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-
-import javax.jws.soap.SOAPBinding.ParameterStyle;
-import javax.xml.namespace.QName;
-import javax.xml.rpc.ParameterMode;
-
import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
-import org.jboss.ws.core.CommonSOAPBinding;
import org.jboss.ws.core.jaxrpc.Style;
+import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
import org.jboss.ws.core.jaxrpc.Use;
+import org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializerFactory;
+import org.jboss.ws.core.jaxrpc.binding.JBossXBSerializerFactory;
+import org.jboss.ws.core.jaxrpc.binding.SOAPArrayDeserializerFactory;
+import org.jboss.ws.core.jaxrpc.binding.SOAPArraySerializerFactory;
+import org.jboss.ws.core.utils.JavaUtils;
+import org.jboss.ws.core.CommonSOAPBinding;
import org.jboss.ws.metadata.config.WSCommonConfig;
import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
+import java.lang.reflect.Method;
+import java.util.*;
+
/**
* A Service component describes a set of endpoints.
*
@@ -70,6 +70,8 @@
private QName portName;
// The REQUIRED binding id
private String bindingId;
+ // The REQUIRED name of the WSDL interface/portType
+ private QName interfaceQName;
// The REQUIRED config-name
private String configName;
// The REQUIRED config-file
@@ -82,8 +84,6 @@
private Class seiClass;
// The optional authentication method
private String authMethod;
- // The optional transport guarantee
- private String transportGuarantee;
// Arbitrary properties given by <call-property>
private Properties properties;
// The SOAPBinding style
@@ -103,14 +103,15 @@
// Maps the java method to the operation meta data
private Map<Method, OperationMetaData> opMetaDataCache = new HashMap<Method, OperationMetaData>();
- public EndpointMetaData(ServiceMetaData service, QName portName, Type type)
+ public EndpointMetaData(ServiceMetaData service, QName qname, QName interfaceQName, Type type)
{
this.serviceMetaData = service;
- this.portName = portName;
+ this.portName = qname;
+ this.interfaceQName = interfaceQName;
this.type = type;
// The default binding
- this.bindingId = CommonSOAPBinding.SOAP11HTTP_BINDING;
+ this.bindingId = Constants.SOAP11HTTP_BINDING;
}
public ServiceMetaData getServiceMetaData()
@@ -123,6 +124,11 @@
return portName;
}
+ public QName getInterfaceQName()
+ {
+ return interfaceQName;
+ }
+
public String getConfigFile()
{
return configFile;
@@ -164,8 +170,14 @@
public void setBindingId(String bindingId)
{
- if (!CommonSOAPBinding.SOAP11HTTP_BINDING.equals(bindingId) && !CommonSOAPBinding.SOAP12HTTP_BINDING.equals(bindingId))
+ if (!CommonSOAPBinding.SOAP11HTTP_BINDING.equals(bindingId)
+ && !CommonSOAPBinding.SOAP12HTTP_BINDING.equals(bindingId)
+ && !CommonSOAPBinding.SOAP11HTTP_MTOM_BINDING.equals(bindingId)
+ && !CommonSOAPBinding.SOAP12HTTP_MTOM_BINDING.equals(bindingId))
+ {
throw new WSException("Unsupported binding: " + bindingId);
+ }
+
this.bindingId = bindingId;
}
@@ -178,13 +190,13 @@
{
this.seiName = seiName;
this.seiClass = null;
-
+
UnifiedMetaData wsMetaData = serviceMetaData.getUnifiedMetaData();
if (wsMetaData.isEagerInitialized())
{
if (UnifiedMetaData.isFinalRelease() == false)
log.warn("Set SEI name after eager initialization", new IllegalStateException());
-
+
// reinitialize
initializeInternal();
}
@@ -197,14 +209,7 @@
return classLoader;
}
- /** Get the resource loader associated with the endpoint meta data */
- public URLClassLoader getResourceLoader()
- {
- URLClassLoader classLoader = getServiceMetaData().getUnifiedMetaData().getResourceLoader();
- return classLoader;
- }
-
- /**
+ /**
* Load the service endpoint interface.
* It should only be cached during eager initialization.
*/
@@ -303,16 +308,6 @@
this.authMethod = authMethod;
}
- public String getTransportGuarantee()
- {
- return transportGuarantee;
- }
-
- public void setTransportGuarantee(String transportGuarantee)
- {
- this.transportGuarantee = transportGuarantee;
- }
-
public Properties getProperties()
{
return properties;
@@ -331,18 +326,19 @@
public OperationMetaData getOperation(QName xmlName)
{
OperationMetaData opMetaData = null;
- for (OperationMetaData auxOperation : operations)
+ for (OperationMetaData aux : operations)
{
- QName opQName = auxOperation.getQName();
- if (opQName.equals(xmlName))
+ QName opQName = aux.getQName();
+ String javaName = aux.getJavaName();
+ if (opQName.equals(xmlName) && !javaName.endsWith(Constants.ASYNC_METHOD_SUFFIX))
{
if (opMetaData == null)
{
- opMetaData = auxOperation;
+ opMetaData = aux;
}
else
{
- throw new WSException("Cannot uniquely indetify operation: " + xmlName);
+ throw new WSException("Cannot uniquely indentify operation: " + xmlName);
}
}
}
@@ -355,7 +351,7 @@
for (ParameterMetaData auxParam : auxOperation.getParameters())
{
ParameterMode mode = auxParam.getMode();
- if (auxParam.isInHeader() == false && mode == ParameterMode.IN)
+ if (auxParam.isInHeader() == false && mode != ParameterMode.OUT)
{
paramMetaData = auxParam;
break;
@@ -369,7 +365,7 @@
}
else
{
- throw new WSException("Cannot uniquely indetify operation: " + xmlName);
+ throw new WSException("Cannot uniquely indentify operation: " + xmlName);
}
}
}
@@ -382,11 +378,35 @@
{
if (opMetaDataCache.size() == 0)
{
- // This can happen when the SEI mapping was not found
+ // This can happen when the SEI mapping was not found
log.warn("Access to empty operation meta data cache, reinitializing");
initializeInternal();
}
+
OperationMetaData opMetaData = opMetaDataCache.get(method);
+ if (opMetaData == null)
+ {
+ for (OperationMetaData aux : operations)
+ {
+ boolean doesMatch = aux.getJavaMethod().equals(method);
+
+ // fallback for async methods
+ if(!doesMatch && method.getName().endsWith(Constants.ASYNC_METHOD_SUFFIX))
+ {
+ String name = method.getName();
+ name = name.substring(0, name.length()-5);
+ doesMatch = aux.getJavaName().equals(name);
+ }
+
+ if (doesMatch)
+ {
+ opMetaDataCache.put(method, aux);
+ opMetaData = aux;
+ break;
+ }
+
+ }
+ }
return opMetaData;
}
@@ -441,11 +461,11 @@
{
for (HandlerMetaData handler : handlers)
handler.validate();
-
+
for (OperationMetaData opMetaData : operations)
opMetaData.validate();
}
-
+
/**
* @see UnifiedMetaData#eagerInitialize()
*/
@@ -458,18 +478,23 @@
{
// reset sei class
seiClass = null;
-
+
// Initialize handlers
for (HandlerMetaData handler : handlers)
handler.eagerInitialize();
-
- // Initialize operations
+
+ eagerInitializeOperations();
+ eagerInitializeTypes();
+ }
+
+ private void eagerInitializeOperations()
+ {
seiClass = getServiceEndpointInterface();
if (seiClass != null)
{
List<Method> unsynchronizedMethods = new ArrayList<Method>();
unsynchronizedMethods.addAll(Arrays.asList(seiClass.getMethods()));
-
+
for (OperationMetaData opMetaData : operations)
{
opMetaData.eagerInitialize(unsynchronizedMethods);
@@ -482,4 +507,52 @@
}
}
}
+
+ private void eagerInitializeTypes()
+ {
+ TypeMappingImpl typeMapping = serviceMetaData.getTypeMapping();
+ for (TypeMappingMetaData tmMetaData : serviceMetaData.getTypesMetaData().getTypeMappings())
+ {
+ String javaTypeName = tmMetaData.getJavaTypeName();
+ QName xmlType = tmMetaData.getXmlType();
+ if (xmlType != null)
+ {
+ List<Class> registeredTypes = typeMapping.getJavaTypes(xmlType);
+
+ boolean registered = false;
+ for (Class current : registeredTypes) {
+ if (current.getName().equals(javaTypeName))
+ {
+ registered = true;
+ break;
+ }
+ }
+
+ if (registered == false)
+ {
+ try
+ {
+ ClassLoader classLoader = getClassLoader();
+ Class javaType = JavaUtils.loadJavaType(javaTypeName, classLoader);
+
+ if (JavaUtils.isPrimitive(javaTypeName))
+ javaType = JavaUtils.getWrapperType(javaType);
+
+ if (getEncodingStyle() == Use.ENCODED && javaType.isArray())
+ {
+ typeMapping.register(javaType, xmlType, new SOAPArraySerializerFactory(), new SOAPArrayDeserializerFactory());
+ }
+ else
+ {
+ typeMapping.register(javaType, xmlType, new JBossXBSerializerFactory(), new JBossXBDeserializerFactory());
+ }
+ }
+ catch (ClassNotFoundException e)
+ {
+ log.warn("Cannot load class for type: " + xmlType + "," + javaTypeName);
+ }
+ }
+ }
+ }
+ }
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ExtensibleMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/ExtensibleMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ExtensibleMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,7 +1,7 @@
package org.jboss.ws.metadata.umdm;
+import java.util.HashMap;
import java.util.Map;
-import java.util.HashMap;
/**
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/FaultMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/FaultMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/FaultMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.ws.metadata.umdm;
// $Id$
@@ -40,27 +40,32 @@
{
// provide logging
private final Logger log = Logger.getLogger(FaultMetaData.class);
-
+
// The parent operation
private OperationMetaData opMetaData;
private QName xmlName;
private QName xmlType;
private String javaTypeName;
+ private String faultBeanName;
private Class javaType;
+ private Class faultBean;
public FaultMetaData(OperationMetaData operation, QName xmlName, QName xmlType, String javaTypeName)
{
+ this(operation, xmlName, javaTypeName);
+ setXmlType(xmlType);
+ }
+
+ public FaultMetaData(OperationMetaData operation, QName xmlName, String javaTypeName)
+ {
if (xmlName == null)
throw new IllegalArgumentException("Invalid null xmlName argument");
- if (xmlType == null)
- throw new IllegalArgumentException("Invalid null xmlType argument, for: " + xmlName);
if (javaTypeName == null)
throw new IllegalArgumentException("Invalid null javaTypeName argument, for: " + xmlName);
this.opMetaData = operation;
this.xmlName = xmlName;
- this.xmlType = xmlType;
this.javaTypeName = javaTypeName;
}
@@ -79,6 +84,14 @@
return xmlType;
}
+ public void setXmlType(QName xmlType)
+ {
+ if (xmlType == null)
+ throw new IllegalArgumentException("Invalid null xmlType argument, for: " + xmlName);
+
+ this.xmlType = xmlType;
+ }
+
public String getJavaTypeName()
{
return javaTypeName;
@@ -96,7 +109,7 @@
{
ClassLoader loader = opMetaData.getEndpointMetaData().getClassLoader();
tmpJavaType = JavaUtils.loadJavaType(javaTypeName, loader);
-
+
if (opMetaData.getEndpointMetaData().getServiceMetaData().getUnifiedMetaData().isEagerInitialized())
{
log.warn("Loading java type after eager initialization");
@@ -111,16 +124,48 @@
return tmpJavaType;
}
+ public String getFaultBeanName()
+ {
+ return faultBeanName;
+ }
+
+ public void setFaultBeanName(String faultBeanName)
+ {
+ this.faultBeanName = faultBeanName;
+ }
+
+ public Class getFaultBean()
+ {
+ Class tmpFaultBean = faultBean;
+ if (tmpFaultBean == null && faultBeanName != null)
+ {
+ try
+ {
+ ClassLoader loader = opMetaData.getEndpointMetaData().getClassLoader();
+ tmpFaultBean = JavaUtils.loadJavaType(faultBeanName, loader);
+ }
+ catch (ClassNotFoundException ex)
+ {
+ throw new WSException("Cannot load fault bean: " + faultBeanName, ex);
+ }
+ }
+ return tmpFaultBean;
+ }
+
public void validate()
{
// nothing to do
}
-
+
public void eagerInitialize()
{
+ ClassLoader loader = opMetaData.getEndpointMetaData().getClassLoader();
+ // Initialize the cache
javaType = getJavaType();
if (javaType == null)
throw new WSException("Cannot load java type: " + javaTypeName);
+
+ faultBean = getFaultBean();
}
public String toString()
@@ -129,6 +174,7 @@
buffer.append("\n xmlName=" + xmlName);
buffer.append("\n xmlType=" + xmlType);
buffer.append("\n javaType=" + javaTypeName);
+ buffer.append("\n faultBean=" + faultBeanName);
return buffer.toString();
}
}
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/HandlerMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/HandlerMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/HandlerMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -33,20 +33,18 @@
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
-import org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerInbound;
-import org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerOutbound;
/**
* The common metdata data for a handler element
- *
+ *
* @author Thomas.Diesler at jboss.org
* @since 05-May-2006
*/
public abstract class HandlerMetaData implements Serializable
{
// provide logging
- private static final Logger log = Logger.getLogger(HandlerMetaData.class);
-
+ private final Logger log = Logger.getLogger(HandlerMetaData.class);
+
public enum HandlerType
{
PRE, ENDPOINT, POST, ALL
@@ -93,9 +91,9 @@
return handlerName;
}
- public void setHandlerClassName(String handlerClassName)
+ public void setHandlerClassName(String handlerClass)
{
- this.handlerClassName = handlerClassName;
+ this.handlerClassName = handlerClass;
}
public String getHandlerClassName()
@@ -107,7 +105,7 @@
{
if (handlerClassName == null)
throw new IllegalStateException("Handler class name cannot be null");
-
+
Class localClass = handlerClass;
if (localClass == null)
{
@@ -152,9 +150,9 @@
public void validate()
{
List<String> securityHandlers = new ArrayList<String>();
- securityHandlers.add(WSSecurityHandlerInbound.class.getName());
- securityHandlers.add(WSSecurityHandlerOutbound.class.getName());
-
+ securityHandlers.add(org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerInbound.class.getName());
+ securityHandlers.add(org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerOutbound.class.getName());
+
if (securityHandlers.contains(handlerClassName))
{
if (epMetaData.getServiceMetaData().getSecurityConfiguration() == null)
@@ -166,11 +164,11 @@
{
handlerClass = getHandlerClass();
}
-
+
public static class HandlerInitParam implements Serializable
{
private static final long serialVersionUID = -8687875291620457318L;
-
+
// The required <handler-name> element
private String paramName;
// The required <handler-class> element
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/HandlerMetaDataJAXRPC.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/HandlerMetaDataJAXRPC.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/HandlerMetaDataJAXRPC.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -26,9 +26,7 @@
import java.util.HashSet;
import java.util.Set;
-import javax.xml.namespace.QName;
-
/**
* The JAXRPC metdata data for a handler element
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/OperationMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/OperationMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/OperationMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,7 +25,9 @@
import java.lang.reflect.Method;
import java.util.ArrayList;
+import java.util.HashSet;
import java.util.List;
+import java.util.Set;
import javax.jws.soap.SOAPBinding.ParameterStyle;
import javax.xml.namespace.QName;
@@ -33,11 +35,8 @@
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
-import org.jboss.ws.core.jaxrpc.ParameterWrapping;
import org.jboss.ws.core.jaxrpc.Style;
-import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
import org.jboss.ws.core.jaxrpc.Use;
-import org.jboss.ws.core.utils.HolderUtils;
import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
import org.w3c.dom.Element;
@@ -63,6 +62,7 @@
private Method javaMethod;
private boolean oneWay;
private String soapAction;
+ private ParameterStyle parameterStyle;
private List<ParameterMetaData> parameters = new ArrayList<ParameterMetaData>();
private List<FaultMetaData> faults = new ArrayList<FaultMetaData>();
private ParameterMetaData returnParam;
@@ -71,7 +71,7 @@
{
UnifiedMetaData umd = new UnifiedMetaData();
ServiceMetaData smd = new ServiceMetaData(umd, new QName("mock-service"));
- ServerEndpointMetaData epmd = new ServerEndpointMetaData(smd, new QName("mock-endpoint"), Type.JAXRPC);
+ ServerEndpointMetaData epmd = new ServerEndpointMetaData(smd, new QName("mock-endpoint"), new QName("mock-interface"), Type.JAXRPC);
initOperationMetaData(epmd, qname, javaName);
}
@@ -134,9 +134,14 @@
public ParameterStyle getParameterStyle()
{
- return epMetaData.getParameterStyle();
+ return (parameterStyle != null) ? parameterStyle : epMetaData.getParameterStyle();
}
+ public void setParameterStyle(ParameterStyle parameterStyle)
+ {
+ this.parameterStyle = parameterStyle;
+ }
+
public boolean isRPCLiteral()
{
return getStyle() == Style.RPC && getUse() == Use.LITERAL;
@@ -146,7 +151,7 @@
{
return getStyle() == Style.RPC && getUse() == Use.ENCODED;
}
-
+
public boolean isDocumentBare()
{
return getStyle() == Style.DOCUMENT && getParameterStyle() == ParameterStyle.BARE;
@@ -173,20 +178,20 @@
if (isJavaMethod(method))
{
tmpMethod = method;
-
+
UnifiedMetaData wsMetaData = epMetaData.getServiceMetaData().getUnifiedMetaData();
if (wsMetaData.isEagerInitialized())
{
if (UnifiedMetaData.isFinalRelease() == false)
log.warn("Loading java method after eager initialization", new IllegalStateException());
-
+
javaMethod = method;
}
-
+
break;
}
}
-
+
if (tmpMethod == null)
throw new WSException("Cannot find java method: " + javaName);
}
@@ -199,64 +204,51 @@
if (isJavaMethod == false)
{
String methodName = method.getName();
- Class[] methodTypes = method.getParameterTypes();
- Class returnType = method.getReturnType();
-
if (javaName.equals(methodName))
{
log.trace("Found java method: " + method);
- // match document/literal/wrapped
- if (isDocumentWrapped())
+ // compare params by java type name
+ if (matchParameters(method, true))
{
- if (ParameterWrapping.matchRequestParameters(this, methodTypes) && ParameterWrapping.matchResponseParameters(this, returnType))
- {
- log.debug("Found wrapped java method: " + method);
- isJavaMethod = true;
- }
+ log.debug("Found best matching java method: " + method);
+ isJavaMethod = true;
}
- else
- {
- // Match the return parameter
- ParameterMetaData returnMetaData = getReturnParameter();
- if (returnMetaData != null)
- {
- if (!matchParameter(returnMetaData, returnType, true) && !matchParameter(returnMetaData, returnType, false))
- {
- log.debug("Unmatched return meta data: " + returnType);
- }
- }
- else
- {
- if (returnType != void.class)
- {
- log.debug("Unmatched return meta data: " + returnType);
- }
- }
- // compare params by java type name
- if (compareMethodParams(methodTypes, true))
- {
- log.debug("Found best matching java method: " + method);
- isJavaMethod = true;
- }
-
- // compare params by assignability
- else if (compareMethodParams(methodTypes, false))
- {
- log.debug("Found possible matching java method: " + method);
- isJavaMethod = true;
- }
+ // compare params by assignability
+ if (!isJavaMethod && matchParameters(method, false))
+ {
+ log.debug("Found possible matching java method: " + method);
+ isJavaMethod = true;
}
}
}
-
+
if (log.isTraceEnabled())
log.trace("Synchronized java method:\n" + method + "\nwith: " + toString());
-
+
return isJavaMethod;
}
+ private boolean matchParameters(Method method, boolean exact)
+ {
+ Class[] paramTypes = method.getParameterTypes();
+ Set<Integer> matches = new HashSet<Integer>(paramTypes.length);
+
+ for (ParameterMetaData param : getParameters())
+ {
+ if (!param.matchParameter(method, matches, exact))
+ return false;
+ }
+
+ ParameterMetaData returnMetaData = getReturnParameter();
+ if (returnMetaData != null && !returnMetaData.matchParameter(method, matches, exact))
+return false;
+
+ // We should have an entry for every parameter index if we match
+ return matches.size() == paramTypes.length;
+ }
+
/** Return true if this is a generic message style destination that takes a org.w3c.dom.Element
*/
public boolean isMessageEndpoint()
@@ -273,84 +265,14 @@
return isMessageEndpoint;
}
- private boolean compareMethodParams(Class[] methodParams, boolean matchByTypeName)
+ public boolean isOneWay()
{
- log.trace("Compare method params by type name: " + matchByTypeName);
-
- boolean pass = (parameters.size() == methodParams.length);
- if (pass == false)
- log.trace("Unmatched parameter count: " + parameters.size() + "!=" + methodParams.length);
-
- for (int i = 0; pass && i < methodParams.length; i++)
- {
- ParameterMetaData paramMetaData = parameters.get(i);
- pass = matchParameter(paramMetaData, methodParams[i], matchByTypeName);
- }
- return pass;
- }
-
- private boolean matchParameter(ParameterMetaData paramMetaData, Class methodParam, boolean matchByTypeName)
- {
- QName xmlType = paramMetaData.getXmlType();
- String javaType = paramMetaData.getJavaTypeName();
-
- boolean pass = true;
- if (paramMetaData != returnParam && paramMetaData.getMode() != ParameterMode.IN)
- {
- if (HolderUtils.isHolderType(methodParam))
- {
- methodParam = HolderUtils.getValueType(methodParam);
- }
- else
- {
- pass = false;
- }
- }
-
- if (pass == true)
- {
- // In case the parameter java type has not been initialized
- // This happens when the UMDM is build from WSDL only (i.e. JAXWS Service)
- TypeMappingImpl typeMapping = epMetaData.getServiceMetaData().getTypeMapping();
- if (javaType == null)
- {
- javaType = methodParam.getName();
- paramMetaData.setJavaTypeName(javaType);
- log.debug("Set parameter java type from method param: " + javaType);
- }
-
- if (matchByTypeName)
- {
- pass = methodParam.getName().equals(javaType);
- }
- else
- {
- String paramTypeName = methodParam.getName();
- Class paramType = paramMetaData.getJavaType();
- pass = JavaUtils.isAssignableFrom(methodParam, paramType);
-
- if (typeMapping.isRegistered(methodParam, xmlType))
- {
- log.debug("Adjust parameter type from " + paramType.getName() + " to " + paramTypeName);
- paramMetaData.setJavaTypeName(paramTypeName);
- pass = true;
- }
- }
- }
-
- String name = (matchByTypeName) ? paramMetaData.getJavaTypeName() : paramMetaData.getJavaType().getName();
- log.trace((pass ? "Matched" : "Unmatched") + " parameter: " + name + " == " + methodParam.getName());
- return pass;
- }
-
- public boolean isOneWayOperation()
- {
return oneWay;
}
- public void setOneWayOperation(boolean oneWayOperation)
+ public void setOneWay(boolean oneWay)
{
- this.oneWay = oneWayOperation;
+ this.oneWay = oneWay;
assertOneWayOperation();
}
@@ -430,6 +352,7 @@
{
log.trace("setReturnParameter: " + returnParam);
returnParam.setMode(ParameterMode.OUT);
+ returnParam.setIndex(-1);
this.returnParam = returnParam;
assertOneWayOperation();
}
@@ -515,8 +438,8 @@
if (returnParam != null && !returnParam.isInHeader())
out++;
- if (!((oneWay && in == 1 && out == 0) || (in == 1 && out == 1)))
- throw new WSException("The body of a documnet/literal bare message requires only 1 input and only 1 output (or 0 if oneway). method: " + javaName + " in: "
+ if (in > 1 || out > (oneWay ? 0 : 1))
+ throw new WSException("The body of a document/literal bare message requires at most 1 input and at most 1 output (or 0 if oneway). method: " + javaName + " in: "
+ in + " out: " + out);
}
}
@@ -537,7 +460,7 @@
{
// reset java method
javaMethod = null;
-
+
for (ParameterMetaData parameter : parameters)
parameter.eagerInitialize();
@@ -546,7 +469,7 @@
for (FaultMetaData fault : faults)
fault.eagerInitialize();
-
+
// Method initialization
for (Method method : unsynchronizedMethods)
{
@@ -556,7 +479,7 @@
break;
}
}
-
+
// Report unsynchronized java method
if (javaMethod == null)
{
@@ -568,7 +491,6 @@
errMsg.append("\n" + toString());
throw new IllegalStateException(errMsg.toString());
}
-
}
public String toString()
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ParameterMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/ParameterMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ParameterMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,8 @@
// $Id$
+import java.lang.reflect.Method;
+import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
@@ -36,7 +38,10 @@
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
import org.jboss.ws.core.jaxrpc.ParameterWrapping;
+import org.jboss.ws.core.utils.HolderUtils;
import org.jboss.ws.core.utils.JavaUtils;
+import org.jboss.ws.metadata.acessor.ReflectiveMethodAccessor;
+import org.jboss.ws.metadata.umdm.WrappedParameter.AccessorFactory;
/**
* A request/response parameter that a given operation supports.
@@ -49,11 +54,12 @@
{
// provide logging
private final Logger log = Logger.getLogger(ParameterMetaData.class);
-
+
// The parent operation
private OperationMetaData opMetaData;
private QName xmlName;
+ private String partName;
private QName xmlType;
private String javaTypeName;
private Class javaType;
@@ -62,50 +68,77 @@
private boolean inHeader;
private boolean isSwA;
private boolean isXOP;
- private List<String> wrappedVariables = new ArrayList<String>();
- private List<String> wrappedTypes = new ArrayList<String>();
- private List<QName> wrappedElementNames = new ArrayList<QName>();
+ private List<WrappedParameter> wrappedParameters;
+ private int index;
// SOAP-ENC:Array
private boolean soapArrayParam;
private QName soapArrayCompType;
+ private AccessorFactoryCreator accessorFactoryCreator = ReflectiveMethodAccessor.FACTORY_CREATOR;
+ public static interface AccessorFactoryCreator
+ {
+ public AccessorFactory create(ParameterMetaData parameter);
+ }
+
private static final List<String> messageTypes = new ArrayList<String>();
static
{
messageTypes.add("javax.xml.soap.SOAPElement");
messageTypes.add("org.w3c.dom.Element");
}
-
+
public ParameterMetaData(OperationMetaData opMetaData, QName xmlName, QName xmlType, String javaTypeName)
{
- this.xmlName = xmlName;
- this.xmlType = xmlType;
- this.opMetaData = opMetaData;
- this.mode = ParameterMode.IN;
- this.javaTypeName = javaTypeName;
+ this(opMetaData, xmlName, javaTypeName);
+ setXmlType(xmlType);
+ }
+ public ParameterMetaData(OperationMetaData opMetaData, QName xmlName, String javaTypeName)
+ {
if (xmlName == null)
throw new IllegalArgumentException("Invalid null xmlName argument");
- if (xmlType == null)
- throw new IllegalArgumentException("Invalid null xmlType argument, for: " + xmlName);
// Remove the prefixes
if (xmlName.getNamespaceURI().length() > 0)
- this.xmlName = new QName(xmlName.getNamespaceURI(), xmlName.getLocalPart());
+ xmlName = new QName(xmlName.getNamespaceURI(), xmlName.getLocalPart());
- if (xmlType.getNamespaceURI().length() > 0)
- this.xmlType = new QName(xmlType.getNamespaceURI(), xmlType.getLocalPart());
+ this.xmlName = xmlName;
+ this.opMetaData = opMetaData;
+ this.mode = ParameterMode.IN;
+ this.partName = xmlName.getLocalPart();
+ this.javaTypeName = javaTypeName;
+ }
- // Special case to identify attachments
- if (Constants.NS_ATTACHMENT_MIME_TYPE.equals(xmlType.getNamespaceURI()))
+ private static boolean matchParameter(Method method, int index, Class expectedType, Set<Integer> matches, boolean exact, boolean holder)
+ {
+ Class returnType = method.getReturnType();
+ Type[] parameters = method.getGenericParameterTypes();
+
+ if (index == -1 && matchTypes(returnType, expectedType, exact, false))
+ return true;
+
+ if (index < parameters.length && matchTypes(parameters[index], expectedType, exact, holder))
{
- String mimeType = convertXmlTypeToMimeType(xmlType);
- setMimeTypes(mimeType);
- this.isSwA = true;
+ matches.add(index);
+ return true;
}
+
+ return false;
}
+ private static boolean matchTypes(Type actualType, Class expectedType, boolean exact, boolean holder)
+ {
+ if (holder && HolderUtils.isHolderType(actualType) == false)
+ return false;
+
+ Type valueType = (holder ? HolderUtils.getValueType(actualType) : actualType);
+ Class valueClass = JavaUtils.erasure(valueType);
+ boolean matched = (exact ? valueClass.getName().equals(expectedType.getName()) : JavaUtils.isAssignableFrom(valueClass, expectedType));
+
+ return matched;
+ }
+
public OperationMetaData getOperationMetaData()
{
return opMetaData;
@@ -121,19 +154,37 @@
return xmlType;
}
+ public void setXmlType(QName xmlType)
+ {
+ if (xmlType == null)
+ throw new IllegalArgumentException("Invalid null xmlType");
+
+ // Remove potential prefix
+ if (xmlType.getNamespaceURI().length() > 0)
+ this.xmlType = new QName(xmlType.getNamespaceURI(), xmlType.getLocalPart());
+ else this.xmlType = xmlType;
+
+ // Special case to identify attachments
+ if (Constants.NS_ATTACHMENT_MIME_TYPE.equals(xmlType.getNamespaceURI()))
+ {
+ String mimeType = convertXmlTypeToMimeType(xmlType);
+ setMimeTypes(mimeType);
+ this.isSwA = true;
+ }
+ }
+
public String getJavaTypeName()
{
return javaTypeName;
}
-
public void setJavaTypeName(String typeName)
{
// Warn if this is called after eager initialization
UnifiedMetaData wsMetaData = opMetaData.getEndpointMetaData().getServiceMetaData().getUnifiedMetaData();
if (wsMetaData.isEagerInitialized() && UnifiedMetaData.isFinalRelease() == false)
log.warn("Set java type name after eager initialization", new IllegalStateException());
-
+
javaTypeName = typeName;
javaType = null;
}
@@ -150,7 +201,7 @@
{
ClassLoader loader = opMetaData.getEndpointMetaData().getClassLoader();
tmpJavaType = JavaUtils.loadJavaType(javaTypeName, loader);
-
+
UnifiedMetaData wsMetaData = opMetaData.getEndpointMetaData().getServiceMetaData().getUnifiedMetaData();
if (wsMetaData.isEagerInitialized())
{
@@ -166,7 +217,6 @@
return tmpJavaType;
}
-
public ParameterMode getMode()
{
return mode;
@@ -174,16 +224,15 @@
public void setMode(String mode)
{
- if("IN".equals(mode))
+ if ("IN".equals(mode))
setMode(ParameterMode.IN);
- else if("INOUT".equals(mode))
+ else if ("INOUT".equals(mode))
setMode(ParameterMode.INOUT);
- else if("OUT".equals(mode))
+ else if ("OUT".equals(mode))
setMode(ParameterMode.OUT);
- else
- throw new IllegalArgumentException("Invalid mode: " + mode);
+ else throw new IllegalArgumentException("Invalid mode: " + mode);
}
-
+
public void setMode(ParameterMode mode)
{
this.mode = mode;
@@ -232,21 +281,6 @@
this.isXOP = isXOP;
}
- public List<String> getWrappedTypes()
- {
- return wrappedTypes;
- }
-
- public List<String> getWrappedVariables()
- {
- return wrappedVariables;
- }
-
- public List<QName> getWrappedElementNames()
- {
- return wrappedElementNames;
- }
-
public boolean isSOAPArrayParam()
{
return soapArrayParam;
@@ -266,12 +300,12 @@
{
this.soapArrayCompType = xmlType;
}
-
+
public boolean isMessageType()
{
return messageTypes.contains(javaTypeName);
}
-
+
public static boolean isMessageType(String javaTypeName)
{
return messageTypes.contains(javaTypeName);
@@ -290,11 +324,41 @@
return mimeName.toString();
}
+ public int getIndex()
+ {
+ return index;
+ }
+
+ public void setIndex(int index)
+ {
+ this.index = index;
+ }
+
+ public List<WrappedParameter> getWrappedParameters()
+ {
+ return wrappedParameters;
+ }
+
+ public void setWrappedParameters(List<WrappedParameter> wrappedParameters)
+ {
+ this.wrappedParameters = wrappedParameters;
+ }
+
+ public String getPartName()
+ {
+ return partName;
+ }
+
+ public void setPartName(String partName)
+ {
+ this.partName = partName;
+ }
+
public void validate()
{
// nothing to do
}
-
+
/**
* @see UnifiedMetaData#eagerInitialize()
*/
@@ -302,13 +366,16 @@
{
// reset java type
javaType = null;
-
- TypesMetaData typesMetaData = getOperationMetaData().getEndpointMetaData().getServiceMetaData().getTypesMetaData();
- if (getOperationMetaData().isDocumentWrapped() && isMessageType() == false)
+
+ if (getOperationMetaData().isDocumentWrapped() && !isInHeader() && !isMessageType())
{
- TypeMappingMetaData tmMetaData = typesMetaData.getTypeMappingByXMLType(xmlType);
- if (tmMetaData == null)
+ if (javaTypeName == null || !JavaUtils.isLoaded(javaTypeName, getClassLoader()))
ParameterWrapping.generateWrapper(this, true);
+
+ // Initialize accessors
+ AccessorFactory factory = accessorFactoryCreator.create(this);
+ for (WrappedParameter wrapped : wrappedParameters)
+ wrapped.setAccessor(factory.create(wrapped));
}
javaType = getJavaType();
@@ -316,40 +383,82 @@
throw new WSException("Cannot load java type: " + javaTypeName);
}
+ private ClassLoader getClassLoader()
+ {
+ ClassLoader loader = opMetaData.getEndpointMetaData().getServiceMetaData().getUnifiedMetaData().getClassLoader();
+ if (loader == null)
+ throw new WSException("ClassLoader not available");
+ return loader;
+ }
+
+ public boolean matchParameter(Method method, Set<Integer> matches, boolean exact)
+ {
+ ClassLoader loader = getOperationMetaData().getEndpointMetaData().getClassLoader();
+ List<WrappedParameter> wrappedParameters = getWrappedParameters();
+ Class wrapperType = getJavaType();
+
+ // Standard type
+ if (wrappedParameters == null)
+ return matchParameter(method, getIndex(), getJavaType(), matches, exact, mode != ParameterMode.IN);
+
+ // Wrapped type
+ for (WrappedParameter wrapped : wrappedParameters)
+ {
+ String typeName = wrapped.getType();
+
+ try
+ {
+ Class type = (typeName != null) ? JavaUtils.loadJavaType(typeName, loader) : ParameterWrapping.getWrappedType(wrapped.getVariable(), wrapperType);
+ if (type == null)
+ return false;
+ if (!matchParameter(method, wrapped.getIndex(), type, matches, exact, wrapped.isHolder()))
+ return false;
+ }
+ catch (Exception ex)
+ {
+ log.debug("Invalid wrapper type:" + typeName, ex);
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ public void setAccessorFactoryCreator(AccessorFactoryCreator accessorFactoryCreator)
+ {
+ this.accessorFactoryCreator = accessorFactoryCreator;
+ }
+
public String toString()
{
boolean isReturn = (opMetaData.getReturnParameter() == this);
StringBuilder buffer = new StringBuilder("\n" + (isReturn ? "ReturnMetaData:" : "ParameterMetaData:"));
buffer.append("\n xmlName=" + getXmlName());
+ buffer.append("\n partName=" + getPartName());
buffer.append("\n xmlType=" + getXmlType());
buffer.append("\n javaType=" + getJavaTypeName());
buffer.append("\n mode=" + getMode());
buffer.append("\n inHeader=" + isInHeader());
-
+ buffer.append("\n index=" + index);
+
if (soapArrayParam)
buffer.append("\n soapArrayCompType=" + soapArrayCompType);
-
- if (wrappedVariables != null)
- buffer.append("\n wrappedVariables=" + wrappedVariables);
-
- if (wrappedTypes != null)
- buffer.append("\n wrappedTypes=" + wrappedTypes);
-
- if (wrappedElementNames != null)
- buffer.append("\n wrappedElementNames=" + wrappedElementNames);
-
+
if (isSwA())
{
buffer.append("\n isSwA=" + isSwA());
buffer.append("\n mimeTypes=" + getMimeTypes());
}
-
+
+ if (wrappedParameters != null)
+ buffer.append("\n wrappedParameters=" + wrappedParameters);
+
if (isXOP())
{
buffer.append("\n isXOP=" + isXOP());
buffer.append("\n mimeTypes=" + getMimeTypes());
}
-
+
return buffer.toString();
}
-}
\ No newline at end of file
+}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ServerEndpointMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/ServerEndpointMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ServerEndpointMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -63,16 +63,18 @@
private ObjectName sepID;
// The HTTP context root
private String contextRoot;
- // The HTTP virtual hosts
+ // The HTTP virtual hosts
private String[] virtualHosts;
// The HTTP url parttern
private String urlPattern;
- // The bean that registers with the ServiceEndpointManager
+ // The optional transport guarantee
+ private String transportGuarantee;
+ // The bean that registers with the ServiceEndpointManager
private String managedEndpointBean = ServiceEndpoint.class.getName();
- public ServerEndpointMetaData(ServiceMetaData service, QName portName, Type type)
+ public ServerEndpointMetaData(ServiceMetaData service, QName qname, QName interfaceQName, Type type)
{
- super(service, portName, type);
+ super(service, qname, interfaceQName, type);
}
public void setConfigName(String configName)
@@ -134,10 +136,12 @@
public void setContextRoot(String contextRoot)
{
+ if (contextRoot != null && contextRoot.startsWith("/") == false)
+ throw new IllegalArgumentException("context root should start with '/'");
+
this.contextRoot = contextRoot;
}
-
public String[] getVirtualHosts()
{
return virtualHosts;
@@ -155,9 +159,22 @@
public void setURLPattern(String urlPattern)
{
+ if (urlPattern != null && urlPattern.startsWith("/") == false)
+ throw new IllegalArgumentException("url pattern should start with '/'");
+
this.urlPattern = urlPattern;
}
+ public String getTransportGuarantee()
+ {
+ return transportGuarantee;
+ }
+
+ public void setTransportGuarantee(String transportGuarantee)
+ {
+ this.transportGuarantee = transportGuarantee;
+ }
+
public String getManagedEndpointBean()
{
return managedEndpointBean;
@@ -183,7 +200,14 @@
String configFile = getConfigFile();
if (configFile == null)
{
- configFile = "META-INF/standard-jaxrpc-endpoint-config.xml";
+ if (getType() == Type.JAXRPC)
+ {
+ configFile = "META-INF/standard-jaxrpc-endpoint-config.xml";
+ }
+ else
+ {
+ configFile = "META-INF/standard-jaxws-endpoint-config.xml";
+ }
setConfigFile(configFile);
}
@@ -225,9 +249,16 @@
}
// Get the endpoint config
- endpointConfig = ((WSConfigRootJAXRPC)wsConfig).getEndpointConfigByName(configName);
- if (endpointConfig == null)
- throw new WSException("Cannot obtain endpoint config: " + configName);
+ if (wsConfig instanceof WSConfigRootJAXRPC)
+ {
+ endpointConfig = ((WSConfigRootJAXRPC)wsConfig).getEndpointConfigByName(configName);
+ if (endpointConfig == null)
+ throw new WSException("Cannot obtain endpoint config: " + configName);
+ }
+ else
+ {
+ throw new WSException("Config not supported");
+ }
}
return endpointConfig;
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ServiceMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/ServiceMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/ServiceMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,7 +24,6 @@
// $Id$
import java.io.IOException;
-import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.LinkedHashMap;
@@ -40,12 +39,7 @@
import org.jboss.ws.core.jaxrpc.TypeMappingImpl;
import org.jboss.ws.core.jaxrpc.TypeMappingRegistryImpl;
import org.jboss.ws.core.jaxrpc.Use;
-import org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializerFactory;
-import org.jboss.ws.core.jaxrpc.binding.JBossXBSerializerFactory;
-import org.jboss.ws.core.jaxrpc.binding.SOAPArrayDeserializerFactory;
-import org.jboss.ws.core.jaxrpc.binding.SOAPArraySerializerFactory;
import org.jboss.ws.core.jaxrpc.binding.jbossxb.SchemaBindingBuilder;
-import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMappingFactory;
import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
@@ -74,10 +68,10 @@
// The service endpoints
private Map<QName, EndpointMetaData> endpoints = new LinkedHashMap<QName, EndpointMetaData>();
- private QName qname;
+ private QName serviceName;
private String wsdName;
- private String wsdlFile;
- private String jaxrpcMappingFile;
+ private URL wsdlLocation;
+ private URL mappingLocation;
private String wsdlPublishLocation;
// The type mapping that is maintained by this service
@@ -94,10 +88,10 @@
// The security configuration
private WSSecurityConfiguration securityConfiguration;
- public ServiceMetaData(UnifiedMetaData wsMetaData, QName name)
+ public ServiceMetaData(UnifiedMetaData wsMetaData, QName serviceName)
{
this.wsMetaData = wsMetaData;
- this.qname = name;
+ this.serviceName = serviceName;
this.types = new TypesMetaData(this);
}
@@ -106,14 +100,14 @@
return wsMetaData;
}
- public void setQName(QName name)
+ public void setServiceName(QName serviceName)
{
- this.qname = name;
+ this.serviceName = serviceName;
}
- public QName getQName()
+ public QName getServiceName()
{
- return qname;
+ return serviceName;
}
public String getWebserviceDescriptionName()
@@ -126,14 +120,14 @@
this.wsdName = wsdName;
}
- public String getWsdlFile()
+ public URL getWsdlLocation()
{
- return wsdlFile;
+ return wsdlLocation;
}
- public void setWsdlFile(String wsdlFile)
+ public void setWsdlLocation(URL wsdlLocation)
{
- this.wsdlFile = wsdlFile;
+ this.wsdlLocation = wsdlLocation;
}
public String getWsdlPublishLocation()
@@ -201,48 +195,35 @@
endpoints.put(portName, epMetaData);
}
- public String getJaxrpcMappingFile()
+ public URL getMappingLocation()
{
- return jaxrpcMappingFile;
+ return mappingLocation;
}
- public void setJaxrpcMappingFile(String jaxrpcMappingFile)
+ public void setMappingLocation(URL mappingLocation)
{
- this.jaxrpcMappingFile = jaxrpcMappingFile;
+ this.mappingLocation = mappingLocation;
}
public JavaWsdlMapping getJavaWsdlMapping()
{
- JavaWsdlMapping javaWsdlMapping = (JavaWsdlMapping)wsMetaData.getMappingDefinition(jaxrpcMappingFile);
- if (javaWsdlMapping == null && jaxrpcMappingFile != null)
+ JavaWsdlMapping javaWsdlMapping = null;
+ if (mappingLocation != null)
{
- URL mappingLocation = null;
- try
+ javaWsdlMapping = (JavaWsdlMapping)wsMetaData.getMappingDefinition(mappingLocation.toExternalForm());
+ if (javaWsdlMapping == null)
{
- mappingLocation = new URL(jaxrpcMappingFile);
+ try
+ {
+ JavaWsdlMappingFactory mappingFactory = JavaWsdlMappingFactory.newInstance();
+ javaWsdlMapping = mappingFactory.parse(mappingLocation);
+ wsMetaData.addMappingDefinition(mappingLocation.toExternalForm(), javaWsdlMapping);
+ }
+ catch (IOException e)
+ {
+ throw new WSException("Cannot parse jaxrpc-mapping.xml", e);
+ }
}
- catch (MalformedURLException e)
- {
- // ignore
- }
- if (mappingLocation == null)
- {
- mappingLocation = wsMetaData.getResourceLoader().getResource(jaxrpcMappingFile);
- }
-
- if (mappingLocation == null)
- throw new IllegalArgumentException("Cannot find jaxrpc-mapping.xml in deployment: " + jaxrpcMappingFile);
-
- try
- {
- JavaWsdlMappingFactory mappingFactory = JavaWsdlMappingFactory.newInstance();
- javaWsdlMapping = mappingFactory.parse(mappingLocation);
- wsMetaData.addMappingDefinition(jaxrpcMappingFile, javaWsdlMapping);
- }
- catch (IOException e)
- {
- throw new WSException("Cannot parse jaxrpc-mapping.xml", e);
- }
}
return javaWsdlMapping;
}
@@ -252,39 +233,18 @@
*/
public WSDLDefinitions getWsdlDefinitions()
{
- WSDLDefinitions wsdlDefinitions = (WSDLDefinitions)wsMetaData.getWSDLDefinition(wsdlFile);
- if (wsdlDefinitions == null && wsdlFile != null)
+ WSDLDefinitions wsdlDefinitions = null;
+ if (wsdlLocation != null)
{
- URL wsdlLocation = getWsdlLocation();
- if (wsdlLocation == null)
- throw new IllegalArgumentException("Cannot find wsdl in deployment: " + wsdlFile);
-
- WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
- wsdlDefinitions = factory.parse(wsdlLocation);
- wsMetaData.addWSDLDefinition(wsdlFile, wsdlDefinitions);
- }
- return wsdlDefinitions;
- }
-
- public URL getWsdlLocation()
- {
- URL wsdlLocation = null;
- if (wsdlFile != null)
- {
- try
+ wsdlDefinitions = (WSDLDefinitions)wsMetaData.getWSDLDefinition(wsdlLocation.toExternalForm());
+ if (wsdlDefinitions == null)
{
- wsdlLocation = new URL(wsdlFile);
+ WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
+ wsdlDefinitions = factory.parse(wsdlLocation);
+ wsMetaData.addWSDLDefinition(wsdlLocation.toExternalForm(), wsdlDefinitions);
}
- catch (MalformedURLException e)
- {
- // ignore
- }
- if (wsdlLocation == null)
- {
- wsdlLocation = wsMetaData.getResourceLoader().getResource(wsdlFile);
- }
}
- return wsdlLocation;
+ return wsdlDefinitions;
}
public TypeMappingImpl getTypeMapping()
@@ -378,7 +338,6 @@
if (types != null)
{
JBossXSModel model = WSDLUtils.getSchemaModel(types);
- ;
if (model != null)
model.eagerInitialize();
}
@@ -387,53 +346,6 @@
// Initialize jaxrpc-mapping data
getJavaWsdlMapping();
- // Initialize types
- TypeMappingImpl typeMapping = getTypeMapping();
- for (TypeMappingMetaData tmMetaData : types.getTypeMappings())
- {
- String javaTypeName = tmMetaData.getJavaTypeName();
- QName xmlType = tmMetaData.getXmlType();
- if (xmlType != null)
- {
- List<Class> registeredTypes = typeMapping.getJavaTypes(xmlType);
-
- boolean registered = false;
- for (Class current : registeredTypes)
- {
- if (current.getName().equals(javaTypeName))
- {
- registered = true;
- break;
- }
- }
-
- if (registered == false)
- {
- try
- {
- ClassLoader classLoader = wsMetaData.getClassLoader();
- Class javaType = JavaUtils.loadJavaType(javaTypeName, classLoader);
-
- if (JavaUtils.isPrimitive(javaTypeName))
- javaType = JavaUtils.getWrapperType(javaType);
-
- if (getEncodingStyle() == Use.ENCODED && javaType.isArray())
- {
- typeMapping.register(javaType, xmlType, new SOAPArraySerializerFactory(), new SOAPArrayDeserializerFactory());
- }
- else
- {
- typeMapping.register(javaType, xmlType, new JBossXBSerializerFactory(), new JBossXBDeserializerFactory());
- }
- }
- catch (ClassNotFoundException e)
- {
- log.warn("Cannot load class for type: " + xmlType + "," + javaTypeName);
- }
- }
- }
- }
-
// Initialize endpoints
for (EndpointMetaData epMetaData : endpoints.values())
epMetaData.eagerInitialize();
@@ -445,17 +357,17 @@
/** Assert that the given namespace is the WSDL's target namespace */
public void assertTargetNamespace(String targetNS)
{
- if (getQName().getNamespaceURI().equals(targetNS) == false)
+ if (getServiceName().getNamespaceURI().equals(targetNS) == false)
throw new WSException("Requested namespace is not WSDL target namespace: " + targetNS);
}
public String toString()
{
StringBuilder buffer = new StringBuilder("\nServiceMetaData:");
- buffer.append("\n qname=" + qname);
+ buffer.append("\n qname=" + serviceName);
buffer.append("\n wsdName=" + wsdName);
- buffer.append("\n wsdlFile=" + wsdlFile);
- buffer.append("\n jaxrpcFile=" + jaxrpcMappingFile);
+ buffer.append("\n wsdlFile=" + wsdlLocation);
+ buffer.append("\n jaxrpcFile=" + mappingLocation);
buffer.append("\n publishLocation=" + wsdlPublishLocation);
buffer.append("\n properties=" + properties);
buffer.append("\n" + types);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/UnifiedMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/UnifiedMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/UnifiedMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,7 +23,6 @@
// $Id$
-import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -53,9 +52,9 @@
{
// provide logging
private static Logger log = Logger.getLogger(UnifiedMetaData.class);
-
- // The modules resource class loader
- private URLClassLoader resourceLoader;
+
+ // The canonical deployment name
+ private String deploymentName;
// The modules class loader
private ClassLoader classLoader;
// The optional security domain
@@ -79,21 +78,9 @@
public UnifiedMetaData()
{
+ this.classLoader = Thread.currentThread().getContextClassLoader();
}
- public URLClassLoader getResourceLoader()
- {
- if (resourceLoader == null)
- throw new IllegalStateException ("Resource loader not available");
-
- return resourceLoader;
- }
-
- public void setResourceLoader(URLClassLoader resourceLoader)
- {
- this.resourceLoader = resourceLoader;
- }
-
public ClassLoader getClassLoader()
{
if (classLoader == null)
@@ -107,6 +94,16 @@
this.classLoader = classLoader;
}
+ public String getDeploymentName()
+ {
+ return deploymentName;
+ }
+
+ public void setDeploymentName(String deploymentName)
+ {
+ this.deploymentName = deploymentName;
+ }
+
public String getSecurityDomain()
{
return securityDomain;
@@ -117,7 +114,7 @@
String prefix = "java:/jaas/";
if (domain != null && domain.startsWith(prefix))
domain = domain.substring(prefix.length());
-
+
this.securityDomain = domain;
}
@@ -162,7 +159,7 @@
validated = true;
}
}
-
+
public boolean isEagerInitialized()
{
return eagerInitialized;
@@ -191,7 +188,8 @@
if (implementationVersion == null)
{
implementationVersion = ServiceEndpointManager.class.getPackage().getImplementationVersion();
- isFinalRelease = new StringTokenizer(implementationVersion).nextToken().endsWith(".GA");
+ if (implementationVersion != null)
+ isFinalRelease = new StringTokenizer(implementationVersion).nextToken().endsWith(".GA");
}
return implementationVersion;
}
@@ -206,15 +204,16 @@
{
StringBuilder buffer = new StringBuilder("\nUnifiedMetaData: ");
buffer.append("\n implementation: " + getImplementationVersion());
+ buffer.append("\n deploymentName: " + getDeploymentName());
buffer.append("\n securityDomain: " + getSecurityDomain());
//buffer.append("\n resourceLoader: " + resourceLoader);
//buffer.append("\n classLoader: " + classLoader);
buffer.append("\n");
-
+
for (ServiceMetaData serviceMetaData : services)
{
buffer.append(serviceMetaData);
}
return buffer.toString();
}
-}
\ No newline at end of file
+}
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/WrappedParameter.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/umdm/WrappedParameter.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/WrappedParameter.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.umdm;
+
+import javax.xml.namespace.QName;
+
+import org.jboss.ws.core.utils.JavaUtils;
+
+/**
+ * WrappedParameter represents a document/literal wrapped parameter.
+ *
+ * @author <a href="jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1603 $
+ */
+public class WrappedParameter
+{
+ public static final int RETURN = -1;
+ private QName name;
+ private String type;
+ private String[] typeArguments;
+ private String variable;
+ private boolean holder = false;
+ private int index = -2;
+ private Accessor accessor;
+
+ public static interface AccessorFactory
+ {
+ public Accessor create(WrappedParameter parameter);
+ }
+
+ public static interface Accessor
+ {
+ public void set(Object bean, Object value);
+ public Object get(Object bean);
+ }
+
+ public WrappedParameter(QName name, String type, String variable, int index)
+ {
+ this.setName(name);
+ this.setType(type);
+ this.setVariable(variable);
+ this.setIndex(index);
+ }
+
+ public Accessor accessor()
+ {
+ return accessor;
+ }
+
+ public void setName(QName name)
+ {
+ this.name = name;
+ }
+
+ public QName getName()
+ {
+ return name;
+ }
+
+ public void setType(String type)
+ {
+ this.type = type;
+ }
+
+ public String getType()
+ {
+ return type;
+ }
+
+ public void setTypeArguments(String[] typeArguments)
+ {
+ this.typeArguments = typeArguments;
+ }
+
+ public String[] getTypeArguments()
+ {
+ return typeArguments;
+ }
+
+ public void setVariable(String variable)
+ {
+ this.variable = variable;
+ }
+
+ public String getVariable()
+ {
+ return variable;
+ }
+
+ public void setHolder(boolean holder)
+ {
+ this.holder = holder;
+ }
+
+ public boolean isHolder()
+ {
+ return holder;
+ }
+
+ public void setIndex(int index)
+ {
+ this.index = index;
+ }
+
+ public int getIndex()
+ {
+ return index;
+ }
+
+ void setAccessor(Accessor accessor)
+ {
+ this.accessor = accessor;
+ }
+
+ public String toString()
+ {
+ return "[name = " + getName() + ", type = " + getType() + ", typeArgs = " + JavaUtils.printArray(getTypeArguments()) + ", variable = " + getVariable() + ", index = " + getIndex() + "]";
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/umdm/WrappedParameter.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebserviceDescriptionMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/webservices/WebserviceDescriptionMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebserviceDescriptionMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.ws.metadata.webservices;
// $Id$
@@ -78,7 +78,7 @@
portComponents.toArray(array);
return array;
}
-
+
/**
* Get the QNames of the port components to be declared
* in the namespaces
@@ -90,15 +90,15 @@
//TODO:Check if there is just one QName that drives all portcomponents
//or each port component can have a distinct QName (namespace/prefix)
//Maintain uniqueness of the QName
- Map map = new HashMap();
+ Map map = new HashMap();
Iterator iter = portComponents.iterator();
- while(iter != null && iter.hasNext())
+ while (iter != null && iter.hasNext())
{
PortComponentMetaData pcm = (PortComponentMetaData)iter.next();
QName qname = pcm.getWsdlPort();
- map.put(qname.getPrefix(),qname);
+ map.put(qname.getPrefix(), qname);
}
- return map.values();
+ return map.values();
}
/**
@@ -155,7 +155,7 @@
{
this.jaxrpcMappingFile = jaxrpcMappingFile;
}
-
+
/**
* Serialize as a String
*
@@ -166,10 +166,10 @@
StringBuilder buffer = new StringBuilder("<webservice-description> <webservice-description-name>");
buffer.append(this.webserviceDescriptionName);
buffer.append("</webservice-description-name>");
- buffer.append("<wsdl-file>"+wsdlFile+"</wsdl-file>");
- buffer.append("<jaxrpc-mapping-file>"+jaxrpcMappingFile+"</jaxrpc-mapping-file>");
- for(PortComponentMetaData pm:portComponents)
- buffer.append(pm.serialize());
+ buffer.append("<wsdl-file>" + wsdlFile + "</wsdl-file>");
+ buffer.append("<jaxrpc-mapping-file>" + jaxrpcMappingFile + "</jaxrpc-mapping-file>");
+ for (PortComponentMetaData pm : portComponents)
+ buffer.append(pm.serialize());
buffer.append("</webservice-description>");
return buffer.toString();
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebservicesFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/webservices/WebservicesFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebservicesFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,7 +28,6 @@
import org.jboss.logging.Logger;
import org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData;
import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerInitParam;
-import org.jboss.ws.metadata.umdm.HandlerMetaData.HandlerType;
import org.jboss.xb.binding.ObjectModelFactory;
import org.jboss.xb.binding.UnmarshallingContext;
import org.xml.sax.Attributes;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebservicesMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/webservices/WebservicesMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/webservices/WebservicesMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
// $Id$
package org.jboss.ws.metadata.webservices;
@@ -72,7 +72,7 @@
webserviceDescriptions.toArray(array);
return array;
}
-
+
//Serialize as a String
public String serialize()
{
@@ -80,30 +80,30 @@
//Construct the webservices.xml definitions
List qnames = new ArrayList();
Iterator iter = webserviceDescriptions.iterator();
- while(iter != null && iter.hasNext())
+ while (iter != null && iter.hasNext())
{
WebserviceDescriptionMetaData wmd = (WebserviceDescriptionMetaData)iter.next();
qnames.addAll(wmd.getPortComponentQNames());
- }
- createHeader( buffer,qnames );
- for(WebserviceDescriptionMetaData wm:webserviceDescriptions)
- buffer.append(wm.serialize());
+ }
+ createHeader(buffer, qnames);
+ for (WebserviceDescriptionMetaData wm : webserviceDescriptions)
+ buffer.append(wm.serialize());
buffer.append("</webservices>");
- return buffer.toString();
+ return buffer.toString();
}
-
- private void createHeader( StringBuilder buf, List qnames)
- {
+
+ private void createHeader(StringBuilder buf, List qnames)
+ {
buf.append("<webservices xmlns='http://java.sun.com/xml/ns/j2ee'");
- buf.append(" xmlns:xsi='"+Constants.NS_SCHEMA_XSI+"'");
+ buf.append(" xmlns:xsi='" + Constants.NS_SCHEMA_XSI + "'");
//Lets append the port type namespaces
Iterator iter = qnames.iterator();
- while(iter != null && iter.hasNext())
+ while (iter != null && iter.hasNext())
{
QName qn = (QName)iter.next();
buf.append(" xmlns:").append(qn.getPrefix()).append("='").append(qn.getNamespaceURI()).append("'");
- }
+ }
buf.append(" xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'");
- buf.append(" version='1.1' >");
+ buf.append(" version='1.1' >");
}
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/DOMTypes.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/DOMTypes.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/DOMTypes.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,7 +24,7 @@
import javax.xml.namespace.QName;
import org.jboss.util.NotImplementedException;
-import org.jboss.ws.core.utils.DOMWriter;
+import org.w3c.dom.Document;
import org.w3c.dom.Element;
/**
@@ -36,21 +36,27 @@
*/
public class DOMTypes extends WSDLTypes
{
+ /*
+ * Perhaps we should consider moving this to JDOM, or some other DOM
+ * framework that supports concurrent readers. For now callers must
+ * synchronize properly.
+ *
+ * Also could use a cached StAX pool.
+ */
private Element element;
- public DOMTypes(Element element)
+ public DOMTypes(Document doc)
{
- this.element = element;
+ this.element = doc.createElementNS(null, "types");
}
- public String toString()
+ public Element getElement()
{
- return DOMWriter.printNode(element, true);
+ return element;
}
- @Override
public QName getXMLType(QName name)
{
throw new NotImplementedException();
}
-}
+}
\ No newline at end of file
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingMessageReference.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingMessageReference.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingMessageReference.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.wsdl;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
+/**
+ * A Binding Message Reference component describes a concrete binding of a
+ * particular message participating in an operation to a particular concrete
+ * message format.
+ *
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1603 $
+ */
+public abstract class WSDLBindingMessageReference
+{
+ // The parent WSDL binding operation
+ private WSDLBindingOperation wsdlBindingOperation;
+ private NCName messageLabel;
+ private List<WSDLSOAPHeader> soapHeaders = new ArrayList<WSDLSOAPHeader>();
+ private List<WSDLMIMEPart> mimeParts = new ArrayList<WSDLMIMEPart>();
+
+ public WSDLBindingMessageReference(WSDLBindingOperation wsdlBindingOperation)
+ {
+ this.wsdlBindingOperation = wsdlBindingOperation;
+ }
+
+ public WSDLBindingOperation getWsdlBindingOperation()
+ {
+ return wsdlBindingOperation;
+ }
+
+ /**
+ * Gets the property that identifies the role that the message for which
+ * binding details are being specified. The role is part of the {message
+ * exchange pattern} of the Interface Operation component being bound by the
+ * containing Binding Operation component.
+ */
+ public NCName getMessageLabel()
+ {
+ return messageLabel;
+ }
+
+ /**
+ * Sets the property that identifies the role that the message for which
+ * binding details are being specified. The role is part of the {message
+ * exchange pattern} of the Interface Operation component being bound by the
+ * containing Binding Operation component.
+ */
+ public void setMessageLabel(NCName messageLabel)
+ {
+ this.messageLabel = messageLabel;
+ }
+
+ /**
+ * Gets the list of SOAP headers associated with this message reference.
+ *
+ * @return a list of soap headers
+ */
+ public List<WSDLSOAPHeader> getSoapHeaders()
+ {
+ return soapHeaders;
+ }
+
+ /**
+ * Sets the list of SOAP headers associated with this message reference.
+ *
+ * @param soapHeaders The soapHeaders to set.
+ */
+ public void setSoapHeaders(List<WSDLSOAPHeader> soapHeaders)
+ {
+ this.soapHeaders = soapHeaders;
+ }
+
+ /**
+ * Adds a SOAP header to the SOAP header list that is associated with this
+ * message reference.
+ *
+ * @param soapHeader the SOAP header to add
+ */
+ public void addSoapHeader(WSDLSOAPHeader soapHeader)
+ {
+ this.soapHeaders.add(soapHeader);
+ }
+
+ /**
+ * Adds a MIME part to this message reference. This is only used for WSDL 1.1.
+ *
+ * @param mimePart the mime part to add
+ */
+ public void addMimePart(WSDLMIMEPart mimePart)
+ {
+ this.mimeParts.add(mimePart);
+ }
+
+ /**
+ * Returns a list of mime parts on this message
+ *
+ * @return
+ */
+ public Collection<WSDLMIMEPart> getMimeParts()
+ {
+ return mimeParts;
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingMessageReference.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingOperationInput.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingOperationInput.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingOperationInput.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,46 +23,22 @@
import java.io.Serializable;
-
// $Id$
-
/**
* A Binding Message Reference component describes a concrete binding of a particular message
* participating in an operation to a particular concrete message format.
*
* @author Thomas.Diesler at jboss.org
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
* @since 10-Oct-2004
*/
-public class WSDLBindingOperationInput implements Serializable
+public class WSDLBindingOperationInput extends WSDLBindingMessageReference implements Serializable
{
private static final long serialVersionUID = -3945310906418557565L;
- // The parent WSDL binding operation
- private WSDLBindingOperation wsdlBindingOperation;
-
- /** The OPTIONAL value of this property identifies the role that the message for which
- * binding details are being specified plays in the {message exchange pattern} of the
- * Interface Operation component being bound by the containing Binding Operation component.*/
- private NCName messageLabel;
-
public WSDLBindingOperationInput(WSDLBindingOperation wsdlBindingOperation)
{
- this.wsdlBindingOperation = wsdlBindingOperation;
+ super(wsdlBindingOperation);
}
-
- public WSDLBindingOperation getWsdlBindingOperation()
- {
- return wsdlBindingOperation;
- }
-
- public NCName getMessageLabel()
- {
- return messageLabel;
- }
-
- public void setMessageLabel(NCName messageLabel)
- {
- this.messageLabel = messageLabel;
- }
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingOperationOutput.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingOperationOutput.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLBindingOperationOutput.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,46 +23,22 @@
import java.io.Serializable;
-
// $Id$
-
/**
* A Binding Message Reference component describes a concrete binding of a particular message
* participating in an operation to a particular concrete message format.
*
* @author Thomas.Diesler at jboss.org
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
* @since 10-Oct-2004
*/
-public class WSDLBindingOperationOutput implements Serializable
+public class WSDLBindingOperationOutput extends WSDLBindingMessageReference implements Serializable
{
- private static final long serialVersionUID = -988199387765793475L;
+ private static final long serialVersionUID = -999199387765793475L;
- // The parent WSDL binding operation
- private WSDLBindingOperation wsdlBindingOperation;
-
- /** The OPTIONAL value of this property identifies the role that the message for which
- * binding details are being specified plays in the {message exchange pattern} of the
- * Interface Operation component being bound by the containing Binding Operation component.*/
- private NCName messageLabel;
-
public WSDLBindingOperationOutput(WSDLBindingOperation wsdlBindingOperation)
{
- this.wsdlBindingOperation = wsdlBindingOperation;
+ super(wsdlBindingOperation);
}
-
- public WSDLBindingOperation getWsdlBindingOperation()
- {
- return wsdlBindingOperation;
- }
-
- public NCName getMessageLabel()
- {
- return messageLabel;
- }
-
- public void setMessageLabel(NCName messageLabel)
- {
- this.messageLabel = messageLabel;
- }
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceFault.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceFault.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceFault.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -27,8 +27,6 @@
import javax.xml.namespace.QName;
-import org.jboss.ws.WSException;
-
/**
* An Interface Fault component describes a fault that MAY occur during invocation of an operation of the
* interface. The Interface Fault component declares an abstract fault by naming it and indicating the
@@ -51,12 +49,8 @@
private NCName name;
/** The OPTIONAL element attribute information item refers, by QName, to an element declaration component.
*/
- private QName xmlName;
+ private QName element;
- /** Derived XML type identifier.
- */
- private QName xmlType;
-
protected WSDLDocumentation documentationElement = null;
public WSDLInterfaceFault(WSDLInterface wsdlInterface)
@@ -79,14 +73,14 @@
this.name = name;
}
- public QName getXmlName()
+ public QName getElement()
{
- return xmlName;
+ return element;
}
- public void setXmlName(QName qname)
+ public void setElement(QName element)
{
- this.xmlName = qname;
+ this.element = element;
}
public WSDLDocumentation getDocumentation()
@@ -103,21 +97,8 @@
*/
public QName getXmlType()
{
- if (xmlType == null && xmlName != null)
- {
- WSDLDefinitions wsdlDefinitions = wsdlInterface.getWsdlDefinitions();
- WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
- xmlType = wsdlTypes.getXMLType(xmlName);
- }
-
- if (xmlType == null)
- throw new WSException("Cannot obtain xmlType for fault: " + xmlName);
-
- return xmlType;
+ WSDLDefinitions wsdlDefinitions = wsdlInterface.getWsdlDefinitions();
+ WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
+ return wsdlTypes.getXMLType(element);
}
-
- public void setXmlType(QName xmlType)
- {
- this.xmlType = xmlType;
- }
}
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceMessageReference.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceMessageReference.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceMessageReference.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,246 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.wsdl;
+
+// $Id: WSDLInterfaceOperationPart.java 275 2006-05-04 21:36:29Z
+// jason.greene at jboss.com $
+
+import java.util.Collection;
+import java.util.LinkedHashMap;
+
+import javax.xml.namespace.QName;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
+
+/**
+ * A Message Reference component associates a defined type with a message
+ * exchanged in an operation. By default, the type system is based upon the XML
+ * Infoset
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @since 10-Oct-2004
+ */
+public abstract class WSDLInterfaceMessageReference extends Extendable implements Comparable
+{
+ // provide logging
+ protected Logger log = Logger.getLogger(getClass());
+
+ // The parent interface operation
+ private WSDLInterfaceOperation wsdlOperation;
+
+ /**
+ * The OPTIONAL messageLabel attribute information item identifies the role
+ * of this message in the message exchange pattern of the given operation
+ * element information item.
+ */
+ private NCName messageLabel;
+
+ /**
+ * The OPTIONAL element attribute information item is the element declaration
+ * from the {element declarations} property resolved by the value of the
+ * element attribute information item, otherwise empty.
+ */
+ private QName element;
+
+ /**
+ * Used mainly for WSDL 1.1 compatibility, indicates rpc parts.
+ * Although, this could be used to represent WSDL 2.0 RPC style.
+ */
+ private LinkedHashMap<String, WSDLRPCPart> childParts = new LinkedHashMap<String, WSDLRPCPart>();
+
+ /**
+ * Used for WSDL 1.1
+ */
+ private String partName;
+
+ /**
+ * Used for WSDL 1.1
+ */
+ private QName messageName;
+
+ public WSDLInterfaceMessageReference(WSDLInterfaceOperation wsdlOperation)
+ {
+ log.trace("New part for wsdlOperation: " + wsdlOperation.getName());
+ this.wsdlOperation = wsdlOperation;
+ }
+
+ public WSDLInterfaceOperation getWsdlOperation()
+ {
+ return wsdlOperation;
+ }
+
+ public NCName getMessageLabel()
+ {
+ return messageLabel;
+ }
+
+ public void setMessageLabel(NCName messageLabel)
+ {
+ log.trace("setMessageLabel: " + messageLabel);
+ this.messageLabel = messageLabel;
+ }
+
+ public QName getElement()
+ {
+ return element;
+ }
+
+ public void setElement(QName element)
+ {
+ log.trace("setElement: " + element);
+ this.element = element;
+ }
+
+ /**
+ * Get the xmlType for this operation part.
+ */
+ public QName getXMLType()
+ {
+ QName xmlType = null;
+
+ // First try to read it from the schema
+ WSDLDefinitions wsdlDefinitions = wsdlOperation.getWsdlInterface().getWsdlDefinitions();
+ WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
+ xmlType = wsdlTypes.getXMLType(element);
+
+ // Fall back to the property
+ if (xmlType == null)
+ {
+ WSDLProperty property = getProperty(Constants.WSDL_PROPERTY_RPC_XMLTYPE);
+ if (property != null)
+ {
+ String qnameRef = property.getValue();
+ int colIndex = qnameRef.indexOf(':');
+ String prefix = qnameRef.substring(0, colIndex);
+ String localPart = qnameRef.substring(colIndex + 1);
+ String nsURI = wsdlDefinitions.getNamespaceURI(prefix);
+ xmlType = new QName(nsURI, localPart, prefix);
+ }
+ }
+
+ if (xmlType == null)
+ throw new WSException("Cannot obtain xmlType for element: " + element);
+
+ return xmlType;
+ }
+
+ /**
+ * Gets the child parts associated with this message reference. This is only
+ * used for RPC style, and currently only supported by WSDL 1.1.
+ *
+ * @return the list of rpc parts that make up the message
+ */
+ public Collection<WSDLRPCPart> getChildParts()
+ {
+ return childParts.values();
+ }
+
+ /**
+ * Gets the child part associated with this message reference by part name.
+ * This is only used for RPC style, and currently only supported by WSDL 1.1.
+ *
+ * @param name the part name
+ * @return the part or null if not found
+ */
+ public WSDLRPCPart getChildPart(String name)
+ {
+ return childParts.get(name);
+ }
+
+ /**
+ * Adds a child part to this mesage reference. This is only used for RPC
+ * style, and currently only supported by WSDL 1.1.
+ *
+ * @param childPart the list of rpc parts that make up the message
+ */
+ public void addChildPart(WSDLRPCPart childPart)
+ {
+ this.childParts.put(childPart.getName(), childPart);
+ }
+
+ /**
+ * Removes a speficied child part. This is This is only used for RPC
+ * style, and currently only supported by WSDL 1.1.
+ *
+ * @param name the name of the part
+ */
+ public void removeChildPart(String name)
+ {
+ this.childParts.remove(name);
+ }
+
+ /**
+ * Gets the WSDL 1.1 part name.
+ *
+ * @return the part name
+ */
+ public String getPartName()
+ {
+ return partName;
+ }
+
+ /**
+ * Sets the WSDL 1.1 message name.
+ *
+ * @param messageName The part name
+ */
+ public void setMessageName(QName messageName)
+ {
+ this.messageName = messageName;
+ }
+
+ /**
+ * Gets the WSDL 1.1 message name.
+ *
+ * @return the message name
+ */
+ public QName getMessageName()
+ {
+ return messageName;
+ }
+
+ /**
+ * Sets the WSDL 1.1 part name.
+ *
+ * @param partName The part name
+ */
+ public void setPartName(String partName)
+ {
+ this.partName = partName;
+ }
+
+ public int compareTo(Object o)
+ {
+ int c = -1;
+ if (o instanceof WSDLInterfaceMessageReference)
+ {
+ WSDLInterfaceMessageReference w = (WSDLInterfaceMessageReference) o;
+ String oname = w.getElement().getLocalPart();
+ String myname = getElement().getLocalPart();
+ c = myname.compareTo(oname);
+ }
+ return c;
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceMessageReference.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperation.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperation.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperation.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,6 +22,7 @@
package org.jboss.ws.metadata.wsdl;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.Map;
@@ -29,6 +30,7 @@
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem.Direction;
// $Id$
@@ -76,6 +78,8 @@
private ArrayList<WSDLInterfaceOperationInfault> infaults = new ArrayList<WSDLInterfaceOperationInfault>();
/** Zero or more outfault element information items */
private ArrayList<WSDLInterfaceOperationOutfault> outfaults = new ArrayList<WSDLInterfaceOperationOutfault>();
+ /** Zero or more signature items */
+ private LinkedHashMap<String, WSDLRPCSignatureItem> rpcSignatureItems = new LinkedHashMap<String, WSDLRPCSignatureItem>();
public WSDLInterfaceOperation(WSDLInterface wsdlInterface)
{
@@ -102,7 +106,7 @@
String nsURI = wsdlInterface.getQName().getNamespaceURI();
return new QName(nsURI, name.toString());
}
-
+
public String getPattern()
{
return pattern;
@@ -143,8 +147,6 @@
public void addInput(WSDLInterfaceOperationInput input)
{
QName xmlName = input.getElement();
- if (xmlName == null)
- throw new IllegalArgumentException("Illegal null element name");
if (inputs.get(xmlName) != null)
throw new WSException("Attempt to map multiple operation inputs to: " + xmlName);
inputs.put(xmlName, input);
@@ -156,6 +158,11 @@
return opInput;
}
+ public void removeInput(QName element)
+ {
+ inputs.remove(element);
+ }
+
public WSDLInterfaceOperationInput getInputByPartName(String partName)
{
WSDLInterfaceOperationInput opInput = null;
@@ -178,8 +185,6 @@
public void addOutput(WSDLInterfaceOperationOutput output)
{
QName xmlName = output.getElement();
- if (xmlName == null)
- throw new IllegalArgumentException("Illegal null element name");
if (outputs.get(xmlName) != null)
throw new WSException("Attempt to map multiple operation outputs to: " + xmlName);
outputs.put(xmlName, output);
@@ -227,6 +232,43 @@
outfaults.add(outfault);
}
+ public Collection<WSDLRPCSignatureItem> getRpcSignatureItems()
+ {
+ return rpcSignatureItems.values();
+ }
+
+
+ public void addRpcSignatureItem(WSDLRPCSignatureItem item)
+ {
+ if (item.getDirection() != Direction.RETURN)
+ item.setPosition(rpcSignatureItems.size());
+ rpcSignatureItems.put(item.getName(), item);
+ }
+
+ public WSDLRPCSignatureItem getRpcSignatureitem(String name)
+ {
+ return rpcSignatureItems.get(name);
+ }
+
+ /**
+ * Attempts to locate a binding operation for this interface operation.
+ *
+ * @return the binding operation, or null if not found;
+ */
+ public WSDLBindingOperation getBindingOperation()
+ {
+ WSDLInterface wsdlInterface = getWsdlInterface();
+ WSDLBinding binding = wsdlInterface.getWsdlDefinitions().getBindingByInterfaceName(wsdlInterface.getQName());
+ if (binding == null)
+ return null;
+
+ WSDLBindingOperation bindingOperation = binding.getOperationByRef(getQName());
+ if (bindingOperation == null)
+ return null;
+
+ return bindingOperation;
+ }
+
public int compareTo(Object o)
{
int c = -1;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationInput.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationInput.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationInput.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -30,7 +30,7 @@
* @author Thomas.Diesler at jboss.org
* @since 10-Oct-2004
*/
-public class WSDLInterfaceOperationInput extends WSDLInterfaceOperationPart
+public class WSDLInterfaceOperationInput extends WSDLInterfaceMessageReference
{
private static final long serialVersionUID = -4691488323709300920L;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationOutput.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationOutput.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationOutput.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -30,7 +30,7 @@
* @author Thomas.Diesler at jboss.org
* @since 10-Oct-2004
*/
-public class WSDLInterfaceOperationOutput extends WSDLInterfaceOperationPart
+public class WSDLInterfaceOperationOutput extends WSDLInterfaceMessageReference
{
private static final long serialVersionUID = 5096501821825901473L;
Deleted: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationPart.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationPart.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationPart.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,134 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.metadata.wsdl;
-
-// $Id$
-
-import javax.xml.namespace.QName;
-
-import org.jboss.logging.Logger;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
-
-/**
- * A Message Reference component associates a defined type with a message exchanged in an operation. By
- * default, the type system is based upon the XML Infoset
- *
- * @author Thomas.Diesler at jboss.org
- * @since 10-Oct-2004
- */
-public abstract class WSDLInterfaceOperationPart extends Extendable implements Comparable
-{
- // provide logging
- protected Logger log = Logger.getLogger(getClass());
-
- // The parent interface operation
- private WSDLInterfaceOperation wsdlOperation;
-
- /** The OPTIONAL messageLabel attribute information item identifies the role of this message in the message
- * exchange pattern of the given operation element information item.
- */
- private NCName messageLabel;
-
- /** The OPTIONAL element attribute information item is the element declaration from the {element declarations}
- * property resolved by the value of the element attribute information item, otherwise empty.
- */
- private QName element;
-
- public WSDLInterfaceOperationPart(WSDLInterfaceOperation wsdlOperation)
- {
- log.trace("New part for wsdlOperation: " + wsdlOperation.getName());
- this.wsdlOperation = wsdlOperation;
- }
-
- public WSDLInterfaceOperation getWsdlOperation()
- {
- return wsdlOperation;
- }
-
- public NCName getMessageLabel()
- {
- return messageLabel;
- }
-
- public void setMessageLabel(NCName messageLabel)
- {
- log.trace("setMessageLabel: " + messageLabel);
- this.messageLabel = messageLabel;
- }
-
- public QName getElement()
- {
- return element;
- }
-
- public void setElement(QName element)
- {
- log.trace("setElement: " + element);
- this.element = element;
- }
-
- /** Get the xmlType for this operation part.
- */
- public QName getXMLType()
- {
- QName xmlType = null;
-
- // First try to read it from the schema
- WSDLDefinitions wsdlDefinitions = wsdlOperation.getWsdlInterface().getWsdlDefinitions();
- WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
- xmlType = wsdlTypes.getXMLType(element);
-
- // Fall back to the property
- if (xmlType == null)
- {
- WSDLProperty property = getProperty(Constants.WSDL_PROPERTY_RPC_XMLTYPE);
- if (property != null)
- {
- String qnameRef = property.getValue();
- int colIndex = qnameRef.indexOf(':');
- String prefix = qnameRef.substring(0, colIndex);
- String localPart = qnameRef.substring(colIndex + 1);
- String nsURI = wsdlDefinitions.getNamespaceURI(prefix);
- xmlType = new QName(nsURI, localPart, prefix);
- }
- }
-
- if (xmlType == null)
- throw new WSException("Cannot obtain xmlType for element: " + element);
-
- return xmlType;
- }
-
- public int compareTo(Object o)
- {
- int c = -1;
- if (o instanceof WSDLInterfaceOperationPart)
- {
- WSDLInterfaceOperationPart w = (WSDLInterfaceOperationPart)o;
- String oname = w.getElement().getLocalPart();
- String myname = getElement().getLocalPart();
- c = myname.compareTo(oname);
- }
- return c;
- }
-}
\ No newline at end of file
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLMIMEPart.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLMIMEPart.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLMIMEPart.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.wsdl;
+
+import java.io.Serializable;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Represents a WSDL 1.1 MIME Multipart attachment.
+ *
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1603 $
+ */
+public class WSDLMIMEPart implements Serializable
+{
+ private static final long serialVersionUID = -3102495235178249853L;
+
+ private final String partName;
+ private final QName xmlType;
+ private final String mimeTypes;
+
+ public WSDLMIMEPart(String partName, QName xmlType, String mimeTypes)
+ {
+ this.mimeTypes = mimeTypes;
+ this.partName = partName;
+ this.xmlType = xmlType;
+ }
+
+ /**
+ * Returns the xml type of this attachment. Typically xsd:hexBinary
+ *
+ * @return the name of the header schema element
+ */
+ public QName getXmlType()
+ {
+ return xmlType;
+ }
+
+ /**
+ * Returns the name of the WSDL 1.1 part, if the output is WSDL 1.1
+ *
+ * @return the name of the part
+ */
+ public String getPartName()
+ {
+ return partName;
+ }
+
+ /**
+ * Returns a comma seperated list of allowed mime types.
+ *
+ * @return the mime types
+ */
+ public String getMimeTypes()
+ {
+ return mimeTypes;
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLMIMEPart.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCPart.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCPart.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCPart.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,63 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.wsdl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Represents a child part of a RPC style message reference. This is currently
+ * only used for WSDL 1.1 compatibility.
+ *
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1603 $
+ */
+public class WSDLRPCPart
+{
+ private final String name;
+ private final QName type;
+
+ public WSDLRPCPart(String name, QName type)
+ {
+ this.name = name;
+ this.type = type;
+ }
+
+ /**
+ * Gets the XML local name of this part.
+ *
+ * @return the XML local name
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Gets the XML type of this part.
+ *
+ * @return the XML type
+ */
+ public QName getType()
+ {
+ return type;
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCPart.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCSignatureItem.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCSignatureItem.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCSignatureItem.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,75 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.metadata.wsdl;
+
+
+/**
+ * Represents an individual item of a wrpc:signature
+ *
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1603 $
+ */
+public class WSDLRPCSignatureItem
+{
+ public enum Direction {IN, OUT, INOUT, RETURN};
+
+ private Direction direction;
+ private final String name;
+ private int position;
+
+ public WSDLRPCSignatureItem(String name)
+ {
+ this.name = name;
+ this.direction = Direction.IN;
+ }
+
+ public WSDLRPCSignatureItem(String name, Direction direction)
+ {
+ this.direction = direction;
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public Direction getDirection()
+ {
+ return direction;
+ }
+
+ public void setDirection(Direction direction)
+ {
+ this.direction = direction;
+ }
+
+ public void setPosition(int position)
+ {
+ this.position = position;
+ }
+
+ public int getPosition()
+ {
+ return position;
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLRPCSignatureItem.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLSOAPHeader.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLSOAPHeader.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLSOAPHeader.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.metadata.wsdl;
+
+import java.io.Serializable;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Represents a WSDL 2.0 SOAP Header Block. The presence of the SOAP Header
+ * Block component indicates that the service supports headers and MAY require a
+ * web service consumer/client to use the header. It may appear up to one time
+ * in the message.
+ *
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1603 $
+ */
+public class WSDLSOAPHeader implements Serializable
+{
+ private static final long serialVersionUID = -3102495235178249853L;
+
+ private final QName element;
+ private final String partName;
+ private boolean required = false;
+ private boolean mustUnderstand = false;
+ private boolean includeInSignature = false;
+
+ public WSDLSOAPHeader(QName element, String partName)
+ {
+ this.element = element;
+ this.partName = partName;
+ }
+
+ /**
+ * Returns the name of the header schema element that describes the header's
+ * contents.
+ *
+ * @return the name of the header schema element
+ */
+ public QName getElement()
+ {
+ return element;
+ }
+
+ /**
+ * Returns the name of the WSDL 1.1 part, if the output is WSDL 1.1
+ *
+ * @return the name of the part
+ */
+ public String getPartName()
+ {
+ return partName;
+ }
+
+ /**
+ * Indicates whether the resulting SOAP header has a mustUnderstand attribute
+ * set to true.
+ *
+ * @return the value of the SOAP mustUnderstand attribute
+ */
+ public boolean isMustUnderstand()
+ {
+ return mustUnderstand;
+ }
+
+ /**
+ * Specifies whether the resulting SOAP Header has a mustUnderstand attribute
+ * set to true.
+ *
+ * @param mustUnderstand the value of the SOAP mustUnderstand attribute
+ */
+ public void setMustUnderstand(boolean mustUnderstand)
+ {
+ this.mustUnderstand = mustUnderstand;
+ }
+
+ /**
+ * Indicates whether the resulting SOAP header must be present in the
+ * message.
+ *
+ * @return true if the header must be present, otherwise false
+ */
+ public boolean isRequired()
+ {
+ return required;
+ }
+
+ /**
+ * Specifies whether the resulting SOAP header is required to be present on
+ * the message.
+ *
+ * @param required true if the header must be present, otherwise false
+ */
+ public void setRequired(boolean required)
+ {
+ this.required = required;
+ }
+
+ /**
+ * Indicates the resulting WSDL should include this header as part of the
+ * interface message. This is currently only valid for WSDL 1.1, as WSDL 2.0
+ * does not have an equivalent way to specify this. This serves as a hint to
+ * binding tools that the header should be mapped to a Java parameter.
+ *
+ * @return whether the header should be part of the interface message
+ */
+ public boolean isIncludeInSignature()
+ {
+ return includeInSignature;
+ }
+
+ /**
+ * Speficies the resulting WSDL should include this header as part of the
+ * interface message. This is currently only valid for WSDL 1.1, as WSDL 2.0
+ * does not have an equivalent way to specify this. This serves as a hint to
+ * binding tools that the header should be mapped to a Java parameter.
+ *
+ * @param includeInSignature whether the header should be part of the
+ * interface message
+ */
+ public void setIncludeInSignature(boolean includeInSignature)
+ {
+ this.includeInSignature = includeInSignature;
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLSOAPHeader.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLTypes.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLTypes.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLTypes.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -44,6 +44,7 @@
static private final Logger log = Logger.getLogger(WSDLTypes.class);
private WSDLDefinitions wsdlDefinitions;
+ private String namespace;
public abstract QName getXMLType(QName name);
@@ -56,4 +57,20 @@
{
wsdlDefinitions = parent;
}
+
+ /**
+ * Gets the namespace associate with this types declaration. Currently this is used to filter
+ * which WSDL file receives this types definition. Null means all files.
+ *
+ * @return the namespace associated with this type definition
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ public void setNamespace(String namespace)
+ {
+ this.namespace = namespace;
+ }
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLUtils.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLUtils.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/WSDLUtils.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -31,7 +31,6 @@
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
-import java.util.EmptyStackException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@@ -67,7 +66,6 @@
import javax.xml.rpc.holders.StringHolder;
import org.apache.xerces.xs.XSComplexTypeDefinition;
-import org.apache.xerces.xs.XSModel;
import org.apache.xerces.xs.XSTypeDefinition;
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
@@ -222,7 +220,7 @@
if (baseType != null)
{
if (baseType.getNamespace() == Constants.NS_SCHEMA_XSD &&
- baseType.getName().equals("anyType"))
+ baseType.getName().equals("anyType"))
bool = true; //Ignore this baseType
}
if (XSComplexTypeDefinition.CONTENTTYPE_SIMPLE == t.getContentType())
@@ -340,7 +338,7 @@
* @throws IOException Problem creating the file
*/
public File createPhysicalFile(File loc, String fname)
- throws IOException
+ throws IOException
{
if(loc == null )
throw new IllegalArgumentException("Illegal Null Argument: loc");
@@ -365,9 +363,9 @@
* @return
*/
public StringBuilder createClassBasicStructure(String pkgname,
- String fname,
- XSTypeDefinition type,
- List importList, String baseName)
+ String fname,
+ XSTypeDefinition type,
+ List importList, String baseName)
{
StringBuilder buf = new StringBuilder();
writeJbossHeader(buf);
@@ -395,7 +393,7 @@
if (baseType != null)
{
if (baseType.getNamespace() == Constants.NS_SCHEMA_XSD &&
- baseType.getName().equals("anyType"))
+ baseType.getName().equals("anyType"))
baseType = null; //Ignore this baseType
}
if (XSComplexTypeDefinition.CONTENTTYPE_SIMPLE == t.getContentType())
@@ -408,7 +406,7 @@
if(baseName == null && baseType != null)
baseName = baseType.getName();
if(baseName != null)
- buf.append(" extends " + baseName);
+ buf.append(" extends " + baseName);
buf.append(newline);
buf.append("{");
buf.append(newline);
@@ -471,14 +469,14 @@
*/
public int getArrayDimension(Class arr)
{
- if(arr == null || arr.isArray() == false)
- throw new IllegalArgumentException("Illegal null or array arg:arr");
- int counter = 0;
- while(arr.isArray()) {
+ if(arr == null || arr.isArray() == false)
+ throw new IllegalArgumentException("Illegal null or array arg:arr");
+ int counter = 0;
+ while(arr.isArray()) {
counter += 1;
arr = arr.getComponentType();
- }
- return counter;
+ }
+ return counter;
}
/**
@@ -535,13 +533,13 @@
* @return just the classname
*/
- public String getJustClassName(Class cls)
+ public static String getJustClassName(Class cls)
{
if (cls == null) return null;
if (cls.isArray())
{
Class c = cls.getComponentType();
- return this.getJustClassName(c.getName());
+ return getJustClassName(c.getName());
}
return getJustClassName(cls.getName());
@@ -553,7 +551,7 @@
* @param classname
* @return just the classname
*/
- public String getJustClassName(String classname)
+ public static String getJustClassName(String classname)
{
int index = classname.lastIndexOf(".");
if (index < 0)
@@ -678,8 +676,8 @@
if(Constants.PREFIX_XSD.equals(prefix)) nsuri = Constants.NS_SCHEMA_XSD;
if(nsuri == null)
qn = new QName( formattedStr.substring(ind+1) );
- else
- qn = new QName( nsuri,formattedStr.substring(ind+1),prefix);
+ else
+ qn = new QName( nsuri,formattedStr.substring(ind+1),prefix);
return qn;
}
@@ -701,10 +699,8 @@
*/
public String getPackageName(String typeNS)
{
- String pkgname = Util.xmlNamespaceToJavaPackage(typeNS);
+ String pkgname = Util.xmlNamespaceToJavaPackage(typeNS);
int len = pkgname.length();
- if(pkgname.endsWith(".jaws")) //as per jaxws-2.0 spec
- pkgname = pkgname.substring(0,len - 5);
return pkgname;
}
@@ -715,39 +711,35 @@
/**
* Extracts the typeNS given the package name
- * Algorithm is based on the one specified in JAWS v2.0 spec
+ * Algorithm is used for JSR-181 deployments
* @param packageName
* @return the type namespace
*/
public String getTypeNamespace(String packageName)
{
StringBuilder sb = new StringBuilder("http://");
- //sb.append(packageName.replace('.', '/'));
+
//Generate tokens with '.' as delimiter
StringTokenizer st = new StringTokenizer(packageName,".");
+
//Have a LIFO queue for the tokens
- Stack stk = new Stack();
+ Stack<String> stk = new Stack<String>();
while(st != null && st.hasMoreTokens())
{
stk.push(st.nextToken());
}
- try
+
+ String next;
+ while(!stk.isEmpty() && (next=stk.pop())!=null)
{
- while(stk != null)
- {
- String str = (String)stk.pop();
- if(sb.toString().equals("http://") == false) sb.append(".");
- sb.append(str);
- }
- }catch(EmptyStackException e)
- {
- //Ignore
+ if(sb.toString().equals("http://") == false) sb.append(".");
+ sb.append(next);
}
- finally
- {
- sb.append("/jaws");
- }
+ // Needed to ensure backwards compatibility of jsr-181 deployments
+ // Don't merge over this
+ sb.append("/jaws");
+
return sb.toString();
}
@@ -863,4 +855,34 @@
primitiveMap.put("java.lang.Boolean", "boolean");
primitiveMap.put("java.lang.Byte", "byte");
}
+
+ public static WSDLInterfaceOperationOutput getWsdl11Output(WSDLInterfaceOperation operation)
+ {
+ WSDLInterfaceOperationOutput[] outputs = operation.getOutputs();
+ if (outputs == null)
+ return null;
+
+ switch (outputs.length)
+ {
+ case 0: return null;
+ case 1: return outputs[0];
+ }
+
+ throw new WSException("Only Request-Only and Request-Response MEPs are allowed");
+ }
+
+ public static WSDLInterfaceOperationInput getWsdl11Input(WSDLInterfaceOperation operation)
+ {
+ WSDLInterfaceOperationInput[] inputs = operation.getInputs();
+ if (inputs == null)
+ return null;
+
+ switch (inputs.length)
+ {
+ case 0: return null;
+ case 1: return inputs[0];
+ }
+
+ throw new WSException("Only Request-Only and Request-Response MEPs are allowed");
+ }
}
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSModel.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSModel.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSModel.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -54,10 +54,10 @@
import org.apache.xerces.xs.XSTerm;
import org.apache.xerces.xs.XSTypeDefinition;
import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
import org.jboss.xb.binding.NamespaceRegistry;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSNamespaceItem.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSNamespaceItem.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSNamespaceItem.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,7 +28,6 @@
import java.util.Iterator;
import java.util.List;
import java.util.Map;
-import java.util.Set;
import java.util.TreeSet;
import org.apache.xerces.xs.StringList;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSObjectList.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSObjectList.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/metadata/wsdl/xmlschema/JBossXSObjectList.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,7 +22,6 @@
package org.jboss.ws.metadata.wsdl.xmlschema;
import java.util.ArrayList;
-import java.util.Collections;
import java.util.List;
import org.apache.xerces.xs.XSObject;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/JavaToWSDL11.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/JavaToWSDL11.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/JavaToWSDL11.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,7 +25,6 @@
import java.util.HashMap;
import java.util.Map;
-import javax.xml.namespace.QName;
import javax.xml.rpc.encoding.TypeMapping;
import org.jboss.logging.Logger;
@@ -33,14 +32,10 @@
import org.jboss.ws.WSException;
import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.umdm.FaultMetaData;
-import org.jboss.ws.metadata.umdm.OperationMetaData;
-import org.jboss.ws.metadata.umdm.ParameterMetaData;
import org.jboss.ws.metadata.umdm.ServiceMetaData;
import org.jboss.ws.metadata.umdm.UnifiedMetaData;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
-import org.jboss.ws.metadata.wsdl.XSModelTypes;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
import org.jboss.ws.tools.helpers.JavaToWSDLHelper;
@@ -154,20 +149,17 @@
/**
* Generate the common WSDL definition for a given endpoint
*/
- public WSDLDefinitions generate(Class seiClass)
+ public WSDLDefinitions generate(Class endpoint)
{
- WSDLDefinitions wsdl = new WSDLDefinitions();
- wsdl.setWsdlTypes(new XSModelTypes());
- wsdl.setWsdlNamespace(this.wsdlNamespace);
+ WSDLDefinitions wsdl = null;
if (umd != null)
{
- JavaToWSDLHelper helper = new JavaToWSDLHelper(wsdl, wsdlNamespace);
+ JavaToWSDLHelper helper = new JavaToWSDLHelper();
try
{
- helper.setFeatures(features);
helper.setPackageNamespaceMap(packageNamespaceMap);
- handleJavaToWSDLGeneration(helper, seiClass.getName());
+ wsdl = handleJavaToWSDLGeneration(helper, endpoint.getName());
typeMapping = helper.getTypeMapping();
}
@@ -204,56 +196,22 @@
}
//PRIVATE METHODS
- private void handleJavaToWSDLGeneration(JavaToWSDLHelper helper, String seiName) throws IOException
+ private WSDLDefinitions handleJavaToWSDLGeneration(JavaToWSDLHelper helper, String endpointName) throws IOException
{
+ WSDLDefinitions wsdl = null;
if (umd == null)
throw new WSException("Unified Meta Data Model is null");
- // FIXME - The API needs to be reworked instead of using hacks like this
- EndpointMetaData epMetaData = null;
- for (ServiceMetaData serviceMetaData : umd.getServices())
+ for (ServiceMetaData service : umd.getServices())
{
- epMetaData = serviceMetaData.getEndpointByServiceEndpointInterface(seiName);
- if (epMetaData != null) break;
- }
- if (epMetaData == null)
- throw new IllegalStateException("Cannot find meta data for: " + seiName);
-
- // FIXME - We should store the port type
- QName portName = epMetaData.getQName();
- String intfName = portName.getLocalPart();
-
- String targetNamespace = portName.getNamespaceURI();
- String bindingId = epMetaData.getBindingId();
- helper.appendDefinitions(targetNamespace, bindingId);
-
- if (intfName.endsWith("Port"))
- intfName = intfName.substring(0, intfName.length() - 4);
-
- for (OperationMetaData opMetaData : epMetaData.getOperations())
- {
- //Generate Types for the individual parameters
- for (ParameterMetaData paramMetaData : opMetaData.getParameters())
+ EndpointMetaData epMetaData = service.getEndpointByServiceEndpointInterface(endpointName);
+ if (epMetaData != null)
{
- helper.generateTypesForXSD(paramMetaData);
+ wsdl = helper.generate(service);
+ break;
}
-
- for (FaultMetaData faultMetaData : opMetaData.getFaults())
- {
- helper.generateTypesForXSD(faultMetaData);
- }
-
- ParameterMetaData returnMetaData = opMetaData.getReturnParameter();
- if (returnMetaData != null)
- {
- helper.generateTypesForXSD(returnMetaData);
- }
-
- helper.generateInterfaces(opMetaData, intfName);
- helper.generateBindings(opMetaData, intfName + "Binding");
}
-
- helper.generateServices(epMetaData, intfName);
javaWsdlMapping = helper.getJavaWsdlMapping();
+ return wsdl;
}
}
\ No newline at end of file
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/RPCSignature.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/RPCSignature.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/RPCSignature.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,101 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.tools;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem;
+import org.jboss.ws.metadata.wsdl.WSDLUtils;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem.Direction;
+
+public class RPCSignature
+{
+ private Collection<WSDLRPCPart> parameters = new ArrayList<WSDLRPCPart>();
+ private WSDLRPCPart returnParameter;
+
+ public Collection<WSDLRPCPart> parameters()
+ {
+ return parameters;
+ }
+
+ public WSDLRPCPart returnParameter()
+ {
+ return returnParameter;
+ }
+
+ public RPCSignature(WSDLInterfaceOperation operation)
+ {
+ WSDLInterfaceOperationInput input = WSDLUtils.getWsdl11Input(operation);
+ WSDLInterfaceOperationOutput output = WSDLUtils.getWsdl11Output(operation);
+ for (WSDLRPCSignatureItem item : operation.getRpcSignatureItems())
+ {
+ if (item.getDirection() == Direction.RETURN)
+ {
+ if (output != null)
+ returnParameter = output.getChildPart(item.getName());
+ continue;
+ }
+
+ WSDLRPCPart part = null;
+ if (input != null)
+ part = input.getChildPart(item.getName());
+ if (output != null && part == null)
+ part = output.getChildPart(item.getName());
+
+ if (part != null)
+ parameters.add(part);
+ }
+
+ for (WSDLRPCPart part : input.getChildParts())
+ {
+ if (operation.getRpcSignatureitem(part.getName()) == null)
+ parameters.add(part);
+ }
+
+ if (output != null)
+ {
+ for (WSDLRPCPart part : output.getChildParts())
+ {
+ if (operation.getRpcSignatureitem(part.getName()) == null)
+ {
+ // Filter in-outs
+ if (input.getChildPart(part.getName()) != null)
+ continue;
+
+ if (returnParameter == null)
+ {
+ returnParameter = part;
+ }
+ else
+ {
+ parameters.add(part);
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/RPCSignature.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/ToolsUtils.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/ToolsUtils.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/ToolsUtils.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -32,11 +32,8 @@
import java.math.BigInteger;
import java.net.URI;
import java.rmi.Remote;
-import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
-import java.util.List;
-import java.util.StringTokenizer;
import javax.xml.namespace.QName;
import javax.xml.rpc.holders.ByteArrayHolder;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/WSDLToJava.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/WSDLToJava.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/WSDLToJava.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,24 +1,24 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
package org.jboss.ws.tools;
import java.io.File;
@@ -54,6 +54,7 @@
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutfault;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
import org.jboss.ws.metadata.wsdl.xsd.SchemaUtils;
@@ -78,13 +79,30 @@
public class WSDLToJava implements WSDLToJavaIntf
{
private String newline = "\n";
- protected LiteralTypeMapping typeMapping;
- protected WSDLDefinitions wsdl;
+
+ //protected LiteralTypeMapping typeMapping = new LiteralTypeMapping();
+ protected LiteralTypeMapping typeMapping = null;
+
+ protected WSDLDefinitions wsdl = null;
+
+ /**
+ * Singleton class that handle many utility functions
+ */
protected WSDLUtils utils = WSDLUtils.getInstance();
- protected boolean annotate;
- private Map<String, String> namespacePackageMap = new HashMap<String, String>();
+
+ //protected XSDToJavaIntf xsdJava = new XSDToJava();
+
+ //Feature Set
+ protected boolean annotate = false;
+
+ protected Map<String,String> namespacePackageMap = null;
+
+ //private String wsdlStyle = Constants.RPC_LITERAL;
+
private String seiPkgName = "";
+
private String directoryToGenerate = "";
+
private String style;
private String parameterStyle;
@@ -92,11 +110,9 @@
{
}
- public Map<String, String> getNamespacePackageMap()
- {
- return namespacePackageMap;
- }
-
+ /* (non-Javadoc)
+ * @see org.jboss.ws.tools.WSDLToJavaIntf#convertWSDL2Java(java.net.URL)
+ */
public WSDLDefinitions convertWSDL2Java(URL wsdlfileurl) throws WSDLException
{
checkTypeMapping();
@@ -106,35 +122,47 @@
return wsdl;
}
- public boolean getFeature(String name)
+ /* (non-Javadoc)
+ * @see org.jboss.ws.tools.WSDLToJavaIntf#getFeature(java.lang.String)
+ */
+ public boolean getFeature( String name)
{
- if (name == null)
+ if(name == null)
throw new IllegalArgumentException("Illegal null argument:name");
- if (name.equalsIgnoreCase(WSToolsConstants.WSTOOLS_FEATURE_USE_ANNOTATIONS))
- return annotate;
+ if(name.equalsIgnoreCase(WSToolsConstants.WSTOOLS_FEATURE_USE_ANNOTATIONS))
+ return annotate ;
- throw new WSException("Feature:" + name + " not recognized");
+ throw new WSException("Feature:"+ name + " not recognized");
}
- public void setFeature(String name, boolean value)
+ /* (non-Javadoc)
+ * @see org.jboss.ws.tools.WSDLToJavaIntf#setFeature(java.lang.String, boolean)
+ */
+ public void setFeature( String name, boolean value)
{
- if (name == null)
+ if(name == null)
throw new IllegalArgumentException("Illegal null argument:name");
- if (name.equalsIgnoreCase(WSToolsConstants.WSTOOLS_FEATURE_USE_ANNOTATIONS))
- annotate = value;
+ if(name.equalsIgnoreCase(WSToolsConstants.WSTOOLS_FEATURE_USE_ANNOTATIONS))
+ annotate = value;
}
- public void generateSEI(URL wsdlFile, File dir, boolean annotate) throws IOException
+ /* (non-Javadoc)
+ * @see org.jboss.ws.tools.WSDLToJavaIntf#generateSEI(java.net.URL, java.io.File, boolean)
+ */
+ public void generateSEI( URL wsdlFile, File dir, boolean annotate) throws IOException
{
checkTypeMapping();
- WSDLDefinitions wsdl = convertWSDL2Java(wsdlFile);
+ WSDLDefinitions wsdl = convertWSDL2Java( wsdlFile);
this.annotate = annotate;
this.directoryToGenerate = dir.getAbsolutePath();
- generateSEI(wsdl, dir);
+ generateSEI( wsdl, dir);
}
+ /* (non-Javadoc)
+ * @see org.jboss.ws.tools.WSDLToJavaIntf#generateSEI(org.jboss.ws.metadata.wsdl.WSDLDefinitions, java.io.File)
+ */
public void generateSEI(WSDLDefinitions wsdl, File dir) throws IOException
{
checkTypeMapping();
@@ -142,37 +170,46 @@
this.wsdl = wsdl;
style = utils.getWSDLStyle(wsdl);
+
//TODO: Handle annotations flag, as per JAX-WS 2.0 Spec.
//Given the WSDL Object Tree, generate the SEI
//Also take in the location where the SEI should be written
- // String typeNS = wsdl.getNamespaceURI(WSDLConstants.PREFIX_TNS);
+ // String typeNS = wsdl.getNamespaceURI(WSDLConstants.PREFIX_TNS);
String targetNS = wsdl.getTargetNamespace();
//Check if there is an user override
- String packageName = namespacePackageMap.get(targetNS);
- if (packageName == null || packageName.length() == 0)
- {
+ String packageName = namespacePackageMap != null?namespacePackageMap.get(targetNS):null;
+ if(packageName == null || packageName.length() == 0)
packageName = NamespacePackageMapping.getJavaPackageName(targetNS);
- namespacePackageMap.put(targetNS, packageName);
- }
this.seiPkgName = packageName;
File dirloc = utils.createPackage(dir.getAbsolutePath(), packageName);
createSEI(dirloc, wsdl);
+ //xsdJava.generateJavaSource(wsdl.getTypes().getSchemaModel(), dir, packageName, true);
}
- public void setPackageNamespaceMap(Map<String, String> map)
+
+ public Map<String, String> getNamespacePackageMap()
{
- //Lets convert the package->namespace map to namespace->package map
- Set<String> keys = map.keySet();
- Iterator<String> iter = keys.iterator();
- while (iter != null && iter.hasNext())
- {
- String pkg = iter.next();
- namespacePackageMap.put(map.get(pkg), pkg);
- }
+ return namespacePackageMap;
}
+ /* (non-Javadoc)
+ * @see org.jboss.ws.tools.WSDLToJavaIntf#setPackageNamespaceMap(java.util.Map)
+ */
+ public void setNamespacePackageMap(Map<String, String> map)
+ {
+ //Lets convert the package->namespace map to namespace->package map
+ Set keys = map.keySet();
+ Iterator<String> iter = keys.iterator();
+ while(iter != null && iter.hasNext())
+ {
+ if(namespacePackageMap == null) namespacePackageMap = new HashMap<String,String>();
+ String pkg = iter.next();
+ namespacePackageMap.put(map.get(pkg),pkg);
+ }
+ }
+
public void setTypeMapping(LiteralTypeMapping tm)
{
this.typeMapping = tm;
@@ -192,7 +229,7 @@
public boolean unwrap()
{
- if (!Constants.DOCUMENT_LITERAL.equals(style))
+ if (! Constants.DOCUMENT_LITERAL.equals(style))
{
XSElementDeclaration unwrapped = SchemaUtils.unwrapArrayType(xt);
StringBuilder builder = new StringBuilder();
@@ -215,10 +252,16 @@
}
}
+
//***************************************************************************
// PRIVATE METHODS
//***************************************************************************
+ private boolean isDocument()
+ {
+ return Constants.DOCUMENT_LITERAL.equals(style);
+ }
+
private boolean isWrapped()
{
return "wrapped".equals(parameterStyle) && Constants.DOCUMENT_LITERAL.equals(style);
@@ -251,7 +294,7 @@
XSObjectList particles = group.getParticles();
for (int i = 0; i < particles.getLength(); i++)
{
- XSParticle particle = (XSParticle)particles.item(i);
+ XSParticle particle = (XSParticle) particles.item(i);
XSTerm term = particle.getTerm();
if (term instanceof XSModelGroup)
{
@@ -266,7 +309,7 @@
QName xmlType = new QName(element.getTypeDefinition().getNamespace(), element.getTypeDefinition().getName());
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
boolean array = particle.getMaxOccursUnbounded() || particle.getMaxOccurs() > 1;
- generateParameter(buf, null, xmlName, xmlType, xsmodel, element.getTypeDefinition(), array, !element.getNillable());
+ generateParameter(buf, xmlName, xmlType, xsmodel, element.getTypeDefinition(), array, !element.getNillable(), false);
buf.append(" ").append(getMethodParam(xmlName));
}
}
@@ -301,7 +344,7 @@
String returnType = null;
for (int i = 0; i < particles.getLength(); i++)
{
- XSParticle particle = (XSParticle)particles.item(i);
+ XSParticle particle = (XSParticle) particles.item(i);
XSTerm term = particle.getTerm();
if (term instanceof XSModelGroup)
{
@@ -317,7 +360,7 @@
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
boolean array = particle.getMaxOccursUnbounded() || particle.getMaxOccurs() > 1;
StringBuilder buf = new StringBuilder();
- generateParameter(buf, null, xmlName, xmlType, xsmodel, element.getTypeDefinition(), array, !element.getNillable());
+ generateParameter(buf, xmlName, xmlType, xsmodel, element.getTypeDefinition(), array, !element.getNillable(), false);
return buf.toString();
}
}
@@ -334,69 +377,34 @@
throw new IllegalArgumentException("Interface " + itfname + " doesn't have operations");
int len = ops != null ? ops.length : 0;
+
+ // FIXME - Add support for headers
for (int i = 0; i < len; i++)
{
WSDLInterfaceOperation op = ops[i];
//TODO: Take care of multiple outputs
- WSDLInterfaceOperationOutput[] outs = op.getOutputs();
- String returnType = getReturnType(outs);
- buf.append(" public " + returnType + " ");
- buf.append(ToolsUtils.firstLetterLowerCase(op.getName().toString()));
- buf.append("(");
- WSDLInterfaceOperationInput[] ins = op.getInputs();
- int inlen = ins != null ? ins.length : 0;
- for (int j = 0; j < inlen; j++)
- {
- if (j > 0)
- buf.append(",");
- WSDLInterfaceOperationInput in = ins[j];
- QName xmlName = in.getElement();
- QName xmlType = in.getXMLType();
- JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
- XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
+ String returnType = null;
- if (isWrapped())
- {
- unwrapRequest(buf, xt);
- break;
- }
+ StringBuilder paramBuffer = new StringBuilder();
- generateParameter(buf, in, xmlName, xmlType, xsmodel, xt, false, true);
- buf.append(" ").append(getMethodParam(xmlName));
+ WSDLInterfaceOperationInput input = WSDLUtils.getWsdl11Input(op);
+ WSDLInterfaceOperationOutput output = WSDLUtils.getWsdl11Output(op);
+ if (isDocument())
+ {
+ returnType = appendDocParameters(paramBuffer, input, output);
}
-
- //Check for out holder only
- int lenOuts = outs != null ? outs.length : 0;
- if ((!isWrapped()) && lenOuts > 1)
+ else
{
- // This needs to be rewritten, custom types, and custom holders should be supported
- for (int m = 1; m < lenOuts; m++)
- {
- if (this.isInOutHolder(outs[m]))
- continue;
- buf.append(",");
- QName xmlName = outs[m].getElement();
- QName xmlType = outs[m].getXMLType();
- JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
- XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
+ returnType = appendRpcParameters(paramBuffer, op, output);
+ }
- boolean primitive = true;
- WrappedArray wrappedArray = new WrappedArray(xt);
- if (wrappedArray.unwrap())
- {
- xt = wrappedArray.xt;
- xmlType = wrappedArray.xmlType;
- primitive = !wrappedArray.nillable;
- }
+ if (returnType == null)
+ returnType = "void";
- if (xt instanceof XSSimpleTypeDefinition)
- xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition)xt);
+ buf.append(" public " + returnType + " ");
+ buf.append(ToolsUtils.firstLetterLowerCase(op.getName().toString()) );
+ buf.append("(").append(paramBuffer);
- Class cls = this.getJavaType(xmlType, primitive);
- buf.append(utils.getHolder(cls).getName()).append(" ").append(getMethodParam(xmlName));
- }
- }
-
buf.append(") throws ");
//Generate the Exception Types
WSDLInterfaceOperationOutfault[] outfaults = op.getOutfaults();
@@ -408,28 +416,25 @@
//Get the main fault from the wsdlInterface
WSDLInterfaceFault intfFault = fault.getWsdlInterfaceOperation().getWsdlInterface().getFault(new NCName(faultqname.getLocalPart()));
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
- QName faultXMLName = intfFault.getXmlName();
+ QName faultXMLName = intfFault.getElement();
QName faultXMLType = intfFault.getXmlType();
- XSElementDeclaration xe = xsmodel.getElementDeclaration(faultXMLName.getLocalPart(), faultXMLName.getNamespaceURI());
- XSTypeDefinition xt = xe.getTypeDefinition();
- if (!xt.getAnonymous())
+ XSElementDeclaration xe = xsmodel.getElementDeclaration(faultXMLName.getLocalPart(),faultXMLName.getNamespaceURI());
+ XSTypeDefinition xt = xe.getTypeDefinition();
+ if (! xt.getAnonymous())
xt = xsmodel.getTypeDefinition(xt.getName(), xt.getNamespace());
- if (xt instanceof XSComplexTypeDefinition)
- generateJavaSource((XSComplexTypeDefinition)xt, xsmodel, faultXMLName.getLocalPart(), true);
+ if(xt instanceof XSComplexTypeDefinition)
+ generateJavaSource((XSComplexTypeDefinition)xt,xsmodel, faultXMLName.getLocalPart(), true);
Class cl = getJavaType(faultXMLType, false);
if (cl == null)
{
- String exceptionName = xt.getName();
- if (exceptionName == null)
- {
- exceptionName = faultXMLName.getLocalPart();
- }
- buf.append(seiPkgName + "." + utils.firstLetterUpperCase(exceptionName));
+ String faultTypeName = (!xt.getAnonymous()) ? faultXMLType.getLocalPart() : faultXMLName.getLocalPart();
+ buf.append(seiPkgName + "." + cleanUpFaultName(faultTypeName));
}
- else buf.append(cl.getName());
- buf.append(",");
+ else
+ buf.append( cl.getName());
+ buf.append( "," );
}
buf.append(" java.rmi.RemoteException");
buf.append(";");
@@ -437,9 +442,86 @@
}
}
- private void generateParameter(StringBuilder buf, WSDLInterfaceOperationInput in, QName xmlName, QName xmlType, JBossXSModel xsmodel, XSTypeDefinition xt,
- boolean array, boolean primitive) throws IOException
+ private String appendRpcParameters(StringBuilder paramBuffer, WSDLInterfaceOperation op, WSDLInterfaceOperationOutput output) throws IOException
{
+ String returnType = null;
+ boolean first = true;
+
+ RPCSignature signature = new RPCSignature(op);
+ for (WSDLRPCPart part : signature.parameters())
+ {
+
+ if (first)
+ first = false;
+ else
+ paramBuffer.append(", ");
+
+ QName xmlName = new QName(part.getName());
+ QName xmlType = part.getType();
+ JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
+ XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
+
+ boolean holder = output != null && output.getChildPart(part.getName()) != null;
+ generateParameter(paramBuffer, xmlName, xmlType, xsmodel, xt, false, true, holder);
+ paramBuffer.append(" ").append(getMethodParam(xmlName));
+ }
+
+ if (signature.returnParameter() != null)
+ {
+ QName xmlName = new QName(signature.returnParameter().getName());
+ QName xmlType = signature.returnParameter().getType();
+ JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
+ XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
+ returnType = getReturnType(xmlName, xmlType, xt);
+ }
+
+ return returnType;
+ }
+
+ private String appendDocParameters(StringBuilder paramBuffer, WSDLInterfaceOperationInput input, WSDLInterfaceOperationOutput output) throws IOException
+ {
+ String returnType = null;
+ boolean holder = false;
+ if (input != null && input.getElement() != null)
+ {
+ QName xmlName = input.getElement();
+ QName xmlType = input.getXMLType();
+ JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
+ XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
+
+ if (isWrapped())
+ {
+ unwrapRequest(paramBuffer, xt);
+ }
+ else
+ {
+ holder = output != null && xmlName.equals(output.getElement());
+ generateParameter(paramBuffer, xmlName, xmlType, xsmodel, xt, false, true, holder);
+ paramBuffer.append(" ").append(getMethodParam(xmlName));
+ }
+ }
+ if (!holder && output != null && output.getElement() != null)
+ {
+ QName xmlName = output.getElement();
+ QName xmlType = output.getXMLType();
+ JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
+ XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
+
+ if (isWrapped())
+ {
+ returnType = unwrapResponse(xt);
+ }
+ else
+ {
+ returnType = getReturnType(xmlName, xmlType, xt);
+ }
+ }
+
+ return returnType;
+ }
+
+ private void generateParameter(StringBuilder buf, QName xmlName, QName xmlType, JBossXSModel xsmodel, XSTypeDefinition xt, boolean array, boolean primitive, boolean holder) throws IOException
+ {
WrappedArray wrappedArray = new WrappedArray(xt);
String arraySuffix = (array) ? "[]" : "";
if (wrappedArray.unwrap())
@@ -451,14 +533,16 @@
}
if (xt instanceof XSSimpleTypeDefinition)
- xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition)xt);
+ xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition) xt);
Class cl = getJavaType(xmlType, primitive);
//Class cl = typeMapping.getJavaType(inqname,true);
- if (in != null)
- cl = this.checkNeedHolder(in, cl);
- if (cl != null)
+
+ if(cl != null)
{
+ if (holder)
+ cl = utils.getHolder(cl);
+
buf.append(JavaUtils.getSourceName(cl) + arraySuffix);
}
else
@@ -470,7 +554,7 @@
className = utils.firstLetterUpperCase(className);
buf.append(seiPkgName + "." + className + arraySuffix);
- if (xt instanceof XSComplexTypeDefinition)
+ if(xt instanceof XSComplexTypeDefinition)
generateJavaSource((XSComplexTypeDefinition)xt, xsmodel, xmlName.getLocalPart());
}
}
@@ -524,17 +608,9 @@
}
}
- private String getReturnType(WSDLInterfaceOperationOutput[] outs) throws IOException
+ private String getReturnType(QName xmlName, QName xmlType, XSTypeDefinition xt) throws IOException
{
- if (outs == null || outs.length == 0)
- return "void ";
- WSDLInterfaceOperationOutput out = outs[0];
-
- QName xmlType = out.getXMLType();
- QName xmlName = out.getElement();
-
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
- XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
if (isWrapped())
return unwrapResponse(xt);
@@ -551,15 +627,14 @@
}
if (xt instanceof XSSimpleTypeDefinition)
- xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition)xt);
+ xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition) xt);
Class cls = getJavaType(xmlType, primitive);
- //Class cls = typeMapping.getJavaType(qname,true);
- if (xt instanceof XSComplexTypeDefinition)
+ if(xt instanceof XSComplexTypeDefinition)
generateJavaSource((XSComplexTypeDefinition)xt, xsmodel, xmlName.getLocalPart());
- if (cls == null)
+ if(cls == null)
{
String className = xmlType.getLocalPart();
if (className.charAt(0) == '>')
@@ -567,63 +642,45 @@
className = utils.firstLetterUpperCase(className);
return seiPkgName + "." + className + arraySuffix;
}
+ if(cls.isArray())
+ return JavaUtils.getSourceName(cls);
- if (isInOutHolder(out))
- return "void"; //Taken care by the input args
- if (isOutHolder(out))
- return utils.getHolder(cls).getName();
- if (cls.isArray())
- return JavaUtils.getSourceName(cls);
- return cls.getName() + arraySuffix;
+ return cls.getName() + arraySuffix;
}
/**
- * Check if an holder is required for the input type
- * @param wout
- * @param cls
+ * WSDL may have appended the Faults with 'Fault' or 'Error'
+ * @param faultname
* @return
*/
- private Class checkNeedHolder(WSDLInterfaceOperationInput win, Class cls)
+ private String cleanUpFaultName(String faultname)
{
- //Now check if the part exists in both input and output => Need Holder
- WSDLInterfaceOperation op = win.getWsdlOperation();
- QName el = win.getElement();
+ //Clean up the faultname from Error and Fault
+ boolean endsfault = faultname.endsWith("Fault");
- WSDLInterfaceOperationOutput out = op.getOutput(el);
-
- if (out != null)
- cls = utils.getHolder(cls); //Need a holder
-
- return cls;
+ if (endsfault)
+ {
+ int index = faultname.lastIndexOf("Fault");
+ faultname = faultname.substring(0, index);
+ }
+ else
+ {
+ boolean endsError = faultname.endsWith("Error");
+ if (endsError)
+ {
+ int index = faultname.lastIndexOf("Error");
+ faultname = faultname.substring(0, index);
+ }
+ }
+ return JavaUtils.capitalize(faultname);
}
private void checkTypeMapping()
{
- if (typeMapping == null)
+ if(typeMapping == null)
throw new WSException("TypeMapping has not been set.");
}
- private boolean isInOutHolder(WSDLInterfaceOperationOutput wout)
- {
- //Now check if the part exists in both input and output => Need Holder
- WSDLInterfaceOperation op = wout.getWsdlOperation();
- QName el = wout.getElement();
-
- WSDLInterfaceOperationInput inp = op.getInput(el);
- return inp != null;
- }
-
- private boolean isOutHolder(WSDLInterfaceOperationOutput wout)
- {
- if (isInOutHolder(wout))
- return false;
- // Case when there are multiple outputs - need holders
- WSDLInterfaceOperationOutput[] ops = wout.getWsdlOperation().getOutputs();
- if (ops != null && ops.length > 1)
- return true;
- return false;
- }
-
private Class getJavaType(QName qname, boolean primitive)
{
Class cls = typeMapping.getJavaType(qname, primitive);
@@ -631,7 +688,8 @@
* Special case - when qname=xsd:anyType && cls == Element
* then cls has to be javax.xml.soap.SOAPElement
*/
- if (qname.getNamespaceURI().equals(Constants.NS_SCHEMA_XSD) && "anyType".equals(qname.getLocalPart()) && cls == Element.class)
+ if( qname.getNamespaceURI().equals(Constants.NS_SCHEMA_XSD)
+ && "anyType".equals(qname.getLocalPart()) && cls == Element.class)
cls = SOAPElement.class;
return cls;
}
@@ -643,7 +701,7 @@
private File getLocationForJavaGeneration()
{
- return new File(this.directoryToGenerate + "/" + seiPkgName.replace(".", "/"));
+ return new File( this.directoryToGenerate + "/" + seiPkgName.replace(".","/"));
}
private void generateJavaSource(XSComplexTypeDefinition xt, JBossXSModel xsmodel, String containingElement) throws IOException
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/WSDotXMLCreator.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/WSDotXMLCreator.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/WSDotXMLCreator.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,25 +1,25 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.ws.tools;
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.tools;
import java.io.File;
import java.io.FileInputStream;
@@ -44,32 +44,31 @@
* Creates the webservices.xml deployment descriptor
* @author <mailto:Anil.Saldhana at jboss.org>Anil Saldhana
* @since Jun 20, 2005
- */
-
+ */
public class WSDotXMLCreator implements WSDotXMLCreatorIntf
-{
+{
// provide logging
protected static final Logger log = Logger.getLogger(WSDotXMLCreator.class);
protected String targetNamespace = null;
-
- protected String seiName = null;
-
- protected String portName = null;
-
- protected String serviceName=null;
-
+
+ protected String seiName = null;
+
+ protected String portName = null;
+
+ protected String serviceName = null;
+
protected String servletLink = null;
-
+
protected String ejbLink = null;
-
+
protected String wsdlFile = null;
protected String mappingFile = null;
-
+
protected boolean append = false;
public WSDotXMLCreator()
- {}
-
+ {
+ }
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#setTargetNamespace(java.lang.String)
@@ -77,9 +76,7 @@
public void setTargetNamespace(String targetNamespace)
{
this.targetNamespace = targetNamespace;
- }
-
-
+ }
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#setSeiName(java.lang.String)
@@ -87,8 +84,7 @@
public void setSeiName(String seiName)
{
this.seiName = seiName;
- }
-
+ }
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#setPortName(java.lang.String)
@@ -96,7 +92,7 @@
public void setPortName(String portName)
{
this.portName = portName;
- }
+ }
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#setServiceName(java.lang.String)
@@ -104,7 +100,7 @@
public void setServiceName(String serviceName)
{
this.serviceName = serviceName;
- }
+ }
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#setEjbLink(java.lang.String)
@@ -113,7 +109,6 @@
{
this.ejbLink = ejbLink;
}
-
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#setServletLink(java.lang.String)
@@ -122,8 +117,7 @@
{
this.servletLink = servletLink;
}
-
-
+
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#setMappingFile(java.lang.String)
*/
@@ -131,26 +125,27 @@
{
this.mappingFile = mappingFile;
}
-
+
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#setWsdlFile(java.lang.String)
*/
public void setWsdlFile(String wsdlFile)
{
this.wsdlFile = wsdlFile;
- }
-
+ }
+
public void setAppend(boolean append)
{
this.append = append;
}
-
+
/* (non-Javadoc)
* @see org.jboss.ws.tools.WSDotXMLCreatorIntf#generateWSXMLDescriptor(java.io.File)
*/
public void generateWSXMLDescriptor(File file) throws IOException
{
- WebservicesMetaData webservices = constructWSMetaData();
+ WebservicesMetaData webservices = constructWSMetaData();
+
Element webservicesElem;
if (append && file.exists())
{
@@ -172,7 +167,7 @@
else
{
// write generated webservices descriptor to new file
- String wmdata = webservices.serialize();
+ String wmdata = webservices.serialize();
webservicesElem = DOMUtils.parse(wmdata);
}
@@ -180,56 +175,51 @@
fw.write(DOMWriter.printNode(webservicesElem, true));
fw.close();
}
-
+
//PRIVATE METHODS
-
+
private WebservicesMetaData constructWSMetaData()
{
WebservicesMetaData wm = new WebservicesMetaData();
WebserviceDescriptionMetaData wsdm = new WebserviceDescriptionMetaData(wm);
populateWebserviceDescriptionMetaData(wsdm);
wm.addWebserviceDescription(wsdm);
- return wm;
+ return wm;
}
-
+
private void populateWebserviceDescriptionMetaData(WebserviceDescriptionMetaData wsdm)
{
checkEssentials();
wsdm.setWebserviceDescriptionName(this.serviceName);
wsdm.setWsdlFile(this.wsdlFile);
- wsdm.setJaxrpcMappingFile(this.mappingFile);
+ wsdm.setJaxrpcMappingFile(this.mappingFile);
PortComponentMetaData pm1 = new PortComponentMetaData(wsdm);
- pm1.setPortComponentName(portName);
- pm1.setWsdlPort(new QName(this.targetNamespace, portName ,"impl") );
+ pm1.setPortComponentName(portName);
+ pm1.setWsdlPort(new QName(this.targetNamespace, portName, "impl"));
pm1.setServiceEndpointInterface(seiName);
- if(this.servletLink != null && this.servletLink.length() > 0 )
- pm1.setServletLink(this.servletLink);
- else
- pm1.setEjbLink(this.ejbLink);
+ if (this.servletLink != null && this.servletLink.length() > 0)
+ pm1.setServletLink(this.servletLink);
+ else pm1.setEjbLink(this.ejbLink);
wsdm.addPortComponent(pm1);
}
-
+
private void checkEssentials()
{
- if(serviceName == null)
+ if (serviceName == null)
throw new WSException("serviceName is null");
- if(wsdlFile == null)
+ if (wsdlFile == null)
throw new WSException("wsdlFile is null");
- if(mappingFile == null)
+ if (mappingFile == null)
throw new WSException("mappingFile is null");
- if(targetNamespace == null)
+ if (targetNamespace == null)
throw new WSException("targetNamespace is null");
- if(portName == null)
+ if (portName == null)
throw new WSException("portName is null");
- if(seiName == null)
+ if (seiName == null)
throw new WSException("seiName is null");
- if(servletLink == null && ejbLink == null)
+ if (servletLink == null && ejbLink == null)
throw new WSException("Either servletLink or ejbLink should not be null");
- if(servletLink != null && ejbLink != null)
+ if (servletLink != null && ejbLink != null)
throw new WSException("One of servletLink or ejbLink should be null");
}
}
-
-
-
-
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/JavaToWSDLHelper.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/helpers/JavaToWSDLHelper.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/JavaToWSDLHelper.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,7 +22,6 @@
package org.jboss.ws.tools.helpers;
import java.io.IOException;
-import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
@@ -32,16 +31,12 @@
import java.util.Set;
import javax.xml.namespace.QName;
-import javax.xml.rpc.ParameterMode;
import javax.xml.rpc.encoding.TypeMapping;
-import javax.xml.rpc.holders.ByteArrayHolder;
import javax.xml.rpc.holders.Holder;
import org.apache.xerces.xs.XSTypeDefinition;
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
-import org.jboss.ws.core.CommonSOAPBinding;
-import org.jboss.ws.core.jaxrpc.LiteralTypeMapping;
import org.jboss.ws.core.jaxrpc.Style;
import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.metadata.jaxrpcmapping.ExceptionMapping;
@@ -60,24 +55,13 @@
import org.jboss.ws.metadata.umdm.FaultMetaData;
import org.jboss.ws.metadata.umdm.OperationMetaData;
import org.jboss.ws.metadata.umdm.ParameterMetaData;
-import org.jboss.ws.metadata.wsdl.NCName;
+import org.jboss.ws.metadata.umdm.WrappedParameter;
import org.jboss.ws.metadata.wsdl.WSDLBinding;
-import org.jboss.ws.metadata.wsdl.WSDLBindingFault;
-import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
-import org.jboss.ws.metadata.wsdl.WSDLBindingOperationInput;
-import org.jboss.ws.metadata.wsdl.WSDLBindingOperationOutput;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
-import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
import org.jboss.ws.metadata.wsdl.WSDLInterface;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceFault;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutfault;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
-import org.jboss.ws.metadata.wsdl.WSDLProperty;
import org.jboss.ws.metadata.wsdl.WSDLService;
import org.jboss.ws.metadata.wsdl.WSDLTypes;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
+import org.jboss.ws.metadata.wsdl.XSModelTypes;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSElementDeclaration;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
import org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils;
@@ -85,59 +69,58 @@
import org.jboss.ws.tools.JavaToXSD;
import org.jboss.ws.tools.interfaces.JavaToXSDIntf;
import org.jboss.ws.tools.interfaces.SchemaCreatorIntf;
+import org.jboss.ws.tools.jaxws.WSDLGenerator;
/**
* Java To WSDL Helper which uses UnifiedMetaData
* @author <mailto:Anil.Saldhana at jboss.org>Anil Saldhana
* @since Oct 7, 2005
*/
-public class JavaToWSDLHelper
+public class JavaToWSDLHelper extends WSDLGenerator
{
- protected WSDLDefinitions wsdl = null;
-
- protected String wsdlNamespace = Constants.NS_WSDL11; //Default - wsdl11;
-
- protected JavaToXSDIntf javaToXSD = new JavaToXSD();
-
- protected Class seiClass = null;
-
+ private JavaToXSDIntf javaToXSD = new JavaToXSD();
private JavaWsdlMapping javaWsdlMapping = new JavaWsdlMapping();
-
private Map<QName, JavaXmlTypeMapping> mappedTypes = new HashMap<QName, JavaXmlTypeMapping>();
-
private Set<String> mappedPackages = new HashSet<String>();
-
- protected Map<String,String> packageNamespaceMap = new HashMap<String,String>();
-
+ private Map<String,String> packageNamespaceMap = new HashMap<String,String>();
private Set<String> mappedExceptions = new HashSet<String>();
- // Features as represented by Constants
- protected Map<String, Boolean> features = new HashMap<String, Boolean>();
-
- /**
- * Default ctr
- */
- public JavaToWSDLHelper(WSDLDefinitions wsdl, String wsdlNS)
+ protected void processTypes()
{
- this.wsdl = wsdl;
- this.wsdlNamespace = wsdlNS;
+ // All type processing is done in processService()
+ wsdl.setWsdlTypes(new XSModelTypes());
}
- public void appendDefinitions(String targetNamespace, String bindingId)
+ @Override
+ protected void processOperation(WSDLInterface wsdlInterface, WSDLBinding wsdlBinding, OperationMetaData operation)
{
- wsdl.setTargetNamespace(targetNamespace);
- wsdl.registerNamespaceURI(targetNamespace, Constants.PREFIX_TNS);
- wsdl.registerNamespaceURI(Constants.NS_SCHEMA_XSD, Constants.PREFIX_XSD);
- if (wsdlNamespace.equals(Constants.NS_WSDL11))
+ super.processOperation(wsdlInterface, wsdlBinding, operation);
+
+ try
{
- if (CommonSOAPBinding.SOAP11HTTP_BINDING.equals(bindingId))
- wsdl.registerNamespaceURI(Constants.NS_SOAP11, Constants.PREFIX_SOAP11);
- else if (CommonSOAPBinding.SOAP12HTTP_BINDING.equals(bindingId))
- wsdl.registerNamespaceURI(Constants.NS_SOAP12, Constants.PREFIX_SOAP12);
+ //Generate Types for the individual parameters, faults and return value
+ for (ParameterMetaData paramMetaData : operation.getParameters())
+ {
+ generateTypesForXSD(paramMetaData);
+ }
+
+ for (FaultMetaData faultMetaData : operation.getFaults())
+ {
+ generateTypesForXSD(faultMetaData);
+ }
+
+ ParameterMetaData returnMetaData = operation.getReturnParameter();
+ if (returnMetaData != null)
+ {
+ generateTypesForXSD(returnMetaData);
+ }
}
+ catch (IOException io)
+ {
+ throw new WSException(io);
+ }
}
-
public void generateTypesForXSD(ParameterMetaData pmd) throws IOException
{
//Types always deals with TypeNamespace
@@ -155,21 +138,16 @@
private Map<String, QName> buildElementNameMap(ParameterMetaData pmd)
{
- List<QName> elements = pmd.getWrappedElementNames();
- List<String> variables = pmd.getWrappedVariables();
+ List<WrappedParameter> wrappedParameters = pmd.getWrappedParameters();
- if (elements.size() == 0 || variables.size() == 0)
+ if (wrappedParameters == null)
return null;
- if (elements.size() != variables.size())
- return null;
+ Map<String, QName> map = new LinkedHashMap<String, QName>(wrappedParameters.size());
- Map<String, QName> map = new LinkedHashMap<String, QName>(elements.size());
+ for (WrappedParameter param : wrappedParameters)
+ map.put(param.getVariable(), param.getName());
- int i = 0;
- for (String variable : variables)
- map.put(variable, elements.get(i++));
-
return map;
}
@@ -183,191 +161,21 @@
generateType(xmlType ,fmd.getJavaType(), null);
}
- public void generateInterfaces(OperationMetaData op , String intfName)
+ public void processEndpoint(WSDLService service, EndpointMetaData endpoint)
{
- WSDLUtils utils = WSDLUtils.getInstance();
- if(op == null)
- throw new IllegalArgumentException("Illegal Null Argument: op");
+ super.processEndpoint(service, endpoint);
- WSDLInterface wsdlInterface = wsdl.getInterface(new NCName(intfName));
- if(wsdlInterface == null)
- {
- wsdlInterface = new WSDLInterface(wsdl);
- wsdlInterface.setName(new NCName(intfName));
- wsdl.addInterface(wsdlInterface);
- }
-
- QName xmlName = op.getQName();
- String opname = xmlName.getLocalPart();
- if(opname == null || opname.length() == 0)
- throw new WSException("opname is null or blank");
- //Operation Level
- WSDLInterfaceOperation wsdlInterfaceOperation = new WSDLInterfaceOperation(wsdlInterface);
- wsdlInterfaceOperation.setName(new NCName( opname ));
- wsdlInterface.addOperation(wsdlInterfaceOperation);
- if (op.getStyle() == Style.DOCUMENT)
- wsdlInterfaceOperation.setStyle(Constants.URI_STYLE_IRI);
- else
- wsdlInterfaceOperation.setStyle(Constants.URI_STYLE_RPC);
-
- if (op.isOneWayOperation())
- wsdlInterfaceOperation.setPattern(Constants.WSDL20_PATTERN_IN_ONLY);
- else
- wsdlInterfaceOperation.setPattern(Constants.WSDL20_PATTERN_IN_OUT);
-
- List<WSDLInterfaceOperationOutput> holderOuts = new ArrayList<WSDLInterfaceOperationOutput>();
-
- //Parameter Level
- List<ParameterMetaData> pmds = op.getParameters();
- for(ParameterMetaData pmd : pmds)
- {
- if (pmd.getMode() != ParameterMode.IN)
- {
- if(op.isOneWayOperation())
- throw new WSException(opname + " is a oneway operation and" +
- " defines a holder");
-
- holderOuts.add(getWSDLInterfaceOperationOutput(wsdlInterfaceOperation, pmd));
- if (pmd.getMode() == ParameterMode.INOUT)
- wsdlInterfaceOperation.addInput(getWSDLInterfaceOperationInput(wsdlInterfaceOperation, pmd));
- }
- else
- {
- wsdlInterfaceOperation.addInput(getWSDLInterfaceOperationInput(wsdlInterfaceOperation, pmd));
- }
- }
-
- //Deal with Return Type
- ParameterMetaData retpmd = op.getReturnParameter();
- Class returnType = retpmd != null ? retpmd.getClass() : void.class;
-
- if (returnType != null && !(void.class == returnType) )
- {
- WSDLInterfaceOperationOutput returnOutput = getWSDLInterfaceOperationOutput(wsdlInterfaceOperation, retpmd);
- returnOutput.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_RETURN_PART, null));
- wsdlInterfaceOperation.addOutput(returnOutput);
- }
- //Deal with the temporary arraylist for holders
- for (WSDLInterfaceOperationOutput wo : holderOuts)
- wsdlInterfaceOperation.addOutput(wo);
-
- List<FaultMetaData> fmds = op.getFaults();
- for(FaultMetaData fmd: fmds)
- {
- generateWSDLFaults(wsdlInterfaceOperation, fmd.getXmlName());
- }
+ // build JAX-RPC mapping info
+ buildServiceMapping(endpoint);
}
- public void generateBindings(OperationMetaData op , String bindName)
- {
- WSDLUtils utils = WSDLUtils.getInstance();
- String intfName = utils.chop(bindName, "Binding");
-
- WSDLBinding wsdlBinding = wsdl.getBinding(new NCName(bindName));
- if(wsdlBinding == null)
- {
- wsdlBinding = new WSDLBinding(wsdl);
- wsdlBinding.setName(new NCName(bindName));
- wsdlBinding.setInterfaceName(new QName(wsdl.getTargetNamespace(),intfName));
- wsdl.addBinding(wsdlBinding);
- }
-
- String opname = op.getQName().getLocalPart();
- //Operation Level
- WSDLBindingOperation wsdlBindingOperation = new WSDLBindingOperation(wsdlBinding);
- wsdlBindingOperation.setRef(new QName(wsdl.getTargetNamespace(), opname));
- wsdlBindingOperation.setSOAPAction(op.getSOAPAction());
- wsdlBinding.addOperation(wsdlBindingOperation);
-
- //TODO:FIXME JBWS-269
- //Parameter Level
-
- List<ParameterMetaData> pmds = op.getInputParameters();
- for(ParameterMetaData pmd : pmds)
- {
- WSDLBindingOperationInput wsdlBindingOperationInput = new WSDLBindingOperationInput(wsdlBindingOperation);
- wsdlBindingOperationInput.setMessageLabel(new NCName(pmd.getXmlName().getLocalPart()) );
- wsdlBindingOperation.addInput(wsdlBindingOperationInput);
- }
-
- //Deal with Return Type
- ParameterMetaData retpmd = op.getReturnParameter();
- Class returnType = retpmd != null ? retpmd.getClass() : void.class;
-
- if (returnType != null && !(void.class == returnType) )
- {
- WSDLBindingOperationOutput wsdlBindingOperationOutput = new WSDLBindingOperationOutput(wsdlBindingOperation);
- wsdlBindingOperationOutput.setMessageLabel(new NCName(retpmd.getXmlName().getLocalPart()));
- wsdlBindingOperation.addOutput(wsdlBindingOperationOutput);
- }
-// What was this for?
-// if(void.class == returnType)
-// {
-// WSDLBindingOperationOutput wsdlBindingOperationOutput = new WSDLBindingOperationOutput(wsdlBindingOperation);
-// wsdlBindingOperation.addOutput(wsdlBindingOperationOutput);
-// }
-
- pmds = op.getOutputParameters();
- for(ParameterMetaData pmd : pmds)
- {
- WSDLBindingOperationOutput wsdlBindingOperationOutput = new WSDLBindingOperationOutput(wsdlBindingOperation);
- wsdlBindingOperationOutput.setMessageLabel(new NCName(pmd.getXmlName().getLocalPart()) );
- wsdlBindingOperation.addOutput(wsdlBindingOperationOutput);
- }
-
- List<FaultMetaData> fmds = op.getFaults();
- for(FaultMetaData fmd: fmds)
- {
- WSDLBindingFault f = new WSDLBindingFault(wsdlBinding);
- String faultName = fmd.getXmlName().getLocalPart();
- WSDLInterfaceFault intFault = wsdl.getInterface(new NCName(intfName)).getFault(new NCName(faultName));
- if(intFault == null)
- throw new WSException("Fault in WSDLInterface for name=" + faultName + " not found");
- QName fqname = new QName(wsdl.getTargetNamespace(), faultName );
- f.setRef(fqname);
- }
- }
-
- public void generateServices(EndpointMetaData endpoint, String intfName)
- {
- if(endpoint == null)
- throw new WSException("Illegal Null Argument: endpt");
- String serviceName = endpoint.getServiceMetaData().getQName().getLocalPart();
-
- //Create a WSDLService
- WSDLService wsdlService = new WSDLService(wsdl);
- wsdlService.setName( new NCName(serviceName) );
- wsdl.addService(wsdlService);
-
- String portName = endpoint.getQName().getLocalPart();
-
- WSDLInterface wsdlInterface = wsdl.getInterface(new NCName(intfName));
- if(wsdlInterface == null)
- throw new WSException("WSDL Interface for name = " + intfName + " is null");
-
- QName seiQName = wsdlInterface.getQName();
- WSDLBinding wsdlBinding = wsdl.getBindings()[0];
- NCName bindingName = wsdlBinding.getName();
- QName bindingQName = new QName(wsdl.getTargetNamespace(), bindingName.toString());
-
- wsdlService.setInterfaceName(seiQName);
-
- WSDLEndpoint wsdlEndpoint = new WSDLEndpoint(wsdlService);
- wsdlEndpoint.setName(new NCName(portName));
- wsdlEndpoint.setBinding(bindingQName);
- wsdlEndpoint.setAddress("REPLACE_WITH_ACTUAL_URL");
- wsdlService.addEndpoint(wsdlEndpoint);
-
- buildServiceMapping(endpoint, intfName);
- }
-
/*
* Currently we only handle 1 endpoint on 1 service, this is the way everything
* else is handled anyway.
*/
- private void buildServiceMapping(EndpointMetaData endpoint, String interfaceName)
+ private void buildServiceMapping(EndpointMetaData endpoint)
{
- QName origQName = endpoint.getServiceMetaData().getQName();
+ QName origQName = endpoint.getServiceMetaData().getServiceName();
String serviceInterfaceName = endpoint.getServiceEndpointInterface().getPackage().getName() + "." + origQName.getLocalPart();
QName serviceQName = new QName(origQName.getNamespaceURI(), origQName.getLocalPart(), "serviceNS");
@@ -383,6 +191,7 @@
javaWsdlMapping.addServiceInterfaceMappings(serviceMapping);
+ String interfaceName = endpoint.getInterfaceQName().getLocalPart();
ServiceEndpointInterfaceMapping seiMapping = new ServiceEndpointInterfaceMapping(javaWsdlMapping);
seiMapping.setServiceEndpointInterface(endpoint.getServiceEndpointInterfaceName());
seiMapping.setWsdlPortType(new QName(wsdl.getTargetNamespace(), interfaceName, "portTypeNS"));
@@ -399,12 +208,11 @@
{
if (isWrapped && param.isInHeader() == false)
{
- List<String> wrappedTypes = param.getWrappedTypes();
- List<QName> wrappedElementNames = param.getWrappedElementNames();
- for (int c = 0; c < wrappedTypes.size(); c++)
+ List<WrappedParameter> wrappedParameters = param.getWrappedParameters();
+ for (WrappedParameter wrapped : wrappedParameters)
{
- String type = JavaUtils.convertJVMNameToSourceName(wrappedTypes.get(c), endpoint.getClassLoader());
- String name = wrappedElementNames.get(c).getLocalPart();
+ String type = JavaUtils.convertJVMNameToSourceName(wrapped.getType(), endpoint.getClassLoader());
+ String name = wrapped.getName().getLocalPart();
buildParamMapping(methodMapping, interfaceName, operation, name, type, "IN", false, i++);
}
@@ -418,13 +226,14 @@
}
ParameterMetaData returnParam = operation.getReturnParameter();
- if (returnParam != null && ((! isWrapped) || (! returnParam.getWrappedElementNames().isEmpty())))
+ if (returnParam != null && ((! isWrapped) || (! returnParam.getWrappedParameters().isEmpty())))
{
String name, type;
if (isWrapped)
{
- name = returnParam.getWrappedElementNames().get(0).getLocalPart();
- type = returnParam.getWrappedTypes().get(0);
+ WrappedParameter wrappedParameter = returnParam.getWrappedParameters().get(0);
+ name = wrappedParameter.getName().getLocalPart();
+ type = wrappedParameter.getType();
}
else
{
@@ -528,16 +337,6 @@
this.javaToXSD.setPackageNamespaceMap(map);
}
- public void setEndpoint(Class cls)
- {
- this.seiClass = cls;
- }
-
- public void setFeatures(Map<String, Boolean> features)
- {
- this.features = features;
- }
-
public void setJavaToXSD(JavaToXSDIntf jxsd)
{
this.javaToXSD = jxsd;
@@ -661,152 +460,4 @@
wsdl.registerNamespaceURI(xmlName.getNamespaceURI(), null);
}
-
- protected String getXMLNameForArray(QName el)
- {
- WSDLUtils utils = WSDLUtils.getInstance();
- String xmlName = "";
- String localpart = el.getLocalPart();
-
- while(localpart.lastIndexOf("Array") > -1)
- {
- xmlName += "arrayOf";
- localpart = utils.chop(localpart, "Array");
- }
- xmlName += localpart;
-
- return xmlName;
- }
-
-
- /**
- * Given a Java class, return the XML Type
- *
- * @param javaType
- * @return
- */
-
- protected QName getXMLSchemaType(Class javaType)
- {
- LiteralTypeMapping ty = javaToXSD.getSchemaCreator().getTypeMapping();
- QName qn = ty.getXMLType(javaType);
- if( qn != null && (qn.getPrefix() == null || qn.getPrefix().length() == 0) )
- {
- String prefix = wsdl.getPrefix(qn.getNamespaceURI());
- if( prefix != null)
- qn = new QName( qn.getNamespaceURI(),qn.getLocalPart(),prefix);
- }
- return qn;
- }
-
- /**
- * Given a XML Type, return the Java class
- *
- * @param xmlType
- * @return
- */
- protected Class getJavaType(QName xmlType)
- {
- LiteralTypeMapping ty = javaToXSD.getSchemaCreator().getTypeMapping();
- return ty.getJavaType(xmlType);
- }
-
- //PRIVATE METHODS
- private boolean needsToolsOverride(Class paramType)
- {
- if(ByteArrayHolder.class == paramType)
- return true;
- return false;
- }
-
- private QName getOverrideQName(Class paramType)
- {
- if(ByteArrayHolder.class == paramType)
- return Constants.TYPE_LITERAL_BASE64BINARY;
- throw new WSException("paramType not recognized");
- }
-
- private void generateWSDLFaults(WSDLInterfaceOperation op, QName xmlName)
- {
- /**
- * Idea behind faults is that there is a fault at the interface level to aid reuse.
- * Operations that define faults just hold a reference to the faults at the interface level.
- */
- WSDLInterface wsdlInterface = op.getWsdlInterface();
- // Check if the fault has already been added to the interface
- WSDLInterfaceFault fault = wsdlInterface.getFault(new NCName(xmlName.getLocalPart()));
- if(fault == null)
- {
- //Add the fault to the interface
- fault = new WSDLInterfaceFault(wsdlInterface);
- fault.setName(new NCName(xmlName.getLocalPart()));
- fault.setXmlName(xmlName);
- wsdlInterface.addFault(fault);
- }
-
- //Now add a operation fault
- WSDLInterfaceOperationOutfault outFault = new WSDLInterfaceOperationOutfault(op);
- outFault.setRef(xmlName);
- op.addOutfault(outFault);
- }
-
- private WSDLInterfaceOperationOutput getWSDLInterfaceOperationOutput(WSDLInterfaceOperation intf, ParameterMetaData pmd)
- {
- QName xmlType = pmd.getXmlType();
- QName xmlName = pmd.getXmlName();
-
- String prefix = wsdl.getPrefix(xmlType.getNamespaceURI());
- WSDLProperty wprop = new WSDLProperty(Constants.WSDL_PROPERTY_RPC_XMLTYPE,
- prefix + ":" + xmlType.getLocalPart());
-
- WSDLInterfaceOperationOutput wsdlInterfaceOperationOutput = new WSDLInterfaceOperationOutput(intf);
- wsdlInterfaceOperationOutput.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_PART_NAME, xmlName.getLocalPart()));
- wsdlInterfaceOperationOutput.setElement(xmlName);
- wsdlInterfaceOperationOutput.setMessageLabel(new NCName("OUT"));
- wsdlInterfaceOperationOutput.addProperty(wprop);
-
- if (pmd.isInHeader())
- wsdlInterfaceOperationOutput.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA, null));
-
- return wsdlInterfaceOperationOutput;
- }
-
- private WSDLInterfaceOperationInput getWSDLInterfaceOperationInput(WSDLInterfaceOperation intf, ParameterMetaData pmd)
- {
- QName xmlType = pmd.getXmlType();
- QName xmlName = pmd.getXmlName();
-
- WSDLInterfaceOperationInput wsdlInput = new WSDLInterfaceOperationInput(intf);
- String prefix = wsdl.getPrefix(xmlType.getNamespaceURI());
- //qn refers to the XMLType
- WSDLProperty wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_RPC_XMLTYPE,
- prefix + ":" + xmlType.getLocalPart());
- wsdlInput.addProperty(wsdlProperty);
- wsdlInput.setElement( xmlName );
- //Plus add a property
- wsdlInput.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_PART_NAME,xmlName.getLocalPart()));
- wsdlInput.setMessageLabel(new NCName("IN"));
-
- if (pmd.isInHeader())
- wsdlInput.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA, null));
-
- return wsdlInput;
- }
-
- private boolean checkAttachmentBasedOperation(OperationMetaData op)
- {
- boolean isAttach = false;
-
- List<ParameterMetaData> params = op.getParameters();
- for(ParameterMetaData param : params)
- {
- if(param.isSwA())
- {
- isAttach = true;
- break;
- }
- }
-
- return isAttach;
- }
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,24 +1,24 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
package org.jboss.ws.tools.helpers;
import java.beans.Introspector;
@@ -61,16 +61,18 @@
import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
import org.jboss.ws.metadata.wsdl.WSDLInterface;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceFault;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceMessageReference;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
-import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationPart;
import org.jboss.ws.metadata.wsdl.WSDLProperty;
+import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
import org.jboss.ws.metadata.wsdl.WSDLService;
import org.jboss.ws.metadata.wsdl.WSDLTypes;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
import org.jboss.ws.metadata.wsdl.xsd.SchemaUtils;
+import org.jboss.ws.tools.RPCSignature;
import org.jboss.ws.tools.ToolsUtils;
import org.jboss.ws.tools.WSToolsConstants;
import org.jboss.ws.tools.mapping.MappingFileGenerator;
@@ -89,7 +91,6 @@
private WSDLDefinitions wsdlDefinitions = null;
private String serviceName = null;
private String packageName = null;
-
private Set<String> registeredTypes = new HashSet<String>();
private LiteralTypeMapping typeMapping = null;
@@ -103,7 +104,7 @@
{
this.wsdlDefinitions = wsdl;
this.serviceName = sname;
- this.packageName = pname;
+ this.packageName = pname;
this.typeMapping = ltm;
this.wsdlStyle = utils.getWSDLStyle(wsdl);
@@ -111,7 +112,8 @@
checkEssentials();
}
- public PackageMapping constructPackageMapping(JavaWsdlMapping jwm, String packageType, String ns)
+ public PackageMapping constructPackageMapping(JavaWsdlMapping jwm,
+ String packageType, String ns)
{
PackageMapping pk = new PackageMapping(jwm);
pk.setPackageType(packageType);
@@ -119,12 +121,13 @@
return pk;
}
+
public ServiceInterfaceMapping constructServiceInterfaceMapping(JavaWsdlMapping jwm, WSDLService ser)
{
serviceName = ser.getName().toString();
String javaServiceName = serviceName;
//Check if the serviceName conflicts with a portType or interface name
- if (wsdlDefinitions.getInterface(new NCName(serviceName)) != null)
+ if(wsdlDefinitions.getInterface(new NCName(serviceName)) != null)
javaServiceName += "_Service";
if (this.serviceName == null || serviceName.length() == 0)
@@ -134,7 +137,7 @@
String prefix = WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_SERVICE_PREFIX;
ServiceInterfaceMapping sim = new ServiceInterfaceMapping(jwm);
sim.setServiceInterface(packageName + "." + javaServiceName);
- sim.setWsdlServiceName(new QName(targetNS, serviceName, prefix));
+ sim.setWsdlServiceName(new QName(targetNS, serviceName, prefix) );
WSDLEndpoint[] endpoints = ser.getEndpoints();
int lenendpoints = 0;
@@ -153,6 +156,7 @@
return sim;
}
+
public void constructServiceEndpointInterfaceMapping(JavaWsdlMapping jwm, WSDLService ser)
{
serviceName = ser.getName().toString();
@@ -180,18 +184,17 @@
ServiceEndpointInterfaceMapping seim = new ServiceEndpointInterfaceMapping(jwm);
seim.setServiceEndpointInterface(packageName + "." + javaPortName);
- seim.setWsdlPortType(new QName(targetNS, portName, "portTypeNS"));
- seim.setWsdlBinding(new QName(targetNS, bindName, "bindingNS"));
+ seim.setWsdlPortType(new QName(targetNS,portName,"portTypeNS"));
+ seim.setWsdlBinding(new QName(targetNS,bindName,"bindingNS"));
constructServiceEndpointMethodMapping(seim, wsdlintf);
jwm.addServiceEndpointInterfaceMappings(seim);
}
}
- public void constructServiceEndpointMethodMapping(ServiceEndpointInterfaceMapping seim, WSDLInterface intf)
+ public void constructServiceEndpointMethodMapping(
+ ServiceEndpointInterfaceMapping seim, WSDLInterface intf )
{
- String targetNS = wsdlDefinitions.getTargetNamespace();
-
WSDLInterfaceOperation[] wioparr = intf.getOperations();
int len = 0;
if (wioparr != null)
@@ -205,143 +208,171 @@
semm.setWsdlOperation(opname);
semm.setWrappedElement(isWrapped());
- constructMethodParamPartsMapping(semm, wiop);
+ if (isDocStyle())
+ constructDOCParameters(semm, wiop);
+ else
+ constructRPCParameters(semm, wiop);
seim.addServiceEndpointMethodMapping(semm);
+ }
+ }
- /**
- * If there are multiple outputs, then the outputs that are after the first one
- * are OUT holders. They are already handled in constructMethodParamPartsMapping.
- * In this section, we have to just check if the first output is a holder. If it
- * is, ignore generating a wsdlReturnValueMapping.
- */
- WSDLInterfaceOperationOutput[] wiopoutarr = wiop.getOutputs();
- WSDLInterfaceOperationOutput wiout = null;
- if (wiopoutarr != null && wiopoutarr.length > 0)
- wiout = wiopoutarr[0];
+ private void constructDOCParameters(ServiceEndpointMethodMapping semm, WSDLInterfaceOperation wiop)
+ {
+ WSDLInterfaceOperationInput win = WSDLUtils.getWsdl11Input(wiop);
+ MethodParamPartsMapping mpin = null;
+ if (win != null)
+ {
+ QName xmlName = win.getElement();
+ QName xmlType = win.getXMLType();
+ String partName = win.getPartName();
+ String wsdlMessageName = win.getMessageName().getLocalPart();
- if (wiout != null)
+ if (isWrapped())
{
- QName xmlName = wiout.getElement();
- QName xmlType = wiout.getXMLType();
+ JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
+ XSTypeDefinition xt = schemaModel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
+ unwrapRequest(semm, wsdlMessageName, xt);
+ }
+ else
+ {
+ mpin = getMethodParamPartsMapping(semm,xmlName, xmlType, 0, wsdlMessageName, "IN", partName, false, true);
+ semm.addMethodParamPartsMapping(mpin);
+ }
+ }
- WSDLProperty wprop = wiout.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME);
- QName messageName = new QName(targetNS, wprop.getValue(), WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_WSDL_MESSAGE_NS);
+ WSDLInterfaceOperationOutput output = WSDLUtils.getWsdl11Output(wiop);
+ if (output != null)
+ {
+ QName xmlType = output.getXMLType();
- if (isWrapped())
- {
- JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
- XSTypeDefinition xt = schemaModel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
- unwrapResponse(semm, messageName, xt);
+ QName messageName = output.getMessageName();
+ if (isWrapped())
+ {
+ JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
+ XSTypeDefinition xt = schemaModel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
+ unwrapResponse(semm, messageName, xt);
+ }
+ else if (win.getElement() != null && win.getElement().equals(output.getElement()))
+ {
+ mpin.getWsdlMessageMapping().setParameterMode("INOUT");
+ }
+ else
+ {
+ WsdlReturnValueMapping wrvm = new WsdlReturnValueMapping(semm);
+ wrvm.setMethodReturnValue(getJavaTypeAsString(output.getElement(), output.getXMLType(), false, true));
+ wrvm.setWsdlMessage(new QName(messageName.getNamespaceURI(), messageName.getLocalPart(), WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_WSDL_MESSAGE_NS));
+ wrvm.setWsdlMessagePartName(output.getPartName());
+ semm.setWsdlReturnValueMapping(wrvm);
+ }
+ }
+ }
- continue;
- }
+ private String getMode(WSDLInterfaceOperation op, String name)
+ {
+ WSDLInterfaceOperationInput in = WSDLUtils.getWsdl11Input(op);
+ WSDLInterfaceOperationOutput out = WSDLUtils.getWsdl11Output(op);
- //Check it is a holder. If it is, return
- if (wiop.getInputByPartName(xmlName.getLocalPart()) != null)
- continue;
+ boolean i = false ,o = false;
+ if (in != null && in.getChildPart(name) != null)
+ i = true;
+ if (out != null && out.getChildPart(name) != null)
+ o = true;
- String javaType = getJavaTypeAsString(xmlName, xmlType, false, true);
+ if (i && o)
+ return "INOUT";
- if (isDocStyle() == false && "void".equals(javaType))
- continue;
+ if (o)
+ return "OUT";
- WsdlReturnValueMapping wrvm = new WsdlReturnValueMapping(semm);
- wrvm.setMethodReturnValue(javaType);
- wrvm.setWsdlMessage(messageName);
- wprop = wiout.getProperty(Constants.WSDL_PROPERTY_PART_NAME);
- wrvm.setWsdlMessagePartName(wprop.getValue());
- semm.setWsdlReturnValueMapping(wrvm);
- }
- }
+ return "IN";
}
- public void constructMethodParamPartsMapping(ServiceEndpointMethodMapping semm, WSDLInterfaceOperation wiop)
+ private void constructRPCParameters(ServiceEndpointMethodMapping semm, WSDLInterfaceOperation wiop)
{
- WSDLInterfaceOperationInput[] wiopinarr = wiop.getInputs();
- int lenwiopin = wiopinarr != null ? wiopinarr.length : 0;
+ WSDLInterfaceOperationInput win = WSDLUtils.getWsdl11Input(wiop);
+ if (win == null)
+ throw new WSException("RPC endpoints require an input message");
+ String wsdlMessageName = win.getMessageName().getLocalPart();
- for (int k = 0; k < lenwiopin; k++)
+ RPCSignature signature = new RPCSignature(wiop);
+ int i = 0;
+ for (WSDLRPCPart part : signature.parameters())
{
- WSDLInterfaceOperationInput win = wiopinarr[k];
- QName xmlName = win.getElement();
- QName xmlType = win.getXMLType();
- String wsdlMessageName = "";
- wsdlMessageName = win.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME).getValue();
- String partName = win.getProperty(Constants.WSDL_PROPERTY_PART_NAME).getValue();
+ String partName = part.getName();
+ QName xmlName = new QName(partName);
+ QName xmlType = part.getType();
- String paramMode = "";
+ MethodParamPartsMapping mpin = getMethodParamPartsMapping(semm,xmlName, xmlType,
+ i++, wsdlMessageName, getMode(wiop, part.getName()), partName, false, true);
- if (wiop.getOutputByPartName(partName) != null)
- paramMode = WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_IN_OUT_HOLDER_PARAM_MODE;
- else paramMode = WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_IN_PARAM_MODE;
+ semm.addMethodParamPartsMapping(mpin);
+ }
- if (isWrapped())
- {
- JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
- XSTypeDefinition xt = schemaModel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
- unwrapRequest(semm, wsdlMessageName, xt);
- break;
- }
+ WSDLRPCPart returnParameter = signature.returnParameter();
+ if (returnParameter != null)
+ {
+ String partName = returnParameter.getName();
+ QName xmlName = new QName(partName);
+ QName xmlType = returnParameter.getType();
- MethodParamPartsMapping mpin = getMethodParamPartsMapping(semm, xmlName, xmlType, k, wsdlMessageName, paramMode, partName, false, true);
- semm.addMethodParamPartsMapping(mpin);
+ WsdlReturnValueMapping wrvm = new WsdlReturnValueMapping(semm);
+ wrvm.setMethodReturnValue(getJavaTypeAsString(xmlName, xmlType, false, true));
+ QName messageName = WSDLUtils.getWsdl11Output(wiop).getMessageName();
+ wrvm.setWsdlMessage(new QName(messageName.getNamespaceURI(), messageName.getLocalPart(), WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_WSDL_MESSAGE_NS));
+ wrvm.setWsdlMessagePartName(partName);
+ semm.setWsdlReturnValueMapping(wrvm);
}
- //Take care of out holders
- WSDLInterfaceOperationOutput[] outs = wiop.getOutputs();
- int lenOuts = outs != null ? outs.length : 0;
- if (lenOuts > 1)
- for (int m = 1; m < lenOuts; m++)
- {
- WSDLInterfaceOperationOutput out = outs[m];
- if (this.isInOutHolder(out))
- continue;
- QName xmlName = out.getElement();
- QName xmlType = out.getXMLType();
- MethodParamPartsMapping mpm = getMethodParamPartsMapping(semm, xmlName, xmlType, lenwiopin + m - 1, out.getProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME)
- .getValue(), WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_OUT_HOLDER_PARAM_MODE, xmlName.getLocalPart(), false, true);
- semm.addMethodParamPartsMapping(mpm);
- }
}
public void constructJavaXmlTypeMapping(JavaWsdlMapping jwm)
{
WSDLInterface[] intfArr = wsdlDefinitions.getInterfaces();
int len = intfArr != null ? intfArr.length : 0;
- for (int i = 0; i < len; i++)
+ for(int i = 0 ; i < len ; i++)
{
WSDLInterface wi = intfArr[i];
WSDLInterfaceOperation[] ops = wi.getOperations();
int lenOps = ops.length;
for (int j = 0; j < lenOps; j++)
{
- WSDLInterfaceOperation op = ops[j];
- WSDLInterfaceOperationInput[] inputs = op.getInputs();
- int lenin = inputs.length;
- for (int k = 0; k < lenin; k++)
+ WSDLInterfaceOperation op = ops[j];
+ for (WSDLInterfaceOperationInput input : op.getInputs())
{
- WSDLInterfaceOperationInput input = inputs[k];
- XSTypeDefinition xt = getXSType(input);
- addJavaXMLTypeMap(xt, input.getElement().getLocalPart(), "", jwm, !isDocStyle());
+ if (isDocStyle())
+ {
+ XSTypeDefinition xt = getXSType( input );
+ addJavaXMLTypeMap(xt, input.getElement().getLocalPart(), "", jwm, false);
+ }
+ else
+ {
+ for (WSDLRPCPart part : input.getChildParts())
+ addJavaXMLTypeMap(getXSType(part.getType()), "", "", jwm, true);
+ }
}
- WSDLInterfaceOperationOutput[] outputs = op.getOutputs();
- int lenout = outputs.length;
- for (int k = 0; k < lenout; k++)
+ for (WSDLInterfaceOperationOutput output : op.getOutputs())
{
- WSDLInterfaceOperationOutput output = outputs[k];
- XSTypeDefinition xt = getXSType(output);
- addJavaXMLTypeMap(xt, output.getElement().getLocalPart(), "", jwm, !isDocStyle());
+ if (isDocStyle())
+ {
+ XSTypeDefinition xt = getXSType( output );
+ addJavaXMLTypeMap(xt, output.getElement().getLocalPart(), "", jwm, false);
+ }
+ else
+ {
+ for (WSDLRPCPart part : output.getChildParts())
+ addJavaXMLTypeMap(getXSType(part.getType()), "", "", jwm, true);
+ }
}
for (WSDLInterfaceFault fault : wi.getFaults())
{
QName xmlType = fault.getXmlType();
- QName xmlName = fault.getXmlName();
+ QName xmlName = fault.getElement();
WSDLTypes types = wsdlDefinitions.getWsdlTypes();
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(types);
- XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
+ XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
addJavaXMLTypeMap(xt, xmlName.getLocalPart(), "", jwm, true);
ExceptionMapping exceptionMapping = new ExceptionMapping(jwm);
@@ -375,7 +406,7 @@
XSObjectList particles = group.getParticles();
for (int i = 0; i < particles.getLength(); i++)
{
- XSParticle particle = (XSParticle)particles.item(i);
+ XSParticle particle = (XSParticle) particles.item(i);
XSTerm term = particle.getTerm();
if (term instanceof XSModelGroup)
{
@@ -416,9 +447,10 @@
throw new WSException("Only a sequence type can be unwrapped.");
XSObjectList particles = group.getParticles();
+ String returnType = null;
for (int i = 0; i < particles.getLength(); i++)
{
- XSParticle particle = (XSParticle)particles.item(i);
+ XSParticle particle = (XSParticle) particles.item(i);
XSTerm term = particle.getTerm();
if (term instanceof XSModelGroup)
{
@@ -431,11 +463,13 @@
QName xmlName = new QName(element.getNamespace(), element.getName());
QName xmlType = new QName(element.getTypeDefinition().getNamespace(), element.getTypeDefinition().getName());
boolean array = particle.getMaxOccursUnbounded() || particle.getMaxOccurs() > 1;
+ StringBuilder buf = new StringBuilder();
+
String javaType = getJavaTypeAsString(xmlName, xmlType, array, !element.getNillable());
WsdlReturnValueMapping wrvm = new WsdlReturnValueMapping(methodMapping);
wrvm.setMethodReturnValue(javaType);
- wrvm.setWsdlMessage(messageName);
+ wrvm.setWsdlMessage(new QName(messageName.getNamespaceURI(), messageName.getLocalPart(), WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_WSDL_MESSAGE_NS));
wrvm.setWsdlMessagePartName(xmlName.getLocalPart());
methodMapping.setWsdlReturnValueMapping(wrvm);
@@ -446,22 +480,24 @@
return false;
}
+
+
private void checkEssentials()
{
- if (typeMapping == null)
+ if(typeMapping == null)
throw new WSException("typeMapping is null");
}
- private XSTypeDefinition getXSType(WSDLInterfaceOperationPart part)
+ private XSTypeDefinition getXSType(WSDLInterfaceMessageReference part)
{
//Check if there are any custom properties
- WSDLInterfaceOperation op = part.getWsdlOperation();
+ WSDLInterfaceOperation op = part.getWsdlOperation();
String zeroarg1 = null;
String zeroarg2 = null;
WSDLProperty prop1 = op.getProperty(Constants.WSDL_PROPERTY_ZERO_ARGS);
if (prop1 != null)
zeroarg1 = prop1.getValue();
- if (zeroarg1 != null && zeroarg2 != null && zeroarg1.equals(zeroarg2) == false)
+ if(zeroarg1 != null && zeroarg2 != null && zeroarg1.equals(zeroarg2) == false)
return null;
if (zeroarg1 != null && "true".equals(zeroarg1))
return null;
@@ -470,30 +506,37 @@
WSDLTypes types = wsdlDefinitions.getWsdlTypes();
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(types);
- return xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
+ return xsmodel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
}
+ private XSTypeDefinition getXSType(QName xmlType)
+ {
+ WSDLTypes types = wsdlDefinitions.getWsdlTypes();
+ JBossXSModel xsmodel = WSDLUtils.getSchemaModel(types);
+ return xsmodel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
+ }
+
private void addJavaXMLTypeMap(XSTypeDefinition xt,String name, String containingElement, JavaWsdlMapping jwm, boolean skipWrapperArray)
{
JavaXmlTypeMapping jxtm = null;
- if (xt instanceof XSComplexTypeDefinition)
+ if(xt instanceof XSComplexTypeDefinition)
{
XSModelGroup xm = null;
XSComplexTypeDefinition xc = (XSComplexTypeDefinition)xt;
- if (xc.getContentType() != XSComplexTypeDefinition.CONTENTTYPE_EMPTY)
+ if(xc.getContentType() != XSComplexTypeDefinition.CONTENTTYPE_EMPTY)
{
XSParticle xp = xc.getParticle();
if (xp != null)
{
XSTerm xterm = xp.getTerm();
- if (xterm instanceof XSModelGroup)
+ if(xterm instanceof XSModelGroup)
xm = (XSModelGroup)xterm;
}
}
- if (!(skipWrapperArray && isRepresentsArray(xt)))
+ if ((skipWrapperArray && isRepresentsArray(xt)) == false)
{
jxtm = new JavaXmlTypeMapping(jwm);
String javaType;
@@ -547,18 +590,19 @@
// Add enum simpleType support
}
+
private void addVariableMappingMap(XSModelGroup xm, JavaXmlTypeMapping jxtm, String javaType)
{
XSObjectList xo = xm.getParticles();
int len = xo != null ? xo.getLength() : 0;
for (int i = 0; i < len; i++)
{
- XSTerm xsterm = ((XSParticle)xo.item(i)).getTerm();
+ XSTerm xsterm = ((XSParticle) xo.item(i)).getTerm();
if (xsterm instanceof XSModelGroup)
- addVariableMappingMap((XSModelGroup)xsterm, jxtm, javaType);
+ addVariableMappingMap((XSModelGroup) xsterm, jxtm, javaType);
else if (xsterm instanceof XSElementDeclaration)
{
- XSElementDeclaration xe = (XSElementDeclaration)xsterm;
+ XSElementDeclaration xe = (XSElementDeclaration) xsterm;
VariableMapping vm = new VariableMapping(jxtm);
String name = xe.getName();
// JBWS-1170 Convert characters which are illegal in Java identifiers
@@ -590,14 +634,14 @@
{
XSObjectList xo = xm.getParticles();
int len = xo != null ? xo.getLength() : 0;
- for (int i = 0; i < len; i++)
+ for(int i = 0; i < len ; i++)
{
XSTerm xsterm = ((XSParticle)xo.item(i)).getTerm();
- if (xsterm instanceof XSModelGroup)
+ if(xsterm instanceof XSModelGroup)
{
addGroup((XSModelGroup)xsterm, jwm);
}
- else if (xsterm instanceof XSElementDeclaration)
+ else if(xsterm instanceof XSElementDeclaration)
{
XSElementDeclaration xe = (XSElementDeclaration)xsterm;
XSTypeDefinition typeDefinition = xe.getTypeDefinition();
@@ -611,10 +655,10 @@
String jtype = null;
String arraySuffix = (array) ? "[]" : "";
- if (!isDocStyle())
+ if (! isDocStyle())
{
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
- XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
+ XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(),xmlType.getNamespaceURI());
XSElementDeclaration unwrapped = SchemaUtils.unwrapArrayType(xt);
StringBuilder builder = new StringBuilder();
@@ -639,13 +683,14 @@
* Special case - when qname=xsd:anyType && javaType == Element
* then cls has to be javax.xml.soap.SOAPElement
*/
- if (xmlType.getNamespaceURI().equals(Constants.NS_SCHEMA_XSD) && "anyType".equals(xmlType.getLocalPart()) && javaType == Element.class)
+ if( xmlType.getNamespaceURI().equals(Constants.NS_SCHEMA_XSD)
+ && "anyType".equals(xmlType.getLocalPart()) && javaType == Element.class)
javaType = SOAPElement.class;
- javaType = this.makeCustomDecisions(javaType, xmlName, xmlType);
+ javaType = this.makeCustomDecisions(javaType,xmlName,xmlType);
- if (javaType == null)
+ if(javaType == null)
{
- log.debug("Typemapping lookup failed for " + xmlName);
+ log.debug("Typemapping lookup failed for "+xmlName);
log.debug("Falling back to identifier generation");
String className = xmlType.getLocalPart();
if (className.charAt(0) == '>')
@@ -655,11 +700,12 @@
else
{
//Handle arrays
- if (javaType.isArray())
+ if(javaType.isArray())
{
jtype = JavaUtils.getSourceName(javaType);
}
- else jtype = javaType.getName();
+ else
+ jtype = javaType.getName();
}
return jtype + arraySuffix;
@@ -676,13 +722,13 @@
* @param xst
* @return true: type represents an array
*/
- private boolean isRepresentsArray(XSTypeDefinition xst)
+ private boolean isRepresentsArray( XSTypeDefinition xst)
{
boolean bool = false;
- if (xst instanceof XSComplexTypeDefinition)
+ if( xst instanceof XSComplexTypeDefinition)
{
XSComplexTypeDefinition xc = (XSComplexTypeDefinition)xst;
- if (xc.getContentType() == XSComplexTypeDefinition.CONTENTTYPE_EMPTY)
+ if(xc.getContentType() == XSComplexTypeDefinition.CONTENTTYPE_EMPTY)
return false;
XSParticle xsp = xc.getParticle();
@@ -690,11 +736,11 @@
return false;
XSTerm xsterm = xsp.getTerm();
- if (xsterm instanceof XSModelGroup)
+ if(xsterm instanceof XSModelGroup)
{
XSModelGroup xm = (XSModelGroup)xsterm;
XSObjectList xo = xm.getParticles();
- if (xo.getLength() == 1)
+ if(xo.getLength() == 1)
{
XSParticle xp = (XSParticle)xo.item(0);
bool = xp.getMaxOccursUnbounded() || xp.getMaxOccurs() > 1;
@@ -711,11 +757,12 @@
* @param xmlName
* @param xmlType
*/
- private Class makeCustomDecisions(Class javaType, QName xmlName, QName xmlType)
+ private Class makeCustomDecisions( Class javaType, QName xmlName, QName xmlType)
{
- if (javaType != null && xmlType != null)
+ if(javaType != null && xmlType != null)
{
- if (Byte[].class == javaType && Constants.NS_SCHEMA_XSD.equals(xmlType.getNamespaceURI()) && "base64Binary".equals(xmlType.getLocalPart()))
+ if(Byte[].class == javaType && Constants.NS_SCHEMA_XSD.equals(xmlType.getNamespaceURI())
+ && "base64Binary".equals(xmlType.getLocalPart()))
javaType = byte[].class;
}
return javaType;
@@ -726,19 +773,10 @@
return "wrapped".equals(parameterStyle) && Constants.DOCUMENT_LITERAL.equals(wsdlStyle);
}
- private boolean isInOutHolder(WSDLInterfaceOperationOutput wout)
+ private MethodParamPartsMapping getMethodParamPartsMapping(ServiceEndpointMethodMapping semm,
+ QName xmlName, QName xmlType,
+ int paramPosition, String wsdlMessageName, String paramMode, String wsdlMessagePartName, boolean array, boolean primitive)
{
- //Now check if the part exists in both input and output => Need Holder
- WSDLInterfaceOperation op = wout.getWsdlOperation();
- QName el = wout.getElement();
-
- WSDLInterfaceOperationInput inp = op.getInput(el);
- return inp != null;
- }
-
- private MethodParamPartsMapping getMethodParamPartsMapping(ServiceEndpointMethodMapping semm, QName xmlName, QName xmlType, int paramPosition,
- String wsdlMessageName, String paramMode, String wsdlMessagePartName, boolean array, boolean primitive)
- {
String targetNS = wsdlDefinitions.getTargetNamespace();
MethodParamPartsMapping mppm = new MethodParamPartsMapping(semm);
mppm.setParamPosition(paramPosition);
@@ -749,8 +787,8 @@
WsdlMessageMapping wmm = new WsdlMessageMapping(mppm);
wmm.setParameterMode(paramMode);
String wsdlNS = WSToolsConstants.WSTOOLS_CONSTANT_MAPPING_WSDL_MESSAGE_NS;
- wmm.setWsdlMessage(new QName(targetNS, wsdlMessageName, wsdlNS));
- wmm.setWsdlMessagePartName(wsdlMessagePartName);
+ wmm.setWsdlMessage(new QName(targetNS,wsdlMessageName, wsdlNS));
+ wmm.setWsdlMessagePartName( wsdlMessagePartName );
mppm.setWsdlMessageMapping(wmm);
return mppm;
}
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/ReformatXML.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/helpers/ReformatXML.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/ReformatXML.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,62 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.ws.tools.helpers;
+
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.InputStream;
+
+import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.core.utils.DOMWriter;
+import org.w3c.dom.Element;
+
+
+/**
+ * @author Heiko Braun <heiko.braun at jboss.com>
+ * @version $Id: ReformatXML.java 1600 2006-12-07 10:43:36Z thomas.diesler at jboss.com $
+ * @since Sep 27, 2006
+ */
+public class ReformatXML {
+
+ public static void main(String[] args) throws Exception
+ {
+ if(args.length == 0)
+ throw new IllegalArgumentException("Please specify a filename");
+
+ ReformatXML formatter = new ReformatXML();
+ try
+ {
+ FileInputStream in = new FileInputStream(args[0]);
+ System.out.println( formatter.reformat(in));
+ }
+ catch (FileNotFoundException e)
+ {
+ System.err.println("Failed to read from file " + args[0] +": "+e.getMessage());
+ }
+ }
+
+ public String reformat(InputStream in) throws Exception
+ {
+ Element root = DOMUtils.parse(in);
+ return DOMWriter.printNode(root, true);
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/ReformatXML.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/ToolsHelper.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/helpers/ToolsHelper.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/helpers/ToolsHelper.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -51,6 +51,7 @@
import org.jboss.ws.metadata.umdm.ParameterMetaData;
import org.jboss.ws.metadata.umdm.ServiceMetaData;
import org.jboss.ws.metadata.umdm.UnifiedMetaData;
+import org.jboss.ws.metadata.umdm.WrappedParameter;
import org.jboss.ws.metadata.wsdl.NCName;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.metadata.wsdl.WSDLService;
@@ -213,17 +214,16 @@
private void createWrapperType(ParameterMetaData parameter, String name, String packageName, Map<QName, JavaXmlTypeMapping> mappingIndex, ClassLoader classLoader,
String outDir) throws IOException
{
- List<String> wrappedVariables = parameter.getWrappedVariables();
+ List<WrappedParameter> wrappedParameters = parameter.getWrappedParameters();
- if (wrappedVariables.size() == 0)
+ if (wrappedParameters == null)
return;
List<VAR> vars = new ArrayList<VAR>();
- List<String> wrappedTypes = parameter.getWrappedTypes();
- for (int i = 0; i < wrappedVariables.size(); i++)
+ for (WrappedParameter wrapped : wrappedParameters)
{
- String typeName = JavaUtils.convertJVMNameToSourceName(wrappedTypes.get(i), classLoader);
- vars.add(new VAR(wrappedVariables.get(i), typeName, false));
+ String typeName = JavaUtils.convertJVMNameToSourceName(wrapped.getType(), classLoader);
+ vars.add(new VAR(wrapped.getVariable(), typeName, false));
}
JavaWriter writer = new JavaWriter();
@@ -298,7 +298,7 @@
wsdl = wsdlToJava.convertWSDL2Java(wsdlURL);
if (glc != null)
- wsdlToJava.setPackageNamespaceMap(glc.packageNamespaceMap);
+ wsdlToJava.setNamespacePackageMap(glc.packageNamespaceMap);
wsdlToJava.setParameterStyle(w2jc.parameterStyle);
wsdlToJava.generateSEI(wsdl, new File(outDir));
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/interfaces/WSDLToJavaIntf.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/interfaces/WSDLToJavaIntf.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/interfaces/WSDLToJavaIntf.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -91,7 +91,7 @@
*
* @param map
*/
- public void setPackageNamespaceMap(Map<String,String> map);
+ public void setNamespacePackageMap(Map<String,String> map);
/**
* The client can provide a type mapping
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/interfaces/WSDotXMLCreatorIntf.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/interfaces/WSDotXMLCreatorIntf.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/interfaces/WSDotXMLCreatorIntf.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,29 +1,29 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.ws.tools.interfaces;
import java.io.File;
import java.io.IOException;
-
+
/**
* Defines the contract for webservices.xml creating agents
* @author <mailto:Anil.Saldhana at jboss.org>Anil Saldhana
@@ -31,60 +31,55 @@
*/
public interface WSDotXMLCreatorIntf
-{
-
+{
+
/**
* Generate the webservices.xml file
* @throws IOException
*/
- public void generateWSXMLDescriptor(File file) throws IOException;
-
+ public void generateWSXMLDescriptor(File file) throws IOException;
/**
* @param targetNamespace The targetNamespace to set.
*/
- public void setTargetNamespace(String targetNamespace);
-
+ public void setTargetNamespace(String targetNamespace);
/**
* @param seiName The seiName to set.
*/
- public void setSeiName(String seiName);
-
+ public void setSeiName(String seiName);
/**
* @param portName The portName to set.
*/
- public void setPortName(String portName);
-
+ public void setPortName(String portName);
/**
* @param serviceName The serviceName to set.
*/
public void setServiceName(String serviceName);
-
/**
* @param ejbLink The ejbLink to set.
*/
- public void setEjbLink(String ejbLink);
-
+ public void setEjbLink(String ejbLink);
/**
* @param servletLink The servletLink to set.
*/
- public void setServletLink(String servletLink);
-
+ public void setServletLink(String servletLink);
+
/**
* @param mappingFileEntry The mapping file entry
*/
public void setMappingFile(String mappingFileEntry);
-
+
/**
*
* @param wsdlFileEntry The wsdl-file entry
*/
public void setWsdlFile(String wsdlFileEntry);
+
/**
*
* @param append add ws descriptions to existing webservices.xml file, if any
Added: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/jaxws/WSDLGenerator.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/jaxws/WSDLGenerator.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/jaxws/WSDLGenerator.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,332 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.tools.jaxws;
+
+import java.util.Iterator;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
+
+import org.jboss.ws.Constants;
+import org.jboss.ws.core.jaxrpc.Style;
+import org.jboss.ws.metadata.umdm.EndpointMetaData;
+import org.jboss.ws.metadata.umdm.FaultMetaData;
+import org.jboss.ws.metadata.umdm.OperationMetaData;
+import org.jboss.ws.metadata.umdm.ParameterMetaData;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.wsdl.NCName;
+import org.jboss.ws.metadata.wsdl.WSDLBinding;
+import org.jboss.ws.metadata.wsdl.WSDLBindingFault;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperationInput;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
+import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
+import org.jboss.ws.metadata.wsdl.WSDLImport;
+import org.jboss.ws.metadata.wsdl.WSDLInterface;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceFault;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutfault;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem;
+import org.jboss.ws.metadata.wsdl.WSDLSOAPHeader;
+import org.jboss.ws.metadata.wsdl.WSDLService;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem.Direction;
+
+
+/**
+ * Generates a WSDL object model.
+ *
+ * @author <a href="mailto:jason.greene at jboss.com">Jason T. Greene</a>
+ * @version $Revision: 1600 $
+ */
+public abstract class WSDLGenerator
+{
+ protected WSDLDefinitions wsdl;
+
+ protected abstract void processTypes();
+
+ protected void processEndpoint(WSDLService service, EndpointMetaData endpoint)
+ {
+ WSDLEndpoint wsdlEndpoint = new WSDLEndpoint(service);
+ wsdlEndpoint.setQName(endpoint.getQName());
+ wsdlEndpoint.setName(new NCName(endpoint.getQName().getLocalPart()));
+ String address = endpoint.getEndpointAddress();
+ wsdlEndpoint.setAddress(address == null ? "REPLACE_WITH_ACTUAL_URL" : address);
+ service.addEndpoint(wsdlEndpoint);
+
+ WSDLInterface wsdlInterface = new WSDLInterface(wsdl);
+ QName interfaceQName = endpoint.getInterfaceQName();
+ wsdlInterface.setQName(interfaceQName);
+ wsdlInterface.setName(new NCName(interfaceQName));
+ wsdl.addInterface(wsdlInterface);
+
+ // Add imports
+ if (!interfaceQName.getNamespaceURI().equals(endpoint.getServiceMetaData().getServiceName().getNamespaceURI()))
+ {
+ WSDLImport wsdlImport = new WSDLImport(wsdl);
+ wsdlImport.setLocation(interfaceQName.getLocalPart() + "_PortType");
+ wsdlImport.setNamespace(interfaceQName.getNamespaceURI());
+ wsdl.addImport(wsdlImport);
+ wsdl.registerNamespaceURI(interfaceQName.getNamespaceURI(), null);
+ }
+
+ WSDLBinding wsdlBinding = new WSDLBinding(wsdl);
+ QName bindingQName = new QName(interfaceQName.getNamespaceURI(), interfaceQName.getLocalPart() + "Binding");
+ wsdlBinding.setQName(bindingQName);
+ wsdlBinding.setName(new NCName(bindingQName.getLocalPart()));
+ wsdlBinding.setInterfaceName(interfaceQName);
+ wsdl.addBinding(wsdlBinding);
+ wsdlEndpoint.setBinding(bindingQName);
+
+ for (OperationMetaData operation : endpoint.getOperations())
+ {
+ processOperation(wsdlInterface, wsdlBinding, operation);
+ }
+ }
+
+ protected void processOperation(WSDLInterface wsdlInterface, WSDLBinding wsdlBinding, OperationMetaData operation)
+ {
+ WSDLInterfaceOperation interfaceOperation = new WSDLInterfaceOperation(wsdlInterface);
+ WSDLBindingOperation bindingOperation = new WSDLBindingOperation(wsdlBinding);
+
+ interfaceOperation.setName(new NCName(operation.getQName().getLocalPart()));
+ interfaceOperation.setPattern(operation.isOneWay() ? Constants.WSDL20_PATTERN_IN_ONLY
+ : Constants.WSDL20_PATTERN_IN_OUT);
+
+ bindingOperation.setRef(operation.getQName());
+ bindingOperation.setSOAPAction(operation.getSOAPAction());
+
+ if (operation.getStyle() == Style.DOCUMENT)
+ processOperationDOC(interfaceOperation, bindingOperation, operation);
+ else
+ processOperationRPC(interfaceOperation, bindingOperation, operation);
+
+ for (FaultMetaData fault : operation.getFaults())
+ {
+ WSDLInterfaceFault interfaceFault = new WSDLInterfaceFault(wsdlInterface);
+ interfaceFault.setElement(fault.getXmlName());
+ interfaceFault.setName(new NCName(fault.getXmlName().getLocalPart()));
+ wsdlInterface.addFault(interfaceFault);
+
+ QName ref = new QName(wsdl.getTargetNamespace(), interfaceFault.getName().toString());
+ WSDLInterfaceOperationOutfault outfault = new WSDLInterfaceOperationOutfault(interfaceOperation);
+ outfault.setRef(ref);
+ interfaceOperation.addOutfault(outfault);
+
+ WSDLBindingFault bindingFault = new WSDLBindingFault(wsdlBinding);
+ bindingFault.setRef(ref);
+ wsdlBinding.addFault(bindingFault);
+ }
+
+ wsdlInterface.addOperation(interfaceOperation);
+ wsdlBinding.addOperation(bindingOperation);
+ }
+
+ protected void addSignatureItem(WSDLInterfaceOperation operation, ParameterMetaData param, boolean isReturn)
+ {
+ Direction direction;
+ if (isReturn)
+ {
+ direction = Direction.RETURN;
+ }
+ else if (param.getMode() == ParameterMode.INOUT)
+ {
+ direction = Direction.INOUT;
+ }
+ else if (param.getMode() == ParameterMode.OUT)
+ {
+ direction = Direction.OUT;
+ }
+ else
+ {
+ direction = Direction.IN;
+ }
+
+ operation.addRpcSignatureItem(new WSDLRPCSignatureItem(param.getPartName(), direction));
+ }
+
+ protected void processOperationDOC(WSDLInterfaceOperation interfaceOperation, WSDLBindingOperation bindingOperation, OperationMetaData operation)
+ {
+ interfaceOperation.setStyle(Constants.URI_STYLE_IRI);
+
+ WSDLInterfaceOperationInput input = new WSDLInterfaceOperationInput(interfaceOperation);
+ WSDLBindingOperationInput bindingInput = new WSDLBindingOperationInput(bindingOperation);
+
+ WSDLInterfaceOperationOutput output = null;
+ WSDLBindingOperationOutput bindingOutput = null;
+
+ boolean twoWay = !operation.isOneWay();
+ if (twoWay)
+ {
+ output = new WSDLInterfaceOperationOutput(interfaceOperation);
+ bindingOutput = new WSDLBindingOperationOutput(bindingOperation);
+
+ ParameterMetaData returnParameter = operation.getReturnParameter();
+ if (returnParameter != null)
+ {
+ output.setElement(returnParameter.getXmlName());
+ output.setPartName(returnParameter.getPartName());
+ addSignatureItem(interfaceOperation, returnParameter, true);
+ }
+
+ // If there is no return parameter, it will be set later with an INOUT or OUT parameter
+ interfaceOperation.addOutput(output);
+ bindingOperation.addOutput(bindingOutput);
+ }
+
+ for (ParameterMetaData param : operation.getParameters())
+ {
+ if (param.isInHeader())
+ {
+ WSDLSOAPHeader header = new WSDLSOAPHeader(param.getXmlName(), param.getPartName());
+ header.setIncludeInSignature(true);
+ if (param.getMode() != ParameterMode.OUT)
+ bindingInput.addSoapHeader(header);
+ if (twoWay && param.getMode() != ParameterMode.IN)
+ bindingOutput.addSoapHeader(header);
+ }
+ else
+ {
+ if (param.getMode() != ParameterMode.OUT)
+ {
+ input.setElement(param.getXmlName());
+ input.setPartName(param.getPartName());
+ }
+ if (twoWay && param.getMode() != ParameterMode.IN)
+ {
+ output.setElement(param.getXmlName());
+ output.setPartName(param.getPartName());
+ }
+ }
+ addSignatureItem(interfaceOperation, param, false);
+ }
+
+ interfaceOperation.addInput(input);
+ bindingOperation.addInput(bindingInput);
+ }
+
+ protected void processOperationRPC(WSDLInterfaceOperation interfaceOperation, WSDLBindingOperation bindingOperation, OperationMetaData operation)
+ {
+ interfaceOperation.setStyle(Constants.URI_STYLE_RPC);
+
+ WSDLInterfaceOperationInput input = new WSDLInterfaceOperationInput(interfaceOperation);
+ WSDLBindingOperationInput bindingInput = new WSDLBindingOperationInput(bindingOperation);
+ QName operationName = operation.getQName();
+ input.setElement(operationName);
+
+ WSDLInterfaceOperationOutput output = null;
+ WSDLBindingOperationOutput bindingOutput = null;
+
+ boolean twoWay = !operation.isOneWay();
+ if (twoWay)
+ {
+ output = new WSDLInterfaceOperationOutput(interfaceOperation);
+ bindingOutput = new WSDLBindingOperationOutput(bindingOperation);
+ output.setElement(new QName(operationName.getNamespaceURI(), operationName.getLocalPart() + "Response"));
+
+ ParameterMetaData returnParam = operation.getReturnParameter();
+ if (returnParam != null)
+ {
+ WSDLRPCPart part = new WSDLRPCPart(returnParam.getPartName(), returnParam.getXmlType());
+ output.addChildPart(part);
+ addSignatureItem(interfaceOperation, returnParam, true);
+ }
+
+ interfaceOperation.addOutput(output);
+ bindingOperation.addOutput(bindingOutput);
+ }
+
+ for (ParameterMetaData param : operation.getParameters())
+ {
+ if (param.isInHeader())
+ {
+ WSDLSOAPHeader header = new WSDLSOAPHeader(param.getXmlName(), param.getPartName());
+ header.setIncludeInSignature(true);
+ if (param.getMode() != ParameterMode.OUT)
+ bindingInput.addSoapHeader(header);
+ if (twoWay && param.getMode() != ParameterMode.IN)
+ bindingOutput.addSoapHeader(header);
+ }
+ else
+ {
+ WSDLRPCPart part = new WSDLRPCPart(param.getPartName(), param.getXmlType());
+ if (param.getMode() != ParameterMode.OUT)
+ input.addChildPart(part);
+ if (twoWay && param.getMode() != ParameterMode.IN)
+ output.addChildPart(part);
+ }
+ addSignatureItem(interfaceOperation, param, false);
+ }
+
+ interfaceOperation.addInput(input);
+ bindingOperation.addInput(bindingInput);
+ }
+
+ protected void processService(ServiceMetaData service)
+ {
+
+ WSDLService wsdlService = new WSDLService(wsdl);
+ wsdlService.setQName(service.getServiceName());
+ wsdlService.setName(new NCName(service.getServiceName().getLocalPart()));
+ wsdl.addService(wsdlService);
+
+ EndpointMetaData endpoint = null;
+ for (Iterator<EndpointMetaData> iter = service.getEndpoints().iterator(); iter.hasNext();)
+ {
+ endpoint = iter.next();
+ processEndpoint(wsdlService, endpoint);
+ }
+
+ if (endpoint == null)
+ throw new IllegalStateException("A service must have an endpoint");
+
+ wsdlService.setInterfaceName(endpoint.getQName());
+ }
+
+ /**
+ * Generate a WSDL object model from the passed in ServiceMetaData.
+ *
+ * @param service the service
+ * @return the WSDL object model
+ */
+ public WSDLDefinitions generate(ServiceMetaData service)
+ {
+ // For now only WSDL 1.1
+ wsdl = new WSDLDefinitions();
+ wsdl.setWsdlNamespace(Constants.NS_WSDL11);
+
+ // One WSDL per service
+ String ns = service.getServiceName().getNamespaceURI();
+ wsdl.setTargetNamespace(ns);
+ wsdl.registerNamespaceURI(ns, "tns");
+ wsdl.registerNamespaceURI(Constants.NS_SOAP11, "soap");
+ wsdl.registerNamespaceURI(Constants.NS_SCHEMA_XSD, "xsd");
+
+ processTypes();
+ processService(service);
+
+ return wsdl;
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/jaxws/WSDLGenerator.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/mapping/MappingFileGenerator.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/mapping/MappingFileGenerator.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/mapping/MappingFileGenerator.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -172,8 +172,8 @@
*/
public JavaWsdlMapping generate() throws IOException
{
- MappingFileGeneratorHelper helper = new MappingFileGeneratorHelper(this.wsdlDefinitions, this.serviceName, this.packageName, this.serviceEndpointInterface,
- this.typeNamespace, this.typeMapping, this.parameterStyle);
+ MappingFileGeneratorHelper helper = new MappingFileGeneratorHelper(wsdlDefinitions, serviceName, packageName, serviceEndpointInterface,
+ typeNamespace, typeMapping, parameterStyle);
String targetNS = wsdlDefinitions.getTargetNamespace();
if (typeNamespace == null)
typeNamespace = targetNS;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ReflectiveMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/metadata/ReflectiveMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ReflectiveMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,6 +24,7 @@
import java.lang.reflect.Method;
import java.rmi.Remote;
import java.rmi.RemoteException;
+import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -40,6 +41,7 @@
import org.jboss.ws.metadata.umdm.FaultMetaData;
import org.jboss.ws.metadata.umdm.OperationMetaData;
import org.jboss.ws.metadata.umdm.ParameterMetaData;
+import org.jboss.ws.metadata.umdm.WrappedParameter;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
import org.jboss.ws.tools.ToolsUtils;
import org.jboss.ws.tools.Configuration.OperationConfig;
@@ -144,21 +146,27 @@
OperationMetaData om = getOperationMetaData(m);
OperationConfig opc = getOperationConfig(methodname, m.getParameterTypes());
if (opc != null)
- om.setOneWayOperation(opc.isOneWay);
+ om.setOneWay(opc.isOneWay);
ParameterMetaData wrappedParameter = null;
+ List<WrappedParameter> wrappedParameters = null;
+
if (om.isDocumentWrapped())
{
QName xmlName = new QName(tmd.typeNamespace, om.getQName().getLocalPart());
QName xmlType = xmlName;
wrappedParameter = new ParameterMetaData(om, xmlName, xmlType, null);
+ wrappedParameters = new ArrayList<WrappedParameter>(len);
+ wrappedParameter.setWrappedParameters(wrappedParameters);
+
om.addParameter(wrappedParameter);
- if (! om.isOneWayOperation())
+ if (! om.isOneWay())
{
xmlType = xmlName = new QName(tmd.typeNamespace, om.getResponseName().getLocalPart());
ParameterMetaData retMetaData = new ParameterMetaData(om, xmlName, xmlType, null);
+ retMetaData.setWrappedParameters(new ArrayList<WrappedParameter>(0));
om.setReturnParameter(retMetaData);
}
}
@@ -174,10 +182,8 @@
if (om.isDocumentWrapped() && !isHeaderParameter(opc, i))
{
- wrappedParameter.getWrappedTypes().add(paramType.getName());
QName xmlName = getXmlName(paramType, opc, i, null);
- wrappedParameter.getWrappedElementNames().add(xmlName);
- wrappedParameter.getWrappedVariables().add(convertToProperty(xmlName.getLocalPart()));
+ wrappedParameters.add(new WrappedParameter(xmlName, paramType.getName(), convertToProperty(xmlName.getLocalPart()), i));
}
else
{
@@ -196,10 +202,9 @@
{
QName name = getReturnXmlName(opc, null);
+ WrappedParameter wrapped = new WrappedParameter(name, returnType.getName(), convertToProperty(name.getLocalPart()), -1);
ParameterMetaData retMetaData = om.getReturnParameter();
- retMetaData.getWrappedVariables().add(name.getLocalPart());
- retMetaData.getWrappedTypes().add(returnType.getName());
- retMetaData.getWrappedElementNames().add(name);
+ retMetaData.getWrappedParameters().add(wrapped);
}
else
{
@@ -210,7 +215,7 @@
if (om.isDocumentWrapped())
{
ParameterWrapping.generateWrapper(wrappedParameter, false);
- if (! om.isOneWayOperation())
+ if (! om.isOneWay())
ParameterWrapping.generateWrapper(om.getReturnParameter(), false);
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsAnnotationMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/metadata/ToolsAnnotationMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsAnnotationMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -135,7 +135,7 @@
//Oneway annotation
Oneway ow = m.getAnnotation(Oneway.class);
if(ow != null)
- om.setOneWayOperation(true);
+ om.setOneWay(true);
Class ret = m.getReturnType();
ParameterMetaData retPmd = getParameterMetaDataForReturnType(ret, om, 1);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsEndpointMetaData.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/metadata/ToolsEndpointMetaData.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsEndpointMetaData.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -37,11 +37,12 @@
public class ToolsEndpointMetaData extends EndpointMetaData
{
public String typeNamespace;
- public ToolsEndpointMetaData(ServiceMetaData service, QName portName)
+
+ public ToolsEndpointMetaData(ServiceMetaData service, QName name, QName interfaceQName)
{
- super(service, portName, Type.JAXRPC);
+ super(service, name, interfaceQName, Type.JAXRPC);
}
-
+
@Override
public Object getEndpointConfig()
{
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsUnifiedMetaDataBuilder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/metadata/ToolsUnifiedMetaDataBuilder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/metadata/ToolsUnifiedMetaDataBuilder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -90,8 +90,7 @@
if (serviceName == null)
serviceName = seiName + "Service";
- String portName = seiName + "Port";
- um.addService(getServiceMetaData(um, targetNamespace, serviceName, portName, seiClass));
+ um.addService(getServiceMetaData(um, targetNamespace, serviceName, seiName, seiClass));
generateOperationMetaData(seiClass);
}
@@ -107,10 +106,12 @@
em = rmb.generate();
}
- private ServiceMetaData getServiceMetaData(UnifiedMetaData um, String targetNamespace, String serviceName, String portName, Class seiClass)
+ private ServiceMetaData getServiceMetaData(UnifiedMetaData um, String targetNamespace, String serviceName, String portTypeName, Class seiClass)
{
- ServiceMetaData sm = new ServiceMetaData(um, new QName(targetNamespace, serviceName));
- ToolsEndpointMetaData tm = new ToolsEndpointMetaData(sm, new QName(targetNamespace, portName));
+ ServiceMetaData sm = new ServiceMetaData(um, new QName(targetNamespace,serviceName));
+ QName name = new QName(targetNamespace, portTypeName + "Port");
+ QName interfaceName = new QName(targetNamespace, portTypeName);
+ ToolsEndpointMetaData tm = new ToolsEndpointMetaData(sm, name, interfaceName);
tm.typeNamespace = typeNamespace;
tm.setServiceEndpointInterfaceName(seiClass.getName());
tm.setStyle(style);
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11DefinitionFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/wsdl/WSDL11DefinitionFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11DefinitionFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,25 +21,21 @@
*/
package org.jboss.ws.tools.wsdl;
-// $Id: WSDL11DefinitionFactory.java 906 2006-09-06 18:57:40Z thomas.diesler at jboss.com $
+// $Id: WSDL11DefinitionFactory.java 1600 2006-12-07 10:43:36Z thomas.diesler at jboss.com $
-import org.jboss.logging.Logger;
-import org.jboss.ws.core.utils.JBossWSEntityResolver;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.InputSource;
+import java.net.URL;
-import com.ibm.wsdl.xml.WSDLReaderImpl;
-
import javax.wsdl.Definition;
import javax.wsdl.WSDLException;
import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLLocator;
import javax.wsdl.xml.WSDLReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
+import org.jboss.logging.Logger;
+import org.jboss.ws.core.utils.JBossWSEntityResolver;
+import org.xml.sax.EntityResolver;
+
+import com.ibm.wsdl.xml.WSDLReaderImpl;
+
/**
* A factory that creates a WSDL-1.1 <code>Definition</code> from an URL.
*
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Reader.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,7 +29,6 @@
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
-import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
@@ -73,7 +72,10 @@
import org.jboss.ws.core.utils.DOMWriter;
import org.jboss.ws.metadata.wsdl.NCName;
import org.jboss.ws.metadata.wsdl.WSDLBinding;
+import org.jboss.ws.metadata.wsdl.WSDLBindingMessageReference;
import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperationInput;
+import org.jboss.ws.metadata.wsdl.WSDLBindingOperationOutput;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
import org.jboss.ws.metadata.wsdl.WSDLInterface;
@@ -82,11 +84,16 @@
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutfault;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLMIMEPart;
import org.jboss.ws.metadata.wsdl.WSDLProperty;
+import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem;
+import org.jboss.ws.metadata.wsdl.WSDLSOAPHeader;
import org.jboss.ws.metadata.wsdl.WSDLService;
import org.jboss.ws.metadata.wsdl.WSDLTypes;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
import org.jboss.ws.metadata.wsdl.XSModelTypes;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem.Direction;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
import org.jboss.ws.metadata.wsdl.xsd.SchemaUtils;
import org.jboss.ws.tools.JavaToXSD;
@@ -100,6 +107,7 @@
*
* @author Thomas.Diesler at jboss.org
* @author Anil.Saldhana at jboss.org
+ * @author <a href="jason.greene at jboss.com">Jason T. Greene</a>
* @since 10-Oct-2004
*/
public class WSDL11Reader
@@ -120,9 +128,12 @@
// Map of <ns,URL> for schemalocation keyed by namespace
private Map<String, URL> schemaLocationsMap = new HashMap<String, URL>();
+ private LinkedHashMap<QName, Binding> allBindings;
+ private LinkedHashMap<QName, Binding> portTypeBindings;
+
// Temporary files used by this reader.
private List<File> tempFiles = new ArrayList<File>();
-
+
/**
* Takes a WSDL11 Definition element and converts into
* our object graph that has been developed for WSDL20
@@ -147,7 +158,7 @@
processUnreachableBindings(srcWsdl);
cleanupTemporaryFiles();
-
+
return destWsdl;
}
@@ -158,7 +169,7 @@
current.delete();
}
}
-
+
// process all bindings not within service separetly
private void processUnreachableBindings(Definition srcWsdl)
{
@@ -485,6 +496,7 @@
WSDLInterfaceOperation destOperation = new WSDLInterfaceOperation(destInterface);
destOperation.setName(new NCName(srcOperation.getName()));
+ destOperation.setStyle(getOperationStyle(srcWsdl, srcPortType, srcOperation));
processOperationInput(srcWsdl, srcOperation, destOperation, srcPortType);
processOperationOutput(srcWsdl, srcOperation, destOperation, srcPortType);
@@ -506,87 +518,130 @@
if (wsaAction != null)
destOperation.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_ACTION_IN, wsaAction.getLocalPart()));
- List paramOrder = srcOperation.getParameterOrdering();
- Iterator itMessageParts = srcMessage.getOrderedParts(paramOrder).iterator();
- while (itMessageParts.hasNext())
+ List<String> paramOrder = (List<String>) srcOperation.getParameterOrdering();
+ if (paramOrder != null)
{
- WSDLInterfaceOperationInput destInput = new WSDLInterfaceOperationInput(destOperation);
+ for (String name : paramOrder)
+ {
+ if (srcMessage.getPart(name) != null)
+ destOperation.addRpcSignatureItem(new WSDLRPCSignatureItem(name));
+ }
+ }
- Part srcPart = (Part)itMessageParts.next();
- QName elementName = messagePartToElementName(srcWsdl, srcPortType, srcOperation, srcMessage, srcPart);
- destInput.setElement(elementName);
+ WSDLInterfaceOperationInput rpcInput = new WSDLInterfaceOperationInput(destOperation);
+ for (Part srcPart : (List<Part>) srcMessage.getOrderedParts(paramOrder))
+ {
+ if (Constants.URI_STYLE_IRI == destOperation.getStyle())
+ {
+ WSDLInterfaceOperationInput destInput = new WSDLInterfaceOperationInput(destOperation);
+ QName elementName = messagePartToElementName(srcWsdl, srcPortType, srcOperation, srcMessage, srcPart);
+ destInput.setElement(elementName);
- //Lets remember the Message name
- destInput.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME, srcMessage.getQName().getLocalPart()));
- destOperation.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_IN, srcMessage.getQName().getLocalPart()));
+ //Lets remember the Message name
+ destInput.setMessageName(srcMessage.getQName());
+ destOperation.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_IN, srcMessage.getQName().getLocalPart()));
- // Remember the original part name
- WSDLProperty wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_PART_NAME, srcPart.getName());
- destInput.addProperty(wsdlProperty);
+ destInput.setPartName(srcPart.getName());
- // If the Part references a type rather than an element
- // we transport the xmlType as property
- QName xmlType = srcPart.getTypeName();
- if (xmlType != null)
+ destOperation.addInput(destInput);
+ }
+ else
{
- xmlType = destWsdl.registerQName(xmlType);
- String value = xmlType.getPrefix() + ":" + xmlType.getLocalPart();
- wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_RPC_XMLTYPE, value);
- destInput.addProperty(wsdlProperty);
+ // If we don't have a type then we aren't a valid RPC parameter
+ // This could happen on a header element, in which case the
+ // binding will pick it up
+ QName xmlType = srcPart.getTypeName();
+ if (xmlType != null)
+ rpcInput.addChildPart(new WSDLRPCPart(srcPart.getName(), destWsdl.registerQName(xmlType)));
+ else
+ messagePartToElementName(srcWsdl, srcPortType, srcOperation, srcMessage, srcPart);
}
-
- destOperation.addInput(destInput);
}
+ if (Constants.URI_STYLE_RPC == destOperation.getStyle())
+ {
+ // This is really a place holder, but also the actual value used in
+ // WSDL 2.0 RPC bindings
+ rpcInput.setElement(destOperation.getQName());
+ rpcInput.setMessageName(srcMessage.getQName());
+ destOperation.addInput(rpcInput);
+ }
}
}
private void processOperationOutput(Definition srcWsdl, Operation srcOperation, WSDLInterfaceOperation destOperation, PortType srcPortType)
{
Output srcOutput = srcOperation.getOutput();
- if (srcOutput != null)
+ if (srcOutput == null)
{
- Message srcMessage = srcOutput.getMessage();
- log.trace("processOperationOutput: " + srcMessage.getQName());
+ destOperation.setPattern(Constants.WSDL20_PATTERN_IN_ONLY);
+ return;
+ }
- destOperation.setPattern(Constants.WSDL20_PATTERN_IN_OUT);
- QName wsaAction = (QName)srcOutput.getExtensionAttribute(Constants.WSDL_ATTRIBUTE_WSA_ACTION);
- if (wsaAction != null)
- destOperation.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_ACTION_OUT, wsaAction.getLocalPart()));
+ Message srcMessage = srcOutput.getMessage();
+ log.trace("processOperationOutput: " + srcMessage.getQName());
- Iterator itMessageParts = srcMessage.getOrderedParts(null).iterator();
- while (itMessageParts.hasNext())
+ destOperation.setPattern(Constants.WSDL20_PATTERN_IN_OUT);
+ QName wsaAction = (QName) srcOutput.getExtensionAttribute(Constants.WSDL_ATTRIBUTE_WSA_ACTION);
+ if (wsaAction != null)
+ destOperation.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_ACTION_OUT, wsaAction.getLocalPart()));
+
+ List<String> paramOrder = (List<String>) srcOperation.getParameterOrdering();
+ if (paramOrder != null)
+ {
+ for (String name : paramOrder)
{
+ if (srcMessage.getPart(name) != null)
+ {
+ WSDLRPCSignatureItem item = destOperation.getRpcSignatureitem(name);
+ if (item != null)
+ item.setDirection(Direction.INOUT);
+ else
+ destOperation.addRpcSignatureItem(new WSDLRPCSignatureItem(name, Direction.OUT));
+ }
+ }
+ }
+
+ WSDLInterfaceOperationOutput rpcOutput = new WSDLInterfaceOperationOutput(destOperation);
+ for (Part srcPart : (List<Part>) srcMessage.getOrderedParts(null))
+ {
+ if (Constants.URI_STYLE_IRI == destOperation.getStyle())
+ {
WSDLInterfaceOperationOutput destOutput = new WSDLInterfaceOperationOutput(destOperation);
- Part srcPart = (Part)itMessageParts.next();
QName elementName = messagePartToElementName(srcWsdl, srcPortType, srcOperation, srcMessage, srcPart);
destOutput.setElement(elementName);
- //Lets remember the Message name
- destOutput.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME, srcMessage.getQName().getLocalPart()));
- destOperation.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_OUT, srcMessage.getQName().getLocalPart()));
+ // Lets remember the Message name
+ destOutput.setMessageName(srcMessage.getQName());
+ destOperation.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_MESSAGE_NAME_OUT, srcMessage.getQName()
+ .getLocalPart()));
// Remember the original part name
- WSDLProperty wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_PART_NAME, srcPart.getName());
- destOutput.addProperty(wsdlProperty);
+ destOutput.setPartName(srcPart.getName());
- // If the Part references a type rather than an element
- // we transport the xmlType as property
+ destOperation.addOutput(destOutput);
+ }
+ else
+ {
+ // If we don't have a type then we aren't a valid RPC parameter
+ // This could happen on a header element, in which case the
+ // binding will pick it up
QName xmlType = srcPart.getTypeName();
if (xmlType != null)
- {
- xmlType = destWsdl.registerQName(xmlType);
- String value = xmlType.getPrefix() + ":" + xmlType.getLocalPart();
- wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_RPC_XMLTYPE, value);
- destOutput.addProperty(wsdlProperty);
- }
-
- destOperation.addOutput(destOutput);
+ rpcOutput.addChildPart(new WSDLRPCPart(srcPart.getName(), destWsdl.registerQName(xmlType)));
+ else
+ messagePartToElementName(srcWsdl, srcPortType, srcOperation, srcMessage, srcPart);
}
}
- else
+
+ if (Constants.URI_STYLE_RPC == destOperation.getStyle())
{
- destOperation.setPattern(Constants.WSDL20_PATTERN_IN_ONLY);
+ // This is really a place holder, but also the actual value used in
+ // WSDL 2.0 RPC bindings
+ QName name = destOperation.getQName();
+ rpcOutput.setElement(new QName(name.getNamespaceURI(), name.getLocalPart() + "Response"));
+ rpcOutput.setMessageName(srcMessage.getQName());
+ destOperation.addOutput(rpcOutput);
}
}
@@ -620,16 +675,14 @@
Part part = (Part)partsMap.values().iterator().next();
QName xmlName = part.getElementName();
- QName xmlType = part.getTypeName();
- destFault.setXmlType(xmlType);
if (xmlName != null)
{
- destFault.setXmlName(xmlName);
+ destFault.setElement(xmlName);
}
else
{
- destFault.setXmlName(messageName);
+ destFault.setElement(messageName);
log.warn("Unsupported fault message part in message: " + messageName);
}
@@ -652,94 +705,73 @@
{
// <part name="param" element="tns:SomeType" />
QName xmlName = srcPart.getElementName();
- if (xmlName != null)
- xmlName = destWsdl.registerQName(xmlName);
// <part name="param" type="xsd:string" />
if (xmlName == null)
- {
- // Use the part name as fallback
xmlName = new QName(srcPart.getName());
- // The binding may define a different xmlName for this message part (i.e. in case of header parts)
- // The rest of this implementation tries to discover that binding.
+ xmlName = destWsdl.registerQName(xmlName);
+ String key = srcMessage.getQName() + "->" + srcPart.getName();
+ messagePartToElementMap.put(key, xmlName);
- // Find the binding for this portType
- Binding srcBinding = null;
- Iterator itBindings = getAllDefinedBindings(srcWsdl).values().iterator();
- while (srcBinding == null && itBindings.hasNext())
- {
- Binding binding = (Binding)itBindings.next();
- if (binding.getPortType().equals(srcPortType))
- srcBinding = binding;
- }
+ return xmlName;
+ }
- if (srcBinding == null)
- throw new WSException("Cannot find binding for: " + srcPortType.getQName());
+ private BindingOperation getBindingOperation(Definition srcWsdl, PortType srcPortType, Operation srcOperation)
+ {
+ Binding srcBinding = getPortTypeBindings(srcWsdl).get(srcPortType.getQName());
- String srcOperationName = srcOperation.getName();
- BindingOperation srcBindingOperation = srcBinding.getBindingOperation(srcOperationName, null, null);
- if (srcBindingOperation == null)
- throw new WSException("Cannot find binding operation for: " + srcOperationName);
+ if (srcBinding == null)
+ throw new WSException("Cannot find binding for: " + srcPortType.getQName());
- // Scan the binding input for a <soap:header> for this message part
- BindingInput srcBindingInput = srcBindingOperation.getBindingInput();
- if (srcBindingInput != null)
+ String srcOperationName = srcOperation.getName();
+ BindingOperation srcBindingOperation = srcBinding.getBindingOperation(srcOperationName, null, null);
+ if (srcBindingOperation == null)
+ throw new WSException("Cannot find binding operation for: " + srcOperationName);
+ return srcBindingOperation;
+ }
+
+ private String getOperationStyle(Definition srcWsdl, PortType srcPortType, Operation srcOperation)
+ {
+ Binding srcBinding = getPortTypeBindings(srcWsdl).get(srcPortType.getQName());
+ BindingOperation srcBindingOperation = getBindingOperation(srcWsdl, srcPortType, srcOperation);
+
+ String operationStyle = null;
+ List<ExtensibilityElement> extList = srcBindingOperation.getExtensibilityElements();
+ for (ExtensibilityElement extElement : extList)
+ {
+ QName elementType = extElement.getElementType();
+ if (extElement instanceof SOAPOperation)
{
- Iterator itExt = srcBindingInput.getExtensibilityElements().iterator();
- while (itExt.hasNext())
- {
- ExtensibilityElement extEl = (ExtensibilityElement)itExt.next();
- if (extEl instanceof SOAPHeader)
- {
- SOAPHeader header = (SOAPHeader)extEl;
- QName messageQName = header.getMessage();
- String partName = header.getPart();
- if (messageQName.equals(srcMessage.getQName()) && partName.equals(srcPart.getName()))
- {
- String namespaceURI = header.getNamespaceURI();
- if (namespaceURI != null)
- {
- xmlName = new QName(namespaceURI, partName);
- xmlName = destWsdl.registerQName(xmlName);
- }
- }
- }
- }
+ SOAPOperation soapOp = (SOAPOperation)extElement;
+ operationStyle = soapOp.getStyle();
}
+ else if (SOAP12_OPERATION.equals(elementType))
+ {
+ Element domElement = ((UnknownExtensibilityElement)extElement).getElement();
+ operationStyle = getOptionalAttribute(domElement, "style");
+ }
+ }
- // Scan the binding output for a <soap:header> for this message part
- BindingOutput srcBindingOutput = srcBindingOperation.getBindingOutput();
- if (srcBindingOutput != null)
+ if (operationStyle == null)
+ {
+ for (ExtensibilityElement extElement : (List<ExtensibilityElement>) srcBinding.getExtensibilityElements())
{
- Iterator itExt = srcBindingOutput.getExtensibilityElements().iterator();
- while (itExt.hasNext())
+ QName elementType = extElement.getElementType();
+ if (extElement instanceof SOAPBinding)
{
- ExtensibilityElement extEl = (ExtensibilityElement)itExt.next();
- if (extEl instanceof SOAPHeader)
- {
- SOAPHeader header = (SOAPHeader)extEl;
- QName messageQName = header.getMessage();
- String partName = header.getPart();
- if (messageQName.equals(srcMessage.getQName()) && partName.equals(srcPart.getName()))
- {
- String namespaceURI = header.getNamespaceURI();
- if (namespaceURI != null)
- {
- xmlName = new QName(namespaceURI, partName);
- xmlName = destWsdl.registerQName(xmlName);
- }
- }
- }
+ SOAPBinding soapBinding = (SOAPBinding) extElement;
+ operationStyle = soapBinding.getStyle();
}
+ else if (SOAP12_BINDING.equals(elementType))
+ {
+ Element domElement = ((UnknownExtensibilityElement) extElement).getElement();
+ operationStyle = getOptionalAttribute(domElement, "style");
+ }
}
}
- // cache the element name for processing of the bindings
- String key = srcMessage.getQName() + "->" + srcPart.getName();
- messagePartToElementMap.put(key, xmlName);
-
- return xmlName;
+ return ("rpc".equals(operationStyle)) ? Constants.URI_STYLE_RPC : Constants.URI_STYLE_IRI;
}
private void processBinding(Definition srcWsdl, Binding srcBinding)
@@ -753,7 +785,7 @@
PortType srcPortType = srcBinding.getPortType();
if (srcPortType == null)
throw new WSException("Cannot find port type for binding: " + ncName);
-
+
processPortType(srcWsdl, srcPortType);
WSDLBinding destBinding = new WSDLBinding(destWsdl);
@@ -784,15 +816,26 @@
}
}
- private Map getAllDefinedBindings(Definition srcWsdl)
+ private Map<QName, Binding> getPortTypeBindings(Definition srcWsdl)
{
- Map<QName, Binding> retMap = new LinkedHashMap<QName, Binding>();
+ getAllDefinedBindings(srcWsdl);
+ return portTypeBindings;
+ }
+
+ private Map<QName, Binding> getAllDefinedBindings(Definition srcWsdl)
+ {
+ if (allBindings != null)
+ return allBindings;
+
+ allBindings = new LinkedHashMap<QName, Binding>();
+ portTypeBindings = new LinkedHashMap<QName, Binding>();
Map srcBindings = srcWsdl.getBindings();
Iterator itBinding = srcBindings.values().iterator();
while (itBinding.hasNext())
{
Binding srcBinding = (Binding)itBinding.next();
- retMap.put(srcBinding.getQName(), srcBinding);
+ allBindings.put(srcBinding.getQName(), srcBinding);
+ portTypeBindings.put(srcBinding.getPortType().getQName(), srcBinding);
}
// Bindings not available when pulled in through <wsdl:import>
@@ -806,10 +849,12 @@
{
Port srcPort = (Port)itPort.next();
Binding srcBinding = srcPort.getBinding();
- retMap.put(srcBinding.getQName(), srcBinding);
+ allBindings.put(srcBinding.getQName(), srcBinding);
+ portTypeBindings.put(srcBinding.getPortType().getQName(), srcBinding);
}
}
- return retMap;
+
+ return allBindings;
}
private void processBindingOperations(WSDLBinding destBinding, Binding srcBinding, String bindingStyle)
@@ -839,7 +884,6 @@
WSDLInterfaceOperation destIntfOperation = destInterface.getOperation(new NCName(opName));
// Process soap:operation at soapAction, soap:operation at style
- String operationStyle = null;
List<ExtensibilityElement> extList = srcBindingOperation.getExtensibilityElements();
for (ExtensibilityElement extElement : extList)
{
@@ -848,117 +892,109 @@
{
SOAPOperation soapOp = (SOAPOperation)extElement;
destBindingOperation.setSOAPAction(soapOp.getSoapActionURI());
- operationStyle = soapOp.getStyle();
}
else if (SOAP12_OPERATION.equals(elementType))
{
Element domElement = ((UnknownExtensibilityElement)extElement).getElement();
- operationStyle = getOptionalAttribute(domElement, "style");
destBindingOperation.setSOAPAction(getOptionalAttribute(domElement, "soapAction"));
}
}
- destIntfOperation.setStyle(operationStyle != null ? operationStyle : bindingStyle);
BindingInput srcBindingInput = srcBindingOperation.getBindingInput();
if (srcBindingInput != null)
{
- processBindingInput(destBindingOperation, destIntfOperation, srcBindingInput);
+ processBindingInput(destBindingOperation, destIntfOperation, srcBindingOperation, srcBindingInput);
}
BindingOutput srcBindingOutput = srcBindingOperation.getBindingOutput();
if (srcBindingOutput != null)
{
- processBindingOutput(destBindingOperation, destIntfOperation, srcBindingOutput);
+ processBindingOutput(destBindingOperation, destIntfOperation, srcBindingOperation, srcBindingOutput);
}
}
- private void processBindingInput(WSDLBindingOperation destBindingOperation, WSDLInterfaceOperation destIntfOperation, BindingInput srcBindingInput)
+ interface ReferenceCallback
{
+ void removeReference(QName element);
+ void removeRPCPart(String partName);
+ QName getXmlType(String partName);
+ }
+
+ private void processBindingInput(WSDLBindingOperation destBindingOperation, final WSDLInterfaceOperation destIntfOperation, final BindingOperation srcBindingOperation, BindingInput srcBindingInput)
+ {
log.trace("processBindingInput");
QName soap11Body = new QName(Constants.NS_SOAP11, "body");
List<ExtensibilityElement> extList = srcBindingInput.getExtensibilityElements();
- for (ExtensibilityElement extElement : extList)
+ WSDLBindingOperationInput input = new WSDLBindingOperationInput(destBindingOperation);
+ destBindingOperation.addInput(input);
+
+ ReferenceCallback cb = new ReferenceCallback()
{
- QName elementType = extElement.getElementType();
- if (soap11Body.equals(elementType) || SOAP12_BODY.equals(elementType))
+ public QName getXmlType(String partName)
{
- processEncodingStyle(extElement, destBindingOperation);
+ return srcBindingOperation.getOperation().getInput().getMessage().getPart(partName).getTypeName();
}
- else if (extElement instanceof SOAPHeader)
+
+ public void removeReference(QName element)
{
- SOAPHeader header = (SOAPHeader)extElement;
- QName messageQName = header.getMessage();
- String partName = header.getPart();
+ WSDLInterfaceOperationInput destIntfInput = destIntfOperation.getInput(element);
+ if (destIntfInput == null)
+ destIntfOperation.removeInput(element);
+ }
- // get cached element name for processing of the bindings
- String key = messageQName + "->" + partName;
- QName elementName = (QName)messagePartToElementMap.get(key);
- if (elementName != null)
- {
- WSDLInterfaceOperationInput destIntfInput = destIntfOperation.getInput(elementName);
- if (destIntfInput == null)
- throw new WSException("Cannot find interface input for element: " + elementName);
+ public void removeRPCPart(String partName)
+ {
+ WSDLInterfaceOperationInput operationInput = destIntfOperation.getInput(destIntfOperation.getQName());
+ operationInput.removeChildPart(partName);
+ }
+ };
- WSDLProperty wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA, false, null, null);
- destIntfInput.addProperty(wsdlProperty);
- }
+ processBindingReference(destBindingOperation, destIntfOperation, soap11Body, extList, input, cb);
+ }
+
+ private void processBindingOutput(WSDLBindingOperation destBindingOperation, final WSDLInterfaceOperation destIntfOperation, final BindingOperation srcBindingOperation, BindingOutput srcBindingOutput)
+ {
+ log.trace("processBindingInput");
+
+ QName soap11Body = new QName(Constants.NS_SOAP11, "body");
+ List<ExtensibilityElement> extList = srcBindingOutput.getExtensibilityElements();
+ WSDLBindingOperationOutput output = new WSDLBindingOperationOutput(destBindingOperation);
+ destBindingOperation.addOutput(output);
+
+ ReferenceCallback cb = new ReferenceCallback()
+ {
+ public QName getXmlType(String partName)
+ {
+ return srcBindingOperation.getOperation().getOutput().getMessage().getPart(partName).getTypeName();
}
- else if (extElement instanceof MIMEMultipartRelated)
+
+ public void removeReference(QName element)
{
- MIMEMultipartRelated related = (MIMEMultipartRelated)extElement;
- Iterator i = related.getMIMEParts().iterator();
- while (i.hasNext())
- {
- MIMEPart part = (MIMEPart)i.next();
- Iterator j = part.getExtensibilityElements().iterator();
- String name = null;
- String types = null;
+ WSDLInterfaceOperationOutput destIntfOutput = destIntfOperation.getOutput(element);
+ if (destIntfOutput == null)
+ destIntfOperation.removeInput(element);
+ }
- while (j.hasNext())
- {
- ExtensibilityElement inner = (ExtensibilityElement)j.next();
- if (inner instanceof MIMEContent)
- {
- MIMEContent content = (MIMEContent)inner;
- name = content.getPart();
- if (types == null)
- {
- types = content.getType();
- }
- else
- {
- types += "," + content.getType();
- }
- }
- }
+ public void removeRPCPart(String partName)
+ {
+ QName name = destIntfOperation.getQName();
+ WSDLInterfaceOperationOutput operationOutput = destIntfOperation.getOutput(new QName(name.getNamespaceURI(), name.getLocalPart() + "Response"));
+ operationOutput.removeChildPart(partName);
+ }
+ };
- // Found content types in this part
- if (name != null)
- {
- // A mime part must be defined as <part type="">
- QName elementName = new QName(name);
- WSDLInterfaceOperationInput destIntfInput = destIntfOperation.getInput(elementName);
- if (destIntfInput == null)
- throw new WSException("Cannot find interface input for element: " + elementName);
-
- WSDLProperty wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_WSDL11_MIME_TYPE, false, types, null);
- destIntfInput.addProperty(wsdlProperty);
- }
- }
- }
- }
+ processBindingReference(destBindingOperation, destIntfOperation, soap11Body, extList, output, cb);
}
- private void processBindingOutput(WSDLBindingOperation destBindingOperation, WSDLInterfaceOperation destIntfOperation, BindingOutput srcBindingOutput)
+
+ private void processBindingReference(WSDLBindingOperation destBindingOperation, WSDLInterfaceOperation destIntfOperation,
+ QName soap11Body, List<ExtensibilityElement> extList, WSDLBindingMessageReference reference, ReferenceCallback callback)
{
- log.trace("processBindingOutput");
-
- List<ExtensibilityElement> extList = srcBindingOutput.getExtensibilityElements();
for (ExtensibilityElement extElement : extList)
{
QName elementType = extElement.getElementType();
- if (extElement instanceof SOAPBody || SOAP12_BODY.equals(elementType))
+ if (soap11Body.equals(elementType) || SOAP12_BODY.equals(elementType))
{
processEncodingStyle(extElement, destBindingOperation);
}
@@ -968,18 +1004,21 @@
QName messageQName = header.getMessage();
String partName = header.getPart();
- // get cached element name for processing of the bindings
String key = messageQName + "->" + partName;
QName elementName = (QName)messagePartToElementMap.get(key);
- if (elementName != null)
+ if (elementName == null)
+ throw new WSException("Could not determine element name from header: " + partName);
+
+ reference.addSoapHeader(new WSDLSOAPHeader(elementName, partName));
+ if (Constants.URI_STYLE_IRI == destIntfOperation.getStyle())
{
- WSDLInterfaceOperationOutput destIntfOutput = destIntfOperation.getOutput(elementName);
- if (destIntfOutput == null)
- throw new WSException("Cannot find interface output for element: " + elementName);
-
- WSDLProperty wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA, false, null, null);
- destIntfOutput.addProperty(wsdlProperty);
+ callback.removeReference(elementName);
}
+ else
+ {
+ // Just in case
+ callback.removeRPCPart(partName);
+ }
}
else if (extElement instanceof MIMEMultipartRelated)
{
@@ -1013,20 +1052,24 @@
// Found content types in this part
if (name != null)
{
- // A mime part must be defined as <part type="">
- QName elementName = new QName(name);
- WSDLInterfaceOperationOutput destIntfOutput = destIntfOperation.getOutput(elementName);
- if (destIntfOutput == null)
- throw new WSException("Cannot find interface output for element: " + elementName);
-
- WSDLProperty wsdlProperty = new WSDLProperty(Constants.WSDL_PROPERTY_WSDL11_MIME_TYPE, false, types, null);
- destIntfOutput.addProperty(wsdlProperty);
+ QName xmlType = callback.getXmlType(name);
+ reference.addMimePart(new WSDLMIMEPart(name, xmlType, types));
+ if (Constants.URI_STYLE_IRI == destIntfOperation.getStyle())
+ {
+ // A mime part must be defined as <part type="">
+ callback.removeReference(new QName(name));
+ }
+ else
+ {
+ callback.removeRPCPart(name);
+ }
}
}
}
}
}
+
private void processEncodingStyle(ExtensibilityElement extElement, WSDLBindingOperation destBindingOperation)
{
log.trace("processEncodingStyle");
@@ -1068,6 +1111,9 @@
{
log.trace("BEGIN processServices: " + srcWsdl.getDocumentBaseURI());
+ // Each definition needs a clear binding cache
+ allBindings = null;
+
if (srcWsdl.getServices().size() > 0)
{
Iterator it = srcWsdl.getServices().values().iterator();
@@ -1095,6 +1141,9 @@
processServices(importDefinition);
}
}
+
+ // The binding cache must be clear after imports, so that undefined bindings can be located
+ allBindings = null;
}
log.trace("END processServices: " + srcWsdl.getDocumentBaseURI());
@@ -1137,7 +1186,7 @@
{
ExtensibilityElement extElement = (ExtensibilityElement)it.next();
QName elementType = extElement.getElementType();
-
+
if (extElement instanceof SOAPAddress)
{
SOAPAddress addr = (SOAPAddress)extElement;
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Writer.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Writer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDL11Writer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,30 +25,37 @@
import java.io.Writer;
import java.util.Arrays;
import java.util.HashSet;
-import java.util.Set;
import javax.wsdl.Definition;
import javax.wsdl.WSDLException;
import javax.wsdl.factory.WSDLFactory;
import javax.xml.namespace.QName;
+import org.jboss.ws.Constants;
+import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
import org.jboss.ws.metadata.wsdl.NCName;
import org.jboss.ws.metadata.wsdl.WSDLBinding;
+import org.jboss.ws.metadata.wsdl.WSDLBindingMessageReference;
import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
import org.jboss.ws.metadata.wsdl.WSDLBindingOperationInput;
import org.jboss.ws.metadata.wsdl.WSDLBindingOperationOutput;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.metadata.wsdl.WSDLEndpoint;
+import org.jboss.ws.metadata.wsdl.WSDLImport;
import org.jboss.ws.metadata.wsdl.WSDLInterface;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceFault;
+import org.jboss.ws.metadata.wsdl.WSDLInterfaceMessageReference;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutfault;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem;
+import org.jboss.ws.metadata.wsdl.WSDLSOAPHeader;
import org.jboss.ws.metadata.wsdl.WSDLService;
-import org.jboss.ws.Constants;
-import org.jboss.ws.WSException;
+import org.jboss.ws.metadata.wsdl.WSDLRPCSignatureItem.Direction;
import org.w3c.dom.Element;
/**
@@ -63,7 +70,7 @@
// Used to prevent duplicates
private HashSet<String> writtenFaultMessages = new HashSet<String>();
-
+
/** Use WSDLDefinitions.writeWSDL instead. */
public WSDL11Writer(WSDLDefinitions wsdl)
{
@@ -75,8 +82,14 @@
write(writer, null);
}
+
public void write(Writer writer, String charset) throws IOException
{
+ write(writer, charset, null);
+ }
+
+ public void write(Writer writer, String charset, WSDLWriterResolver resolver) throws IOException
+ {
// Write out the wsdl-1.1 represention (only path to obtain is from WSDL11Reader)
if (wsdl.getWsdlOneOneDefinition() != null)
{
@@ -100,39 +113,77 @@
//Detect the WSDL Style early
wsdlStyle = utils.getWSDLStyle(wsdl);
- writtenFaultMessages.clear();
+ StringBuilder importBuffer = new StringBuilder();
+ for (WSDLImport wsdlImport : wsdl.getImports())
+ {
+ if (resolver == null)
+ continue;
- appendDefinitions(buffer);
- appendTypes(buffer);
- appendMessages(buffer);
- appendPortTypes(buffer);
- appendBindings(buffer);
- appendServices(buffer);
+ WSDLWriterResolver resolved = resolver.resolve(wsdlImport.getLocation());
+ if (resolved == null)
+ continue;
- buffer.append("</definitions>");
- Element element = DOMUtils.parse(buffer.toString());
+ String namespace = wsdlImport.getNamespace();
+ importBuffer.append("<import namespace='" + namespace + "' location='" + resolved.actualFile + "'/>");
+ if (resolved != null)
+ {
+ StringBuilder builder = new StringBuilder();
- if (charset != null)
- writer.write("<?xml version=\"1.0\" encoding=\"" + charset + "\"?>\n");
- new DOMWriter(writer).setPrettyprint(true).print(element);
+ appendDefinitions(builder, namespace);
+ appendBody(builder, namespace);
+ writeBuilder(builder, resolved.writer, resolved.charset);
+ resolved.writer.close();
+ }
+ }
+
+ appendDefinitions(buffer, wsdl.getTargetNamespace());
+ if (importBuffer.length() > 0)
+ buffer.append(importBuffer);
+
+ appendBody(buffer, wsdl.getTargetNamespace());
+ writeBuilder(buffer, writer, charset);
}
}
- protected void appendMessages(StringBuilder buffer)
+ private void writeBuilder(StringBuilder builder, Writer writer, String charset) throws IOException
{
+ Element element = DOMUtils.parse(builder.toString());
+
+ if (charset != null)
+ writer.write("<?xml version=\"1.0\" encoding=\"" + charset + "\"?>\n");
+ new DOMWriter(writer).setPrettyprint(true).print(element);
+ }
+
+ protected void appendBody(StringBuilder builder, String namespace)
+ {
+ writtenFaultMessages.clear();
+
+ appendTypes(builder, namespace);
+ appendMessages(builder, namespace);
+ appendInterfaces(builder, namespace);
+ appendBindings(builder, namespace);
+ appendServices(builder, namespace);
+ builder.append("</definitions>");
+ }
+
+ protected void appendMessages(StringBuilder buffer, String namespace)
+ {
WSDLInterface[] interfaces = wsdl.getInterfaces();
int len = interfaces != null ? interfaces.length : 0;
for (int i = 0; i < len; i++)
{
WSDLInterface intf = interfaces[i];
+ if (! namespace.equals(intf.getQName().getNamespaceURI()))
+ continue;
+
WSDLInterfaceOperation[] operations = intf.getSortedOperations();
int lenOps = operations.length;
for (int j = 0; j < lenOps; j++)
{
appendMessage(buffer, operations[j]);
appendMessagesForExceptions(buffer, operations[j]);
- }//end for
- }//end for
+ }
+ }
}
private void appendMessage(StringBuilder buffer, WSDLInterfaceOperation operation)
@@ -144,39 +195,18 @@
String interfaceName = operation.getWsdlInterface().getName().toString();
buffer.append("<message name='" + interfaceName + "_" + opname + "' >");
- WSDLInterfaceOperationInput[] inputs = operation.getInputs();
- int lenin = inputs.length;
- for (int i = 0; i < lenin; i++)
- {
- WSDLInterfaceOperationInput input = inputs[i];
- appendInputParts(buffer, input, i);
- }
-
+ for (WSDLInterfaceOperationInput input : operation.getInputs())
+ appendMessageParts(buffer, input);
buffer.append("</message>");
- //Now the return type
- WSDLInterfaceOperationOutput[] outputs = operation.getOutputs();
- int lenout = outputs != null ? outputs.length : 0;
-
- if (Constants.WSDL20_PATTERN_IN_ONLY.equals(operation.getPattern()))
- return;
-
- buffer.append("<message name='" + interfaceName + "_" + opname + "Response' >");
- if (lenout > 0)
+ if (! Constants.WSDL20_PATTERN_IN_ONLY.equals(operation.getPattern()))
{
- //Since the outputs have been obtained from a linkedhashmap
- //they will be in the order of insertion i.e. in case of
- //holders, the holder types will be inserted first. So let
- //us iterate in the reverse order
- String str = "";
- for (int i = 0; i < lenout; i++)
- {
- WSDLInterfaceOperationOutput out = outputs[i];
- str += appendOutputParts(out, i);
- }
- buffer.append(str);
- }//end if
- buffer.append("</message>");
+ buffer.append("<message name='" + interfaceName + "_" + opname + "Response' >");
+ WSDLInterfaceOperationOutput[] outputs = operation.getOutputs();
+ for (WSDLInterfaceOperationOutput output : outputs)
+ appendMessageParts(buffer, output);
+ buffer.append("</message>");
+ }
}
private void appendMessagesForExceptions(StringBuilder buffer, WSDLInterfaceOperation operation)
@@ -188,11 +218,13 @@
for (int i = 0; i < len; i++)
{
WSDLInterfaceOperationOutfault fault = faults[i];
- QName xmlName = fault.getRef();
- String exceptionName = xmlName.getLocalPart();
+ String exceptionName = fault.getRef().getLocalPart();
if (writtenFaultMessages.contains(exceptionName))
continue;
+ WSDLInterfaceFault interfaceFault = operation.getWsdlInterface().getFault(new NCName(exceptionName));
+ QName xmlName = interfaceFault.getElement();
+
buffer.append("<message name='" + exceptionName + "' >");
String prefix = wsdl.getPrefix(xmlName.getNamespaceURI());
String xmlNameStr = prefix + ":" + xmlName.getLocalPart();
@@ -203,126 +235,122 @@
}
}
- private void appendInputParts(StringBuilder buffer, WSDLInterfaceOperationInput input, int index)
+ private String getReferenceString(QName name)
{
- boolean header = input.getProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA) != null;
- if (wsdlStyle.equals(Constants.RPC_LITERAL) && !header)
+ String namespaceURI = name.getNamespaceURI();
+ String prefix = wsdl.getPrefix(namespaceURI);
+ if (prefix == null)
+ throw new WSException("Prefix not bound for namespace: " + namespaceURI);
+
+ return prefix + ":" + name.getLocalPart();
+ }
+
+ private void appendMessageParts(StringBuilder buffer, WSDLInterfaceMessageReference reference)
+ {
+ if (wsdlStyle.equals(Constants.RPC_LITERAL))
{
- QName el = input.getElement();
- QName xmlType = input.getXMLType();
- String prefix = wsdl.getPrefix(xmlType.getNamespaceURI() );
- buffer.append("<part name='" + el.getLocalPart() + "'");
- buffer.append(" type='" + prefix + ":" + xmlType.getLocalPart() + "'>");
- buffer.append("</part>");
+ for (WSDLRPCPart part : reference.getChildParts())
+ {
+ buffer.append("<part name='" + part.getName()).append('\'');
+ buffer.append(" type='" + getReferenceString(part.getType()) + "'/>");
+ }
}
- //Doc-literal case
else
{
- //TODO:Handle this better later
- //In the case of doc/lit, the input element will give the partname
- QName elm = input.getElement();
- buffer.append("<part name='").append(header ? elm.getLocalPart() : "parameters").append("'");
- String part = wsdl.getPrefix(elm.getNamespaceURI()) + ":" + elm.getLocalPart();
- buffer.append(" element='" + part + "'>");
- buffer.append("</part>");
+ QName element = reference.getElement();
+ // Null represents empty message
+ if (element != null)
+ {
+ buffer.append("<part name='" + reference.getPartName() + '\'');
+ buffer.append(" element='" + getReferenceString(element) + "'/>");
+ }
}
- }
- private String appendOutputParts(WSDLInterfaceOperationOutput out, int index)
- {
- boolean header = out.getProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA) != null;
- StringBuilder buf = new StringBuilder("");
- if (wsdlStyle.equals(Constants.RPC_LITERAL) && !header)
- {
- //Get the XMLName
- QName xmlName = out.getElement();
- QName xmlType = out.getXMLType();
- String prefix = wsdl.getPrefix(xmlType.getNamespaceURI() );
+ WSDLBindingMessageReference bindingReference = getBindingReference(reference);
+ if (bindingReference == null)
+ return;
- buf.append("<part name='" + xmlName.getLocalPart() + "'");
- buf.append(" type='" + prefix + ":" + xmlType.getLocalPart() + "'>");
- buf.append("</part>");
- }
- else
+ for (WSDLSOAPHeader header : bindingReference.getSoapHeaders())
{
- QName elm = out.getElement();
- buf.append("<part name='").append(header ? elm.getLocalPart() : Constants.DEFAULT_RPC_RETURN_NAME).append("'");
- String value = wsdl.getPrefix(elm.getNamespaceURI()) + ":" + elm.getLocalPart();
- //String value = this.getXMLTypeFromWSDLProperty(out);
- buf.append(" element='" + value + "'>");
- buf.append("</part>");
+ if (header.isIncludeInSignature());
+ {
+ QName element = header.getElement();
+ buffer.append("<part name='" + header.getPartName() + '\'');
+ buffer.append(" element='" + getReferenceString(element) + "'/>");
+ }
}
- return buf.toString();
}
- protected void appendInterfaces(StringBuilder buffer)
+ private WSDLBindingMessageReference getBindingReference(WSDLInterfaceMessageReference reference)
{
+ WSDLInterfaceOperation operation = reference.getWsdlOperation();
+ WSDLInterface wsdlInterface = operation.getWsdlInterface();
+ WSDLBinding binding = wsdlInterface.getWsdlDefinitions().getBindingByInterfaceName(wsdlInterface.getQName());
+ WSDLBindingOperation bindingOperation = binding.getOperationByRef(operation.getQName());
+ WSDLBindingMessageReference[] bindingReferences;
+
+ if (reference instanceof WSDLInterfaceOperationInput)
+ bindingReferences = bindingOperation.getInputs();
+ else
+ bindingReferences = bindingOperation.getOutputs();
+
+ if (bindingReferences.length > 1)
+ throw new IllegalArgumentException("WSDl 1.1 only supports In-Only, and In-Out MEPS, more than reference input found");
+
+ if (bindingReferences.length == 1)
+ return bindingReferences[0];
+
+ return null;
}
- protected void appendPortTypes(StringBuilder buffer)
+ protected void appendInterfaces(StringBuilder buffer, String namespace)
{
WSDLInterface[] intfs = wsdl.getInterfaces();
for (int i = 0; i < intfs.length; i++)
{
WSDLInterface intf = intfs[i];
- if (i == 0)
- buffer.append("<portType name='" + intf.getName() + "'>");
+ if (!namespace.equals(intf.getQName().getNamespaceURI()))
+ continue;
+
+ buffer.append("<portType name='" + intf.getName() + "'>");
appendPortOperations(buffer, intf);
+ buffer.append("</portType>");
}
- buffer.append("</portType>");
}
+ private String getParameterOrder(WSDLInterfaceOperation operation)
+ {
+ StringBuilder builder = new StringBuilder();
+ for (WSDLRPCSignatureItem item : operation.getRpcSignatureItems())
+ {
+ if (item.getDirection() != Direction.RETURN)
+ {
+ if (builder.length() > 0)
+ builder.append(' ');
+ builder.append(item.getName());
+ }
+ }
+
+ return builder.toString();
+ }
+
protected void appendPortOperations(StringBuilder buffer, WSDLInterface intf)
{
- String targetPrefix = wsdl.getTargetPrefix();
+ String prefix = wsdl.getPrefix(intf.getQName().getNamespaceURI());
WSDLInterfaceOperation[] operations = intf.getSortedOperations();
for (int i = 0; i < operations.length; i++)
{
WSDLInterfaceOperation operation = operations[i];
- WSDLInterfaceOperationInput[] inputs = operation.getInputs();
- WSDLInterfaceOperationOutput[] outputs = operation.getOutputs();
buffer.append("<operation name='" + operation.getName().toString() + "'");
- if (wsdlStyle.equals(Constants.RPC_LITERAL))
- {
- StringBuilder order = new StringBuilder();
- Set<QName> inParameters = new HashSet<QName>();
- for (int j = 0; j < inputs.length; j++)
- {
- WSDLInterfaceOperationInput input = inputs[j];
- if (order.length() > 0)
- order.append(" ");
- QName el = input.getElement();
- order.append(el.getLocalPart());
- inParameters.add(el);
- }
+ String parameterOrder = getParameterOrder(operation);
+ if (parameterOrder.length() > 0)
+ buffer.append(" parameterOrder='").append(parameterOrder).append("'");
+ buffer.append(">");
- for (int j = 0; j < outputs.length; j++)
- {
- WSDLInterfaceOperationOutput output = outputs[j];
- // The return value is ommitted as a hint to other parameter based binding layers.
- // Also, INOUT parameters need to only appear once
- if (output.getProperty(Constants.WSDL_PROPERTY_RETURN_PART) == null)
- {
- QName el = output.getElement();
- if (! inParameters.contains(el))
- {
- if (order.length() > 0)
- order.append(" ");
- order.append(el.getLocalPart());
- }
- }
- }
-
- if (order.length() > 0)
- buffer.append(" parameterOrder='").append(order.toString()).append("'");
- }
-
- buffer.append(">"); //End operation element
-
String opname = operation.getName().toString();
String interfaceName = operation.getWsdlInterface().getName().toString();
- String msgEl = targetPrefix + ":" + interfaceName + "_" + opname;
+ String msgEl = prefix + ":" + interfaceName + "_" + opname;
buffer.append("<input message='" + msgEl + "'>").append("</input>");
@@ -333,38 +361,25 @@
}
//Append the Faults
- WSDLInterfaceOperationOutfault[] faults = operation.getOutfaults();
- //WSDLInterfaceFault[] faults = intf.getFaults();
- int lenf = faults != null ? faults.length : 0;
- for (int k = 0; k < lenf; k++)
+ for (WSDLInterfaceOperationOutfault fault : operation.getOutfaults())
{
- //WSDLInterfaceFault flt = faults[k];
- WSDLInterfaceOperationOutfault flt = faults[k];
- QName elt = flt.getRef();
-
- String targetNS = wsdl.getTargetNamespace();
- //Writing the fault, the prefix should always be the one for wsdl target namespace
- elt = new QName(targetNS, elt.getLocalPart(), wsdl.getPrefix(targetNS));
- //Remove Fault or Error appended to the name
- String cleanname = utils.chop(utils.chop(elt.getLocalPart(), "Error"), "Fault");
-
- String n = "name='" + cleanname + "'";
-
- String cleanref = utils.chop(utils.getFormattedString(elt), "Error");
- buffer.append("<fault message='" + cleanref + "' " + n + ">");
- buffer.append("</fault>");
+ QName element = fault.getRef();
+ buffer.append("<fault message='" + utils.getFormattedString(element));
+ buffer.append("' name='" + element.getLocalPart() + "'/>");
}
buffer.append("</operation>");
}
}
- protected void appendBindings(StringBuilder buffer)
+ protected void appendBindings(StringBuilder buffer, String namespace)
{
WSDLBinding[] bindings = wsdl.getBindings();
for (int i = 0; i < bindings.length; i++)
{
WSDLBinding binding = bindings[i];
+ if (!namespace.equals(binding.getQName().getNamespaceURI()))
+ continue;
buffer.append("<binding name='" + binding.getName() + "' type='" + getQNameRef(binding.getInterfaceName()) + "'>");
//TODO:Need to derive the WSDLStyle from the Style attribute of InterfaceOperation
if (wsdlStyle == null)
@@ -378,152 +393,104 @@
}
}
- private boolean isHeaderInput(WSDLBindingOperationInput input)
- {
- WSDLBindingOperation operation = input.getWsdlBindingOperation();
- WSDLBinding binding = operation.getWsdlBinding();
- WSDLInterface wsdlInterface = binding.getInterface();
- if (wsdlInterface == null)
- return false;
-
- WSDLInterfaceOperation interfaceOperation = wsdlInterface.getOperation(new NCName(operation.getRef().getLocalPart()));
- if (interfaceOperation == null)
- return false;
-
- WSDLInterfaceOperationInput interfaceInput = interfaceOperation.getInputByPartName(input.getMessageLabel().toString());
- if (interfaceInput == null)
- return false;
-
- if (interfaceInput.getProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA) == null)
- return false;
- else
- return true;
- }
-
- private boolean isHeaderOutput(WSDLBindingOperationOutput output)
- {
- WSDLBindingOperation operation = output.getWsdlBindingOperation();
- WSDLBinding binding = operation.getWsdlBinding();
- WSDLInterface wsdlInterface = binding.getInterface();
- if (wsdlInterface == null)
- return false;
-
- WSDLInterfaceOperation interfaceOperation = wsdlInterface.getOperation(new NCName(operation.getRef().getLocalPart()));
- if (interfaceOperation == null)
- return false;
-
- WSDLInterfaceOperationOutput interfaceOutput = interfaceOperation.getOutputByPartName(output.getMessageLabel().toString());
- if (interfaceOutput == null)
- return false;
-
- if (interfaceOutput.getProperty(Constants.WSDL_PROPERTY_APPLICATION_DATA) == null)
- return false;
- else
- return true;
- }
-
protected void appendBindingOperations(StringBuilder buffer, WSDLBinding binding)
{
WSDLBindingOperation[] operations = binding.getOperations();
Arrays.sort(operations);
- String tns = wsdl.getTargetNamespace();
for (int i = 0; i < operations.length; i++)
{
WSDLBindingOperation operation = operations[i];
String interfaceName = operation.getWsdlBinding().getInterfaceName().getLocalPart();
- buffer.append("<operation name='" + operation.getRef().getLocalPart() + "'>");
+ WSDLInterface wsdlInterface = wsdl.getInterface(new NCName(interfaceName));
+ if (wsdlInterface == null)
+ throw new WSException("WSDL Interface should not be null");
+ WSDLInterfaceOperation interfaceOperation = wsdlInterface.getOperation(new NCName(operation.getRef().getLocalPart()));
+
+ buffer.append("<operation name='" + interfaceOperation.getName() + "'>");
String soapAction = (operation.getSOAPAction() != null ? operation.getSOAPAction() : "");
buffer.append("<" + soapPrefix + ":operation soapAction=\"" + soapAction + "\"/>");
- buffer.append("<input>");
- StringBuilder bodyParts = new StringBuilder();
- boolean hasHeader = false;
WSDLBindingOperationInput[] inputs = operation.getInputs();
- for (int j = 0; j < inputs.length; j++)
- {
- WSDLBindingOperationInput input = inputs[j];
- if (isHeaderInput(input))
- {
- String messageName = interfaceName + "_" + input.getWsdlBindingOperation().getRef().getLocalPart();
- buffer.append("<" + soapPrefix + ":header use='literal' message='tns:" + messageName + "' part='" + input.getMessageLabel() + "'/>");
- hasHeader = true;
- }
- else
- {
- if (bodyParts.length() > 0)
- bodyParts.append(" ");
- bodyParts.append(input.getMessageLabel());
- }
- }
+ if (inputs.length != 1)
+ throw new WSException("WSDl 1.1 only supports In-Only, and In-Out MEPS.");
- buffer.append("<" + soapPrefix + ":body use='literal'");
- if (hasHeader)
- buffer.append(" parts='").append(bodyParts.toString()).append("'");
- if (wsdlStyle != Constants.DOCUMENT_LITERAL)
- buffer.append(" namespace='" + tns + "'");
- buffer.append("/>");
-
+ buffer.append("<input>");
+ appendSOAPBinding(buffer, wsdlInterface, operation, inputs);
buffer.append("</input>");
if (! Constants.WSDL20_PATTERN_IN_ONLY.equals(getBindingOperationPattern(operation)))
{
buffer.append("<output>");
- bodyParts = new StringBuilder();
- hasHeader = false;
WSDLBindingOperationOutput[] outputs = operation.getOutputs();
- for (int j = 0; j < outputs.length; j++)
- {
- WSDLBindingOperationOutput output = outputs[j];
- if (isHeaderOutput(output))
- {
- String messageName = interfaceName + "_" + output.getWsdlBindingOperation().getRef().getLocalPart() + "Response";
-
- buffer.append("<" + soapPrefix + ":header use='literal' message='tns:" + messageName + "' part='" + output.getMessageLabel() + "'/>");
- hasHeader = true;
- }
- else
- {
- if (bodyParts.length() > 0)
- bodyParts.append(" ");
- bodyParts.append(output.getMessageLabel());
- }
- }
-
- buffer.append("<" + soapPrefix + ":body use='literal'");
- if (hasHeader)
- buffer.append(" parts='").append(bodyParts.toString()).append("'");
- if (wsdlStyle != Constants.DOCUMENT_LITERAL)
- buffer.append(" namespace='" + tns + "'");
- buffer.append("/>");
-
+ appendSOAPBinding(buffer, wsdlInterface, operation, outputs);
buffer.append("</output>");
}
//Append faults
- QName intfname = operation.getWsdlBinding().getInterfaceName();
- WSDLInterface intf = wsdl.getInterface(new NCName(intfname.getLocalPart()));
- if (intf == null)
- throw new WSException("WSDL Interface should not be null");
- WSDLInterfaceOperation interfaceOperation = intf.getOperation(new NCName(operation.getRef().getLocalPart()));
WSDLInterfaceOperationOutfault[] faults = interfaceOperation.getOutfaults();
- int lenf = faults != null ? faults.length : 0;
- for (int k = 0; k < lenf; k++)
+ if (faults != null)
{
- WSDLInterfaceOperationOutfault flt = faults[k];
- //Remove Fault or Error appended to the name
- String cleanname = utils.chop(utils.chop(flt.getRef().getLocalPart(), "Error"), "Fault");
- String n = "name='" + cleanname + "'";
+ for (WSDLInterfaceOperationOutfault fault : faults)
+ {
+ String n = "name='" + fault.getRef().getLocalPart() + "'";
+ buffer.append("<fault " + n + ">");
+ buffer.append("<" + soapPrefix + ":fault " + n + " use='literal' />");
+ buffer.append("</fault>");
+ }
+ buffer.append("</operation>");
+ }
+ }
+ }
- //String cleanref = utils.chop(utils.getFormattedString(elt), "Error");
- buffer.append("<fault " + n + ">");
- buffer.append("<" + soapPrefix + ":fault " + n + " use='literal' />");
- buffer.append("</fault>");
+ private void appendSOAPBinding(StringBuilder buffer, WSDLInterface wsdlInterface, WSDLBindingOperation operation, WSDLBindingMessageReference[] inputs)
+ {
+ String tns = wsdl.getTargetNamespace();
+ WSDLInterfaceOperation interfaceOperation = wsdlInterface.getOperation(new NCName(operation.getRef().getLocalPart()));
+ WSDLInterfaceMessageReference reference = (inputs instanceof WSDLBindingOperationInput[]) ? interfaceOperation.getInputs()[0]
+ : interfaceOperation.getOutputs()[0];
+
+ StringBuilder bodyParts = new StringBuilder();
+ if (Constants.DOCUMENT_LITERAL == wsdlStyle)
+ {
+ bodyParts.append(reference.getPartName());
+ }
+ else
+ {
+ for (WSDLRPCPart part : reference.getChildParts())
+ {
+ if (bodyParts.length() > 0)
+ bodyParts.append(" ");
+ bodyParts.append(part.getName());
}
+ }
- buffer.append("</operation>");
+ StringBuilder soapHeader = new StringBuilder();
+ for (WSDLSOAPHeader header : inputs[0].getSoapHeaders())
+ {
+ if (header.isIncludeInSignature())
+ {
+ String messageName = wsdlInterface.getName() + "_" + operation.getRef().getLocalPart();
+ if (reference instanceof WSDLInterfaceOperationOutput)
+ messageName += "Response";
+ soapHeader.append("<").append(soapPrefix).append(":header use='literal' message='tns:").append(messageName);
+ soapHeader.append("' part='").append(header.getPartName()).append("'/>");
+ }
}
+
+ buffer.append("<" + soapPrefix + ":body use='literal'");
+ if (wsdlStyle != Constants.DOCUMENT_LITERAL)
+ buffer.append(" namespace='" + tns + "'");
+ if (soapHeader.length() > 0)
+ {
+ buffer.append(" parts='").append(bodyParts).append("'/>");
+ buffer.append(soapHeader);
+ }
+ else
+ {
+ buffer.append("/>");
+ }
}
private String getBindingOperationPattern(WSDLBindingOperation operation)
@@ -534,7 +501,7 @@
return pattern;
}
- protected void appendServices(StringBuilder buffer)
+ protected void appendServices(StringBuilder buffer, String namespace)
{
WSDLService[] services = wsdl.getServices();
int len = services.length;
@@ -542,6 +509,8 @@
{
WSDLService service = services[i];
+ if (!namespace.equals(service.getQName().getNamespaceURI()))
+ continue;
buffer.append("<service name='" + service.getName() + "'>");
WSDLEndpoint[] endpoints = service.getEndpoints();
int lenend = endpoints.length;
@@ -560,12 +529,10 @@
String name = endpoint.getName().toString();
QName endpointBinding = endpoint.getBinding();
String prefix = endpointBinding.getPrefix();
- if (prefix == null || prefix == "")
- prefix = wsdl.getTargetPrefix();
+ prefix = wsdl.getPrefix(endpointBinding.getNamespaceURI());
String ebname = prefix + ":" + endpointBinding.getLocalPart();
buffer.append("<port name='" + name + "' binding='" + ebname + "'>");
buffer.append("<" + soapPrefix + ":address location='" + endpoint.getAddress() + "'/>");
buffer.append("</port>");
}
-
-}
+}
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -25,6 +25,7 @@
import java.io.InputStream;
import java.io.StringWriter;
+import java.net.ConnectException;
import java.net.URL;
import java.util.HashMap;
import java.util.Iterator;
@@ -36,11 +37,12 @@
import javax.xml.parsers.DocumentBuilder;
import org.jboss.logging.Logger;
+import org.jboss.ws.Constants;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.JBossWSEntityResolver;
+import org.jboss.ws.core.utils.ResourceURL;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.metadata.wsdl.WSDLException;
-import org.jboss.ws.Constants;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.xml.sax.EntityResolver;
@@ -99,7 +101,7 @@
if (wsdlLocation == null)
throw new IllegalArgumentException("URL cannot be null");
- log.trace("parse: " + wsdlLocation.toExternalForm());
+ log.debug("parse: " + wsdlLocation.toExternalForm());
EntityResolver entityResolver = new JBossWSEntityResolver();
WSDLDefinitions wsdlDefinitions = null;
@@ -136,7 +138,7 @@
if (log.isTraceEnabled())
{
StringWriter stwr = new StringWriter();
- WSDLWriter wsdlWriter = new WSDLWriter(wsdlDefinitions);
+ WSDL11Writer wsdlWriter = new WSDL11Writer(wsdlDefinitions);
wsdlWriter.write(stwr);
log.trace("\n" + stwr.toString());
}
@@ -163,24 +165,24 @@
{
try
{
- InputStream wsdlInputStream = wsdlLocation.openStream();
+ InputStream inputStream = new ResourceURL(wsdlLocation).openStream();
try
{
DocumentBuilder builder = DOMUtils.getDocumentBuilder();
- return builder.parse(wsdlInputStream);
+ return builder.parse(inputStream);
}
finally
{
- wsdlInputStream.close();
+ inputStream.close();
}
}
- catch (RuntimeException rte)
+ catch (ConnectException ex)
{
- throw rte;
+ throw new WSDLException("Cannot connect to: " + wsdlLocation);
}
- catch (Exception e)
+ catch (Exception ex)
{
- throw new WSDLException(e);
+ throw new WSDLException("Cannot parse wsdlLocation: " + wsdlLocation, ex);
}
}
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLLocatorImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/wsdl/WSDLLocatorImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLLocatorImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -32,6 +32,7 @@
import org.jboss.logging.Logger;
import org.jboss.ws.WSException;
+import org.jboss.ws.core.utils.ResourceURL;
import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
@@ -43,38 +44,38 @@
private static final Logger log = Logger.getLogger(WSDLDefinitionsFactory.class);
private EntityResolver entityResolver;
- private URL wsdlURL;
+ private URL wsdlLocation;
private String latestImportURI;
- public WSDLLocatorImpl(EntityResolver entityResolver, URL wsdlFile)
+ public WSDLLocatorImpl(EntityResolver entityResolver, URL wsdlLocation)
{
- if (wsdlFile == null)
+ if (wsdlLocation == null)
throw new IllegalArgumentException("WSDL file argument cannot be null");
this.entityResolver = entityResolver;
- this.wsdlURL = wsdlFile;
+ this.wsdlLocation = wsdlLocation;
}
public InputSource getBaseInputSource()
{
- log.trace("getBaseInputSource [wsdlUrl=" + wsdlURL + "]");
+ log.trace("getBaseInputSource [wsdlUrl=" + wsdlLocation + "]");
try
{
- InputStream is = wsdlURL.openStream();
- if (is == null)
- throw new IllegalArgumentException("Cannot obtain wsdl from [" + wsdlURL + "]");
+ InputStream inputStream = new ResourceURL(wsdlLocation).openStream();
+ if (inputStream == null)
+ throw new IllegalArgumentException("Cannot obtain wsdl from [" + wsdlLocation + "]");
- return new InputSource(is);
+ return new InputSource(inputStream);
}
catch (IOException e)
{
- throw new RuntimeException("Cannot access wsdl from [" + wsdlURL + "], " + e.getMessage());
+ throw new RuntimeException("Cannot access wsdl from [" + wsdlLocation + "], " + e.getMessage());
}
}
public String getBaseURI()
{
- return wsdlURL.toExternalForm();
+ return wsdlLocation.toExternalForm();
}
public InputSource getImportInputSource(String parent, String resource)
Modified: branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLWriter.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/wsdl/WSDLWriter.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/java/org/jboss/ws/tools/wsdl/WSDLWriter.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY 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 along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.ws.tools.wsdl;
// $Id$
@@ -34,9 +34,12 @@
import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
+import org.jboss.ws.metadata.wsdl.DOMTypes;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.metadata.wsdl.WSDLService;
+import org.jboss.ws.metadata.wsdl.WSDLTypes;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
+import org.jboss.ws.metadata.wsdl.XSModelTypes;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
import org.w3c.dom.Element;
@@ -54,7 +57,7 @@
protected WSDLDefinitions wsdl;
protected WSDLUtils utils = WSDLUtils.getInstance();
-
+
// The soap prefix
protected String soapPrefix = "soap";
@@ -75,11 +78,16 @@
/** Write the wsdl definition to the given writer, clients should not care about the wsdl version. */
public void write(Writer writer, String charset) throws IOException
{
+ write(writer, charset, null);
+ }
+
+ public void write(Writer writer, String charset, WSDLWriterResolver resolver) throws IOException
+ {
String wsdlNamespace = wsdl.getWsdlNamespace();
if (Constants.NS_WSDL11.equals(wsdlNamespace))
{
WSDL11Writer wsdl11Writer = new WSDL11Writer(wsdl);
- wsdl11Writer.write(writer, charset);
+ wsdl11Writer.write(writer, charset, resolver);
}
else
{
@@ -92,11 +100,11 @@
StringBuilder buffer = new StringBuilder();
buffer.append(Constants.XML_HEADER);
- appendDefinitions(buffer);
- appendTypes(buffer);
- appendInterfaces(buffer);
- appendBindings(buffer);
- appendServices(buffer);
+ appendDefinitions(buffer, wsdl.getTargetNamespace());
+ appendTypes(buffer, wsdl.getTargetNamespace());
+ appendInterfaces(buffer, wsdl.getTargetNamespace());
+ appendBindings(buffer, wsdl.getTargetNamespace());
+ appendServices(buffer, wsdl.getTargetNamespace());
buffer.append("</definitions>");
@@ -104,7 +112,7 @@
new DOMWriter(writer).setPrettyprint(true).print(element);
}
- protected void appendDefinitions(StringBuilder buffer)
+ protected void appendDefinitions(StringBuilder buffer, String namespace)
{
buffer.append("<definitions");
//Append service name as done by wscompile, if there is just one
@@ -114,8 +122,9 @@
WSDLService ser = services[0];
buffer.append(" name='" + ser.getName() + "'");
}
- buffer.append(" targetNamespace='" + wsdl.getTargetNamespace() + "'");
+ buffer.append(" targetNamespace='" + namespace + "'");
buffer.append(" xmlns='" + wsdl.getWsdlNamespace() + "'");
+
Iterator it = wsdl.getRegisteredNamespaceURIs();
while (it.hasNext())
{
@@ -131,24 +140,39 @@
buffer.append(">");
}
- protected void appendTypes(StringBuilder buffer)
+ protected void appendTypes(StringBuilder buffer, String namespace)
{
- buffer.append("<types>");
- JBossXSModel xsM = WSDLUtils.getSchemaModel(wsdl.getWsdlTypes());
- String schema = xsM.serialize();
- buffer.append(schema);
- buffer.append("</types>");
+ WSDLTypes wsdlTypes = wsdl.getWsdlTypes();
+ // If the type section is bound to a particular namespace, verify it mataches, otherwise skip
+ if (wsdlTypes.getNamespace() != null && !wsdlTypes.getNamespace().equals(namespace))
+ return;
+
+ if (wsdlTypes instanceof XSModelTypes)
+ {
+ buffer.append("<types>");
+ JBossXSModel xsM = WSDLUtils.getSchemaModel(wsdlTypes);
+ String schema = xsM.serialize();
+ buffer.append(schema);
+ buffer.append("</types>");
+ }
+ else if (wsdlTypes instanceof DOMTypes)
+ {
+ synchronized (wsdlTypes)
+ {
+ buffer.append(DOMWriter.printNode(((DOMTypes)wsdlTypes).getElement(), true));
+ }
+ }
}
- protected void appendInterfaces(StringBuilder buffer)
+ protected void appendInterfaces(StringBuilder buffer, String namespace)
{
}
- protected void appendBindings(StringBuilder buffer)
+ protected void appendBindings(StringBuilder buffer, String namespace)
{
}
- protected void appendServices(StringBuilder buffer)
+ protected void appendServices(StringBuilder buffer, String namespace)
{
}
Modified: branches/dead-jsr181-backport/src/main/resources/jbossws.beans/META-INF/jboss-beans.xml
===================================================================
--- branches/jbossws-1.0/src/main/resources/jbossws.beans/META-INF/jboss-beans.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/jbossws.beans/META-INF/jboss-beans.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -19,35 +19,31 @@
<!-- If these two properties are not set the ports will be identified by querying the -->
<!-- list of installed connectors, if multiple connectors are found the port of the -->
<!-- first connector is used. -->
- <!--<property name="webServiceSecurePort">8443</property>-->
- <!--<property name="webServicePort">8080</property>-->
+ <property name="webServiceSecurePort">8443</property>
+ <property name="webServicePort">8080</property>
<property name="alwaysModifySOAPAddress">true</property>
<property name="serviceEndpointInvokerJSE">org.jboss.ws.core.server.ServiceEndpointInvokerJSE</property>
- <property name="serviceEndpointInvokerEJB21">org.jboss.ws.integration.jboss42.ServiceEndpointInvokerEJB21</property>
- <property name="serviceEndpointInvokerEJB3">org.jboss.ws.integration.jboss42.ServiceEndpointInvokerEJB3</property>
- <property name="serviceEndpointInvokerMDB">org.jboss.ws.integration.jboss42.ServiceEndpointInvokerMDB</property>
+ <property name="serviceEndpointInvokerEJB21">org.jboss.ws.integration.jboss4.ServiceEndpointInvokerEJB21</property>
+ <property name="serviceEndpointInvokerEJB3">org.jboss.ws.integration.jboss4.ServiceEndpointInvokerEJB3</property>
+ <property name="serviceEndpointInvokerMDB">org.jboss.ws.integration.jboss4.ServiceEndpointInvokerMDB</property>
</bean>
- <bean name="ServiceEndpointDeployer" class="org.jboss.ws.deployment.ServiceEndpointDeployer">
+ <bean name="ServiceEndpointDeployer" class="org.jboss.ws.core.server.ServiceEndpointDeployer">
<property name="serviceEndpointManager"><inject bean="ServiceEndpointManager"/></property>
</bean>
- <bean name="ServiceEndpointPublisher" class="org.jboss.ws.integration.jboss42.JBossServiceEndpointPublisher">
- <property name="serviceEndpointDeployer"><inject bean="ServiceEndpointDeployer"/></property>
- <property name="serviceEndpointServlet">org.jboss.ws.integration.jboss42.JBossServiceEndpointServlet</property>
+ <bean name="ServiceEndpointPublisher" class="org.jboss.ws.integration.jboss4.ServiceEndpointPublisher">
+ <property name="serviceEndpointServlet">org.jboss.ws.integration.jboss4.JBossServiceEndpointServlet</property>
</bean>
- <bean name="JMSMessageDispatcher" class="org.jboss.ws.integration.jboss42.jms.JMSMessageDispatcher"/>
+ <bean name="JMSMessageDispatcher" class="org.jboss.ws.integration.jboss4.jms.JMSMessageDispatcher"/>
<!-- A subscription manager for WS-Eventing -->
- <bean name="SubscriptionManager" class="org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager">
- <property name="maxLeaseTimeMins">10</property>
- <property name="defaultLeaseTimeMins">5</property>
- </bean>
+ <bean name="SubscriptionManager" class="org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager"/>
- <bean name="ServerConfig" class="org.jboss.ws.integration.jboss42.ServerConfigImpl"/>
+ <bean name="ServerConfig" class="org.jboss.ws.integration.jboss4.ServerConfigImpl"/>
<bean name="KernelLocator" class="org.jboss.ws.core.server.KernelLocator"/>
Modified: branches/dead-jsr181-backport/src/main/resources/jbossws.sar/META-INF/jboss-service.xml
===================================================================
--- branches/jbossws-1.0/src/main/resources/jbossws.sar/META-INF/jboss-service.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/jbossws.sar/META-INF/jboss-service.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -7,14 +7,14 @@
<!--
A deployer service for WS clients.
-->
- <mbean name="jboss.ws:service=WebServiceClientDeployer" code="org.jboss.ws.integration.jboss42.WebServiceClientDeployer">
+ <mbean name="jboss.ws:service=WebServiceClientDeployer" code="org.jboss.ws.integration.jboss4.WebServiceClientDeployer">
<depends>jboss:service=Naming</depends>
</mbean>
<!--
A deployer service for JSE endpoints.
-->
- <mbean name="jboss.ws:service=WebServiceDeployerJSE" code="org.jboss.ws.integration.jboss42.DeployerInterceptorJSE">
+ <mbean name="jboss.ws:service=WebServiceDeployerJSE" code="org.jboss.ws.integration.jboss4.DeployerInterceptorJSE">
<depends-list optional-attribute-name="Interceptables">
<depends-list-element>jboss.web:service=WebServer</depends-list-element>
</depends-list>
@@ -23,7 +23,7 @@
<!--
A deployer service for EJB2.1 endpoints.
-->
- <mbean name="jboss.ws:service=DeployerInterceptorEJB21" code="org.jboss.ws.integration.jboss42.DeployerInterceptorEJB21">
+ <mbean name="jboss.ws:service=DeployerInterceptorEJB21" code="org.jboss.ws.integration.jboss4.DeployerInterceptorEJB21">
<depends-list optional-attribute-name="Interceptables">
<depends-list-element>jboss.ejb:service=EJBDeployer</depends-list-element>
</depends-list>
@@ -32,7 +32,7 @@
<!--
A deployer service for EJB3 endpoints.
-->
- <mbean name="jboss.ws:service=DeployerInterceptorEJB3" code="org.jboss.ws.integration.jboss42.DeployerInterceptorEJB3">
+ <mbean name="jboss.ws:service=DeployerInterceptorEJB3" code="org.jboss.ws.integration.jboss4.DeployerInterceptorEJB3">
<depends-list optional-attribute-name="Interceptables">
<depends-list-element>jboss.ejb3:service=EJB3Deployer</depends-list-element>
</depends-list>
@@ -41,7 +41,7 @@
<!--
A deployer service for JSE endpoints that are nested in service archives (sar).
-->
- <mbean name="jboss.ws:service=DeployerInterceptorNestedJSE" code="org.jboss.ws.integration.jboss42.DeployerInterceptorNestedJSE">
+ <mbean name="jboss.ws:service=DeployerInterceptorNestedJSE" code="org.jboss.ws.integration.jboss4.DeployerInterceptorNestedJSE">
<depends optional-attribute-name="MainDeployer" proxy-type="attribute">jboss.system:service=MainDeployer</depends>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
</mbean>
Modified: branches/dead-jsr181-backport/src/main/resources/jbossws.war/JBoss/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/main/resources/jbossws.war/JBoss/WEB-INF/web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/jbossws.war/JBoss/WEB-INF/web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -14,12 +14,12 @@
<servlet>
<servlet-name>ContextServlet</servlet-name>
- <servlet-class>org.jboss.ws.integration.jboss42.JBossContextServlet</servlet-class>
+ <servlet-class>org.jboss.ws.integration.jboss4.JBossContextServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>PortComponentLinkServlet</servlet-name>
- <servlet-class>org.jboss.ws.integration.jboss42.PortComponentLinkServlet</servlet-class>
+ <servlet-class>org.jboss.ws.integration.jboss4.PortComponentLinkServlet</servlet-class>
</servlet>
<!-- now the mappings -->
Modified: branches/dead-jsr181-backport/src/main/resources/jbossws14.sar/META-INF/jboss-service.xml
===================================================================
--- branches/jbossws-1.0/src/main/resources/jbossws14.sar/META-INF/jboss-service.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/jbossws14.sar/META-INF/jboss-service.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -7,14 +7,14 @@
<!--
A deployer service for WS clients.
-->
- <mbean name="jboss.ws:service=WebServiceClientDeployer" code="org.jboss.ws.integration.jboss42.WebServiceClientDeployer">
+ <mbean name="jboss.ws:service=WebServiceClientDeployer" code="org.jboss.ws.integration.jboss4.WebServiceClientDeployer">
<depends>jboss:service=Naming</depends>
</mbean>
<!--
A deployer service for JSE endpoints.
-->
- <mbean name="jboss.ws:service=WebServiceDeployerJSE" code="org.jboss.ws.integration.jboss42.DeployerInterceptorJSE">
+ <mbean name="jboss.ws:service=WebServiceDeployerJSE" code="org.jboss.ws.integration.jboss4.DeployerInterceptorJSE">
<depends-list optional-attribute-name="Interceptables">
<depends-list-element>jboss.web:service=WebServer</depends-list-element>
</depends-list>
@@ -23,7 +23,7 @@
<!--
A deployer service for EJB2.1 endpoints.
-->
- <mbean name="jboss.ws:service=DeployerInterceptorEJB21" code="org.jboss.ws.integration.jboss42.DeployerInterceptorEJB21">
+ <mbean name="jboss.ws:service=DeployerInterceptorEJB21" code="org.jboss.ws.integration.jboss4.DeployerInterceptorEJB21">
<depends-list optional-attribute-name="Interceptables">
<depends-list-element>jboss.ejb:service=EJBDeployer</depends-list-element>
</depends-list>
@@ -31,7 +31,7 @@
<!--
A deployer service for EJB3 endpoints.
- <mbean name="jboss.ws:service=DeployerInterceptorEJB3" code="org.jboss.ws.integration.jboss42.DeployerInterceptorEJB3">
+ <mbean name="jboss.ws:service=DeployerInterceptorEJB3" code="org.jboss.ws.integration.jboss4.DeployerInterceptorEJB3">
<depends-list optional-attribute-name="Interceptables">
<depends-list-element>jboss.ejb3:service=EJB3Deployer</depends-list-element>
</depends-list>
@@ -41,7 +41,7 @@
<!--
A deployer service for JSE endpoints that are nested in service archives (sar).
-->
- <mbean name="jboss.ws:service=DeployerInterceptorNestedJSE" code="org.jboss.ws.integration.jboss42.DeployerInterceptorNestedJSE">
+ <mbean name="jboss.ws:service=DeployerInterceptorNestedJSE" code="org.jboss.ws.integration.jboss4.DeployerInterceptorNestedJSE">
<depends optional-attribute-name="MainDeployer" proxy-type="attribute">jboss.system:service=MainDeployer</depends>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
</mbean>
Modified: branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/jsr109pojo/build.xml
===================================================================
--- branches/jbossws-1.0/src/main/resources/samples/jaxrpc/jsr109pojo/build.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/jsr109pojo/build.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id$ -->
+<!-- $Id:build.xml 1125 2006-10-03 15:45:31Z thomas.diesler at jboss.com $ -->
<project default="main" basedir="../.." name="JBossWS Examples">
@@ -44,7 +44,6 @@
<webinf dir="${build.tests.dir}/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF">
<include name="jaxrpc-mapping.xml"/>
<include name="webservices.xml"/>
- <include name="jboss-web.xml"/>
<include name="wsdl/**"/>
</webinf>
</war>
Modified: branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/mtom/build.xml
===================================================================
--- branches/jbossws-1.0/src/main/resources/samples/jaxrpc/mtom/build.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/mtom/build.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id$ -->
+<!-- $Id:build.xml 1125 2006-10-03 15:45:31Z thomas.diesler at jboss.com $ -->
<project default="main" basedir="../.." name="JBossWS Examples">
@@ -34,8 +34,8 @@
<!-- jaxrpc-samples-mtom -->
<war warfile="${build.tests.dir}/libs/jaxrpc-samples-mtom.war" webxml="${build.tests.dir}/resources/jaxrpc/samples/mtom/WEB-INF/web.xml">
<classes dir="${build.tests.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/samples/mtom/**"/>
- <exclude name="org/jboss/test/ws/jaxrpc/samples/mtom/MTOMTestCase.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/mtom/XOPTestImpl.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/mtom/XOPTest.class"/>
</classes>
<webinf dir="${build.tests.dir}/resources/jaxrpc/samples/mtom/WEB-INF">
<include name="jaxrpc-mapping.xml"/>
Modified: branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/secureejb/build.xml
===================================================================
--- branches/jbossws-1.0/src/main/resources/samples/jaxrpc/secureejb/build.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/secureejb/build.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id$ -->
+<!-- $Id:build.xml 1125 2006-10-03 15:45:31Z thomas.diesler at jboss.com $ -->
<project default="main" basedir="../.." name="JBossWS Examples">
@@ -28,8 +28,7 @@
<!--
Build the test deployments
-->
- <target name="jars" depends="compile,copy-resources,generate-sources,compile-generated,copy-generated"
- description="build the deployments">
+ <target name="jars" depends="compile,copy-resources,generate-sources,compile-generated,copy-generated" description="build the deployments">
<!-- jaxrpc-samples-secureejb -->
<jar jarfile="${build.tests.dir}/libs/jaxrpc-samples-secureejb.jar">
Modified: branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/wsbpel/build.xml
===================================================================
--- branches/jbossws-1.0/src/main/resources/samples/jaxrpc/wsbpel/build.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/samples/jaxrpc/wsbpel/build.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -3,119 +3,126 @@
<!-- $Id$ -->
<project default="main" basedir="../.." name="JBossWS Examples">
-
- <property name="chapter" value="jaxrpc/wsbpel"/>
- <property name="sample.path" value="jaxrpc/samples/wsbpel"/>
- <property name="java.dir" value="${basedir}/${chapter}/java"/>
- <property name="resources.dir" value="${basedir}/${chapter}/resources"/>
-
- <import file="${basedir}/common/imported-build.xml"/>
-
- <target name="init-jbpmbpel" depends="init">
-
+
+ <property name="chapter" value="jaxrpc/wsbpel" />
+ <property name="sample.path" value="jaxrpc/samples/wsbpel" />
+ <property name="java.dir" value="${basedir}/${chapter}/java" />
+ <property name="resources.dir" value="${basedir}/${chapter}/resources" />
+
+ <import file="${basedir}/common/imported-build.xml" />
+
+ <target name="init-jbpmbpel">
<!-- Check that jBPM BPEL has been deployed -->
- <property name="jboss.server.deploy.jbpmbpel" value="${jboss.server.deploy}/jbpm-bpel.sar"/>
- <available property="jbpmbpel.available" file="${jboss.server.deploy.jbpmbpel}" type="dir"/>
- <antcall target="deploy-jbpmbpel"/>
-
+ <property name="jboss.server.deploy.jbpmbpel"
+ value="${jboss.server.deploy}/jbpm-bpel.sar" />
+ <available property="jbpmbpel.available"
+ file="${jboss.server.deploy.jbpmbpel}" />
+ <antcall target="deploy-jbpmbpel" />
+
<!-- The jBPM BPEL classpath -->
<path id="jbpmbpel.classpath">
- <path refid="client.classpath"/>
- <fileset dir="${jboss.lib}">
- <include name="commons-logging.jar"/>
- </fileset>
+ <path refid="client.classpath" />
<fileset dir="${jboss.server.lib}">
- <include name="dom4j.jar"/>
- <include name="commons-collections.jar"/>
+ <include name="dom4j.jar" />
+ <include name="commons-collections.jar" />
</fileset>
<fileset dir="${jboss.server.deploy.jbpmbpel}">
- <include name="jbpm*.jar"/>
- <include name="commons-lang*.jar"/>
- <include name="jaxen*.jar"/>
+ <include name="jbpm*.jar" />
+ <include name="commons-lang*.jar" />
+ <include name="jaxen*.jar" />
</fileset>
- <path location="${jboss.server.deploy.jbpmbpel}"/>
- <path location="${common.resources}"/>
+ <path location="${jboss.server.deploy.jbpmbpel}" />
+ <path location="${common.resources}" />
</path>
</target>
-
+
<target name="deploy-jbpmbpel" unless="jbpmbpel.available">
- <mkdir dir="${jboss.server.deploy.jbpmbpel}"/>
- <unjar dest="${jboss.server.deploy.jbpmbpel}" src="${thirdparty.dir}/jbpm-bpel.sar"/>
+ <mkdir dir="${jboss.server.deploy.jbpmbpel}" />
+ <unjar dest="${jboss.server.deploy.jbpmbpel}"
+ src="${basedir}/lib/jbpm-bpel.sar" />
</target>
-
- <target name="generate-sources" depends="init-jbpmbpel" description="Generate the deployment resources.">
-
+
+ <target name="generate-sources"
+ depends="init-jbpmbpel"
+ description="Generate the deployment resources.">
+
<!-- Package the BPEL process and related WSDL interfaces -->
<zip destfile="${build.tests.dir}/libs/jaxrpc-samples-wsbpel-hello-process.zip">
- <fileset dir="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/bpel"/>
+ <fileset dir="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/bpel" />
</zip>
-
+
<!-- Define the servicegen ant task -->
- <taskdef name="servicegen" classname="org.jbpm.bpel.ant.ServiceGeneratorTask">
- <classpath refid="jbpmbpel.classpath"/>
+ <taskdef name="servicegen"
+ classname="org.jbpm.bpel.ant.ServiceGeneratorTask">
+ <classpath refid="jbpmbpel.classpath" />
</taskdef>
-
+
<!-- Generate binding and service elements -->
<servicegen processfile="${build.tests.dir}/libs/jaxrpc-samples-wsbpel-hello-process.zip"
- outputdir="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/wsdl"/>
-
+ outputdir="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/wsdl" />
+
<!-- Define the wstools ant task -->
<taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools">
<classpath>
- <path refid="client.classpath"/>
- <path location="${build.tests.dir}"/>
- <path location="${common.resources}"/>
+ <path refid="client.classpath" />
+ <path location="${build.tests.dir}" />
+ <path location="${common.resources}" />
</classpath>
</taskdef>
-
+
<!-- samples/wsbpel -->
- <wstools dest="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF" config="${resources.dir}/hello/wstools-config.xml"/>
-
+ <wstools dest="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF"
+ config="${resources.dir}/hello/wstools-config.xml" />
+
<move todir="${build.tests.dir}/wstools/java">
- <fileset dir="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF" includes="org/**"/>
+ <fileset dir="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF"
+ includes="org/**" />
</move>
</target>
-
+
<!-- Build the test deployments -->
- <target name="jars" depends="compile,copy-resources,generate-sources,compile-generated,copy-generated" description="build the deployments">
-
+ <target name="jars"
+ depends="compile,copy-resources,generate-sources,compile-generated,copy-generated"
+ description="build the deployments">
+
<!-- jaxrpc-samples-wsbpel -->
- <war warfile="${build.tests.dir}/libs/jaxrpc-samples-wsbpel-hello.war" webxml="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/web.xml">
+ <war warfile="${build.tests.dir}/libs/jaxrpc-samples-wsbpel-hello.war"
+ webxml="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/web.xml">
<classes dir="${build.tests.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/HelloWorldService.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter_Impl.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/HelloWorldService.class" />
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter.class" />
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter_Impl.class" />
</classes>
<webinf dir="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
- <include name="webservices.xml"/>
- <include name="classes/bpel-application.xml"/>
+ <include name="webservices.xml" />
+ <include name="classes/bpel-application.xml" />
</webinf>
<webinf dir="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
- <include name="jaxrpc-mapping.xml"/>
- <include name="wsdl/**"/>
+ <include name="jaxrpc-mapping.xml" />
+ <include name="wsdl/**" />
</webinf>
</war>
-
+
<jar destfile="${build.tests.dir}/libs/jaxrpc-samples-wsbpel-hello-client.jar">
<fileset dir="${build.tests.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/HelloWorldService.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/HelloWorldService.class" />
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter.class" />
</fileset>
<metainf dir="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/META-INF">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
</metainf>
<metainf dir="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
- <include name="jaxrpc-mapping.xml"/>
+ <include name="jaxrpc-mapping.xml" />
</metainf>
</jar>
</target>
-
+
<!-- Run the testsuite -->
<target name="tests" depends="jars" description="run the testsuite">
<antcall target="test">
- <param name="test" value="${sample.path}"/>
+ <param name="test" value="${sample.path}" />
</antcall>
</target>
-
+
</project>
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/main/resources/schema/j2ee_1_4.xsd
===================================================================
--- branches/jbossws-1.0/src/main/resources/schema/j2ee_1_4.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/schema/j2ee_1_4.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -59,7 +59,7 @@
application client;
web application;
enterprise bean;
- resource adapterJBoss;
+ resource adapter;
Deployment File may indicate one of the following:
ear file;
Modified: branches/dead-jsr181-backport/src/main/resources/schema/javaee_5.xsd
===================================================================
--- branches/jbossws-1.0/src/main/resources/schema/javaee_5.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/main/resources/schema/javaee_5.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -61,7 +61,7 @@
application client;
web application;
enterprise bean;
- resource adapterJBoss;
+ resource adapter;
Deployment File may indicate one of the following:
ear file;
Deleted: branches/dead-jsr181-backport/src/test/ant/build-interop-artifacts.xml
===================================================================
--- branches/jbossws-1.0/src/test/ant/build-interop-artifacts.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/ant/build-interop-artifacts.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,371 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ============================================================ -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- ============================================================ -->
-
-<!-- $Id$ -->
-
-<project name="JBossWS-Interop" default="build" basedir="../../../">
-
- <import file="../build.xml"/>
-
- <property name="jwsdp.home" value="C:/dev/env/jwsdp-1.6"/>
- <property name="wsdl.update.marker" value="${test.resources.dir}/interop/wsdl.update"/>
-
- <path id="jwsdp.classpath">
- <fileset dir="${jwsdp.home}/jaxrpc/lib"/>
- <fileset dir="${jwsdp.home}/jwsdp-shared/lib">
- <include name="activation.jar"/>
- <include name="mail.jar"/>
- <include name="jax-qname.jar"/>
- </fileset>
- <fileset dir="${jwsdp.home}/saaj/lib"/>
- <fileset dir="${jwsdp.home}/jaxp/lib"/>
- </path>
-
- <path id="wscompile.tools.classpath">
- <fileset dir="${env.JAVA_HOME}/lib">
- <include name="*.jar"/>
- </fileset>
- </path>
-
- <path id="build.classpath">
- <path refid="javac.classpath"/>
- </path>
-
- <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
- <classpath refid="jwsdp.classpath"/>
- </taskdef>
-
- <!--
- BUILD MACROS
- -->
-
- <macrodef name="create-client">
-
- <attribute name="company"/>
- <attribute name="module"/>
- <attribute name="features"/>
- <attribute name="config" default="config.xml"/>
- <attribute name="verbose" default="false"/>
-
- <sequential>
-
- <echo>Generating interop/@{company}/@{module}</echo>
-
- <mkdir dir="${test.resources.dir}/interop/@{company}/@{module}/META-INF"/>
-
- <wscompile
- keep="true"
- client="true"
- base="${build.tests.dir}/classes"
- sourceBase="${test.java.dir}"
- nonClassDir="${test.java.dir}/org/jboss/test/ws/interop/@{company}/@{module}"
- mapping="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF/jaxrpc-mapping.xml"
- features="@{features}"
- xPrintStackTrace="true"
- fork="true"
- verbose="@{verbose}"
- debug="true"
- config="${test.resources.dir}/interop/@{company}/@{module}/@{config}">
-
- <classpath>
- <path refid="wscompile.tools.classpath"/>
- <path refid="jwsdp.classpath"/>
- <path refid="build.classpath"/>
- </classpath>
- </wscompile>
- </sequential>
- </macrodef>
-
- <macrodef name="create-server">
-
- <attribute name="company"/>
- <attribute name="module"/>
- <attribute name="features"/>
- <attribute name="config" default="config.xml"/>
- <attribute name="verbose" default="false"/>
-
- <attribute name="import" default="true"/>
- <attribute name="server" default="false"/>
-
- <sequential>
-
- <echo>Generating interop/@{company}/@{module}</echo>
-
- <wscompile
- keep="true"
- import="@{import}"
- server="@{server}"
- base="${build.tests.dir}/classes"
- sourceBase="${test.java.dir}"
- nonClassDir="${test.java.dir}/org/jboss/test/ws/interop/@{company}/@{module}"
- mapping="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF/jaxrpc-mapping.xml"
- features="@{features}"
- xPrintStackTrace="true"
- fork="true"
- verbose="@{verbose}"
- debug="true"
- config="${test.resources.dir}/interop/@{company}/@{module}/@{config}">
-
- <classpath>
- <path refid="wscompile.tools.classpath"/>
- <path refid="jwsdp.classpath"/>
- <path refid="build.classpath"/>
- </classpath>
- </wscompile>
-
- </sequential>
- </macrodef>
-
- <macrodef name="fetch-wsdl">
- <attribute name="company"/>
- <attribute name="module"/>
- <attribute name="source"/>
- <attribute name="localName" default="service.wsdl"/>
-
- <sequential>
-
- <mkdir dir="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF"/>
- <mkdir dir="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF/wsdl"/>
-
- <get src="@{source}"
- dest="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF/wsdl/@{localName}"
- verbose="true"
- usetimestamp="true"/>
- </sequential>
- </macrodef>
-
- <!--
- CLIENT AND ENDPOINT GENERATION
- -->
- <target name="prepare-interop">
- <mkdir dir="${build.tests.dir}/libs/"/>
- <mkdir dir="${build.tests.dir}/classes/"/>
- <mkdir dir="${build.tests.dir}/reports/"/>
-
- <uptodate property="create.required" targetfile="${wsdl.update.marker}" >
- <srcfiles dir= "${test.resources.dir}/interop" includes="**/WEB-INF/jaxrpc-mapping.xml"/>
- </uptodate>
- </target>
-
- <target name="sync-wsdl-files" description="sync the local WSDL copies">
- <fetch-wsdl
- source="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc?wsdl"
- module="soapwsdl/BaseDataTypesDocLitB"
- company="microsoft"/>
-
- <fetch-wsdl
- source="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitW.svc?wsdl"
- module="soapwsdl/BaseDataTypesDocLitW"
- company="microsoft"/>
-
- <fetch-wsdl
- source="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc?wsdl"
- module="soapwsdl/BaseDataTypesRPCLit"
- company="microsoft"/>
-
- <fetch-wsdl
- source="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc?wsdl"
- module="soapwsdl/ComplexDataTypesDocLitB"
- company="microsoft"/>
-
- <fetch-wsdl
- source="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?wsdl"
- module="soapwsdl/ComplexDataTypesDocLitW"
- company="microsoft"/>
-
- <fetch-wsdl
- source="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc?wsdl"
- module="soapwsdl/ComplexDataTypesRpcLit"
- company="microsoft"/>
-
- <!-- OneWay.svc -->
- <fetch-wsdl source="http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc?wsdl"
- module="addressing/wsa10"
- company="microsoft"/>
-
- <!-- touch the wsdl.update marker -->
- <touch file="${wsdl.update.marker}"/>
-
- </target>
-
- <target name="create-all" depends="prepare-interop, create-client, create-server, create-not-required"/>
-
- <target name="create-not-required" unless="create.required">
- <echo>Local WSDL copies seem to be uptodate. No build required.</echo>
- </target>
-
- <target name="re-create-all">
- <property name="create.required" value="true"/>
- <antcall target="create-all"/>
- </target>
-
- <target name="create-client" if="create.required" description="create the client side artifacts">
-
- <!--create-client
- company="microsoft" module="soapwsdl/BaseDataTypesDocLitB"
- features="documentliteral,wsi"/>
-
- <create-client
- company="microsoft" module="soapwsdl/BaseDataTypesDocLitW"
- features="documentliteral,wsi,unwrap"/>
-
- <create-client
- company="microsoft" module="soapwsdl/BaseDataTypesRPCLit"
- features="rpcliteral,wsi"/>
-
- <create-client
- company="microsoft" module="soapwsdl/ComplexDataTypesDocLitB"
- features="documentliteral,wsi"/>
-
- <create-client
- company="microsoft" module="soapwsdl/ComplexDataTypesDocLitW"
- features="documentliteral,wsi,unwrap"/>
-
- <create-client
- company="microsoft" module="soapwsdl/ComplexDataTypesRpcLit"
- features="rpcliteral,wsi"/-->
-
- </target>
-
- <target name="create-server" description="create the server side artifacts">
-
- <!--create-server
- features="documentliteral,wsi"
- module="addressing/wsaTestService"
- company="microsoft" verbose="false"/>
-
- <create-server
- features="documentliteral,wsi"
- module="soapwsdl/BaseDataTypesDocLitB_Service"
- company="microsoft" verbose="false"/>
-
- <create-server
- features="documentliteral,wsi,unwrap"
- module="soapwsdl/BaseDataTypesDocLitW_Service"
- company="microsoft" verbose="false"
- import="false" server="true"/>
-
- <create-server
- features="rpcliteral,wsi"
- module="soapwsdl/BaseDataTypesRpcLit_Service"
- company="microsoft" verbose="false"
- import="false" server="true"/-->
-
- </target>
-
- <target name="create-addressing" description="create the addressing artifcats">
- <!--create-client
- company="microsoft" module="addressing/wsa10"
- features="documentliteral,wsi,useonewayoperations,unwrap,novalidation"
- verbose="false"/-->
- </target>
-
- <target name="create-security">
- <!--create-client
- company="microsoft" module="security/wsse10"
- features="documentliteral,wsi,useonewayoperations"
- verbose="false"/>
-
- <create-client
- company="microsoft" module="security/wsse10Encrypt"
- features="documentliteral,wsi,useonewayoperations"
- verbose="false"/-->
-
- </target>
-
- <target name="create-mtom">
- <!--create-server
- features="documentliteral,wsi"
- module="mtom/utf8"
- company="microsoft" verbose="false"
- import="false" server="true"/-->
-
- </target>
- <!--
- COMMON BUILD TARGETS
- -->
-
- <target name="build" depends="prepare-interop, copy-resources, compile">
- <ant antfile="${test.dir}/ant/build-interop-jars.xml" target="build-interop-jars"/>
- </target>
-
- <target name="compile" depends="prepare-interop, init">
- <mkdir dir="${build.tests.dir}/classes"/>
- <javac srcdir="${test.java.dir}" destdir="${build.tests.dir}/classes"
- classpathref="build.classpath"
- source="1.5"
- nowarn="off"
- debug="on"
- fork="yes">
- <classpath refid="jwsdp.classpath"/>
- <classpath refid="javac.classpath"/>
- <include name="org/jboss/test/ws/interop/**/*"/>
- </javac>
- </target>
-
- <target name="deploy" depends="prepare-interop">
- <antcall target="deploy-soapwsdl"/>
- <antcall target="deploy-addressing"/>
- <antcall target="deploy-security"/>
- <antcall target="deploy-mtom"/>
- </target>
-
- <target name="deploy-soapwsdl">
- <copy todir="${jboss.home}/server/default/deploy/">
- <fileset dir="${build.tests.dir}/libs">
- <include name="*interop*_Service.war"/>
- </fileset>
- </copy>
- </target>
-
- <target name="deploy-addressing">
- <copy todir="${jboss.home}/server/default/deploy/">
- <fileset dir="${build.tests.dir}/libs">
- <include name="*interop-wsa10*.war"/>
- </fileset>
- </copy>
- </target>
-
- <target name="deploy-security">
- <copy todir="${jboss.home}/server/default/deploy/">
- <fileset dir="${build.tests.dir}/libs">
- <include name="*interop-wsse*.war"/>
- </fileset>
- </copy>
- </target>
-
- <target name="deploy-mtom">
- <copy todir="${jboss.home}/server/default/deploy/">
- <fileset dir="${build.tests.dir}/libs">
- <include name="*interop-mtom*.war"/>
- </fileset>
- </copy>
- </target>
-
- <target name="clean">
- <delete>
- <fileset dir="${build.tests.dir}/classes">
- <include name="**/interop/**/*"/>
- </fileset>
- </delete>
-
- <delete>
- <fileset dir="${jboss.home}/server/default/deploy/">
- <include name="*interop*.war"/>
- </fileset>
- </delete>
-
- <delete>
- <fileset dir="${build.tests.dir}/libs">
- <include name="*interop*"/>
- </fileset>
- </delete>
-
- </target>
-
-</project>
Modified: branches/dead-jsr181-backport/src/test/ant/build-interop-jars.xml
===================================================================
--- branches/jbossws-1.0/src/test/ant/build-interop-jars.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/ant/build-interop-jars.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -20,6 +20,17 @@
<mkdir dir="${build.tests.dir}/libs/"/>
+ <!-- Root.war -->
+ <war warfile="${build.test.dir}/libs/jbossws-interop-root.war"
+ webxml="${test.resources.dir}/interop/microsoft/root/WEB-INF/web.xml">
+ <webinf dir="${test.resources.dir}/interop/microsoft/root/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <fileset dir="${test.resources.dir}/interop/microsoft/root">
+ <include name="*.*"/>
+ </fileset>
+ </war>
+
<!-- BaseDataTypesDocLitB client -->
<jar jarfile="${build.tests.dir}/libs/jbossws-interop-BaseDataTypesDocLitB-client.jar">
<fileset dir="${build.tests.dir}/classes">
@@ -279,7 +290,40 @@
</fileset>
</war>
+ <!-- wsa10 client se06-->
+ <jar jarfile="${build.test.dir}/libs/jbossws-interop-wsa10_sep06-client.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/**/*.class"/>
+ <include name="org/jboss/test/ws/interop/microsoft/*.class"/>
+ </fileset>
+ <metainf dir="${test.resources.dir}/interop/microsoft/addressing/sep06/wsa10/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ <metainf dir="${test.resources.dir}/interop/microsoft/addressing/sep06/wsa10/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="scenarios.xml"/>
+ </metainf>
+ </jar>
+ <!-- wsaTestService_sep06.war -->
+ <war warfile="${build.test.dir}/libs/jbossws-interop-wsa10-service_sep06.war"
+ webxml="${test.resources.dir}/interop/microsoft/addressing/sep06/wsa10/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/**/*.class"/>
+ </classes>
+ <webinf dir="${test.resources.dir}/interop/microsoft/addressing/sep06/wsa10/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <fileset dir="${test.resources.dir}/interop/microsoft/addressing/sep06/wsa10">
+ <include name="*.*"/>
+ </fileset>
+ </war>
+
<!-- wsse10 sign client -->
<jar jarfile="${build.tests.dir}/libs/jbossws-interop-wsse10-client.jar">
<fileset dir="${build.tests.dir}/classes">
@@ -396,6 +440,54 @@
<include name="scenarios.xml"/>
</metainf>
</jar>
+ <!-- mtom-utf8_wsse-sign.war -->
+ <war warfile="${build.test.dir}/libs/jbossws-interop-mtomUTF8_wsse.war"
+ webxml="${test.resources.dir}/interop/microsoft/mtom/utf8/wsse/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/interop/microsoft/mtom/utf8/**/*.class"/>
+ <include name="org/jboss/test/ws/interop/microsoft/*.class"/>
+ </classes>
+
+ <webinf dir="${test.resources.dir}/interop/microsoft/mtom/utf8/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**.*"/>
+ </webinf>
+ <webinf dir="${test.resources.dir}/interop/microsoft/security/wsse10Shared/META-INF">
+ <include name="alice.jks"/>
+ <include name="wsse10.truststore"/>
+ </webinf>
+
+ <webinf dir="${test.resources.dir}/interop/microsoft/mtom/utf8/wsse/WEB-INF">
+ <include name="jboss-wsse-server.xml"/>
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <fileset dir="${test.resources.dir}/interop/microsoft/mtom/utf8">
+ <include name="*.*"/>
+ </fileset>
+ </war>
+
+ <!-- mtom-utf8_wsse-sign client -->
+ <jar jarfile="${build.test.dir}/libs/jbossws-interop-mtomUTF8_wsse-client.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/interop/microsoft/mtom/utf8/**/*.class"/>
+ <include name="org/jboss/test/ws/interop/microsoft/*.class"/>
+ </fileset>
+ <metainf dir="${test.resources.dir}/interop/microsoft/mtom/utf8/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ <metainf dir="${test.resources.dir}/interop/microsoft/security/wsse10Shared/META-INF">
+ <include name="alice.jks"/>
+ <include name="wsse10.truststore"/>
+ </metainf>
+ <metainf dir="${test.resources.dir}/interop/microsoft/mtom/utf8/wsse/META-INF">
+ <include name="jboss-client.xml"/>
+ <include name="jboss-wsse-client.xml"/>
+ <include name="application-client.xml"/>
+ <include name="scenarios.xml"/>
+ </metainf>
+ </jar>
</target>
</project>
\ No newline at end of file
Added: branches/dead-jsr181-backport/src/test/ant/build-interop.xml
===================================================================
--- branches/jbossws-1.0/src/test/ant/build-interop.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/ant/build-interop.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,396 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ============================================================ -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- ============================================================ -->
+
+<!-- $Id: build-interop.xml 1094 2006-09-28 14:08:17Z heiko.braun at jboss.com $ -->
+
+<project name="JBossWS-Interop" default="interop.build" basedir="../../../">
+
+ <import file="../build.xml"/>
+
+ <property name="jwsdp.home" value="C:/dev/env/jwsdp-1.6"/>
+ <property name="wsdl.update.marker" value="${test.resources.dir}/interop/wsdl.update"/>
+ <property name="jbossws.client.jar" value="jbossws-client.jar"/>
+
+ <path id="jwsdp.classpath">
+ <fileset dir="${jwsdp.home}/jaxrpc/lib"/>
+ <fileset dir="${jwsdp.home}/jwsdp-shared/lib">
+ <include name="activation.jar"/>
+ <include name="mail.jar"/>
+ <include name="jax-qname.jar"/>
+ </fileset>
+ <fileset dir="${jwsdp.home}/saaj/lib"/>
+ <fileset dir="${jwsdp.home}/jaxp/lib"/>
+ </path>
+
+ <path id="wscompile.tools.classpath">
+ <fileset dir="${env.JAVA_HOME}/lib">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <path id="build.classpath">
+ <path refid="javac.classpath"/>
+ </path>
+
+ <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
+ <classpath refid="jwsdp.classpath"/>
+ </taskdef>
+
+ <taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools">
+ <classpath refid="javac.classpath"/>
+ <classpath path="${build.test.dir}/classes"/>
+ </taskdef>
+
+ <!--
+ BUILD MACROS
+ -->
+
+ <macrodef name="create-client">
+
+ <attribute name="company"/>
+ <attribute name="module"/>
+ <attribute name="features"/>
+ <attribute name="config" default="config.xml"/>
+ <attribute name="verbose" default="false"/>
+
+ <sequential>
+
+ <echo>Generating interop/@{company}/@{module}</echo>
+
+ <mkdir dir="${test.resources.dir}/interop/@{company}/@{module}/META-INF"/>
+
+ <wscompile
+ keep="true"
+ client="true"
+ base="${build.test.dir}/classes"
+ sourceBase="${test.java.dir}"
+ nonClassDir="${test.java.dir}/org/jboss/test/ws/interop/@{company}/@{module}"
+ mapping="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF/jaxrpc-mapping.xml"
+ features="@{features}"
+ xPrintStackTrace="true"
+ fork="true"
+ verbose="@{verbose}"
+ debug="true"
+ config="${test.resources.dir}/interop/@{company}/@{module}/@{config}">
+
+ <classpath>
+ <path refid="wscompile.tools.classpath"/>
+ <path refid="jwsdp.classpath"/>
+ <path refid="build.classpath"/>
+ </classpath>
+ </wscompile>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="create-server">
+
+ <attribute name="company"/>
+ <attribute name="module"/>
+ <attribute name="features"/>
+ <attribute name="config" default="config.xml"/>
+ <attribute name="verbose" default="false"/>
+
+ <attribute name="import" default="true"/>
+ <attribute name="server" default="false"/>
+
+ <sequential>
+
+ <echo>Generating interop/@{company}/@{module}</echo>
+
+ <wscompile
+ keep="true"
+ import="@{import}"
+ server="@{server}"
+ base="${build.test.dir}/classes"
+ sourceBase="${test.java.dir}"
+ nonClassDir="${test.java.dir}/org/jboss/test/ws/interop/@{company}/@{module}"
+ mapping="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF/jaxrpc-mapping.xml"
+ features="@{features}"
+ xPrintStackTrace="true"
+ fork="true"
+ verbose="@{verbose}"
+ debug="true"
+ config="${test.resources.dir}/interop/@{company}/@{module}/@{config}">
+
+ <classpath>
+ <path refid="wscompile.tools.classpath"/>
+ <path refid="jwsdp.classpath"/>
+ <path refid="build.classpath"/>
+ </classpath>
+ </wscompile>
+
+ </sequential>
+ </macrodef>
+
+ <macrodef name="fetch-wsdl">
+ <attribute name="company"/>
+ <attribute name="module"/>
+ <attribute name="source"/>
+ <attribute name="localName" default="service.wsdl"/>
+
+ <sequential>
+
+ <mkdir dir="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF"/>
+ <mkdir dir="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF/wsdl"/>
+
+ <get src="@{source}"
+ dest="${test.resources.dir}/interop/@{company}/@{module}/WEB-INF/wsdl/@{localName}"
+ verbose="true"
+ usetimestamp="true"/>
+ </sequential>
+ </macrodef>
+
+ <!--
+ CLIENT AND ENDPOINT GENERATION
+ -->
+ <target name="interop.prepare">
+ <mkdir dir="${build.test.dir}/libs/"/>
+ <mkdir dir="${build.test.dir}/classes/"/>
+ <mkdir dir="${build.test.dir}/reports/"/>
+
+ <uptodate property="create.required" targetfile="${wsdl.update.marker}" >
+ <srcfiles dir= "${test.resources.dir}/interop" includes="**/WEB-INF/jaxrpc-mapping.xml"/>
+ </uptodate>
+ </target>
+
+ <target name="sync-wsdl-files" description="sync the local WSDL copies">
+ <fetch-wsdl
+ source="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc?wsdl"
+ module="soapwsdl/BaseDataTypesDocLitB"
+ company="microsoft"/>
+
+ <fetch-wsdl
+ source="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitW.svc?wsdl"
+ module="soapwsdl/BaseDataTypesDocLitW"
+ company="microsoft"/>
+
+ <fetch-wsdl
+ source="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc?wsdl"
+ module="soapwsdl/BaseDataTypesRPCLit"
+ company="microsoft"/>
+
+ <fetch-wsdl
+ source="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc?wsdl"
+ module="soapwsdl/ComplexDataTypesDocLitB"
+ company="microsoft"/>
+
+ <fetch-wsdl
+ source="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?wsdl"
+ module="soapwsdl/ComplexDataTypesDocLitW"
+ company="microsoft"/>
+
+ <fetch-wsdl
+ source="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc?wsdl"
+ module="soapwsdl/ComplexDataTypesRpcLit"
+ company="microsoft"/>
+
+ <!-- OneWay.svc -->
+ <fetch-wsdl source="http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc?wsdl"
+ module="addressing/wsa10"
+ company="microsoft"/>
+
+ <!-- touch the wsdl.update marker -->
+ <touch file="${wsdl.update.marker}"/>
+
+ </target>
+
+ <target name="create-all" depends="interop.prepare, create-client, create-server, create-not-required"/>
+
+ <target name="create-not-required" unless="create.required">
+ <echo>Local WSDL copies seem to be uptodate. No build required.</echo>
+ </target>
+
+ <target name="re-create-all">
+ <property name="create.required" value="true"/>
+ <antcall target="create-all"/>
+ </target>
+
+ <target name="create-client" if="create.required" description="create the client side artifacts">
+
+ <!--create-client
+ company="microsoft" module="soapwsdl/BaseDataTypesDocLitB"
+ features="documentliteral,wsi"/>
+
+ <create-client
+ company="microsoft" module="soapwsdl/BaseDataTypesDocLitW"
+ features="documentliteral,wsi,unwrap"/>
+
+ <create-client
+ company="microsoft" module="soapwsdl/BaseDataTypesRPCLit"
+ features="rpcliteral,wsi"/>
+
+ <create-client
+ company="microsoft" module="soapwsdl/ComplexDataTypesDocLitB"
+ features="documentliteral,wsi"/>
+
+ <create-client
+ company="microsoft" module="soapwsdl/ComplexDataTypesDocLitW"
+ features="documentliteral,wsi,unwrap"/>
+
+ <create-client
+ company="microsoft" module="soapwsdl/ComplexDataTypesRpcLit"
+ features="rpcliteral,wsi"/-->
+
+ </target>
+
+ <target name="create-server" description="create the server side artifacts">
+
+ <!--create-server
+ features="documentliteral,wsi"
+ module="addressing/wsaTestService"
+ company="microsoft" verbose="false"/>
+
+ <create-server
+ features="documentliteral,wsi"
+ module="soapwsdl/BaseDataTypesDocLitB_Service"
+ company="microsoft" verbose="false"/>
+
+ <create-server
+ features="documentliteral,wsi,unwrap"
+ module="soapwsdl/BaseDataTypesDocLitW_Service"
+ company="microsoft" verbose="false"
+ import="false" server="true"/>
+
+ <create-server
+ features="rpcliteral,wsi"
+ module="soapwsdl/BaseDataTypesRpcLit_Service"
+ company="microsoft" verbose="false"
+ import="false" server="true"/-->
+
+ </target>
+
+ <target name="create-addressing" description="create the addressing artifcats">
+ <!--create-client
+ company="microsoft" module="addressing/sep06/wsa10"
+ features="documentliteral,wsi,useonewayoperations,unwrap,novalidation"
+ verbose="false"/-->
+ <wstools dest="${test.resources.dir}/interop/microsoft/addressing/sep06/wsa10/WEB-INF"
+ config="${test.resources.dir}/interop/microsoft/addressing/sep06/wsa10/wstools-config.xml"/>
+ </target>
+
+ <target name="create-security">
+ <!--create-client
+ company="microsoft" module="security/wsse10"
+ features="documentliteral,wsi,useonewayoperations"
+ verbose="false"/>
+
+ <create-client
+ company="microsoft" module="security/wsse10Encrypt"
+ features="documentliteral,wsi,useonewayoperations"
+ verbose="false"/-->
+
+ <wstools dest="${test.resources.dir}/interop/microsoft/security/sep06/wsse10/WEB-INF"
+ config="${test.resources.dir}/interop/microsoft/security/sep06/wsse10/wstools-config.xml"/>
+
+ <wstools dest="${test.resources.dir}/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF"
+ config="${test.resources.dir}/interop/microsoft/security/sep06/wsse10Encrypt/wstools-config.xml"/>
+
+ </target>
+
+ <target name="create-mtom">
+ <!--create-server
+ features="documentliteral,wsi"
+ module="mtom/utf8"
+ company="microsoft" verbose="false"
+ import="false" server="true"/-->
+
+ </target>
+ <!--
+ COMMON BUILD TARGETS
+ -->
+
+ <target name="interop.build" depends="interop.prepare, copy-resources, interop.compile"
+ description="Compiles and builds the interop clients and endpoints">
+ <ant antfile="${test.dir}/ant/build-interop-jars.xml" target="build-interop-jars"/>
+ </target>
+
+ <target name="interop.compile" depends="interop.prepare, init" description="Compiles the interop clients and endpoints">
+ <mkdir dir="${build.test.dir}/classes"/>
+ <javac srcdir="${test.java.dir}" destdir="${build.test.dir}/classes"
+ classpathref="build.classpath"
+ source="1.5"
+ nowarn="off"
+ debug="on"
+ fork="yes">
+ <classpath refid="jwsdp.classpath"/>
+ <classpath refid="javac.classpath"/>
+ <include name="org/jboss/test/ws/interop/**/*"/>
+ </javac>
+ </target>
+
+ <target name="interop.deploy" depends="interop.prepare" description="Deploy the test endpoints locally">
+ <antcall target="deploy-root"/>
+ <antcall target="deploy-soapwsdl"/>
+ <antcall target="deploy-addressing"/>
+ <antcall target="deploy-security"/>
+ <antcall target="deploy-mtom"/>
+ </target>
+
+ <target name="deploy-root">
+ <copy todir="${jboss.home}/server/default/deploy/">
+ <fileset dir="${build.test.dir}/libs">
+ <include name="*interop-root.war"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="deploy-soapwsdl">
+ <copy todir="${jboss.home}/server/default/deploy/">
+ <fileset dir="${build.test.dir}/libs">
+ <include name="*interop*_Service.war"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="deploy-addressing">
+ <copy todir="${jboss.home}/server/default/deploy/">
+ <fileset dir="${build.test.dir}/libs">
+ <include name="*interop-wsa10*.war"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="deploy-security">
+ <copy todir="${jboss.home}/server/default/deploy/">
+ <fileset dir="${build.test.dir}/libs">
+ <include name="*interop-wsse*.war"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="deploy-mtom">
+ <copy todir="${jboss.home}/server/default/deploy/">
+ <fileset dir="${build.test.dir}/libs">
+ <include name="*interop-mtom*.war"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="interop.undeploy" description="Undeploy the local test endpoints">
+ <delete>
+ <fileset dir="${jboss.home}/server/default/deploy/">
+ <include name="*interop*.war"/>
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="interop.clean" description="Clean local build artifacts">
+ <delete>
+ <fileset dir="${build.test.dir}/classes">
+ <include name="**/interop/**/*"/>
+ </fileset>
+ </delete>
+
+ <delete>
+ <fileset dir="${build.test.dir}/libs">
+ <include name="*interop*"/>
+ </fileset>
+ </delete>
+ </target>
+
+</project>
Property changes on: branches/dead-jsr181-backport/src/test/ant/build-interop.xml
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/test/ant/build-jars-jaxrpc.xml
===================================================================
--- branches/jbossws-1.0/src/test/ant/build-jars-jaxrpc.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/ant/build-jars-jaxrpc.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1483,37 +1483,6 @@
</metainf>
</jar>
- <!-- jaxrpc-samples-wsbpel -->
- <war warfile="${build.tests.dir}/libs/jaxrpc-samples-wsbpel-hello.war"
- webxml="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/web.xml">
- <classes dir="${build.tests.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/HelloWorldService.class" />
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter.class" />
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter_Impl.class" />
- </classes>
- <webinf dir="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
- <include name="webservices.xml" />
- <include name="classes/bpel-application.xml" />
- </webinf>
- <webinf dir="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
- <include name="jaxrpc-mapping.xml" />
- <include name="wsdl/**" />
- </webinf>
- </war>
- <jar destfile="${build.tests.dir}/libs/jaxrpc-samples-wsbpel-hello-client.jar">
- <fileset dir="${build.tests.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/HelloWorldService.class" />
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter.class" />
- </fileset>
- <metainf dir="${build.tests.dir}/resources/jaxrpc/samples/wsbpel/hello/META-INF">
- <include name="application-client.xml" />
- <include name="jboss-client.xml" />
- </metainf>
- <metainf dir="${build.tests.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
- <include name="jaxrpc-mapping.xml" />
- </metainf>
- </jar>
-
<!-- jaxrpc-samples-wseventing.war -->
<war warfile="${build.tests.dir}/libs/jaxrpc-samples-wseventing.war" webxml="${build.tests.dir}/resources/jaxrpc/samples/wseventing/WEB-INF/web.xml">
<classes dir="${build.tests.dir}/classes">
Modified: branches/dead-jsr181-backport/src/test/build.xml
===================================================================
--- branches/jbossws-1.0/src/test/build.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/build.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -229,7 +229,7 @@
<target name="compile14" depends="init" unless="HAVE_JDK_1.5">
<mkdir dir="${build.tests.dir}/classes"/>
- <javac destdir="${build.tests.dir}/classes" debug="${javac.debug}" verbose="${javac.verbose}" deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
+ <javac destdir="${build.tests.dir}/classes" encoding="utf-8" debug="${javac.debug}" verbose="${javac.verbose}" deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
<src path="${test.java.dir}"/>
<exclude name="org/jboss/test/ws/interop/**"/>
<exclude name="org/jboss/test/ws/jaxrpc/jbws718/**"/>
@@ -241,7 +241,7 @@
<target name="compile15" depends="init" if="HAVE_JDK_1.5">
<mkdir dir="${build.tests.dir}/classes"/>
- <javac destdir="${build.tests.dir}/classes" debug="${javac.debug}" verbose="${javac.verbose}" deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
+ <javac destdir="${build.tests.dir}/classes" encoding="utf-8" debug="${javac.debug}" verbose="${javac.verbose}" deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
<src path="${test.java.dir}"/>
<exclude name="org/jboss/test/ws/interop/**"/>
<exclude name="org/jboss/test/ws/jaxrpc/jbws718/**"/>
@@ -252,7 +252,7 @@
<target name="compile-generated" depends="init" description="Compile generated sources">
<mkdir dir="${build.tests.dir}/classes"/>
- <javac destdir="${build.tests.dir}/classes" debug="${javac.debug}" verbose="${javac.verbose}" deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
+ <javac destdir="${build.tests.dir}/classes" debug="${javac.debug}" encoding="utf-8" verbose="${javac.verbose}" deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
<src path="${build.tests.dir}/wstools/java"/>
<exclude name="org/jboss/test/ws/interop/**"/>
<classpath refid="javac.classpath"/>
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/JBossWSTestSetup.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/JBossWSTestSetup.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/JBossWSTestSetup.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,15 +21,15 @@
*/
package org.jboss.test.ws;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.StringTokenizer;
-
import junit.extensions.TestSetup;
import junit.framework.TestSuite;
+import java.util.StringTokenizer;
+import java.util.List;
+import java.util.ArrayList;
+import java.net.URLClassLoader;
+import java.net.URL;
+
/**
* A test setup that deploys/undeploys archives
*
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/binding/SOAPBindingTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/common/binding/SOAPBindingTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/binding/SOAPBindingTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -49,6 +49,7 @@
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.metadata.umdm.OperationMetaData;
import org.jboss.ws.metadata.umdm.ParameterMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
/**
* Test the SOAPBindingProvider
@@ -167,11 +168,12 @@
*/
public void testBindRequestMessage() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
EndpointInvocation epInv = new EndpointInvocation(opMetaData);
epInv.initInputParams(new Object[]{"Hello World!"});
-
+
SOAPMessage reqMessage = (SOAPMessage)binding.bindRequestMessage(opMetaData, epInv, null);
ByteArrayOutputStream outs = new ByteArrayOutputStream();
@@ -185,17 +187,19 @@
*/
public void testBindRequestMessageWithBoundHeader() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
// Add bound header
QName xmlName = new QName("http://somens", "String_2");
ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, Constants.TYPE_LITERAL_STRING, "java.lang.String");
opMetaData.addParameter(paramMetaData);
paramMetaData.setInHeader(true);
+ paramMetaData.setIndex(1);
EndpointInvocation epInv = new EndpointInvocation(opMetaData);
epInv.initInputParams(new Object[]{"Hello World!", "IN header message"});
-
+
SOAPMessage reqMessage = (SOAPMessage)binding.bindRequestMessage(opMetaData, epInv, null);
ByteArrayOutputStream outs = new ByteArrayOutputStream();
@@ -209,7 +213,8 @@
*/
public void testBindRequestMessageWithUnboundHeader() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
// Add unbound header
QName xmlName = new QName("http://somens", "String_2");
@@ -221,7 +226,7 @@
EndpointInvocation epInv = new EndpointInvocation(opMetaData);
epInv.initInputParams(new Object[]{"Hello World!"});
-
+
SOAPMessage reqMessage = (SOAPMessage)binding.bindRequestMessage(opMetaData, epInv, headers);
ByteArrayOutputStream outs = new ByteArrayOutputStream();
@@ -235,7 +240,8 @@
*/
public void testUnbindRequestMessage() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
ByteArrayInputStream inputStream = new ByteArrayInputStream(reqEnvelope.getBytes());
@@ -261,6 +267,7 @@
QName xmlName = new QName("http://somens", "String_2");
ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, Constants.TYPE_LITERAL_STRING, "java.lang.String");
opMetaData.addParameter(paramMetaData);
+ paramMetaData.setIndex(1);
paramMetaData.setInHeader(true);
ByteArrayInputStream inputStream = new ByteArrayInputStream(reqEnvelopeWithBoundHeader.getBytes());
@@ -271,7 +278,8 @@
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
msgContext.setSOAPMessage(reqMessage);
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
EndpointInvocation epInv = binding.unbindRequestMessage(opMetaData, reqMessage);
assertNotNull(epInv);
@@ -293,7 +301,8 @@
CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
msgContext.setSOAPMessage(reqMessage);
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
EndpointInvocation epInv = binding.unbindRequestMessage(opMetaData, reqMessage);
assertNotNull(epInv);
@@ -306,7 +315,8 @@
*/
public void testBindResponseMessage() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
EndpointInvocation epInv = new EndpointInvocation(opMetaData);
epInv.setReturnValue("Hello World!");
@@ -324,7 +334,8 @@
*/
public void testUnbindResponseMessage() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
ByteArrayInputStream inputStream = new ByteArrayInputStream(resEnvelope.getBytes());
@@ -343,7 +354,8 @@
*/
public void testUnbindResponseMessageWithBoundHeader() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
ByteArrayInputStream inputStream = new ByteArrayInputStream(resEnvelopeWithBoundHeader.getBytes());
@@ -358,6 +370,7 @@
ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, Constants.TYPE_LITERAL_STRING, "java.lang.String");
paramMetaData.setMode(ParameterMode.OUT);
paramMetaData.setInHeader(true);
+ paramMetaData.setIndex(1);
opMetaData.addParameter(paramMetaData);
EndpointInvocation epInv = new EndpointInvocation(opMetaData);
@@ -372,7 +385,8 @@
*/
public void testUnbindResponseMessageWithUnboundHeader() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
ByteArrayInputStream inputStream = new ByteArrayInputStream(resEnvelopeWithUnboundHeader.getBytes());
@@ -399,7 +413,8 @@
*/
public void testUnbindFaultResponse() throws Exception
{
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP12HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
ByteArrayInputStream inputStream = new ByteArrayInputStream(resEnvelopeWithFault.getBytes());
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/soap/SOAPFaultTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/common/soap/SOAPFaultTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/soap/SOAPFaultTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -37,7 +37,7 @@
import org.jboss.test.ws.JBossWSTest;
import org.jboss.ws.Constants;
-import org.jboss.ws.core.jaxrpc.SOAPFaultExceptionHelper;
+import org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC;
import org.jboss.ws.core.utils.DOMUtils;
/**
@@ -57,7 +57,7 @@
{
Detail detail = createDetailElement();
SOAPFaultException faultEx = new SOAPFaultException(Constants.SOAP11_FAULT_CODE_CLIENT, "Some fault message", "Some fault actor", detail);
- SOAPEnvelope soapEnv = SOAPFaultExceptionHelper.exceptionToFaultMessage(faultEx).getSOAPPart().getEnvelope();
+ SOAPEnvelope soapEnv = SOAPFaultHelperJAXRPC.exceptionToFaultMessage(faultEx).getSOAPPart().getEnvelope();
assertEquals(DOMUtils.parse(envStr), soapEnv);
}
@@ -72,7 +72,7 @@
assertEquals("Some fault actor", soapFault.getFaultActor());
assertEquals(createDetailElement(), soapFault.getDetail());
- SOAPFaultException faultEx = SOAPFaultExceptionHelper.getSOAPFaultException((SOAPFault)soapFault);
+ SOAPFaultException faultEx = SOAPFaultHelperJAXRPC.getSOAPFaultException((SOAPFault)soapFault);
assertEquals(Constants.SOAP11_FAULT_CODE_CLIENT, faultEx.getFaultCode());
assertEquals("Some fault message", faultEx.getFaultString());
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/soap/attachment/GenericAttachmentTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/common/soap/attachment/GenericAttachmentTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/soap/attachment/GenericAttachmentTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -51,6 +51,7 @@
import org.jboss.ws.core.soap.MessageFactoryImpl;
import org.jboss.ws.core.soap.attachment.MimeConstants;
import org.jboss.ws.metadata.umdm.OperationMetaData;
+import org.jboss.ws.metadata.umdm.EndpointMetaData.Type;
/**
* TODO
@@ -145,7 +146,8 @@
MessageContextAssociation.pushMessageContext(messageContext);
messageContext.setOperationMetaData(opMetaData);
- CommonBinding binding = (CommonBinding)new CommonBindingProvider(CommonSOAPBinding.SOAP11HTTP_BINDING).getCommonBinding();
+ CommonBindingProvider bindingProvider = new CommonBindingProvider(CommonSOAPBinding.SOAP11HTTP_BINDING, Type.JAXRPC);
+ CommonBinding binding = (CommonBinding)bindingProvider.getCommonBinding();
EndpointInvocation epInv = new EndpointInvocation(opMetaData);
epInv.initInputParams(new Object[]{"Hello World!", "hi"});
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/utils/DOMWriterTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/common/utils/DOMWriterTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/utils/DOMWriterTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,7 +29,7 @@
import javax.xml.soap.SOAPMessage;
import org.jboss.test.ws.JBossWSTest;
-import org.jboss.util.xml.DOMUtils;
+import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
@@ -98,35 +98,6 @@
assertEquals(expStr, wasStr);
}
- /** The element already contains the required ns declaration.
- */
- public void testNoElementPrefix() throws Exception
- {
- String inStr =
- "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
- "<env:Body>" +
- "<ns1:echoUserTypeResponse xmlns:ns1='http://org.jboss.test.webservice/jbws83'>" +
- "<result xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>" +
- "<my-msg>Kermit</my-msg>" +
- "</result>" +
- "</ns1:echoUserTypeResponse>" +
- "</env:Body>" +
- "</env:Envelope>";
-
- Element env = DOMUtils.parse(inStr);
- Element body = DOMUtils.getFirstChildElement(env);
- Element rpc = DOMUtils.getFirstChildElement(body);
- Element result = DOMUtils.getFirstChildElement(rpc);
-
- String expStr =
- "<result xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>" +
- "<my-msg>Kermit</my-msg>" +
- "</result>";
-
- String wasStr = DOMWriter.printNode(result, false);
- assertEquals(expStr, wasStr);
- }
-
/** The element does not contain the required ns declaration, the child does.
*/
public void testNamespaceCompletionThree() throws Exception
@@ -179,28 +150,6 @@
assertEquals(expStr, wasStr);
}
- /** Test empty namespace declartions
- */
- public void testEmptyNamespace() throws Exception
- {
- String inStr =
- "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
- "<env:Body>" +
- "<publish xmlns='http://org.jboss.test.webservice/jbws64'>" +
- "<String_1 xmlns=''>joel</String_1>" +
- "<String_2 xmlns=''>secret</String_2>" +
- "<String_3 xmlns=''>1</String_3>" +
- "<String_4 xmlns=''>6</String_4>" +
- "<String_5 xmlns=''>2</String_5>" +
- "</publish>" +
- "</env:Body>" +
- "</env:Envelope>";
-
- Element env = DOMUtils.parse(inStr);
- String wasStr = DOMWriter.printNode(env, false);
- assertEquals(inStr, wasStr);
- }
-
public void testEnvelopeWriter() throws Exception
{
String expEnv = "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>"
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/utils/JavaUtilsTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/common/utils/JavaUtilsTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/utils/JavaUtilsTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -44,22 +44,22 @@
public void testGetMultipleArrayWrapperValue() throws Exception
{
int[][] primParams = new int[][] { { 0, 1, 2 }, { 1, 2, 3 }, { 2, 3, 4 } };
- Integer[][] params = (Integer[][])JavaUtils.getWrapperValue(primParams);
+ Integer[][] params = (Integer[][])JavaUtils.getWrapperValueArray(primParams);
assertNotNull("Unexpected null", params);
- assertEquals(primParams[0], (int[])JavaUtils.getPrimitiveValue(params[0]));
- assertEquals(primParams[1], (int[])JavaUtils.getPrimitiveValue(params[1]));
- assertEquals(primParams[2], (int[])JavaUtils.getPrimitiveValue(params[2]));
+ assertEquals(primParams[0], (int[])JavaUtils.getPrimitiveValueArray(params[0]));
+ assertEquals(primParams[1], (int[])JavaUtils.getPrimitiveValueArray(params[1]));
+ assertEquals(primParams[2], (int[])JavaUtils.getPrimitiveValueArray(params[2]));
}
public void testGetMultipleArrayPrimitiveValue() throws Exception
{
Integer[][] wrapParams = new Integer[][] { { new Integer(0), new Integer(1), new Integer(2) }, { new Integer(1), new Integer(2), new Integer(3) },
{ new Integer(2), new Integer(3), new Integer(4) } };
- int[][] params = (int[][])JavaUtils.getPrimitiveValue(wrapParams);
+ int[][] params = (int[][])JavaUtils.getPrimitiveValueArray(wrapParams);
assertNotNull("Unexpected null", params);
- assertEquals(wrapParams[0], (Integer[])JavaUtils.getWrapperValue(params[0]));
- assertEquals(wrapParams[1], (Integer[])JavaUtils.getWrapperValue(params[1]));
- assertEquals(wrapParams[2], (Integer[])JavaUtils.getWrapperValue(params[2]));
+ assertEquals(wrapParams[0], (Integer[])JavaUtils.getWrapperValueArray(params[0]));
+ assertEquals(wrapParams[1], (Integer[])JavaUtils.getWrapperValueArray(params[1]));
+ assertEquals(wrapParams[2], (Integer[])JavaUtils.getWrapperValueArray(params[2]));
}
public void testGetPrimitiveType() throws Exception
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/wsdl11/WSDL11TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/common/wsdl11/WSDL11TestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/common/wsdl11/WSDL11TestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -35,6 +35,7 @@
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperation;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationInput;
import org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationOutput;
+import org.jboss.ws.metadata.wsdl.WSDLRPCPart;
import org.jboss.ws.metadata.wsdl.WSDLService;
import org.jboss.ws.metadata.wsdl.WSDLTypes;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
@@ -65,7 +66,7 @@
// check the echoString operation
WSDLInterfaceOperation wsdlOperation = wsdlInterface.getOperation(new NCName("echoString"));
- assertEquals("document", wsdlOperation.getStyle());
+ assertEquals(Constants.URI_STYLE_IRI, wsdlOperation.getStyle());
WSDLInterfaceOperationInput wsdlInput = wsdlOperation.getInput(new QName(TARGET_NAMESPACE, "echoString"));
assertEquals(new QName(TARGET_NAMESPACE, "echoString"), wsdlInput.getXMLType());
@@ -74,7 +75,7 @@
// check the echoSimpleUserType operation
wsdlOperation = wsdlInterface.getOperation(new NCName("echoSimpleUserType"));
- assertEquals("document", wsdlOperation.getStyle());
+ assertEquals(Constants.URI_STYLE_IRI, wsdlOperation.getStyle());
wsdlInput = wsdlOperation.getInput(new QName(TARGET_NAMESPACE, "echoSimpleUserType"));
assertEquals(new QName(TARGET_NAMESPACE, "echoSimpleUserType"), wsdlInput.getXMLType());
@@ -98,43 +99,17 @@
public void testRpcLitSimple() throws Exception
{
- File wsdlFile = new File("resources/common/wsdl11/RpcLitSimple.wsdl");
- assertTrue(wsdlFile.exists());
-
- WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
- WSDLDefinitions wsdlDefinitions = factory.parse(wsdlFile.toURL());
- WSDLInterface wsdlInterface = wsdlDefinitions.getInterface(new NCName("JaxRpcTestService"));
-
- // check if the schema has been extracted
- WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
- assertNotNull(WSDLUtils.getSchemaModel(wsdlTypes));
-
- // check the echoString operation
- WSDLInterfaceOperation wsdlOperation = wsdlInterface.getOperation(new NCName("echoString"));
- assertEquals("rpc", wsdlOperation.getStyle());
-
- WSDLInterfaceOperationInput wsdlInput = wsdlOperation.getInput(new QName("String_1"));
- assertEquals(Constants.TYPE_LITERAL_STRING, wsdlInput.getXMLType());
- wsdlInput = wsdlOperation.getInput(new QName("String_2"));
- assertEquals(Constants.TYPE_LITERAL_STRING, wsdlInput.getXMLType());
- WSDLInterfaceOperationOutput wsdlOutput = wsdlOperation.getOutput(new QName("result"));
- assertEquals(Constants.TYPE_LITERAL_STRING, wsdlOutput.getXMLType());
-
- // check the echoSimpleUserType operation
- wsdlOperation = wsdlInterface.getOperation(new NCName("echoSimpleUserType"));
- assertEquals("rpc", wsdlOperation.getStyle());
-
- wsdlInput = wsdlOperation.getInput(new QName("String_1"));
- assertEquals(Constants.TYPE_LITERAL_STRING, wsdlInput.getXMLType());
- wsdlInput = wsdlOperation.getInput(new QName("SimpleUserType_2"));
- assertEquals(new QName(TARGET_NAMESPACE, "SimpleUserType"), wsdlInput.getXMLType());
- wsdlOutput = wsdlOperation.getOutput(new QName("result"));
- assertEquals(new QName(TARGET_NAMESPACE, "SimpleUserType"), wsdlOutput.getXMLType());
+ verifyRPC("resources/common/wsdl11/RpcLitSimple.wsdl");
}
public void testRpcLitImport() throws Exception
{
- File wsdlFile = new File("resources/common/wsdl11/RpcLitImport.wsdl");
+ verifyRPC("resources/common/wsdl11/RpcLitImport.wsdl");
+ }
+
+ private void verifyRPC(String fileName) throws Exception
+ {
+ File wsdlFile = new File(fileName);
assertTrue(wsdlFile.exists());
WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
@@ -147,27 +122,32 @@
// check the echoString operation
WSDLInterfaceOperation wsdlOperation = wsdlInterface.getOperation(new NCName("echoString"));
- assertEquals("rpc", wsdlOperation.getStyle());
+ assertEquals(Constants.URI_STYLE_RPC, wsdlOperation.getStyle());
- WSDLInterfaceOperationInput wsdlInput = wsdlOperation.getInput(new QName("String_1"));
- assertEquals(Constants.TYPE_LITERAL_STRING, wsdlInput.getXMLType());
- wsdlInput = wsdlOperation.getInput(new QName("String_2"));
- assertEquals(Constants.TYPE_LITERAL_STRING, wsdlInput.getXMLType());
- WSDLInterfaceOperationOutput wsdlOutput = wsdlOperation.getOutput(new QName("result"));
- assertEquals(Constants.TYPE_LITERAL_STRING, wsdlOutput.getXMLType());
+ WSDLInterfaceOperationInput wsdlInput = wsdlOperation.getInputs()[0];
+ WSDLRPCPart childPart = wsdlInput.getChildPart("String_1");
+ assertEquals(Constants.TYPE_LITERAL_STRING, childPart.getType());
+ childPart = wsdlInput.getChildPart("String_2");
+ assertEquals(Constants.TYPE_LITERAL_STRING, childPart.getType());
+ WSDLInterfaceOperationOutput wsdlOutput = wsdlOperation.getOutputs()[0];
+ childPart = wsdlOutput.getChildPart("result");
+ assertEquals(Constants.TYPE_LITERAL_STRING, childPart.getType());
// check the echoSimpleUserType operation
wsdlOperation = wsdlInterface.getOperation(new NCName("echoSimpleUserType"));
- assertEquals("rpc", wsdlOperation.getStyle());
+ assertEquals(Constants.URI_STYLE_RPC, wsdlOperation.getStyle());
- wsdlInput = wsdlOperation.getInput(new QName("String_1"));
- assertEquals(Constants.TYPE_LITERAL_STRING, wsdlInput.getXMLType());
- wsdlInput = wsdlOperation.getInput(new QName("SimpleUserType_2"));
- assertEquals(new QName(TARGET_NAMESPACE, "SimpleUserType"), wsdlInput.getXMLType());
- wsdlOutput = wsdlOperation.getOutput(new QName("result"));
- assertEquals(new QName(TARGET_NAMESPACE, "SimpleUserType"), wsdlOutput.getXMLType());
+ wsdlInput = wsdlOperation.getInputs()[0];
+ childPart = wsdlInput.getChildPart("String_1");
+ assertEquals(Constants.TYPE_LITERAL_STRING, childPart.getType());
+ childPart = wsdlInput.getChildPart("SimpleUserType_2");
+ assertEquals(new QName(TARGET_NAMESPACE, "SimpleUserType"), childPart.getType());
+ wsdlOutput = wsdlOperation.getOutputs()[0];
+ childPart = wsdlOutput.getChildPart("result");
+ assertEquals(new QName(TARGET_NAMESPACE, "SimpleUserType"), childPart.getType());
}
+
public void testEventSourceBinding() throws Exception
{
File wsdlFile = new File("resources/common/wsdl11/inherit/wind_inherit.wsdl");
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/ClientScenario.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/ClientScenario.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/ClientScenario.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,8 +22,8 @@
package org.jboss.test.ws.interop.microsoft;
import java.net.URL;
+import java.util.Map;
import java.util.HashMap;
-import java.util.Map;
/**
* A particular interop test scenario.
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/AddressingTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/AddressingTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/AddressingTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,504 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+
+import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
+import org.jboss.test.ws.interop.microsoft.ClientScenario;
+import org.jboss.test.ws.JBossWSTestSetup;
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.ws.utils.DOMUtils;
+import org.jboss.ws.addressing.AddressingClientUtil;
+import org.jboss.ws.jaxrpc.StubExt;
+import org.w3c.dom.Element;
+
+import javax.xml.ws.addressing.*;
+import javax.xml.ws.addressing.soap.SOAPAddressingProperties;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+import javax.xml.rpc.soap.SOAPFaultException;
+import javax.xml.namespace.QName;
+import javax.naming.InitialContext;
+
+import junit.framework.Test;
+
+import java.rmi.RemoteException;
+import java.net.URI;
+import java.util.List;
+
+/**
+ * @author Heiko Braun <heiko.braun at jboss.com>
+ * @version $Id: AddressingTestCase.java 1090 2006-09-28 14:04:24Z heiko.braun at jboss.com $
+ * @since Sep 28, 2006
+ */
+public class AddressingTestCase extends JBossWSTest {
+
+ private Echo echoPort;
+ private Notify notifyPort;
+
+ final static String WSA_FROM = "http://example.org/node/A";
+ final static String WSA_TO = "http://example.org/node/B";
+
+ private static AddressingBuilder BUILDER;
+ private static AddressingConstants CONSTANTS;
+
+ static
+ {
+ BUILDER = AddressingBuilder.getAddressingBuilder();
+ CONSTANTS = BUILDER.newAddressingConstants();
+ }
+
+ private Element customerParam;
+ private Element faultParam;
+ private Element extraStuff;
+ private Element wsdl1Param;
+ private Element wsdl2Param;
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(AddressingTestCase.class, "jbossws-interop-wsa10_sep06-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (echoPort == null || notifyPort==null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/interop/WSAddressingService_sep06");
+ echoPort = (Echo)service.getPort(Echo.class);
+ notifyPort= (Notify)service.getPort(Notify.class);
+ configureClient();
+ }
+
+ customerParam = DOMUtils.parse("<customer:CustomerKey xmlns:customer=\"http://example.org/customer\">Key#123456789</customer:CustomerKey>");
+ faultParam = DOMUtils.parse("<customer:CustomerKey xmlns:customer=\"http://example.org/customer\">Fault#123456789</customer:CustomerKey>");
+ wsdl1Param = DOMUtils.parse("<definitions xmlns=\"http://schemas.xmlsoap.org/wsdl/\">insert WSDL 1.1 here!</definitions>");
+ wsdl2Param = DOMUtils.parse("<description xmlns=\"http://www.w3.org/2006/01/wsdl\">insert WSDL 2.0 here!</description>");
+ extraStuff = DOMUtils.parse("<customer:extraStuff xmlns:customer=\"http://example.org/customer\">This should be ignored</customer:extraStuff>");
+ }
+
+ private void configureClient() {
+
+ InteropConfigFactory factory = InteropConfigFactory.newInstance();
+ ClientScenario scenario = factory.createClientScenario(System.getProperty("client.scenario"));
+ if(scenario!=null)
+ {
+ log.info("Using scenario: " + scenario);
+ setTargetAddress((Stub)notifyPort, scenario.getTargetEndpoint().toString());
+ setTargetAddress((Stub)echoPort, scenario.getParameter("echoPort"));
+ }
+ else
+ {
+ throw new IllegalStateException("Failed to load client scenario");
+ }
+ }
+
+ /**
+ * Certain MSFT testcases require the connection to be closed
+ * since remoting cannot work with particluar HTTP response codes.
+ */
+ private void forceReset() {
+ /*try
+ {
+ echoPort = null;
+ notifyPort = null;
+ setUp();
+ }
+ catch (Exception e)
+ {
+ throw new IllegalStateException("Failed to reset connection");
+ } */
+ }
+
+ public void test1100() {
+ try
+ {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createDefaultProps("http://example.org/action/notify", WSA_TO);
+ setRequestProperties((StubExt)notifyPort, requestProps);
+
+ // invoke service
+ notifyPort.notify( new NotifyMessage("Message 1100"));
+ forceReset();
+
+ }
+ catch (RemoteException e)
+ {
+ fail(e.getMessage());
+ }
+ }
+
+ public void test1101() {
+ try
+ {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createDefaultProps("http://example.org/action/notify", WSA_TO);
+ requestProps.setMessageID( BUILDER.newURI( AddressingClientUtil.generateMessageID()));
+
+ setRequestProperties((StubExt)notifyPort, requestProps);
+
+ // invoke service
+ notifyPort.notify(new NotifyMessage("Message 1101"));
+ forceReset();
+ }
+ catch (Exception e)
+ {
+ fail(e.getMessage());
+ }
+ }
+
+ public void test1102() {
+ try
+ {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createOneWayProps("http://example.org/action/notify", WSA_TO);
+
+ setRequestProperties((StubExt)notifyPort, requestProps);
+
+ // invoke service
+ notifyPort.notify(new NotifyMessage("Message 1102"));
+ forceReset();
+ }
+ catch (Exception e)
+ {
+ fail(e.getMessage());
+ }
+ }
+
+ public void test1103() throws Exception {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createDefaultProps(
+ "http://example.org/action/notify", WSA_TO);
+
+ requestProps.setFaultTo(BUILDER.newEndpointReference(new URI(CONSTANTS.getNoneURI())));
+ setRequestProperties((StubExt)notifyPort, requestProps);
+
+ notifyPort.notify(new NotifyMessage("Message 1103"));
+ forceReset();
+ }
+
+ public void test1104() throws Exception {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createOneWayProps(
+ "http://example.org/action/notify",
+ WSA_TO
+ );
+
+ requestProps.setFaultTo(BUILDER.newEndpointReference(new URI(CONSTANTS.getNoneURI())));
+ setRequestProperties((StubExt)notifyPort, requestProps);
+ notifyPort.notify(new NotifyMessage("Message 1104"));
+ forceReset();
+ }
+
+ public void test1106() throws Exception {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createOneWayProps(
+ "http://example.org/action/notify",
+ WSA_TO
+ );
+
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+ setRequestProperties((StubExt)notifyPort, requestProps);
+
+ notifyPort.notify(new NotifyMessage("Message 1106"));
+ forceReset();
+ }
+
+
+ public void test1107() throws Exception {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createOneWayProps("http://example.org/action/notify", WSA_TO);
+
+ requestProps.getReplyTo().getMetadata().addElement(wsdl1Param);
+ requestProps.getReplyTo().getMetadata().addElement(wsdl2Param);
+
+ setRequestProperties((StubExt)notifyPort, requestProps);
+
+ notifyPort.notify(new NotifyMessage("Message 1107"));
+ forceReset();
+ }
+
+ //
+ // One-way message containing a ReplyTo address
+ // with an element extension and an attribute extension
+ // of the ReferenceParameters and Metadata elements.
+ // /
+ public void test1108() throws Exception {
+
+ AddressingProperties requestProps =
+ AddressingClientUtil.createOneWayProps("http://example.org/action/notify", WSA_TO);
+
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+ requestProps.getReplyTo().addAttribute(new QName("http://example.org/customer","level"), "premium");
+
+ requestProps.getReplyTo().getMetadata().addElement(extraStuff);
+ requestProps.getReplyTo().getMetadata().addAttribute(new QName("http://example.org/customer", "total"), "1");
+
+ setRequestProperties((StubExt)notifyPort, requestProps);
+
+ notifyPort.notify(new NotifyMessage("Message 1108"));
+ forceReset();
+ }
+
+ //
+ // Two-way message exchange containing an Action.
+ // All other fields are defaulted.
+ // The presence of a MessageID in the first message and
+ // of the corresponding RelatesTo in the second message is tested.
+ //
+ public void test1130() throws Exception {
+ AddressingProperties requestProps =
+ AddressingClientUtil.createDefaultProps("http://example.org/action/echoIn", WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ setRequestProperties((StubExt)echoPort, requestProps);
+
+ // invoke service
+ echoPort.echoOp(new EchoInMessage("Message 1130"));
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((StubExt)echoPort);
+
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(), requestProps.getMessageID().getURI().toString());
+
+ }
+
+ //
+ // Two-way message exchange containing
+ // an Action, MessageID and a ReplyTo of anonymous.
+ // All other fields are defaulted.
+ //
+ public void test1131 () throws Exception {
+ AddressingProperties requestProps =
+ AddressingClientUtil.createAnonymousProps("http://example.org/action/echoIn", WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ setRequestProperties((StubExt)echoPort, requestProps);
+
+ // invoke service
+ echoPort.echoOp(new EchoInMessage("Message 1131"));
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((StubExt)echoPort);
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(), requestProps.getMessageID().getURI().toString());
+ assertTrue(null == responseProperties.getReplyTo());
+
+ }
+
+ //
+ // Two-way message exchange containing an Action and a ReplyTo
+ // with the address set to anonymous.
+ // The ReplyTo contains at least one Reference Parameter value.
+ // The reply message is returned on the HTTP response with
+ // the Reference Parameter value as a first class SOAP header.
+ //
+ public void test1132() throws Exception {
+ AddressingProperties requestProps =
+ AddressingClientUtil.createAnonymousProps("http://example.org/action/echoIn", WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+
+ setRequestProperties((StubExt)echoPort, requestProps);
+
+ // invoke service
+ echoPort.echoOp(new EchoInMessage("Message 1132"));
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((StubExt)echoPort);
+
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(), requestProps.getMessageID().getURI().toString());
+ assertTrue(null == responseProperties.getReplyTo());
+ List<Object> returnParameters = responseProperties.getReferenceParameters().getElements();
+ assertFalse("Reference parameter is missing", returnParameters.isEmpty());
+
+ }
+
+ //
+ // Two-way message exchange containing an Action.
+ // The ReplyTo and FaultTo addresses are both anonymous.
+ // The ReplyTo and FaultTo contain at least one Reference Parameter value
+ // which are different.
+ // A fault message is returned on the HTTP response with the
+ // FaultTo Reference Parameter value as a first class SOAP header.
+ //
+ public void test1133() throws Exception {
+ AddressingProperties requestProps =
+ AddressingClientUtil.createAnonymousProps("http://example.org/action/echoIn", WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ requestProps.setFaultTo(BUILDER.newEndpointReference(new URI(CONSTANTS.getAnonymousURI())));
+
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+ requestProps.getFaultTo().getReferenceParameters().addElement(faultParam);
+
+ setRequestProperties((StubExt)echoPort, requestProps);
+
+ // invoke service
+ try
+ {
+ echoPort.echoOp(new EchoInMessage("Message 1133"));
+ }
+ catch (RemoteException e)
+ {
+ boolean isSoapFault = (e.getCause() instanceof SOAPFaultException);
+ if(!isSoapFault) throw e;
+ }
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((StubExt)echoPort);
+
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(), requestProps.getMessageID().getURI().toString());
+ assertTrue(null == responseProperties.getReplyTo());
+ List<Object> returnParameters = responseProperties.getReferenceParameters().getElements();
+ assertFalse("Reference parameter is missing", returnParameters.isEmpty());
+ }
+
+ //
+ // Two-way message exchange containing an Action and a ReplyTo address,
+ // but no FaultTo EPR. The ReplyTo address is anonymous.
+ // The ReplyTo contains at least one Reference Parameter value.
+ // A fault message is returned on the HTTP response with the
+ // ReplyTo Reference Parameter value as a first class SOAP header.
+ //
+ public void test1134() throws Exception {
+ AddressingProperties requestProps =
+ AddressingClientUtil.createAnonymousProps("http://example.org/action/echoIn", WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+
+ setRequestProperties((StubExt)echoPort, requestProps);
+
+ // invoke service
+ try
+ {
+ echoPort.echoOp(new EchoInMessage("Message 1134"));
+ }
+ catch (RemoteException e)
+ {
+ boolean isSoapFault = (e.getCause() instanceof SOAPFaultException);
+ if(!isSoapFault) throw e;
+ }
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((StubExt)echoPort);
+
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(), requestProps.getMessageID().getURI().toString());
+ assertTrue(null == responseProperties.getReplyTo());
+ List<Object> returnParameters = responseProperties.getReferenceParameters().getElements();
+ assertFalse("Reference parameter is missing", returnParameters.isEmpty());
+ }
+
+ //
+ // Two-way message exchange containing a duplicate Reply-To header.
+ //
+ public void test1140() throws Exception {
+ System.out.println("1140: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing a duplicate To header.
+ //
+ public void test1141() throws Exception {
+ System.out.println("1141: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing a duplicate Fault-To header.
+ //
+ public void test1142() throws Exception {
+ System.out.println("1142: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing a duplicate action header.
+ //
+ public void test1143() throws Exception {
+ System.out.println("1143: Not supported on the client side");
+ }
+
+ //
+ // wo-way message exchange containing a duplicate message ID header.
+ //
+ public void test1144() throws Exception {
+ System.out.println("1144: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing an
+ // Action and a ReplyTo identifying an endpoint.
+ // All other fields are defaulted.
+ //
+ public void test1150() throws Exception {
+ AddressingProperties requestProps =
+ AddressingClientUtil.createDefaultProps("http://example.org/action/echoIn", WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ requestProps.setReplyTo(
+ BUILDER.newEndpointReference(
+ new URI("http://localhost:8080/wsa10/wsaTestService_sep06")
+ )
+ );
+
+ setRequestProperties((StubExt)echoPort, requestProps);
+
+ echoPort.echoOp(new EchoInMessage("Messsage 1150"));
+
+ forceReset();
+
+ // todo: check echOut results
+ }
+
+ //
+ // customize a stubs endpoint url
+ //
+ private static void setTargetAddress(Stub stub, String url) {
+ stub._setProperty(StubExt.ENDPOINT_ADDRESS_PROPERTY, url);
+ }
+
+ private void setRequestProperties(Stub stub, AddressingProperties props) {
+ stub._setProperty(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_OUTBOUND, props);
+ }
+
+ private AddressingProperties getResponseProperties(Stub stub) {
+ return (AddressingProperties)stub._getProperty(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND);
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/AddressingTestCase.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Echo.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Echo.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Echo.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,15 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Sep 27 21:58:27 CEST 2006
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+public interface Echo extends java.rmi.Remote
+{
+
+ public org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoOutMessage echoOp(org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoInMessage echoInMessage) throws java.rmi.RemoteException;
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Echo.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,35 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+
+import java.rmi.RemoteException;
+
+/**
+ * @author Heiko Braun <heiko.braun at jboss.com>
+ * @version $Id: EchoImpl.java 1090 2006-09-28 14:04:24Z heiko.braun at jboss.com $
+ * @since Sep 27, 2006
+ */
+public class EchoImpl implements Echo {
+ public EchoOutMessage echoOp(EchoInMessage echoInMessage) throws RemoteException {
+ return new EchoOutMessage( echoInMessage.getEchoIn() );
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoImpl.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoInMessage.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoInMessage.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoInMessage.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Sep 27 21:58:27 CEST 2006
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+
+
+public class EchoInMessage
+{
+
+ protected java.lang.String echoIn;
+ public EchoInMessage(){}
+
+ public EchoInMessage(java.lang.String echoIn){
+ this.echoIn=echoIn;
+ }
+ public java.lang.String getEchoIn() { return echoIn ;}
+
+ public void setEchoIn(java.lang.String echoIn){ this.echoIn=echoIn; }
+
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoInMessage.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoOutMessage.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoOutMessage.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoOutMessage.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Sep 27 21:58:27 CEST 2006
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+
+
+public class EchoOutMessage
+{
+
+ protected java.lang.String echoOut;
+ public EchoOutMessage(){}
+
+ public EchoOutMessage(java.lang.String echoOut){
+ this.echoOut=echoOut;
+ }
+ public java.lang.String getEchoOut() { return echoOut ;}
+
+ public void setEchoOut(java.lang.String echoOut){ this.echoOut=echoOut; }
+
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/EchoOutMessage.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Notify.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Notify.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Notify.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,15 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Sep 27 21:58:27 CEST 2006
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+public interface Notify extends java.rmi.Remote
+{
+
+ public void notify(org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.NotifyMessage notifyMessage) throws java.rmi.RemoteException;
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/Notify.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,35 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY 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 along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+
+import java.rmi.RemoteException;
+
+/**
+ * @author Heiko Braun <heiko.braun at jboss.com>
+ * @version $Id: NotifyImpl.java 1090 2006-09-28 14:04:24Z heiko.braun at jboss.com $
+ * @since Sep 27, 2006
+ */
+public class NotifyImpl implements Notify {
+ public void notify(NotifyMessage notifyMessage) throws RemoteException {
+ System.out.println(notifyMessage.getNotify());
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyImpl.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyMessage.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyMessage.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyMessage.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Sep 27 21:58:27 CEST 2006
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+
+
+public class NotifyMessage
+{
+
+ protected java.lang.String notify;
+ public NotifyMessage(){}
+
+ public NotifyMessage(java.lang.String notify){
+ this.notify=notify;
+ }
+ public java.lang.String getNotify() { return notify ;}
+
+ public void setNotify(java.lang.String notify){ this.notify=notify; }
+
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/NotifyMessage.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/WSAddressingCR.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/WSAddressingCR.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/WSAddressingCR.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,25 @@
+/*
+* JBoss, the OpenSource EJB server
+* Distributable under LGPL license. See terms of license at gnu.org.
+*/
+
+//Auto Generated by jbossws - Please do not edit!!!
+
+package org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10;
+
+
+import javax.xml.rpc.*;
+
+
+public interface WSAddressingCR extends javax.xml.rpc.Service
+{
+
+ public org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Echo getCustomBinding_Echo() throws ServiceException;
+
+ public org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Notify getCustomBinding_Notify() throws ServiceException;
+
+ public org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Echo getCustomBinding_Echo4() throws ServiceException;
+
+ public org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Echo getCustomBinding_Echo2() throws ServiceException;
+
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/sep06/wsa10/WSAddressingCR.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/AddressingTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/AddressingTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/AddressingTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,7 +6,7 @@
import org.jboss.test.ws.interop.microsoft.ClientScenario;
import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
import org.jboss.ws.utils.DOMUtils;
-import org.jboss.ws.extensions.addressing.AddressingClientUtil;
+import org.jboss.ws.addressing.AddressingClientUtil;
import org.jboss.ws.jaxrpc.StubExt;
import org.w3c.dom.Element;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo2_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo2_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo2_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,163 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.addressing.wsa10;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Echo2_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo2 {
-
-
-
- /*
- * public constructor
- */
- public Echo2_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Manual");
- }
-
-
- /*
- * implementation of echo
- */
- public java.lang.String echo(java.lang.String echoIn)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(Echo_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns3_Echo_echoIn_QNAME);
- _bodyBlock.setValue(echoIn);
- _bodyBlock.setSerializer(ns2_myns2_string__java_lang_String_String_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://example.org/action/echoIn");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.lang.String _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.lang.String)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.lang.String)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case Echo_OPCODE:
- _deserialize_Echo(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the Echo operation.
- */
- private void _deserialize_Echo(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myStringObj =
- ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns3_Echo_echoOut_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns3_Echo_echoOut_QNAME);
- bodyBlock.setValue(myStringObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "CustomBinding_Echo2");
- private static final int Echo_OPCODE = 0;
- private static final javax.xml.namespace.QName ns3_Echo_echoIn_QNAME = new QName("http://example.org/echo", "echoIn");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
- private static final javax.xml.namespace.QName ns3_Echo_echoOut_QNAME = new QName("http://example.org/echo", "echoOut");
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
-
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo4_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo4_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo4_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,163 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.addressing.wsa10;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Echo4_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo4 {
-
-
-
- /*
- * public constructor
- */
- public Echo4_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Duplex");
- }
-
-
- /*
- * implementation of echo
- */
- public java.lang.String echo(java.lang.String echoIn)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(Echo_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns3_Echo_echoIn_QNAME);
- _bodyBlock.setValue(echoIn);
- _bodyBlock.setSerializer(ns2_myns2_string__java_lang_String_String_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://example.org/action/echoIn");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.lang.String _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.lang.String)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.lang.String)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case Echo_OPCODE:
- _deserialize_Echo(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the Echo operation.
- */
- private void _deserialize_Echo(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myStringObj =
- ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns3_Echo_echoOut_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns3_Echo_echoOut_QNAME);
- bodyBlock.setValue(myStringObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "CustomBinding_Echo4");
- private static final int Echo_OPCODE = 0;
- private static final javax.xml.namespace.QName ns3_Echo_echoIn_QNAME = new QName("http://example.org/echo", "echoIn");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
- private static final javax.xml.namespace.QName ns3_Echo_echoOut_QNAME = new QName("http://example.org/echo", "echoOut");
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
-
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Echo_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,163 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.addressing.wsa10;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Echo_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo {
-
-
-
- /*
- * public constructor
- */
- public Echo_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11");
- }
-
-
- /*
- * implementation of echo
- */
- public java.lang.String echo(java.lang.String echoIn)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(Echo_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns3_Echo_echoIn_QNAME);
- _bodyBlock.setValue(echoIn);
- _bodyBlock.setSerializer(ns2_myns2_string__java_lang_String_String_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://example.org/action/echoIn");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.lang.String _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.lang.String)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.lang.String)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case Echo_OPCODE:
- _deserialize_Echo(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the Echo operation.
- */
- private void _deserialize_Echo(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myStringObj =
- ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns3_Echo_echoOut_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns3_Echo_echoOut_QNAME);
- bodyBlock.setValue(myStringObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "CustomBinding_Echo");
- private static final int Echo_OPCODE = 0;
- private static final javax.xml.namespace.QName ns3_Echo_echoIn_QNAME = new QName("http://example.org/echo", "echoIn");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
- private static final javax.xml.namespace.QName ns3_Echo_echoOut_QNAME = new QName("http://example.org/echo", "echoOut");
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
-
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Notify_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Notify_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/Notify_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,137 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.addressing.wsa10;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Notify_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.addressing.wsa10.Notify {
-
-
-
- /*
- * public constructor
- */
- public Notify_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11");
- }
-
-
- /*
- * implementation of notify
- */
- public void notify(java.lang.String notify)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(Notify_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_Notify_notify_QNAME);
- _bodyBlock.setValue(notify);
- _bodyBlock.setSerializer(ns2_myns2_string__java_lang_String_String_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://example.org/action/notify");
-
- _sendOneWay((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "CustomBinding_Notify");
- private static final int Notify_OPCODE = 0;
- private static final javax.xml.namespace.QName ns1_Notify_notify_QNAME = new QName("http://example.org/notify", "notify");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
-
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
- }
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.addressing.wsa10;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface WSAddressingCR extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.addressing.wsa10.Notify getCustomBinding_Notify() throws ServiceException;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR_Impl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR_Impl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR_Impl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,133 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.addressing.wsa10;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-
-public class WSAddressingCR_Impl extends com.sun.xml.rpc.client.BasicService implements WSAddressingCR {
- private static final QName serviceName = new QName("http://tempuri.org/", "WSAddressingCR");
- private static final QName ns1_CustomBinding_Notify_QNAME = new QName("http://tempuri.org/", "CustomBinding_Notify");
- private static final Class notify_PortClass = org.jboss.test.ws.interop.microsoft.addressing.wsa10.Notify.class;
- private static final QName ns1_CustomBinding_Echo_QNAME = new QName("http://tempuri.org/", "CustomBinding_Echo");
- private static final Class echo_PortClass = org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo.class;
- private static final QName ns1_CustomBinding_Echo2_QNAME = new QName("http://tempuri.org/", "CustomBinding_Echo2");
- private static final Class echo2_PortClass = org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo2.class;
- private static final QName ns1_CustomBinding_Echo4_QNAME = new QName("http://tempuri.org/", "CustomBinding_Echo4");
- private static final Class echo4_PortClass = org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo4.class;
-
- public WSAddressingCR_Impl() {
- super(serviceName, new QName[] {
- ns1_CustomBinding_Notify_QNAME,
- ns1_CustomBinding_Echo_QNAME,
- ns1_CustomBinding_Echo2_QNAME,
- ns1_CustomBinding_Echo4_QNAME
- },
- new org.jboss.test.ws.interop.microsoft.addressing.wsa10.WSAddressingCR_SerializerRegistry().getRegistry());
-
- }
-
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (portName.equals(ns1_CustomBinding_Notify_QNAME) &&
- serviceDefInterface.equals(notify_PortClass)) {
- return getCustomBinding_Notify();
- }
- if (portName.equals(ns1_CustomBinding_Echo_QNAME) &&
- serviceDefInterface.equals(echo_PortClass)) {
- return getCustomBinding_Echo();
- }
- if (portName.equals(ns1_CustomBinding_Echo2_QNAME) &&
- serviceDefInterface.equals(echo2_PortClass)) {
- return getCustomBinding_Echo2();
- }
- if (portName.equals(ns1_CustomBinding_Echo4_QNAME) &&
- serviceDefInterface.equals(echo4_PortClass)) {
- return getCustomBinding_Echo4();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(portName, serviceDefInterface);
- }
-
- public java.rmi.Remote getPort(java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (serviceDefInterface.equals(notify_PortClass)) {
- return getCustomBinding_Notify();
- }
- if (serviceDefInterface.equals(echo_PortClass)) {
- return getCustomBinding_Echo();
- }
- if (serviceDefInterface.equals(echo2_PortClass)) {
- return getCustomBinding_Echo2();
- }
- if (serviceDefInterface.equals(echo4_PortClass)) {
- return getCustomBinding_Echo4();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(serviceDefInterface);
- }
-
- public org.jboss.test.ws.interop.microsoft.addressing.wsa10.Notify getCustomBinding_Notify() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_CustomBinding_Notify_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.addressing.wsa10.Notify_Stub stub = new org.jboss.test.ws.interop.microsoft.addressing.wsa10.Notify_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
- public org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo getCustomBinding_Echo() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_CustomBinding_Echo_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo_Stub stub = new org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
- public org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo2 getCustomBinding_Echo2() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_CustomBinding_Echo2_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo2_Stub stub = new org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo2_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
- public org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo4 getCustomBinding_Echo4() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_CustomBinding_Echo4_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo4_Stub stub = new org.jboss.test.ws.interop.microsoft.addressing.wsa10.Echo4_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsa10/WSAddressingCR_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,38 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.addressing.wsa10;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class WSAddressingCR_SerializerRegistry implements SerializerConstants {
- public WSAddressingCR_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsaTestService/ConstraintHandler.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsaTestService/ConstraintHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsaTestService/ConstraintHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,18 +1,19 @@
package org.jboss.test.ws.interop.microsoft.addressing.wsaTestService;
-import java.util.Iterator;
+import org.jboss.logging.Logger;
-import javax.xml.namespace.QName;
import javax.xml.rpc.handler.GenericHandler;
import javax.xml.rpc.handler.MessageContext;
import javax.xml.rpc.handler.soap.SOAPMessageContext;
import javax.xml.rpc.soap.SOAPFaultException;
+import javax.xml.namespace.QName;
+import javax.xml.ws.addressing.soap.SOAPAddressingProperties;
+import javax.xml.ws.addressing.JAXWSAConstants;
+import javax.xml.soap.SOAPMessage;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPHeaderElement;
-import javax.xml.soap.SOAPMessage;
+import java.util.Iterator;
-import org.jboss.logging.Logger;
-
/**
* See http://jira.jboss.org/jira/browse/JBWS-734
*
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsaTestService/WsaTestService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsaTestService/WsaTestService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/addressing/wsaTestService/WsaTestService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.addressing.wsaTestService;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface WsaTestService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.addressing.wsaTestService.WsaTestPortType getWsaTestPort() throws ServiceException;
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/MTOMTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/MTOMTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/MTOMTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,22 +21,21 @@
*/
package org.jboss.test.ws.interop.microsoft.mtom.utf8;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.ClientScenario;
import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
*
* MTOM test scenarios cover essential combinations of MTOM encoding applied to
* different data structures, character encodings and WS-Security.
- * Scenarios 3.1 � 3.5 cover optimizing binary data in various parts of a message.
+ * Scenarios 3.1 3.5 cover optimizing binary data in various parts of a message.
* Scenario 3.6 exercises UTF-16 encoding together with MTOM.
* Scenario 3.7 and 3.8 exercise composition of MTOM with Security.
*
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/SecureMTOMTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/SecureMTOMTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/SecureMTOMTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,17 +21,16 @@
*/
package org.jboss.test.ws.interop.microsoft.mtom.utf8;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.ClientScenario;
import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* Scenario 3.7 and 3.8 exercise composition of MTOM with Security.
*
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/TestService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/TestService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/mtom/utf8/TestService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,13 +21,13 @@
*/
package org.jboss.test.ws.interop.microsoft.mtom.utf8;
+import java.rmi.RemoteException;
import java.io.UnsupportedEncodingException;
-import java.rmi.RemoteException;
/**
* MTOM test scenarios cover essential combinations of MTOM encoding applied to
* different data structures, character encodings and WS-Security.
- * Scenarios 3.1 � 3.5 cover optimizing binary data in various parts of a message.
+ * Scenarios 3.1 3.5 cover optimizing binary data in various parts of a message.
* Scenario 3.6 exercises UTF-16 encoding together with MTOM.
* Scenario 3.7 and 3.8 exercise composition of MTOM with Security.
*
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10/PingService10Sign.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10/PingService10Sign.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10/PingService10Sign.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.security.wsse10;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface PingService10Sign extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.security.wsse10.IPingServiceSign getMutualCertificate10Sign_IPingServiceSign() throws ServiceException;
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10/SignTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10/SignTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10/SignTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,17 +21,16 @@
*/
package org.jboss.test.ws.interop.microsoft.security.wsse10;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.ClientScenario;
import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 07-Mar-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10Encrypt/EncryptTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10Encrypt/EncryptTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10Encrypt/EncryptTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,17 +21,16 @@
*/
package org.jboss.test.ws.interop.microsoft.security.wsse10Encrypt;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.ClientScenario;
import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10Encrypt/PingService10.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10Encrypt/PingService10.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/security/wsse10Encrypt/PingService10.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.security.wsse10Encrypt;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface PingService10 extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.security.wsse10Encrypt.IPingService getMutualCertificate10SignEncrypt_IPingService() throws ServiceException;
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface BaseDataTypesDocLitBService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB.IBaseDataTypesDocLitB getBasicHttpBinding_IBaseDataTypesDocLitB() throws ServiceException;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService_Impl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService_Impl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService_Impl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,61 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-
-public class BaseDataTypesDocLitBService_Impl extends com.sun.xml.rpc.client.BasicService implements BaseDataTypesDocLitBService {
- private static final QName serviceName = new QName("http://tempuri.org/", "BaseDataTypesDocLitBService");
- private static final QName ns1_BasicHttpBinding_IBaseDataTypesDocLitB_QNAME = new QName("http://tempuri.org/", "BasicHttpBinding_IBaseDataTypesDocLitB");
- private static final Class IBaseDataTypesDocLitB_PortClass = org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB.IBaseDataTypesDocLitB.class;
-
- public BaseDataTypesDocLitBService_Impl() {
- super(serviceName, new QName[] {
- ns1_BasicHttpBinding_IBaseDataTypesDocLitB_QNAME
- },
- new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB.BaseDataTypesDocLitBService_SerializerRegistry().getRegistry());
-
- }
-
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (portName.equals(ns1_BasicHttpBinding_IBaseDataTypesDocLitB_QNAME) &&
- serviceDefInterface.equals(IBaseDataTypesDocLitB_PortClass)) {
- return getBasicHttpBinding_IBaseDataTypesDocLitB();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(portName, serviceDefInterface);
- }
-
- public java.rmi.Remote getPort(java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (serviceDefInterface.equals(IBaseDataTypesDocLitB_PortClass)) {
- return getBasicHttpBinding_IBaseDataTypesDocLitB();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(serviceDefInterface);
- }
-
- public org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB.IBaseDataTypesDocLitB getBasicHttpBinding_IBaseDataTypesDocLitB() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_BasicHttpBinding_IBaseDataTypesDocLitB_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB.IBaseDataTypesDocLitB_Stub stub = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB.IBaseDataTypesDocLitB_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBService_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,52 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class BaseDataTypesDocLitBService_SerializerRegistry implements SerializerConstants {
- public BaseDataTypesDocLitBService_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_ANY_URI,
- "", XSDAnyURIEncoder.getInstance());
- registerSerializer(mapping2,java.net.URI.class, SchemaConstants.QNAME_TYPE_ANY_URI, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralFragmentSerializer(SchemaConstants.QNAME_TYPE_URTYPE, NOT_NULLABLE, "");
- registerSerializer(mapping2,javax.xml.soap.SOAPElement.class, SchemaConstants.QNAME_TYPE_URTYPE, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_BASE64_BINARY,
- "", XSDBase64BinaryEncoder.getInstance());
- registerSerializer(mapping2,byte[].class, SchemaConstants.QNAME_TYPE_BASE64_BINARY, serializer);
- }
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/BaseDataTypesDocLitBTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,16 +1,15 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesProxy;
import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesSEI;
import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesSupport;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 17-Feb-2006
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/IBaseDataTypesDocLitB_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/IBaseDataTypesDocLitB_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/IBaseDataTypesDocLitB_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,1603 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesDocLitB_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB.IBaseDataTypesDocLitB {
-
-
-
- /*
- * public constructor
- */
- public IBaseDataTypesDocLitB_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc");
- }
-
-
- /*
- * implementation of retChar
- */
- public int retChar(int inChar)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetChar_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetChar_inChar_QNAME);
- _bodyBlock.setValue(new java.lang.Integer(inChar));
- _bodyBlock.setSerializer(ns2_myns2__int__int_Int_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetChar");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- int _result = 0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((java.lang.Integer)((SOAPDeserializationState) _responseObj).getInstance()).intValue();
- } else {
- _result = ((java.lang.Integer)_responseObj).intValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retFloat
- */
- public float retFloat(float inFloat)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetFloat_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetFloat_inFloat_QNAME);
- _bodyBlock.setValue(new Float(inFloat));
- _bodyBlock.setSerializer(ns2_myns2__float__float_Float_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetFloat");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- float _result = 0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Float)((SOAPDeserializationState) _responseObj).getInstance()).floatValue();
- } else {
- _result = ((Float)_responseObj).floatValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retTimeSpan
- */
- public java.lang.String retTimeSpan(java.lang.String inTimeSpan)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetTimeSpan_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_inTimeSpan_QNAME);
- _bodyBlock.setValue(inTimeSpan);
- _bodyBlock.setSerializer(ns2_myns2_duration__java_lang_String_String_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.lang.String _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.lang.String)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.lang.String)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retULong
- */
- public java.math.BigInteger retULong(java.math.BigInteger inULong)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetULong_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetULong_inULong_QNAME);
- _bodyBlock.setValue(inULong);
- _bodyBlock.setSerializer(ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetULong");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.math.BigInteger _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.math.BigInteger)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.math.BigInteger)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retQName
- */
- public javax.xml.namespace.QName retQName(javax.xml.namespace.QName inQName)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetQName_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetQName_inQName_QNAME);
- _bodyBlock.setValue(inQName);
- _bodyBlock.setSerializer(ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetQName");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- javax.xml.namespace.QName _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (javax.xml.namespace.QName)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (javax.xml.namespace.QName)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retObject
- */
- public javax.xml.soap.SOAPElement retObject(javax.xml.soap.SOAPElement inObject)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetObject_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetObject_inObject_QNAME);
- _bodyBlock.setValue(inObject);
- _bodyBlock.setSerializer(ns2_ns2_anyType_TYPE_QNAME_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetObject");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- javax.xml.soap.SOAPElement _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (javax.xml.soap.SOAPElement)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (javax.xml.soap.SOAPElement)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retUInt
- */
- public long retUInt(long inUInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUInt_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUInt_inUInt_QNAME);
- _bodyBlock.setValue(new Long(inUInt));
- _bodyBlock.setSerializer(ns2_myns2_unsignedInt__long_UnsignedInt_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetUInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- long _result = 0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Long)((SOAPDeserializationState) _responseObj).getInstance()).longValue();
- } else {
- _result = ((Long)_responseObj).longValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retGuid
- */
- public java.lang.String retGuid(java.lang.String inGuid)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetGuid_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetGuid_inGuid_QNAME);
- _bodyBlock.setValue(inGuid);
- _bodyBlock.setSerializer(ns2_myns2_string__java_lang_String_String_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetGuid");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.lang.String _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.lang.String)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.lang.String)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retSingle
- */
- public float retSingle(float inSingle)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetSingle_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetSingle_inSingle_QNAME);
- _bodyBlock.setValue(new Float(inSingle));
- _bodyBlock.setSerializer(ns2_myns2__float__float_Float_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetSingle");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- float _result = 0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Float)((SOAPDeserializationState) _responseObj).getInstance()).floatValue();
- } else {
- _result = ((Float)_responseObj).floatValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retString
- */
- public java.lang.String retString(java.lang.String inString)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetString_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetString_inString_QNAME);
- _bodyBlock.setValue(inString);
- _bodyBlock.setSerializer(ns2_myns2_string__java_lang_String_String_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetString");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.lang.String _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.lang.String)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.lang.String)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDecimal
- */
- public java.math.BigDecimal retDecimal(java.math.BigDecimal inDecimal)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDecimal_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_inDecimal_QNAME);
- _bodyBlock.setValue(inDecimal);
- _bodyBlock.setSerializer(ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.math.BigDecimal _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.math.BigDecimal)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.math.BigDecimal)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDateTime
- */
- public java.util.Calendar retDateTime(java.util.Calendar inDateTime)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDateTime_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_inDateTime_QNAME);
- _bodyBlock.setValue(inDateTime);
- _bodyBlock.setSerializer(ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.util.Calendar _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.util.Calendar)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.util.Calendar)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retInt
- */
- public int retInt(int inInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetInt_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetInt_inInt_QNAME);
- _bodyBlock.setValue(new java.lang.Integer(inInt));
- _bodyBlock.setSerializer(ns2_myns2__int__int_Int_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- int _result = 0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((java.lang.Integer)((SOAPDeserializationState) _responseObj).getInstance()).intValue();
- } else {
- _result = ((java.lang.Integer)_responseObj).intValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDouble
- */
- public double retDouble(double inDouble)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDouble_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDouble_inDouble_QNAME);
- _bodyBlock.setValue(new Double(inDouble));
- _bodyBlock.setSerializer(ns2_myns2__double__double_Double_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetDouble");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- double _result = 0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Double)((SOAPDeserializationState) _responseObj).getInstance()).doubleValue();
- } else {
- _result = ((Double)_responseObj).doubleValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retUri
- */
- public java.net.URI retUri(java.net.URI inUri)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUri_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUri_inUri_QNAME);
- _bodyBlock.setValue(inUri);
- _bodyBlock.setSerializer(ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetUri");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- java.net.URI _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (java.net.URI)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (java.net.URI)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retByteArray
- */
- public byte[] retByteArray(byte[] inByteArray)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetByteArray_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_inByteArray_QNAME);
- _bodyBlock.setValue(inByteArray);
- _bodyBlock.setSerializer(ns2_myns2_base64Binary__byte_Base64Binary_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- byte[] _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (byte[])((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (byte[])_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retLong
- */
- public long retLong(long inLong)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetLong_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetLong_inLong_QNAME);
- _bodyBlock.setValue(new Long(inLong));
- _bodyBlock.setSerializer(ns2_myns2__long__long_Long_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetLong");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- long _result = 0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Long)((SOAPDeserializationState) _responseObj).getInstance()).longValue();
- } else {
- _result = ((Long)_responseObj).longValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retUShort
- */
- public int retUShort(int inUShort)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUShort_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUShort_inUShort_QNAME);
- _bodyBlock.setValue(new java.lang.Integer(inUShort));
- _bodyBlock.setSerializer(ns2_myns2_unsignedShort__int_UnsignedShort_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetUShort");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- int _result = 0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((java.lang.Integer)((SOAPDeserializationState) _responseObj).getInstance()).intValue();
- } else {
- _result = ((java.lang.Integer)_responseObj).intValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retByte
- */
- public short retByte(short inByte)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetByte_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetByte_inByte_QNAME);
- _bodyBlock.setValue(new Short(inByte));
- _bodyBlock.setSerializer(ns2_myns2_unsignedByte__short_UnsignedByte_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetByte");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- short _result = (short)0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Short)((SOAPDeserializationState) _responseObj).getInstance()).shortValue();
- } else {
- _result = ((Short)_responseObj).shortValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retShort
- */
- public short retShort(short inShort)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetShort_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetShort_inShort_QNAME);
- _bodyBlock.setValue(new Short(inShort));
- _bodyBlock.setSerializer(ns2_myns2__short__short_Short_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetShort");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- short _result = (short)0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Short)((SOAPDeserializationState) _responseObj).getInstance()).shortValue();
- } else {
- _result = ((Short)_responseObj).shortValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retBool
- */
- public boolean retBool(boolean inBool)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetBool_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetBool_inBool_QNAME);
- _bodyBlock.setValue(new Boolean(inBool));
- _bodyBlock.setSerializer(ns2_myns2__boolean__boolean_Boolean_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetBool");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- boolean _result = false;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Boolean)((SOAPDeserializationState) _responseObj).getInstance()).booleanValue();
- } else {
- _result = ((Boolean)_responseObj).booleanValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retSByte
- */
- public byte retSByte(byte inSByte)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetSByte_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetSByte_inSByte_QNAME);
- _bodyBlock.setValue(new Byte(inSByte));
- _bodyBlock.setSerializer(ns2_myns2__byte__byte_Byte_Serializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitB/RetSByte");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- byte _result = (byte)0;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = ((Byte)((SOAPDeserializationState) _responseObj).getInstance()).byteValue();
- } else {
- _result = ((Byte)_responseObj).byteValue();
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case RetChar_OPCODE:
- _deserialize_RetChar(bodyReader, deserializationContext, state);
- break;
- case RetFloat_OPCODE:
- _deserialize_RetFloat(bodyReader, deserializationContext, state);
- break;
- case RetTimeSpan_OPCODE:
- _deserialize_RetTimeSpan(bodyReader, deserializationContext, state);
- break;
- case RetULong_OPCODE:
- _deserialize_RetULong(bodyReader, deserializationContext, state);
- break;
- case RetQName_OPCODE:
- _deserialize_RetQName(bodyReader, deserializationContext, state);
- break;
- case RetObject_OPCODE:
- _deserialize_RetObject(bodyReader, deserializationContext, state);
- break;
- case RetUInt_OPCODE:
- _deserialize_RetUInt(bodyReader, deserializationContext, state);
- break;
- case RetGuid_OPCODE:
- _deserialize_RetGuid(bodyReader, deserializationContext, state);
- break;
- case RetSingle_OPCODE:
- _deserialize_RetSingle(bodyReader, deserializationContext, state);
- break;
- case RetString_OPCODE:
- _deserialize_RetString(bodyReader, deserializationContext, state);
- break;
- case RetDecimal_OPCODE:
- _deserialize_RetDecimal(bodyReader, deserializationContext, state);
- break;
- case RetDateTime_OPCODE:
- _deserialize_RetDateTime(bodyReader, deserializationContext, state);
- break;
- case RetInt_OPCODE:
- _deserialize_RetInt(bodyReader, deserializationContext, state);
- break;
- case RetDouble_OPCODE:
- _deserialize_RetDouble(bodyReader, deserializationContext, state);
- break;
- case RetUri_OPCODE:
- _deserialize_RetUri(bodyReader, deserializationContext, state);
- break;
- case RetByteArray_OPCODE:
- _deserialize_RetByteArray(bodyReader, deserializationContext, state);
- break;
- case RetLong_OPCODE:
- _deserialize_RetLong(bodyReader, deserializationContext, state);
- break;
- case RetUShort_OPCODE:
- _deserialize_RetUShort(bodyReader, deserializationContext, state);
- break;
- case RetByte_OPCODE:
- _deserialize_RetByte(bodyReader, deserializationContext, state);
- break;
- case RetShort_OPCODE:
- _deserialize_RetShort(bodyReader, deserializationContext, state);
- break;
- case RetBool_OPCODE:
- _deserialize_RetBool(bodyReader, deserializationContext, state);
- break;
- case RetSByte_OPCODE:
- _deserialize_RetSByte(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the RetChar operation.
- */
- private void _deserialize_RetChar(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myintObj =
- ns2_myns2__int__int_Int_Serializer.deserialize(ns1_RetChar_RetCharResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetCharResult_QNAME);
- bodyBlock.setValue(myintObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetFloat operation.
- */
- private void _deserialize_RetFloat(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myfloatObj =
- ns2_myns2__float__float_Float_Serializer.deserialize(ns1_RetFloat_RetFloatResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloatResult_QNAME);
- bodyBlock.setValue(myfloatObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetTimeSpan operation.
- */
- private void _deserialize_RetTimeSpan(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myStringObj =
- ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_RetTimeSpan_RetTimeSpanResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpanResult_QNAME);
- bodyBlock.setValue(myStringObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetULong operation.
- */
- private void _deserialize_RetULong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myBigIntegerObj =
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_RetULong_RetULongResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULongResult_QNAME);
- bodyBlock.setValue(myBigIntegerObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetQName operation.
- */
- private void _deserialize_RetQName(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myQNameObj =
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_RetQName_RetQNameResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQNameResult_QNAME);
- bodyBlock.setValue(myQNameObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetObject operation.
- */
- private void _deserialize_RetObject(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object mySOAPElementObj =
- ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_RetObject_RetObjectResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObjectResult_QNAME);
- bodyBlock.setValue(mySOAPElementObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUInt operation.
- */
- private void _deserialize_RetUInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object mylongObj =
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_RetUInt_RetUIntResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUIntResult_QNAME);
- bodyBlock.setValue(mylongObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetGuid operation.
- */
- private void _deserialize_RetGuid(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myStringObj =
- ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetGuid_RetGuidResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuidResult_QNAME);
- bodyBlock.setValue(myStringObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSingle operation.
- */
- private void _deserialize_RetSingle(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myfloatObj =
- ns2_myns2__float__float_Float_Serializer.deserialize(ns1_RetSingle_RetSingleResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingleResult_QNAME);
- bodyBlock.setValue(myfloatObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetString operation.
- */
- private void _deserialize_RetString(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myStringObj =
- ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetString_RetStringResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetString_RetStringResult_QNAME);
- bodyBlock.setValue(myStringObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDecimal operation.
- */
- private void _deserialize_RetDecimal(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myBigDecimalObj =
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_RetDecimal_RetDecimalResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimalResult_QNAME);
- bodyBlock.setValue(myBigDecimalObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDateTime operation.
- */
- private void _deserialize_RetDateTime(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myCalendarObj =
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_RetDateTime_RetDateTimeResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTimeResult_QNAME);
- bodyBlock.setValue(myCalendarObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetInt operation.
- */
- private void _deserialize_RetInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myintObj =
- ns2_myns2__int__int_Int_Serializer.deserialize(ns1_RetInt_RetIntResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetIntResult_QNAME);
- bodyBlock.setValue(myintObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDouble operation.
- */
- private void _deserialize_RetDouble(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object mydoubleObj =
- ns2_myns2__double__double_Double_Serializer.deserialize(ns1_RetDouble_RetDoubleResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDoubleResult_QNAME);
- bodyBlock.setValue(mydoubleObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUri operation.
- */
- private void _deserialize_RetUri(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myURIObj =
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_RetUri_RetUriResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUriResult_QNAME);
- bodyBlock.setValue(myURIObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByteArray operation.
- */
- private void _deserialize_RetByteArray(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object mybyteObj =
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_RetByteArray_RetByteArrayResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArrayResult_QNAME);
- bodyBlock.setValue(mybyteObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetLong operation.
- */
- private void _deserialize_RetLong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object mylongObj =
- ns2_myns2__long__long_Long_Serializer.deserialize(ns1_RetLong_RetLongResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLongResult_QNAME);
- bodyBlock.setValue(mylongObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUShort operation.
- */
- private void _deserialize_RetUShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myintObj =
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_RetUShort_RetUShortResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShortResult_QNAME);
- bodyBlock.setValue(myintObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByte operation.
- */
- private void _deserialize_RetByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myshortObj =
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_RetByte_RetByteResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByteResult_QNAME);
- bodyBlock.setValue(myshortObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetShort operation.
- */
- private void _deserialize_RetShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myshortObj =
- ns2_myns2__short__short_Short_Serializer.deserialize(ns1_RetShort_RetShortResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShortResult_QNAME);
- bodyBlock.setValue(myshortObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetBool operation.
- */
- private void _deserialize_RetBool(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object mybooleanObj =
- ns2_myns2__boolean__boolean_Boolean_Serializer.deserialize(ns1_RetBool_RetBoolResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBoolResult_QNAME);
- bodyBlock.setValue(mybooleanObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSByte operation.
- */
- private void _deserialize_RetSByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object mybyteObj =
- ns2_myns2__byte__byte_Byte_Serializer.deserialize(ns1_RetSByte_RetSByteResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByteResult_QNAME);
- bodyBlock.setValue(mybyteObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns2_myns2__byte__byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", byte.class, ns2_byte_TYPE_QNAME);
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- ns2_myns2__long__long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_long_TYPE_QNAME);
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- ns2_myns2__double__double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", double.class, ns2_double_TYPE_QNAME);
- ns2_myns2__boolean__boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", boolean.class, ns2_boolean_TYPE_QNAME);
- ns2_myns2__short__short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_short_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "BasicHttpBinding_IBaseDataTypesDocLitB");
- private static final int RetChar_OPCODE = 0;
- private static final int RetFloat_OPCODE = 1;
- private static final int RetTimeSpan_OPCODE = 2;
- private static final int RetULong_OPCODE = 3;
- private static final int RetQName_OPCODE = 4;
- private static final int RetObject_OPCODE = 5;
- private static final int RetUInt_OPCODE = 6;
- private static final int RetGuid_OPCODE = 7;
- private static final int RetSingle_OPCODE = 8;
- private static final int RetString_OPCODE = 9;
- private static final int RetDecimal_OPCODE = 10;
- private static final int RetDateTime_OPCODE = 11;
- private static final int RetInt_OPCODE = 12;
- private static final int RetDouble_OPCODE = 13;
- private static final int RetUri_OPCODE = 14;
- private static final int RetByteArray_OPCODE = 15;
- private static final int RetLong_OPCODE = 16;
- private static final int RetUShort_OPCODE = 17;
- private static final int RetByte_OPCODE = 18;
- private static final int RetShort_OPCODE = 19;
- private static final int RetBool_OPCODE = 20;
- private static final int RetSByte_OPCODE = 21;
- private static final javax.xml.namespace.QName ns1_RetChar_inChar_QNAME = new QName("http://tempuri.org/", "inChar");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
- private static final javax.xml.namespace.QName ns1_RetChar_RetCharResult_QNAME = new QName("http://tempuri.org/", "RetCharResult");
- private static final javax.xml.namespace.QName ns1_RetFloat_inFloat_QNAME = new QName("http://tempuri.org/", "inFloat");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloatResult_QNAME = new QName("http://tempuri.org/", "RetFloatResult");
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_inTimeSpan_QNAME = new QName("http://tempuri.org/", "inTimeSpan");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpanResult_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResult");
- private static final javax.xml.namespace.QName ns1_RetULong_inULong_QNAME = new QName("http://tempuri.org/", "inULong");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULongResult_QNAME = new QName("http://tempuri.org/", "RetULongResult");
- private static final javax.xml.namespace.QName ns1_RetQName_inQName_QNAME = new QName("http://tempuri.org/", "inQName");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQNameResult_QNAME = new QName("http://tempuri.org/", "RetQNameResult");
- private static final javax.xml.namespace.QName ns1_RetObject_inObject_QNAME = new QName("http://tempuri.org/", "inObject");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObjectResult_QNAME = new QName("http://tempuri.org/", "RetObjectResult");
- private static final javax.xml.namespace.QName ns1_RetUInt_inUInt_QNAME = new QName("http://tempuri.org/", "inUInt");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUIntResult_QNAME = new QName("http://tempuri.org/", "RetUIntResult");
- private static final javax.xml.namespace.QName ns1_RetGuid_inGuid_QNAME = new QName("http://tempuri.org/", "inGuid");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuidResult_QNAME = new QName("http://tempuri.org/", "RetGuidResult");
- private static final javax.xml.namespace.QName ns1_RetSingle_inSingle_QNAME = new QName("http://tempuri.org/", "inSingle");
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingleResult_QNAME = new QName("http://tempuri.org/", "RetSingleResult");
- private static final javax.xml.namespace.QName ns1_RetString_inString_QNAME = new QName("http://tempuri.org/", "inString");
- private static final javax.xml.namespace.QName ns1_RetString_RetStringResult_QNAME = new QName("http://tempuri.org/", "RetStringResult");
- private static final javax.xml.namespace.QName ns1_RetDecimal_inDecimal_QNAME = new QName("http://tempuri.org/", "inDecimal");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimalResult_QNAME = new QName("http://tempuri.org/", "RetDecimalResult");
- private static final javax.xml.namespace.QName ns1_RetDateTime_inDateTime_QNAME = new QName("http://tempuri.org/", "inDateTime");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTimeResult_QNAME = new QName("http://tempuri.org/", "RetDateTimeResult");
- private static final javax.xml.namespace.QName ns1_RetInt_inInt_QNAME = new QName("http://tempuri.org/", "inInt");
- private static final javax.xml.namespace.QName ns1_RetInt_RetIntResult_QNAME = new QName("http://tempuri.org/", "RetIntResult");
- private static final javax.xml.namespace.QName ns1_RetDouble_inDouble_QNAME = new QName("http://tempuri.org/", "inDouble");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__double_Double_Serializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDoubleResult_QNAME = new QName("http://tempuri.org/", "RetDoubleResult");
- private static final javax.xml.namespace.QName ns1_RetUri_inUri_QNAME = new QName("http://tempuri.org/", "inUri");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUriResult_QNAME = new QName("http://tempuri.org/", "RetUriResult");
- private static final javax.xml.namespace.QName ns1_RetByteArray_inByteArray_QNAME = new QName("http://tempuri.org/", "inByteArray");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArrayResult_QNAME = new QName("http://tempuri.org/", "RetByteArrayResult");
- private static final javax.xml.namespace.QName ns1_RetLong_inLong_QNAME = new QName("http://tempuri.org/", "inLong");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__long_Long_Serializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLongResult_QNAME = new QName("http://tempuri.org/", "RetLongResult");
- private static final javax.xml.namespace.QName ns1_RetUShort_inUShort_QNAME = new QName("http://tempuri.org/", "inUShort");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShortResult_QNAME = new QName("http://tempuri.org/", "RetUShortResult");
- private static final javax.xml.namespace.QName ns1_RetByte_inByte_QNAME = new QName("http://tempuri.org/", "inByte");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByteResult_QNAME = new QName("http://tempuri.org/", "RetByteResult");
- private static final javax.xml.namespace.QName ns1_RetShort_inShort_QNAME = new QName("http://tempuri.org/", "inShort");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__short_Short_Serializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShortResult_QNAME = new QName("http://tempuri.org/", "RetShortResult");
- private static final javax.xml.namespace.QName ns1_RetBool_inBool_QNAME = new QName("http://tempuri.org/", "inBool");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__boolean_Boolean_Serializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBoolResult_QNAME = new QName("http://tempuri.org/", "RetBoolResult");
- private static final javax.xml.namespace.QName ns1_RetSByte_inSByte_QNAME = new QName("http://tempuri.org/", "inSByte");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__byte_Byte_Serializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByteResult_QNAME = new QName("http://tempuri.org/", "RetSByteResult");
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
-
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/BaseDataTypesDocLitBService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/BaseDataTypesDocLitBService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/BaseDataTypesDocLitBService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB_Service;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface BaseDataTypesDocLitBService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitB_Service.IBaseDataTypesDocLitB getBasicHttpBinding_IBaseDataTypesDocLitB() throws ServiceException;
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface BaseDataTypesDocLitWService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.IBaseDataTypesDocLitW getBasicHttpBinding_IBaseDataTypesDocLitW() throws ServiceException;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService_Impl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService_Impl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService_Impl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,61 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-
-public class BaseDataTypesDocLitWService_Impl extends com.sun.xml.rpc.client.BasicService implements BaseDataTypesDocLitWService {
- private static final QName serviceName = new QName("http://tempuri.org/", "BaseDataTypesDocLitWService");
- private static final QName ns1_BasicHttpBinding_IBaseDataTypesDocLitW_QNAME = new QName("http://tempuri.org/", "BasicHttpBinding_IBaseDataTypesDocLitW");
- private static final Class IBaseDataTypesDocLitW_PortClass = org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.IBaseDataTypesDocLitW.class;
-
- public BaseDataTypesDocLitWService_Impl() {
- super(serviceName, new QName[] {
- ns1_BasicHttpBinding_IBaseDataTypesDocLitW_QNAME
- },
- new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.BaseDataTypesDocLitWService_SerializerRegistry().getRegistry());
-
- }
-
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (portName.equals(ns1_BasicHttpBinding_IBaseDataTypesDocLitW_QNAME) &&
- serviceDefInterface.equals(IBaseDataTypesDocLitW_PortClass)) {
- return getBasicHttpBinding_IBaseDataTypesDocLitW();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(portName, serviceDefInterface);
- }
-
- public java.rmi.Remote getPort(java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (serviceDefInterface.equals(IBaseDataTypesDocLitW_PortClass)) {
- return getBasicHttpBinding_IBaseDataTypesDocLitW();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(serviceDefInterface);
- }
-
- public org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.IBaseDataTypesDocLitW getBasicHttpBinding_IBaseDataTypesDocLitW() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_BasicHttpBinding_IBaseDataTypesDocLitW_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.IBaseDataTypesDocLitW_Stub stub = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.IBaseDataTypesDocLitW_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWService_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,272 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class BaseDataTypesDocLitWService_SerializerRegistry implements SerializerConstants {
- public BaseDataTypesDocLitWService_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- {
- QName type = new QName("http://tempuri.org/", "RetObject");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDecimal");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSByte");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetBool");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetShort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteArrayResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDateTimeResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetULong");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUriResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetBoolResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetQNameResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDouble");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDateTime");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSingle");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStringResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralFragmentSerializer(SchemaConstants.QNAME_TYPE_URTYPE, NOT_NULLABLE, "");
- registerSerializer(mapping2,javax.xml.soap.SOAPElement.class, SchemaConstants.QNAME_TYPE_URTYPE, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetGuidResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetLong");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetLongResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetULongResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetChar");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_BASE64_BINARY,
- "", XSDBase64BinaryEncoder.getInstance());
- registerSerializer(mapping2,byte[].class, SchemaConstants.QNAME_TYPE_BASE64_BINARY, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByte");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUShortResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetCharResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSByteResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetTimeSpan");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteArray");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetString");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetObjectResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUri");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetQName");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetFloatResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUShort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDoubleResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetFloat");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSingleResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetShortResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetGuid");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_ANY_URI,
- "", XSDAnyURIEncoder.getInstance());
- registerSerializer(mapping2,java.net.URI.class, SchemaConstants.QNAME_TYPE_ANY_URI, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDecimalResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse.class, type, serializer);
- }
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/BaseDataTypesDocLitWTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,16 +1,15 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesProxy;
import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesSEI;
import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesSupport;
+import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesProxy;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 17-Feb-2006
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/IBaseDataTypesDocLitW_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/IBaseDataTypesDocLitW_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/IBaseDataTypesDocLitW_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,1720 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-public class IBaseDataTypesDocLitW_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.IBaseDataTypesDocLitW {
-
-
-
- /*
- * public constructor
- */
- public IBaseDataTypesDocLitW_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitW.svc");
- }
-
-
- /*
- * implementation of retDateTime
- */
- public java.util.Calendar retDateTime(java.util.Calendar inDateTime)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDateTime_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime _myRetDateTime = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime();
- _myRetDateTime.setInDateTime(inDateTime);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTime_QNAME);
- _bodyBlock.setValue(_myRetDateTime);
- _bodyBlock.setSerializer(ns1_myRetDateTime_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetDateTime");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse)_responseObj;
- }
-
- return _result.getRetDateTimeResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retSByte
- */
- public java.lang.Byte retSByte(java.lang.Byte inSByte)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetSByte_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte _myRetSByte = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte();
- _myRetSByte.setInSByte(inSByte);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByte_QNAME);
- _bodyBlock.setValue(_myRetSByte);
- _bodyBlock.setSerializer(ns1_myRetSByte_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetSByte");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse)_responseObj;
- }
-
- return _result.getRetSByteResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retFloat
- */
- public java.lang.Float retFloat(java.lang.Float inFloat)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetFloat_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat _myRetFloat = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat();
- _myRetFloat.setInFloat(inFloat);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloat_QNAME);
- _bodyBlock.setValue(_myRetFloat);
- _bodyBlock.setSerializer(ns1_myRetFloat_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetFloat");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse)_responseObj;
- }
-
- return _result.getRetFloatResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retBool
- */
- public java.lang.Boolean retBool(java.lang.Boolean inBool)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetBool_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool _myRetBool = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool();
- _myRetBool.setInBool(inBool);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBool_QNAME);
- _bodyBlock.setValue(_myRetBool);
- _bodyBlock.setSerializer(ns1_myRetBool_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetBool");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse)_responseObj;
- }
-
- return _result.getRetBoolResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retShort
- */
- public java.lang.Short retShort(java.lang.Short inShort)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetShort_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort _myRetShort = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort();
- _myRetShort.setInShort(inShort);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShort_QNAME);
- _bodyBlock.setValue(_myRetShort);
- _bodyBlock.setSerializer(ns1_myRetShort_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetShort");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse)_responseObj;
- }
-
- return _result.getRetShortResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDecimal
- */
- public java.math.BigDecimal retDecimal(java.math.BigDecimal inDecimal)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDecimal_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal _myRetDecimal = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal();
- _myRetDecimal.setInDecimal(inDecimal);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimal_QNAME);
- _bodyBlock.setValue(_myRetDecimal);
- _bodyBlock.setSerializer(ns1_myRetDecimal_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetDecimal");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse)_responseObj;
- }
-
- return _result.getRetDecimalResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retUShort
- */
- public int retUShort(int inUShort)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUShort_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort _myRetUShort = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort();
- _myRetUShort.setInUShort(inUShort);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShort_QNAME);
- _bodyBlock.setValue(_myRetUShort);
- _bodyBlock.setSerializer(ns1_myRetUShort_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetUShort");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse)_responseObj;
- }
-
- return _result.getRetUShortResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retByteArray
- */
- public byte[] retByteArray(byte[] inByteArray)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetByteArray_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray _myRetByteArray = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray();
- _myRetByteArray.setInByteArray(inByteArray);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArray_QNAME);
- _bodyBlock.setValue(_myRetByteArray);
- _bodyBlock.setSerializer(ns1_myRetByteArray_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetByteArray");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse)_responseObj;
- }
-
- return _result.getRetByteArrayResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retString
- */
- public java.lang.String retString(java.lang.String inString)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetString_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString _myRetString = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString();
- _myRetString.setInString(inString);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetString_RetString_QNAME);
- _bodyBlock.setValue(_myRetString);
- _bodyBlock.setSerializer(ns1_myRetString_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetString");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse)_responseObj;
- }
-
- return _result.getRetStringResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDouble
- */
- public java.lang.Double retDouble(java.lang.Double inDouble)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDouble_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble _myRetDouble = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble();
- _myRetDouble.setInDouble(inDouble);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDouble_QNAME);
- _bodyBlock.setValue(_myRetDouble);
- _bodyBlock.setSerializer(ns1_myRetDouble_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetDouble");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse)_responseObj;
- }
-
- return _result.getRetDoubleResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retULong
- */
- public java.math.BigInteger retULong(java.math.BigInteger inULong)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetULong_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong _myRetULong = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong();
- _myRetULong.setInULong(inULong);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULong_QNAME);
- _bodyBlock.setValue(_myRetULong);
- _bodyBlock.setSerializer(ns1_myRetULong_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetULong");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse)_responseObj;
- }
-
- return _result.getRetULongResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retTimeSpan
- */
- public java.lang.String retTimeSpan(java.lang.String inTimeSpan)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetTimeSpan_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan _myRetTimeSpan = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan();
- _myRetTimeSpan.setInTimeSpan(inTimeSpan);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpan_QNAME);
- _bodyBlock.setValue(_myRetTimeSpan);
- _bodyBlock.setSerializer(ns1_myRetTimeSpan_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetTimeSpan");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse)_responseObj;
- }
-
- return _result.getRetTimeSpanResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retUri
- */
- public java.net.URI retUri(java.net.URI inUri)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUri_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri _myRetUri = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri();
- _myRetUri.setInUri(inUri);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUri_QNAME);
- _bodyBlock.setValue(_myRetUri);
- _bodyBlock.setSerializer(ns1_myRetUri_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetUri");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse)_responseObj;
- }
-
- return _result.getRetUriResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retChar
- */
- public java.lang.Integer retChar(java.lang.Integer inChar)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetChar_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar _myRetChar = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar();
- _myRetChar.setInChar(inChar);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetChar_QNAME);
- _bodyBlock.setValue(_myRetChar);
- _bodyBlock.setSerializer(ns1_myRetChar_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetChar");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse)_responseObj;
- }
-
- return _result.getRetCharResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retGuid
- */
- public java.lang.String retGuid(java.lang.String inGuid)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetGuid_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid _myRetGuid = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid();
- _myRetGuid.setInGuid(inGuid);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuid_QNAME);
- _bodyBlock.setValue(_myRetGuid);
- _bodyBlock.setSerializer(ns1_myRetGuid_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetGuid");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse)_responseObj;
- }
-
- return _result.getRetGuidResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retObject
- */
- public javax.xml.soap.SOAPElement retObject(javax.xml.soap.SOAPElement inObject)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetObject_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject _myRetObject = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject();
- _myRetObject.setInObject(inObject);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObject_QNAME);
- _bodyBlock.setValue(_myRetObject);
- _bodyBlock.setSerializer(ns1_myRetObject_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetObject");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse)_responseObj;
- }
-
- return _result.getRetObjectResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retByte
- */
- public short retByte(short inByte)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetByte_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte _myRetByte = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte();
- _myRetByte.setInByte(inByte);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByte_QNAME);
- _bodyBlock.setValue(_myRetByte);
- _bodyBlock.setSerializer(ns1_myRetByte_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetByte");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse)_responseObj;
- }
-
- return _result.getRetByteResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retInt
- */
- public java.lang.Integer retInt(java.lang.Integer inInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetInt_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt _myRetInt = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt();
- _myRetInt.setInInt(inInt);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetInt_QNAME);
- _bodyBlock.setValue(_myRetInt);
- _bodyBlock.setSerializer(ns1_myRetInt_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse)_responseObj;
- }
-
- return _result.getRetIntResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retQName
- */
- public javax.xml.namespace.QName retQName(javax.xml.namespace.QName inQName)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetQName_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName _myRetQName = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName();
- _myRetQName.setInQName(inQName);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQName_QNAME);
- _bodyBlock.setValue(_myRetQName);
- _bodyBlock.setSerializer(ns1_myRetQName_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetQName");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse)_responseObj;
- }
-
- return _result.getRetQNameResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retLong
- */
- public java.lang.Long retLong(java.lang.Long inLong)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetLong_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong _myRetLong = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong();
- _myRetLong.setInLong(inLong);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLong_QNAME);
- _bodyBlock.setValue(_myRetLong);
- _bodyBlock.setSerializer(ns1_myRetLong_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetLong");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse)_responseObj;
- }
-
- return _result.getRetLongResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retSingle
- */
- public java.lang.Float retSingle(java.lang.Float inSingle)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetSingle_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle _myRetSingle = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle();
- _myRetSingle.setInSingle(inSingle);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingle_QNAME);
- _bodyBlock.setValue(_myRetSingle);
- _bodyBlock.setSerializer(ns1_myRetSingle_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetSingle");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse)_responseObj;
- }
-
- return _result.getRetSingleResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retUInt
- */
- public long retUInt(long inUInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUInt_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt _myRetUInt = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt();
- _myRetUInt.setInUInt(inUInt);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUInt_QNAME);
- _bodyBlock.setValue(_myRetUInt);
- _bodyBlock.setSerializer(ns1_myRetUInt_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesDocLitW/RetUInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse)_responseObj;
- }
-
- return _result.getRetUIntResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case RetDateTime_OPCODE:
- _deserialize_RetDateTime(bodyReader, deserializationContext, state);
- break;
- case RetSByte_OPCODE:
- _deserialize_RetSByte(bodyReader, deserializationContext, state);
- break;
- case RetFloat_OPCODE:
- _deserialize_RetFloat(bodyReader, deserializationContext, state);
- break;
- case RetBool_OPCODE:
- _deserialize_RetBool(bodyReader, deserializationContext, state);
- break;
- case RetShort_OPCODE:
- _deserialize_RetShort(bodyReader, deserializationContext, state);
- break;
- case RetDecimal_OPCODE:
- _deserialize_RetDecimal(bodyReader, deserializationContext, state);
- break;
- case RetUShort_OPCODE:
- _deserialize_RetUShort(bodyReader, deserializationContext, state);
- break;
- case RetByteArray_OPCODE:
- _deserialize_RetByteArray(bodyReader, deserializationContext, state);
- break;
- case RetString_OPCODE:
- _deserialize_RetString(bodyReader, deserializationContext, state);
- break;
- case RetDouble_OPCODE:
- _deserialize_RetDouble(bodyReader, deserializationContext, state);
- break;
- case RetULong_OPCODE:
- _deserialize_RetULong(bodyReader, deserializationContext, state);
- break;
- case RetTimeSpan_OPCODE:
- _deserialize_RetTimeSpan(bodyReader, deserializationContext, state);
- break;
- case RetUri_OPCODE:
- _deserialize_RetUri(bodyReader, deserializationContext, state);
- break;
- case RetChar_OPCODE:
- _deserialize_RetChar(bodyReader, deserializationContext, state);
- break;
- case RetGuid_OPCODE:
- _deserialize_RetGuid(bodyReader, deserializationContext, state);
- break;
- case RetObject_OPCODE:
- _deserialize_RetObject(bodyReader, deserializationContext, state);
- break;
- case RetByte_OPCODE:
- _deserialize_RetByte(bodyReader, deserializationContext, state);
- break;
- case RetInt_OPCODE:
- _deserialize_RetInt(bodyReader, deserializationContext, state);
- break;
- case RetQName_OPCODE:
- _deserialize_RetQName(bodyReader, deserializationContext, state);
- break;
- case RetLong_OPCODE:
- _deserialize_RetLong(bodyReader, deserializationContext, state);
- break;
- case RetSingle_OPCODE:
- _deserialize_RetSingle(bodyReader, deserializationContext, state);
- break;
- case RetUInt_OPCODE:
- _deserialize_RetUInt(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the RetDateTime operation.
- */
- private void _deserialize_RetDateTime(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetDateTimeResponseObj =
- ns1_myRetDateTimeResponse_LiteralSerializer.deserialize(ns1_RetDateTime_RetDateTimeResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTimeResponse_QNAME);
- bodyBlock.setValue(myRetDateTimeResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSByte operation.
- */
- private void _deserialize_RetSByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetSByteResponseObj =
- ns1_myRetSByteResponse_LiteralSerializer.deserialize(ns1_RetSByte_RetSByteResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByteResponse_QNAME);
- bodyBlock.setValue(myRetSByteResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetFloat operation.
- */
- private void _deserialize_RetFloat(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetFloatResponseObj =
- ns1_myRetFloatResponse_LiteralSerializer.deserialize(ns1_RetFloat_RetFloatResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloatResponse_QNAME);
- bodyBlock.setValue(myRetFloatResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetBool operation.
- */
- private void _deserialize_RetBool(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetBoolResponseObj =
- ns1_myRetBoolResponse_LiteralSerializer.deserialize(ns1_RetBool_RetBoolResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBoolResponse_QNAME);
- bodyBlock.setValue(myRetBoolResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetShort operation.
- */
- private void _deserialize_RetShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetShortResponseObj =
- ns1_myRetShortResponse_LiteralSerializer.deserialize(ns1_RetShort_RetShortResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShortResponse_QNAME);
- bodyBlock.setValue(myRetShortResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDecimal operation.
- */
- private void _deserialize_RetDecimal(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetDecimalResponseObj =
- ns1_myRetDecimalResponse_LiteralSerializer.deserialize(ns1_RetDecimal_RetDecimalResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimalResponse_QNAME);
- bodyBlock.setValue(myRetDecimalResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUShort operation.
- */
- private void _deserialize_RetUShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetUShortResponseObj =
- ns1_myRetUShortResponse_LiteralSerializer.deserialize(ns1_RetUShort_RetUShortResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShortResponse_QNAME);
- bodyBlock.setValue(myRetUShortResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByteArray operation.
- */
- private void _deserialize_RetByteArray(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetByteArrayResponseObj =
- ns1_myRetByteArrayResponse_LiteralSerializer.deserialize(ns1_RetByteArray_RetByteArrayResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArrayResponse_QNAME);
- bodyBlock.setValue(myRetByteArrayResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetString operation.
- */
- private void _deserialize_RetString(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetStringResponseObj =
- ns1_myRetStringResponse_LiteralSerializer.deserialize(ns1_RetString_RetStringResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetString_RetStringResponse_QNAME);
- bodyBlock.setValue(myRetStringResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDouble operation.
- */
- private void _deserialize_RetDouble(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetDoubleResponseObj =
- ns1_myRetDoubleResponse_LiteralSerializer.deserialize(ns1_RetDouble_RetDoubleResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDoubleResponse_QNAME);
- bodyBlock.setValue(myRetDoubleResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetULong operation.
- */
- private void _deserialize_RetULong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetULongResponseObj =
- ns1_myRetULongResponse_LiteralSerializer.deserialize(ns1_RetULong_RetULongResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULongResponse_QNAME);
- bodyBlock.setValue(myRetULongResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetTimeSpan operation.
- */
- private void _deserialize_RetTimeSpan(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetTimeSpanResponseObj =
- ns1_myRetTimeSpanResponse_LiteralSerializer.deserialize(ns1_RetTimeSpan_RetTimeSpanResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpanResponse_QNAME);
- bodyBlock.setValue(myRetTimeSpanResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUri operation.
- */
- private void _deserialize_RetUri(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetUriResponseObj =
- ns1_myRetUriResponse_LiteralSerializer.deserialize(ns1_RetUri_RetUriResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUriResponse_QNAME);
- bodyBlock.setValue(myRetUriResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetChar operation.
- */
- private void _deserialize_RetChar(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetCharResponseObj =
- ns1_myRetCharResponse_LiteralSerializer.deserialize(ns1_RetChar_RetCharResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetCharResponse_QNAME);
- bodyBlock.setValue(myRetCharResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetGuid operation.
- */
- private void _deserialize_RetGuid(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetGuidResponseObj =
- ns1_myRetGuidResponse_LiteralSerializer.deserialize(ns1_RetGuid_RetGuidResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuidResponse_QNAME);
- bodyBlock.setValue(myRetGuidResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetObject operation.
- */
- private void _deserialize_RetObject(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetObjectResponseObj =
- ns1_myRetObjectResponse_LiteralSerializer.deserialize(ns1_RetObject_RetObjectResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObjectResponse_QNAME);
- bodyBlock.setValue(myRetObjectResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByte operation.
- */
- private void _deserialize_RetByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetByteResponseObj =
- ns1_myRetByteResponse_LiteralSerializer.deserialize(ns1_RetByte_RetByteResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByteResponse_QNAME);
- bodyBlock.setValue(myRetByteResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetInt operation.
- */
- private void _deserialize_RetInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetIntResponseObj =
- ns1_myRetIntResponse_LiteralSerializer.deserialize(ns1_RetInt_RetIntResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetIntResponse_QNAME);
- bodyBlock.setValue(myRetIntResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetQName operation.
- */
- private void _deserialize_RetQName(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetQNameResponseObj =
- ns1_myRetQNameResponse_LiteralSerializer.deserialize(ns1_RetQName_RetQNameResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQNameResponse_QNAME);
- bodyBlock.setValue(myRetQNameResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetLong operation.
- */
- private void _deserialize_RetLong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetLongResponseObj =
- ns1_myRetLongResponse_LiteralSerializer.deserialize(ns1_RetLong_RetLongResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLongResponse_QNAME);
- bodyBlock.setValue(myRetLongResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSingle operation.
- */
- private void _deserialize_RetSingle(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetSingleResponseObj =
- ns1_myRetSingleResponse_LiteralSerializer.deserialize(ns1_RetSingle_RetSingleResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingleResponse_QNAME);
- bodyBlock.setValue(myRetSingleResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUInt operation.
- */
- private void _deserialize_RetUInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetUIntResponseObj =
- ns1_myRetUIntResponse_LiteralSerializer.deserialize(ns1_RetUInt_RetUIntResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUIntResponse_QNAME);
- bodyBlock.setValue(myRetUIntResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns1_myRetQName_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName.class, ns1_RetQName_TYPE_QNAME);
- ns1_myRetTimeSpan_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan.class, ns1_RetTimeSpan_TYPE_QNAME);
- ns1_myRetUInt_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt.class, ns1_RetUInt_TYPE_QNAME);
- ns1_myRetBoolResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse.class, ns1_RetBoolResponse_TYPE_QNAME);
- ns1_myRetDecimalResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse.class, ns1_RetDecimalResponse_TYPE_QNAME);
- ns1_myRetIntResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse.class, ns1_RetIntResponse_TYPE_QNAME);
- ns1_myRetByte_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte.class, ns1_RetByte_TYPE_QNAME);
- ns1_myRetShortResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse.class, ns1_RetShortResponse_TYPE_QNAME);
- ns1_myRetInt_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt.class, ns1_RetInt_TYPE_QNAME);
- ns1_myRetShort_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort.class, ns1_RetShort_TYPE_QNAME);
- ns1_myRetULong_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong.class, ns1_RetULong_TYPE_QNAME);
- ns1_myRetUShort_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort.class, ns1_RetUShort_TYPE_QNAME);
- ns1_myRetByteArray_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray.class, ns1_RetByteArray_TYPE_QNAME);
- ns1_myRetDouble_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble.class, ns1_RetDouble_TYPE_QNAME);
- ns1_myRetStringResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse.class, ns1_RetStringResponse_TYPE_QNAME);
- ns1_myRetByteResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse.class, ns1_RetByteResponse_TYPE_QNAME);
- ns1_myRetUShortResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse.class, ns1_RetUShortResponse_TYPE_QNAME);
- ns1_myRetUIntResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse.class, ns1_RetUIntResponse_TYPE_QNAME);
- ns1_myRetDecimal_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal.class, ns1_RetDecimal_TYPE_QNAME);
- ns1_myRetString_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString.class, ns1_RetString_TYPE_QNAME);
- ns1_myRetULongResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse.class, ns1_RetULongResponse_TYPE_QNAME);
- ns1_myRetSByteResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse.class, ns1_RetSByteResponse_TYPE_QNAME);
- ns1_myRetFloatResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse.class, ns1_RetFloatResponse_TYPE_QNAME);
- ns1_myRetUriResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse.class, ns1_RetUriResponse_TYPE_QNAME);
- ns1_myRetDoubleResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse.class, ns1_RetDoubleResponse_TYPE_QNAME);
- ns1_myRetSingle_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle.class, ns1_RetSingle_TYPE_QNAME);
- ns1_myRetBool_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool.class, ns1_RetBool_TYPE_QNAME);
- ns1_myRetSingleResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse.class, ns1_RetSingleResponse_TYPE_QNAME);
- ns1_myRetLongResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse.class, ns1_RetLongResponse_TYPE_QNAME);
- ns1_myRetTimeSpanResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse.class, ns1_RetTimeSpanResponse_TYPE_QNAME);
- ns1_myRetSByte_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte.class, ns1_RetSByte_TYPE_QNAME);
- ns1_myRetGuidResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse.class, ns1_RetGuidResponse_TYPE_QNAME);
- ns1_myRetCharResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse.class, ns1_RetCharResponse_TYPE_QNAME);
- ns1_myRetChar_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar.class, ns1_RetChar_TYPE_QNAME);
- ns1_myRetQNameResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse.class, ns1_RetQNameResponse_TYPE_QNAME);
- ns1_myRetByteArrayResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse.class, ns1_RetByteArrayResponse_TYPE_QNAME);
- ns1_myRetDateTimeResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse.class, ns1_RetDateTimeResponse_TYPE_QNAME);
- ns1_myRetUri_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri.class, ns1_RetUri_TYPE_QNAME);
- ns1_myRetFloat_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat.class, ns1_RetFloat_TYPE_QNAME);
- ns1_myRetObject_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject.class, ns1_RetObject_TYPE_QNAME);
- ns1_myRetDateTime_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime.class, ns1_RetDateTime_TYPE_QNAME);
- ns1_myRetGuid_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid.class, ns1_RetGuid_TYPE_QNAME);
- ns1_myRetLong_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong.class, ns1_RetLong_TYPE_QNAME);
- ns1_myRetObjectResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse.class, ns1_RetObjectResponse_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "BasicHttpBinding_IBaseDataTypesDocLitW");
- private static final int RetDateTime_OPCODE = 0;
- private static final int RetSByte_OPCODE = 1;
- private static final int RetFloat_OPCODE = 2;
- private static final int RetBool_OPCODE = 3;
- private static final int RetShort_OPCODE = 4;
- private static final int RetDecimal_OPCODE = 5;
- private static final int RetUShort_OPCODE = 6;
- private static final int RetByteArray_OPCODE = 7;
- private static final int RetString_OPCODE = 8;
- private static final int RetDouble_OPCODE = 9;
- private static final int RetULong_OPCODE = 10;
- private static final int RetTimeSpan_OPCODE = 11;
- private static final int RetUri_OPCODE = 12;
- private static final int RetChar_OPCODE = 13;
- private static final int RetGuid_OPCODE = 14;
- private static final int RetObject_OPCODE = 15;
- private static final int RetByte_OPCODE = 16;
- private static final int RetInt_OPCODE = 17;
- private static final int RetQName_OPCODE = 18;
- private static final int RetLong_OPCODE = 19;
- private static final int RetSingle_OPCODE = 20;
- private static final int RetUInt_OPCODE = 21;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTime_QNAME = new QName("http://tempuri.org/", "RetDateTime");
- private static final javax.xml.namespace.QName ns1_RetDateTime_TYPE_QNAME = new QName("http://tempuri.org/", "RetDateTime");
- private CombinedSerializer ns1_myRetDateTime_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTimeResponse_QNAME = new QName("http://tempuri.org/", "RetDateTimeResponse");
- private static final javax.xml.namespace.QName ns1_RetDateTimeResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDateTimeResponse");
- private CombinedSerializer ns1_myRetDateTimeResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByte_QNAME = new QName("http://tempuri.org/", "RetSByte");
- private static final javax.xml.namespace.QName ns1_RetSByte_TYPE_QNAME = new QName("http://tempuri.org/", "RetSByte");
- private CombinedSerializer ns1_myRetSByte_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByteResponse_QNAME = new QName("http://tempuri.org/", "RetSByteResponse");
- private static final javax.xml.namespace.QName ns1_RetSByteResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetSByteResponse");
- private CombinedSerializer ns1_myRetSByteResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloat_QNAME = new QName("http://tempuri.org/", "RetFloat");
- private static final javax.xml.namespace.QName ns1_RetFloat_TYPE_QNAME = new QName("http://tempuri.org/", "RetFloat");
- private CombinedSerializer ns1_myRetFloat_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloatResponse_QNAME = new QName("http://tempuri.org/", "RetFloatResponse");
- private static final javax.xml.namespace.QName ns1_RetFloatResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetFloatResponse");
- private CombinedSerializer ns1_myRetFloatResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBool_QNAME = new QName("http://tempuri.org/", "RetBool");
- private static final javax.xml.namespace.QName ns1_RetBool_TYPE_QNAME = new QName("http://tempuri.org/", "RetBool");
- private CombinedSerializer ns1_myRetBool_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBoolResponse_QNAME = new QName("http://tempuri.org/", "RetBoolResponse");
- private static final javax.xml.namespace.QName ns1_RetBoolResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetBoolResponse");
- private CombinedSerializer ns1_myRetBoolResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShort_QNAME = new QName("http://tempuri.org/", "RetShort");
- private static final javax.xml.namespace.QName ns1_RetShort_TYPE_QNAME = new QName("http://tempuri.org/", "RetShort");
- private CombinedSerializer ns1_myRetShort_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShortResponse_QNAME = new QName("http://tempuri.org/", "RetShortResponse");
- private static final javax.xml.namespace.QName ns1_RetShortResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetShortResponse");
- private CombinedSerializer ns1_myRetShortResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimal_QNAME = new QName("http://tempuri.org/", "RetDecimal");
- private static final javax.xml.namespace.QName ns1_RetDecimal_TYPE_QNAME = new QName("http://tempuri.org/", "RetDecimal");
- private CombinedSerializer ns1_myRetDecimal_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimalResponse_QNAME = new QName("http://tempuri.org/", "RetDecimalResponse");
- private static final javax.xml.namespace.QName ns1_RetDecimalResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDecimalResponse");
- private CombinedSerializer ns1_myRetDecimalResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShort_QNAME = new QName("http://tempuri.org/", "RetUShort");
- private static final javax.xml.namespace.QName ns1_RetUShort_TYPE_QNAME = new QName("http://tempuri.org/", "RetUShort");
- private CombinedSerializer ns1_myRetUShort_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShortResponse_QNAME = new QName("http://tempuri.org/", "RetUShortResponse");
- private static final javax.xml.namespace.QName ns1_RetUShortResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUShortResponse");
- private CombinedSerializer ns1_myRetUShortResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArray_QNAME = new QName("http://tempuri.org/", "RetByteArray");
- private static final javax.xml.namespace.QName ns1_RetByteArray_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteArray");
- private CombinedSerializer ns1_myRetByteArray_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArrayResponse_QNAME = new QName("http://tempuri.org/", "RetByteArrayResponse");
- private static final javax.xml.namespace.QName ns1_RetByteArrayResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteArrayResponse");
- private CombinedSerializer ns1_myRetByteArrayResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetString_RetString_QNAME = new QName("http://tempuri.org/", "RetString");
- private static final javax.xml.namespace.QName ns1_RetString_TYPE_QNAME = new QName("http://tempuri.org/", "RetString");
- private CombinedSerializer ns1_myRetString_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetString_RetStringResponse_QNAME = new QName("http://tempuri.org/", "RetStringResponse");
- private static final javax.xml.namespace.QName ns1_RetStringResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStringResponse");
- private CombinedSerializer ns1_myRetStringResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDouble_QNAME = new QName("http://tempuri.org/", "RetDouble");
- private static final javax.xml.namespace.QName ns1_RetDouble_TYPE_QNAME = new QName("http://tempuri.org/", "RetDouble");
- private CombinedSerializer ns1_myRetDouble_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDoubleResponse_QNAME = new QName("http://tempuri.org/", "RetDoubleResponse");
- private static final javax.xml.namespace.QName ns1_RetDoubleResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDoubleResponse");
- private CombinedSerializer ns1_myRetDoubleResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULong_QNAME = new QName("http://tempuri.org/", "RetULong");
- private static final javax.xml.namespace.QName ns1_RetULong_TYPE_QNAME = new QName("http://tempuri.org/", "RetULong");
- private CombinedSerializer ns1_myRetULong_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULongResponse_QNAME = new QName("http://tempuri.org/", "RetULongResponse");
- private static final javax.xml.namespace.QName ns1_RetULongResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetULongResponse");
- private CombinedSerializer ns1_myRetULongResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpan_QNAME = new QName("http://tempuri.org/", "RetTimeSpan");
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_TYPE_QNAME = new QName("http://tempuri.org/", "RetTimeSpan");
- private CombinedSerializer ns1_myRetTimeSpan_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpanResponse_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- private static final javax.xml.namespace.QName ns1_RetTimeSpanResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- private CombinedSerializer ns1_myRetTimeSpanResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUri_QNAME = new QName("http://tempuri.org/", "RetUri");
- private static final javax.xml.namespace.QName ns1_RetUri_TYPE_QNAME = new QName("http://tempuri.org/", "RetUri");
- private CombinedSerializer ns1_myRetUri_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUriResponse_QNAME = new QName("http://tempuri.org/", "RetUriResponse");
- private static final javax.xml.namespace.QName ns1_RetUriResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUriResponse");
- private CombinedSerializer ns1_myRetUriResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetChar_RetChar_QNAME = new QName("http://tempuri.org/", "RetChar");
- private static final javax.xml.namespace.QName ns1_RetChar_TYPE_QNAME = new QName("http://tempuri.org/", "RetChar");
- private CombinedSerializer ns1_myRetChar_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetChar_RetCharResponse_QNAME = new QName("http://tempuri.org/", "RetCharResponse");
- private static final javax.xml.namespace.QName ns1_RetCharResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetCharResponse");
- private CombinedSerializer ns1_myRetCharResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuid_QNAME = new QName("http://tempuri.org/", "RetGuid");
- private static final javax.xml.namespace.QName ns1_RetGuid_TYPE_QNAME = new QName("http://tempuri.org/", "RetGuid");
- private CombinedSerializer ns1_myRetGuid_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuidResponse_QNAME = new QName("http://tempuri.org/", "RetGuidResponse");
- private static final javax.xml.namespace.QName ns1_RetGuidResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetGuidResponse");
- private CombinedSerializer ns1_myRetGuidResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObject_QNAME = new QName("http://tempuri.org/", "RetObject");
- private static final javax.xml.namespace.QName ns1_RetObject_TYPE_QNAME = new QName("http://tempuri.org/", "RetObject");
- private CombinedSerializer ns1_myRetObject_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObjectResponse_QNAME = new QName("http://tempuri.org/", "RetObjectResponse");
- private static final javax.xml.namespace.QName ns1_RetObjectResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetObjectResponse");
- private CombinedSerializer ns1_myRetObjectResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByte_QNAME = new QName("http://tempuri.org/", "RetByte");
- private static final javax.xml.namespace.QName ns1_RetByte_TYPE_QNAME = new QName("http://tempuri.org/", "RetByte");
- private CombinedSerializer ns1_myRetByte_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByteResponse_QNAME = new QName("http://tempuri.org/", "RetByteResponse");
- private static final javax.xml.namespace.QName ns1_RetByteResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteResponse");
- private CombinedSerializer ns1_myRetByteResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetInt_RetInt_QNAME = new QName("http://tempuri.org/", "RetInt");
- private static final javax.xml.namespace.QName ns1_RetInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetInt");
- private CombinedSerializer ns1_myRetInt_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetInt_RetIntResponse_QNAME = new QName("http://tempuri.org/", "RetIntResponse");
- private static final javax.xml.namespace.QName ns1_RetIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetIntResponse");
- private CombinedSerializer ns1_myRetIntResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQName_QNAME = new QName("http://tempuri.org/", "RetQName");
- private static final javax.xml.namespace.QName ns1_RetQName_TYPE_QNAME = new QName("http://tempuri.org/", "RetQName");
- private CombinedSerializer ns1_myRetQName_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQNameResponse_QNAME = new QName("http://tempuri.org/", "RetQNameResponse");
- private static final javax.xml.namespace.QName ns1_RetQNameResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetQNameResponse");
- private CombinedSerializer ns1_myRetQNameResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLong_QNAME = new QName("http://tempuri.org/", "RetLong");
- private static final javax.xml.namespace.QName ns1_RetLong_TYPE_QNAME = new QName("http://tempuri.org/", "RetLong");
- private CombinedSerializer ns1_myRetLong_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLongResponse_QNAME = new QName("http://tempuri.org/", "RetLongResponse");
- private static final javax.xml.namespace.QName ns1_RetLongResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetLongResponse");
- private CombinedSerializer ns1_myRetLongResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingle_QNAME = new QName("http://tempuri.org/", "RetSingle");
- private static final javax.xml.namespace.QName ns1_RetSingle_TYPE_QNAME = new QName("http://tempuri.org/", "RetSingle");
- private CombinedSerializer ns1_myRetSingle_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingleResponse_QNAME = new QName("http://tempuri.org/", "RetSingleResponse");
- private static final javax.xml.namespace.QName ns1_RetSingleResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetSingleResponse");
- private CombinedSerializer ns1_myRetSingleResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUInt_QNAME = new QName("http://tempuri.org/", "RetUInt");
- private static final javax.xml.namespace.QName ns1_RetUInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetUInt");
- private CombinedSerializer ns1_myRetUInt_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUIntResponse_QNAME = new QName("http://tempuri.org/", "RetUIntResponse");
- private static final javax.xml.namespace.QName ns1_RetUIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUIntResponse");
- private CombinedSerializer ns1_myRetUIntResponse_LiteralSerializer;
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
- "ns0", "http://tempuri.org/"
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetBoolResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetBoolResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetBoolResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetBoolResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetBoolResult_QNAME = new QName("http://tempuri.org/", "RetBoolResult");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer;
-
- public RetBoolResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetBoolResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Boolean.class, ns2_boolean_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetBoolResult_QNAME)) {
- member = ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.deserialize(ns1_RetBoolResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetBoolResult((java.lang.Boolean)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBoolResponse)obj;
-
- if (instance.getRetBoolResult() != null) {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.serialize(instance.getRetBoolResult(), ns1_RetBoolResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetBool_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetBool_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetBool_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetBool_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inBool_QNAME = new QName("http://tempuri.org/", "inBool");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer;
-
- public RetBool_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetBool_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Boolean.class, ns2_boolean_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inBool_QNAME)) {
- member = ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.deserialize(ns1_inBool_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInBool((java.lang.Boolean)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetBool)obj;
-
- if (instance.getInBool() != null) {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.serialize(instance.getInBool(), ns1_inBool_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteArrayResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteArrayResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteArrayResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetByteArrayResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetByteArrayResult_QNAME = new QName("http://tempuri.org/", "RetByteArrayResult");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
-
- public RetByteArrayResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetByteArrayResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetByteArrayResult_QNAME)) {
- member = ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_RetByteArrayResult_QNAME, reader, context);
- instance.setRetByteArrayResult((byte[])member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArrayResponse)obj;
-
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.serialize(instance.getRetByteArrayResult(), ns1_RetByteArrayResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteArray_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteArray_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteArray_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetByteArray_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inByteArray_QNAME = new QName("http://tempuri.org/", "inByteArray");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
-
- public RetByteArray_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetByteArray_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inByteArray_QNAME)) {
- member = ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_inByteArray_QNAME, reader, context);
- instance.setInByteArray((byte[])member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteArray)obj;
-
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.serialize(instance.getInByteArray(), ns1_inByteArray_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByteResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetByteResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetByteResult_QNAME = new QName("http://tempuri.org/", "RetByteResult");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
-
- public RetByteResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetByteResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetByteResult_QNAME)) {
- member = ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_RetByteResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetByteResult(((Short)member).shortValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByteResponse)obj;
-
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.serialize(new Short(instance.getRetByteResult()), ns1_RetByteResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByte_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByte_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetByte_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetByte_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inByte_QNAME = new QName("http://tempuri.org/", "inByte");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
-
- public RetByte_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetByte_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inByte_QNAME)) {
- member = ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_inByte_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInByte(((Short)member).shortValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetByte)obj;
-
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.serialize(new Short(instance.getInByte()), ns1_inByte_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetCharResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetCharResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetCharResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetCharResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetCharResult_QNAME = new QName("http://tempuri.org/", "RetCharResult");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public RetCharResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetCharResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetCharResult_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns1_RetCharResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetCharResult((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetCharResponse)obj;
-
- if (instance.getRetCharResult() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getRetCharResult(), ns1_RetCharResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetChar_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetChar_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetChar_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetChar_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inChar_QNAME = new QName("http://tempuri.org/", "inChar");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public RetChar_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetChar_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inChar_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns1_inChar_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInChar((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetChar)obj;
-
- if (instance.getInChar() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getInChar(), ns1_inChar_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDateTimeResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDateTimeResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDateTimeResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDateTimeResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDateTimeResult_QNAME = new QName("http://tempuri.org/", "RetDateTimeResult");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public RetDateTimeResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDateTimeResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDateTimeResult_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_RetDateTimeResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDateTimeResult((java.util.Calendar)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTimeResponse)obj;
-
- if (instance.getRetDateTimeResult() != null) {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getRetDateTimeResult(), ns1_RetDateTimeResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDateTime_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDateTime_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDateTime_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDateTime_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDateTime_QNAME = new QName("http://tempuri.org/", "inDateTime");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public RetDateTime_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDateTime_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDateTime_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_inDateTime_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDateTime((java.util.Calendar)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDateTime)obj;
-
- if (instance.getInDateTime() != null) {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getInDateTime(), ns1_inDateTime_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDecimalResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDecimalResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDecimalResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDecimalResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDecimalResult_QNAME = new QName("http://tempuri.org/", "RetDecimalResult");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public RetDecimalResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDecimalResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDecimalResult_QNAME)) {
- member = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_RetDecimalResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDecimalResult((java.math.BigDecimal)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimalResponse)obj;
-
- if (instance.getRetDecimalResult() != null) {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getRetDecimalResult(), ns1_RetDecimalResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDecimal_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDecimal_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDecimal_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDecimal_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDecimal_QNAME = new QName("http://tempuri.org/", "inDecimal");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public RetDecimal_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDecimal_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDecimal_QNAME)) {
- member = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_inDecimal_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDecimal((java.math.BigDecimal)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDecimal)obj;
-
- if (instance.getInDecimal() != null) {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getInDecimal(), ns1_inDecimal_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDoubleResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDoubleResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDoubleResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDoubleResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDoubleResult_QNAME = new QName("http://tempuri.org/", "RetDoubleResult");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__java_lang_Double_Double_Serializer;
-
- public RetDoubleResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDoubleResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__java_lang_Double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Double.class, ns2_double_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDoubleResult_QNAME)) {
- member = ns2_myns2__double__java_lang_Double_Double_Serializer.deserialize(ns1_RetDoubleResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDoubleResult((java.lang.Double)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDoubleResponse)obj;
-
- if (instance.getRetDoubleResult() != null) {
- ns2_myns2__double__java_lang_Double_Double_Serializer.serialize(instance.getRetDoubleResult(), ns1_RetDoubleResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDouble_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDouble_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetDouble_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDouble_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDouble_QNAME = new QName("http://tempuri.org/", "inDouble");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__java_lang_Double_Double_Serializer;
-
- public RetDouble_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDouble_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__java_lang_Double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Double.class, ns2_double_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDouble_QNAME)) {
- member = ns2_myns2__double__java_lang_Double_Double_Serializer.deserialize(ns1_inDouble_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDouble((java.lang.Double)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetDouble)obj;
-
- if (instance.getInDouble() != null) {
- ns2_myns2__double__java_lang_Double_Double_Serializer.serialize(instance.getInDouble(), ns1_inDouble_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetFloatResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetFloatResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetFloatResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetFloatResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetFloatResult_QNAME = new QName("http://tempuri.org/", "RetFloatResult");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public RetFloatResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetFloatResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetFloatResult_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns1_RetFloatResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetFloatResult((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloatResponse)obj;
-
- if (instance.getRetFloatResult() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getRetFloatResult(), ns1_RetFloatResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetFloat_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetFloat_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetFloat_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetFloat_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inFloat_QNAME = new QName("http://tempuri.org/", "inFloat");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public RetFloat_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetFloat_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inFloat_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns1_inFloat_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInFloat((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetFloat)obj;
-
- if (instance.getInFloat() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getInFloat(), ns1_inFloat_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetGuidResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetGuidResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetGuidResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetGuidResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetGuidResult_QNAME = new QName("http://tempuri.org/", "RetGuidResult");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public RetGuidResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetGuidResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetGuidResult_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetGuidResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetGuidResult((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuidResponse)obj;
-
- if (instance.getRetGuidResult() != null) {
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getRetGuidResult(), ns1_RetGuidResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetGuid_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetGuid_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetGuid_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetGuid_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inGuid_QNAME = new QName("http://tempuri.org/", "inGuid");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public RetGuid_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetGuid_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inGuid_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_inGuid_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInGuid((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetGuid)obj;
-
- if (instance.getInGuid() != null) {
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getInGuid(), ns1_inGuid_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetIntResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetIntResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetIntResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetIntResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetIntResult_QNAME = new QName("http://tempuri.org/", "RetIntResult");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public RetIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetIntResult_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns1_RetIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetIntResult((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetIntResponse)obj;
-
- if (instance.getRetIntResult() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getRetIntResult(), ns1_RetIntResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetInt_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetInt_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetInt_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetInt_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inInt_QNAME = new QName("http://tempuri.org/", "inInt");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public RetInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inInt_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns1_inInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInInt((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetInt)obj;
-
- if (instance.getInInt() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getInInt(), ns1_inInt_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetLongResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetLongResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetLongResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetLongResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetLongResult_QNAME = new QName("http://tempuri.org/", "RetLongResult");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__java_lang_Long_Long_Serializer;
-
- public RetLongResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetLongResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__long__java_lang_Long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Long.class, ns2_long_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetLongResult_QNAME)) {
- member = ns2_myns2__long__java_lang_Long_Long_Serializer.deserialize(ns1_RetLongResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetLongResult((java.lang.Long)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLongResponse)obj;
-
- if (instance.getRetLongResult() != null) {
- ns2_myns2__long__java_lang_Long_Long_Serializer.serialize(instance.getRetLongResult(), ns1_RetLongResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetLong_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetLong_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetLong_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetLong_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inLong_QNAME = new QName("http://tempuri.org/", "inLong");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__java_lang_Long_Long_Serializer;
-
- public RetLong_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetLong_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__long__java_lang_Long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Long.class, ns2_long_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inLong_QNAME)) {
- member = ns2_myns2__long__java_lang_Long_Long_Serializer.deserialize(ns1_inLong_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInLong((java.lang.Long)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetLong)obj;
-
- if (instance.getInLong() != null) {
- ns2_myns2__long__java_lang_Long_Long_Serializer.serialize(instance.getInLong(), ns1_inLong_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetObjectResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetObjectResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetObjectResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetObjectResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetObjectResult_QNAME = new QName("http://tempuri.org/", "RetObjectResult");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public RetObjectResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetObjectResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetObjectResult_QNAME)) {
- member = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_RetObjectResult_QNAME, reader, context);
- instance.setRetObjectResult((javax.xml.soap.SOAPElement)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObjectResponse)obj;
-
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getRetObjectResult(), ns1_RetObjectResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetObject_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetObject_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetObject_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetObject_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inObject_QNAME = new QName("http://tempuri.org/", "inObject");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public RetObject_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetObject_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inObject_QNAME)) {
- member = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_inObject_QNAME, reader, context);
- instance.setInObject((javax.xml.soap.SOAPElement)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetObject)obj;
-
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getInObject(), ns1_inObject_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetQNameResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetQNameResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetQNameResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetQNameResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetQNameResult_QNAME = new QName("http://tempuri.org/", "RetQNameResult");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
-
- public RetQNameResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetQNameResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetQNameResult_QNAME)) {
- member = ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_RetQNameResult_QNAME, reader, context);
- instance.setRetQNameResult((javax.xml.namespace.QName)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQNameResponse)obj;
-
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.serialize(instance.getRetQNameResult(), ns1_RetQNameResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetQName_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetQName_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetQName_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetQName_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inQName_QNAME = new QName("http://tempuri.org/", "inQName");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
-
- public RetQName_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetQName_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inQName_QNAME)) {
- member = ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_inQName_QNAME, reader, context);
- instance.setInQName((javax.xml.namespace.QName)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetQName)obj;
-
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.serialize(instance.getInQName(), ns1_inQName_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSByteResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSByteResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSByteResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetSByteResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetSByteResult_QNAME = new QName("http://tempuri.org/", "RetSByteResult");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__java_lang_Byte_Byte_Serializer;
-
- public RetSByteResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetSByteResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__byte__java_lang_Byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Byte.class, ns2_byte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetSByteResult_QNAME)) {
- member = ns2_myns2__byte__java_lang_Byte_Byte_Serializer.deserialize(ns1_RetSByteResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetSByteResult((java.lang.Byte)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByteResponse)obj;
-
- if (instance.getRetSByteResult() != null) {
- ns2_myns2__byte__java_lang_Byte_Byte_Serializer.serialize(instance.getRetSByteResult(), ns1_RetSByteResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSByte_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSByte_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSByte_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetSByte_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inSByte_QNAME = new QName("http://tempuri.org/", "inSByte");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__java_lang_Byte_Byte_Serializer;
-
- public RetSByte_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetSByte_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__byte__java_lang_Byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Byte.class, ns2_byte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inSByte_QNAME)) {
- member = ns2_myns2__byte__java_lang_Byte_Byte_Serializer.deserialize(ns1_inSByte_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInSByte((java.lang.Byte)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSByte)obj;
-
- if (instance.getInSByte() != null) {
- ns2_myns2__byte__java_lang_Byte_Byte_Serializer.serialize(instance.getInSByte(), ns1_inSByte_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetShortResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetShortResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetShortResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetShortResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetShortResult_QNAME = new QName("http://tempuri.org/", "RetShortResult");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__java_lang_Short_Short_Serializer;
-
- public RetShortResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetShortResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__java_lang_Short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetShortResult_QNAME)) {
- member = ns2_myns2__short__java_lang_Short_Short_Serializer.deserialize(ns1_RetShortResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetShortResult((java.lang.Short)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShortResponse)obj;
-
- if (instance.getRetShortResult() != null) {
- ns2_myns2__short__java_lang_Short_Short_Serializer.serialize(instance.getRetShortResult(), ns1_RetShortResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetShort_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetShort_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetShort_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetShort_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inShort_QNAME = new QName("http://tempuri.org/", "inShort");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__java_lang_Short_Short_Serializer;
-
- public RetShort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetShort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__java_lang_Short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inShort_QNAME)) {
- member = ns2_myns2__short__java_lang_Short_Short_Serializer.deserialize(ns1_inShort_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInShort((java.lang.Short)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetShort)obj;
-
- if (instance.getInShort() != null) {
- ns2_myns2__short__java_lang_Short_Short_Serializer.serialize(instance.getInShort(), ns1_inShort_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSingleResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSingleResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSingleResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetSingleResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetSingleResult_QNAME = new QName("http://tempuri.org/", "RetSingleResult");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public RetSingleResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetSingleResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetSingleResult_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns1_RetSingleResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetSingleResult((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingleResponse)obj;
-
- if (instance.getRetSingleResult() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getRetSingleResult(), ns1_RetSingleResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSingle_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSingle_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetSingle_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetSingle_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inSingle_QNAME = new QName("http://tempuri.org/", "inSingle");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public RetSingle_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetSingle_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inSingle_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns1_inSingle_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInSingle((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetSingle)obj;
-
- if (instance.getInSingle() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getInSingle(), ns1_inSingle_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetStringResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetStringResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetStringResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetStringResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetStringResult_QNAME = new QName("http://tempuri.org/", "RetStringResult");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public RetStringResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStringResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetStringResult_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetStringResult_QNAME, reader, context);
- instance.setRetStringResult((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetStringResponse)obj;
-
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getRetStringResult(), ns1_RetStringResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetString_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetString_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetString_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetString_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inString_QNAME = new QName("http://tempuri.org/", "inString");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public RetString_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetString_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inString_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_inString_QNAME, reader, context);
- instance.setInString((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetString)obj;
-
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getInString(), ns1_inString_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetTimeSpanResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetTimeSpanResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetTimeSpanResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetTimeSpanResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetTimeSpanResult_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResult");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
-
- public RetTimeSpanResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetTimeSpanResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetTimeSpanResult_QNAME)) {
- member = ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_RetTimeSpanResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetTimeSpanResult((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpanResponse)obj;
-
- if (instance.getRetTimeSpanResult() != null) {
- ns2_myns2_duration__java_lang_String_String_Serializer.serialize(instance.getRetTimeSpanResult(), ns1_RetTimeSpanResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetTimeSpan_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetTimeSpan_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetTimeSpan_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetTimeSpan_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inTimeSpan_QNAME = new QName("http://tempuri.org/", "inTimeSpan");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
-
- public RetTimeSpan_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetTimeSpan_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inTimeSpan_QNAME)) {
- member = ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_inTimeSpan_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInTimeSpan((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetTimeSpan)obj;
-
- if (instance.getInTimeSpan() != null) {
- ns2_myns2_duration__java_lang_String_String_Serializer.serialize(instance.getInTimeSpan(), ns1_inTimeSpan_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUIntResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUIntResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUIntResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUIntResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUIntResult_QNAME = new QName("http://tempuri.org/", "RetUIntResult");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
-
- public RetUIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUIntResult_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_RetUIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUIntResult(((Long)member).longValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUIntResponse)obj;
-
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getRetUIntResult()), ns1_RetUIntResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUInt_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUInt_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUInt_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUInt_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUInt_QNAME = new QName("http://tempuri.org/", "inUInt");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
-
- public RetUInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUInt_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_inUInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUInt(((Long)member).longValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUInt)obj;
-
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getInUInt()), ns1_inUInt_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetULongResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetULongResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetULongResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetULongResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetULongResult_QNAME = new QName("http://tempuri.org/", "RetULongResult");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
-
- public RetULongResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetULongResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetULongResult_QNAME)) {
- member = ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_RetULongResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetULongResult((java.math.BigInteger)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULongResponse)obj;
-
- if (instance.getRetULongResult() != null) {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.serialize(instance.getRetULongResult(), ns1_RetULongResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetULong_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetULong_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetULong_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetULong_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inULong_QNAME = new QName("http://tempuri.org/", "inULong");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
-
- public RetULong_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetULong_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inULong_QNAME)) {
- member = ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_inULong_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInULong((java.math.BigInteger)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetULong)obj;
-
- if (instance.getInULong() != null) {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.serialize(instance.getInULong(), ns1_inULong_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUShortResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUShortResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUShortResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUShortResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUShortResult_QNAME = new QName("http://tempuri.org/", "RetUShortResult");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
-
- public RetUShortResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUShortResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUShortResult_QNAME)) {
- member = ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_RetUShortResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUShortResult(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShortResponse)obj;
-
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.serialize(new java.lang.Integer(instance.getRetUShortResult()), ns1_RetUShortResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUShort_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUShort_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUShort_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUShort_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUShort_QNAME = new QName("http://tempuri.org/", "inUShort");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
-
- public RetUShort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUShort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUShort_QNAME)) {
- member = ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_inUShort_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUShort(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUShort)obj;
-
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.serialize(new java.lang.Integer(instance.getInUShort()), ns1_inUShort_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUriResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUriResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUriResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUriResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUriResult_QNAME = new QName("http://tempuri.org/", "RetUriResult");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
-
- public RetUriResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUriResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUriResult_QNAME)) {
- member = ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_RetUriResult_QNAME, reader, context);
- instance.setRetUriResult((java.net.URI)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUriResponse)obj;
-
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.serialize(instance.getRetUriResult(), ns1_RetUriResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUri_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUri_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/RetUri_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUri_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUri_QNAME = new QName("http://tempuri.org/", "inUri");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
-
- public RetUri_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUri_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUri_QNAME)) {
- member = ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_inUri_QNAME, reader, context);
- instance.setInUri((java.net.URI)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW.RetUri)obj;
-
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.serialize(instance.getInUri(), ns1_inUri_QNAME, null, writer, context);
- }
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/BaseDataTypesDocLitWService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/BaseDataTypesDocLitWService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/BaseDataTypesDocLitWService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface BaseDataTypesDocLitWService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW getBasicHttpBinding_IBaseDataTypesDocLitW() throws ServiceException;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/BaseDataTypesDocLitWService_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/BaseDataTypesDocLitWService_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/BaseDataTypesDocLitWService_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,272 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class BaseDataTypesDocLitWService_SerializerRegistry implements SerializerConstants {
- public BaseDataTypesDocLitWService_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- {
- QName type = new QName("http://tempuri.org/", "RetLong");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetULongResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDateTimeResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetQNameResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetFloatResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetShort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSByteResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDouble");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetCharResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetBool");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDateTime");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetObjectResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetGuidResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByte");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_BASE64_BINARY,
- "", XSDBase64BinaryEncoder.getInstance());
- registerSerializer(mapping2,byte[].class, SchemaConstants.QNAME_TYPE_BASE64_BINARY, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetBoolResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetTimeSpan");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUShortResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetLongResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetQName");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteArrayResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSByte");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUShort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUri");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetChar");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralFragmentSerializer(SchemaConstants.QNAME_TYPE_URTYPE, NOT_NULLABLE, "");
- registerSerializer(mapping2,javax.xml.soap.SOAPElement.class, SchemaConstants.QNAME_TYPE_URTYPE, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUriResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_ANY_URI,
- "", XSDAnyURIEncoder.getInstance());
- registerSerializer(mapping2,java.net.URI.class, SchemaConstants.QNAME_TYPE_ANY_URI, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDoubleResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetGuid");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDecimalResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteArray");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetObject");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetFloat");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetULong");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStringResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSingleResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetString");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSingle");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetShortResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDecimal");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal.class, type, serializer);
- }
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/IBaseDataTypesDocLitW_Tie.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/IBaseDataTypesDocLitW_Tie.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/IBaseDataTypesDocLitW_Tie.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,1873 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import java.lang.reflect.Method;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.sun.org.apache.xml.internal.serializer.SerializerConstants;
-
-public class IBaseDataTypesDocLitW_Tie
- extends com.sun.xml.rpc.server.TieBase implements SerializerConstants {
-
-
-
- public IBaseDataTypesDocLitW_Tie() throws Exception {
- super(new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.BaseDataTypesDocLitWService_SerializerRegistry().getRegistry());
- initialize(internalTypeMappingRegistry);
- }
-
- /*
- * This method does the actual method invocation for operation: RetChar
- */
- private void invoke_RetChar(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar myRetChar = null;
- Object myRetCharObj =
- state.getRequest().getBody().getValue();
-
- if (myRetCharObj instanceof SOAPDeserializationState) {
- myRetChar = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar)((SOAPDeserializationState)myRetCharObj).getInstance();
- } else {
- myRetChar = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar)myRetCharObj;
- }
-
- try {
- java.lang.Integer retCharResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retChar(myRetChar.getInChar());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse();
- _response.setRetCharResult(retCharResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetCharResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetCharResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetFloat
- */
- private void invoke_RetFloat(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat myRetFloat = null;
- Object myRetFloatObj =
- state.getRequest().getBody().getValue();
-
- if (myRetFloatObj instanceof SOAPDeserializationState) {
- myRetFloat = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat)((SOAPDeserializationState)myRetFloatObj).getInstance();
- } else {
- myRetFloat = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat)myRetFloatObj;
- }
-
- try {
- java.lang.Float retFloatResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retFloat(myRetFloat.getInFloat());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse();
- _response.setRetFloatResult(retFloatResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloatResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetFloatResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetInt
- */
- private void invoke_RetInt(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt myRetInt = null;
- Object myRetIntObj =
- state.getRequest().getBody().getValue();
-
- if (myRetIntObj instanceof SOAPDeserializationState) {
- myRetInt = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt)((SOAPDeserializationState)myRetIntObj).getInstance();
- } else {
- myRetInt = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt)myRetIntObj;
- }
-
- try {
- java.lang.Integer retIntResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retInt(myRetInt.getInInt());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse();
- _response.setRetIntResult(retIntResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetIntResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetIntResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetQName
- */
- private void invoke_RetQName(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName myRetQName = null;
- Object myRetQNameObj =
- state.getRequest().getBody().getValue();
-
- if (myRetQNameObj instanceof SOAPDeserializationState) {
- myRetQName = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName)((SOAPDeserializationState)myRetQNameObj).getInstance();
- } else {
- myRetQName = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName)myRetQNameObj;
- }
-
- try {
- javax.xml.namespace.QName retQNameResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retQName(myRetQName.getInQName());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse();
- _response.setRetQNameResult(retQNameResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQNameResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetQNameResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetString
- */
- private void invoke_RetString(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString myRetString = null;
- Object myRetStringObj =
- state.getRequest().getBody().getValue();
-
- if (myRetStringObj instanceof SOAPDeserializationState) {
- myRetString = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString)((SOAPDeserializationState)myRetStringObj).getInstance();
- } else {
- myRetString = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString)myRetStringObj;
- }
-
- try {
- java.lang.String retStringResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retString(myRetString.getInString());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse();
- _response.setRetStringResult(retStringResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetString_RetStringResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetStringResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetUShort
- */
- private void invoke_RetUShort(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort myRetUShort = null;
- Object myRetUShortObj =
- state.getRequest().getBody().getValue();
-
- if (myRetUShortObj instanceof SOAPDeserializationState) {
- myRetUShort = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort)((SOAPDeserializationState)myRetUShortObj).getInstance();
- } else {
- myRetUShort = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort)myRetUShortObj;
- }
-
- try {
- int retUShortResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retUShort(myRetUShort.getInUShort());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse();
- _response.setRetUShortResult(retUShortResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShortResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetUShortResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetSingle
- */
- private void invoke_RetSingle(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle myRetSingle = null;
- Object myRetSingleObj =
- state.getRequest().getBody().getValue();
-
- if (myRetSingleObj instanceof SOAPDeserializationState) {
- myRetSingle = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle)((SOAPDeserializationState)myRetSingleObj).getInstance();
- } else {
- myRetSingle = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle)myRetSingleObj;
- }
-
- try {
- java.lang.Float retSingleResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retSingle(myRetSingle.getInSingle());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse();
- _response.setRetSingleResult(retSingleResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingleResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetSingleResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetShort
- */
- private void invoke_RetShort(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort myRetShort = null;
- Object myRetShortObj =
- state.getRequest().getBody().getValue();
-
- if (myRetShortObj instanceof SOAPDeserializationState) {
- myRetShort = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort)((SOAPDeserializationState)myRetShortObj).getInstance();
- } else {
- myRetShort = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort)myRetShortObj;
- }
-
- try {
- java.lang.Short retShortResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retShort(myRetShort.getInShort());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse();
- _response.setRetShortResult(retShortResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShortResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetShortResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetTimeSpan
- */
- private void invoke_RetTimeSpan(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan myRetTimeSpan = null;
- Object myRetTimeSpanObj =
- state.getRequest().getBody().getValue();
-
- if (myRetTimeSpanObj instanceof SOAPDeserializationState) {
- myRetTimeSpan = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan)((SOAPDeserializationState)myRetTimeSpanObj).getInstance();
- } else {
- myRetTimeSpan = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan)myRetTimeSpanObj;
- }
-
- try {
- java.lang.String retTimeSpanResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retTimeSpan(myRetTimeSpan.getInTimeSpan());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse();
- _response.setRetTimeSpanResult(retTimeSpanResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpanResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetTimeSpanResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetByte
- */
- private void invoke_RetByte(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte myRetByte = null;
- Object myRetByteObj =
- state.getRequest().getBody().getValue();
-
- if (myRetByteObj instanceof SOAPDeserializationState) {
- myRetByte = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte)((SOAPDeserializationState)myRetByteObj).getInstance();
- } else {
- myRetByte = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte)myRetByteObj;
- }
-
- try {
- short retByteResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retByte(myRetByte.getInByte());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse();
- _response.setRetByteResult(retByteResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByteResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetByteResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetSByte
- */
- private void invoke_RetSByte(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte myRetSByte = null;
- Object myRetSByteObj =
- state.getRequest().getBody().getValue();
-
- if (myRetSByteObj instanceof SOAPDeserializationState) {
- myRetSByte = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte)((SOAPDeserializationState)myRetSByteObj).getInstance();
- } else {
- myRetSByte = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte)myRetSByteObj;
- }
-
- try {
- java.lang.Byte retSByteResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retSByte(myRetSByte.getInSByte());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse();
- _response.setRetSByteResult(retSByteResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByteResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetSByteResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetDecimal
- */
- private void invoke_RetDecimal(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal myRetDecimal = null;
- Object myRetDecimalObj =
- state.getRequest().getBody().getValue();
-
- if (myRetDecimalObj instanceof SOAPDeserializationState) {
- myRetDecimal = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal)((SOAPDeserializationState)myRetDecimalObj).getInstance();
- } else {
- myRetDecimal = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal)myRetDecimalObj;
- }
-
- try {
- java.math.BigDecimal retDecimalResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retDecimal(myRetDecimal.getInDecimal());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse();
- _response.setRetDecimalResult(retDecimalResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimalResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetDecimalResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetULong
- */
- private void invoke_RetULong(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong myRetULong = null;
- Object myRetULongObj =
- state.getRequest().getBody().getValue();
-
- if (myRetULongObj instanceof SOAPDeserializationState) {
- myRetULong = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong)((SOAPDeserializationState)myRetULongObj).getInstance();
- } else {
- myRetULong = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong)myRetULongObj;
- }
-
- try {
- java.math.BigInteger retULongResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retULong(myRetULong.getInULong());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse();
- _response.setRetULongResult(retULongResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULongResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetULongResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetBool
- */
- private void invoke_RetBool(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool myRetBool = null;
- Object myRetBoolObj =
- state.getRequest().getBody().getValue();
-
- if (myRetBoolObj instanceof SOAPDeserializationState) {
- myRetBool = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool)((SOAPDeserializationState)myRetBoolObj).getInstance();
- } else {
- myRetBool = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool)myRetBoolObj;
- }
-
- try {
- java.lang.Boolean retBoolResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retBool(myRetBool.getInBool());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse();
- _response.setRetBoolResult(retBoolResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBoolResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetBoolResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetGuid
- */
- private void invoke_RetGuid(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid myRetGuid = null;
- Object myRetGuidObj =
- state.getRequest().getBody().getValue();
-
- if (myRetGuidObj instanceof SOAPDeserializationState) {
- myRetGuid = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid)((SOAPDeserializationState)myRetGuidObj).getInstance();
- } else {
- myRetGuid = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid)myRetGuidObj;
- }
-
- try {
- java.lang.String retGuidResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retGuid(myRetGuid.getInGuid());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse();
- _response.setRetGuidResult(retGuidResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuidResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetGuidResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetObject
- */
- private void invoke_RetObject(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject myRetObject = null;
- Object myRetObjectObj =
- state.getRequest().getBody().getValue();
-
- if (myRetObjectObj instanceof SOAPDeserializationState) {
- myRetObject = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject)((SOAPDeserializationState)myRetObjectObj).getInstance();
- } else {
- myRetObject = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject)myRetObjectObj;
- }
-
- try {
- javax.xml.soap.SOAPElement retObjectResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retObject(myRetObject.getInObject());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse();
- _response.setRetObjectResult(retObjectResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObjectResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetObjectResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetUri
- */
- private void invoke_RetUri(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri myRetUri = null;
- Object myRetUriObj =
- state.getRequest().getBody().getValue();
-
- if (myRetUriObj instanceof SOAPDeserializationState) {
- myRetUri = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri)((SOAPDeserializationState)myRetUriObj).getInstance();
- } else {
- myRetUri = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri)myRetUriObj;
- }
-
- try {
- java.net.URI retUriResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retUri(myRetUri.getInUri());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse();
- _response.setRetUriResult(retUriResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUriResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetUriResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetDouble
- */
- private void invoke_RetDouble(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble myRetDouble = null;
- Object myRetDoubleObj =
- state.getRequest().getBody().getValue();
-
- if (myRetDoubleObj instanceof SOAPDeserializationState) {
- myRetDouble = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble)((SOAPDeserializationState)myRetDoubleObj).getInstance();
- } else {
- myRetDouble = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble)myRetDoubleObj;
- }
-
- try {
- java.lang.Double retDoubleResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retDouble(myRetDouble.getInDouble());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse();
- _response.setRetDoubleResult(retDoubleResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDoubleResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetDoubleResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetUInt
- */
- private void invoke_RetUInt(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt myRetUInt = null;
- Object myRetUIntObj =
- state.getRequest().getBody().getValue();
-
- if (myRetUIntObj instanceof SOAPDeserializationState) {
- myRetUInt = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt)((SOAPDeserializationState)myRetUIntObj).getInstance();
- } else {
- myRetUInt = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt)myRetUIntObj;
- }
-
- try {
- long retUIntResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retUInt(myRetUInt.getInUInt());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse();
- _response.setRetUIntResult(retUIntResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUIntResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetUIntResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetLong
- */
- private void invoke_RetLong(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong myRetLong = null;
- Object myRetLongObj =
- state.getRequest().getBody().getValue();
-
- if (myRetLongObj instanceof SOAPDeserializationState) {
- myRetLong = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong)((SOAPDeserializationState)myRetLongObj).getInstance();
- } else {
- myRetLong = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong)myRetLongObj;
- }
-
- try {
- java.lang.Long retLongResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retLong(myRetLong.getInLong());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse();
- _response.setRetLongResult(retLongResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLongResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetLongResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetDateTime
- */
- private void invoke_RetDateTime(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime myRetDateTime = null;
- Object myRetDateTimeObj =
- state.getRequest().getBody().getValue();
-
- if (myRetDateTimeObj instanceof SOAPDeserializationState) {
- myRetDateTime = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime)((SOAPDeserializationState)myRetDateTimeObj).getInstance();
- } else {
- myRetDateTime = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime)myRetDateTimeObj;
- }
-
- try {
- java.util.Calendar retDateTimeResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retDateTime(myRetDateTime.getInDateTime());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse();
- _response.setRetDateTimeResult(retDateTimeResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTimeResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetDateTimeResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetByteArray
- */
- private void invoke_RetByteArray(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray myRetByteArray = null;
- Object myRetByteArrayObj =
- state.getRequest().getBody().getValue();
-
- if (myRetByteArrayObj instanceof SOAPDeserializationState) {
- myRetByteArray = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray)((SOAPDeserializationState)myRetByteArrayObj).getInstance();
- } else {
- myRetByteArray = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray)myRetByteArrayObj;
- }
-
- try {
- byte[] retByteArrayResult = ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW) getTarget()).retByteArray(myRetByteArray.getInByteArray());
-
- SOAPHeaderBlockInfo headerInfo;
-
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse();
- _response.setRetByteArrayResult(retByteArrayResult);
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArrayResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myRetByteArrayResponse_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method must determine the opcode of the operation that has been invoked.
- */
- protected void peekFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- if (bodyReader.getName().equals(ns1_RetChar_RetChar_QNAME)) {
- state.getRequest().setOperationCode(RetChar_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetFloat_RetFloat_QNAME)) {
- state.getRequest().setOperationCode(RetFloat_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetInt_RetInt_QNAME)) {
- state.getRequest().setOperationCode(RetInt_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetQName_RetQName_QNAME)) {
- state.getRequest().setOperationCode(RetQName_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetString_RetString_QNAME)) {
- state.getRequest().setOperationCode(RetString_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetUShort_RetUShort_QNAME)) {
- state.getRequest().setOperationCode(RetUShort_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetSingle_RetSingle_QNAME)) {
- state.getRequest().setOperationCode(RetSingle_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetShort_RetShort_QNAME)) {
- state.getRequest().setOperationCode(RetShort_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetTimeSpan_RetTimeSpan_QNAME)) {
- state.getRequest().setOperationCode(RetTimeSpan_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetByte_RetByte_QNAME)) {
- state.getRequest().setOperationCode(RetByte_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetSByte_RetSByte_QNAME)) {
- state.getRequest().setOperationCode(RetSByte_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetDecimal_RetDecimal_QNAME)) {
- state.getRequest().setOperationCode(RetDecimal_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetULong_RetULong_QNAME)) {
- state.getRequest().setOperationCode(RetULong_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetBool_RetBool_QNAME)) {
- state.getRequest().setOperationCode(RetBool_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetGuid_RetGuid_QNAME)) {
- state.getRequest().setOperationCode(RetGuid_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetObject_RetObject_QNAME)) {
- state.getRequest().setOperationCode(RetObject_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetUri_RetUri_QNAME)) {
- state.getRequest().setOperationCode(RetUri_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetDouble_RetDouble_QNAME)) {
- state.getRequest().setOperationCode(RetDouble_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetUInt_RetUInt_QNAME)) {
- state.getRequest().setOperationCode(RetUInt_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetLong_RetLong_QNAME)) {
- state.getRequest().setOperationCode(RetLong_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetDateTime_RetDateTime_QNAME)) {
- state.getRequest().setOperationCode(RetDateTime_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetByteArray_RetByteArray_QNAME)) {
- state.getRequest().setOperationCode(RetByteArray_OPCODE);
- }
- else {
- throw new SOAPProtocolViolationException("soap.operation.unrecognized", bodyReader.getName().toString());
- }
- }
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case RetChar_OPCODE:
- deserialize_RetChar(bodyReader, deserializationContext, state);
- break;
- case RetFloat_OPCODE:
- deserialize_RetFloat(bodyReader, deserializationContext, state);
- break;
- case RetInt_OPCODE:
- deserialize_RetInt(bodyReader, deserializationContext, state);
- break;
- case RetQName_OPCODE:
- deserialize_RetQName(bodyReader, deserializationContext, state);
- break;
- case RetString_OPCODE:
- deserialize_RetString(bodyReader, deserializationContext, state);
- break;
- case RetUShort_OPCODE:
- deserialize_RetUShort(bodyReader, deserializationContext, state);
- break;
- case RetSingle_OPCODE:
- deserialize_RetSingle(bodyReader, deserializationContext, state);
- break;
- case RetShort_OPCODE:
- deserialize_RetShort(bodyReader, deserializationContext, state);
- break;
- case RetTimeSpan_OPCODE:
- deserialize_RetTimeSpan(bodyReader, deserializationContext, state);
- break;
- case RetByte_OPCODE:
- deserialize_RetByte(bodyReader, deserializationContext, state);
- break;
- case RetSByte_OPCODE:
- deserialize_RetSByte(bodyReader, deserializationContext, state);
- break;
- case RetDecimal_OPCODE:
- deserialize_RetDecimal(bodyReader, deserializationContext, state);
- break;
- case RetULong_OPCODE:
- deserialize_RetULong(bodyReader, deserializationContext, state);
- break;
- case RetBool_OPCODE:
- deserialize_RetBool(bodyReader, deserializationContext, state);
- break;
- case RetGuid_OPCODE:
- deserialize_RetGuid(bodyReader, deserializationContext, state);
- break;
- case RetObject_OPCODE:
- deserialize_RetObject(bodyReader, deserializationContext, state);
- break;
- case RetUri_OPCODE:
- deserialize_RetUri(bodyReader, deserializationContext, state);
- break;
- case RetDouble_OPCODE:
- deserialize_RetDouble(bodyReader, deserializationContext, state);
- break;
- case RetUInt_OPCODE:
- deserialize_RetUInt(bodyReader, deserializationContext, state);
- break;
- case RetLong_OPCODE:
- deserialize_RetLong(bodyReader, deserializationContext, state);
- break;
- case RetDateTime_OPCODE:
- deserialize_RetDateTime(bodyReader, deserializationContext, state);
- break;
- case RetByteArray_OPCODE:
- deserialize_RetByteArray(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SOAPProtocolViolationException("soap.operation.unrecognized", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the RetChar operation.
- */
- private void deserialize_RetChar(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetCharObj =
- ns1_myRetChar_LiteralSerializer.deserialize(ns1_RetChar_RetChar_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetChar_QNAME);
- bodyBlock.setValue(myRetCharObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetFloat operation.
- */
- private void deserialize_RetFloat(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetFloatObj =
- ns1_myRetFloat_LiteralSerializer.deserialize(ns1_RetFloat_RetFloat_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloat_QNAME);
- bodyBlock.setValue(myRetFloatObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetInt operation.
- */
- private void deserialize_RetInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetIntObj =
- ns1_myRetInt_LiteralSerializer.deserialize(ns1_RetInt_RetInt_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetInt_QNAME);
- bodyBlock.setValue(myRetIntObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetQName operation.
- */
- private void deserialize_RetQName(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetQNameObj =
- ns1_myRetQName_LiteralSerializer.deserialize(ns1_RetQName_RetQName_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQName_QNAME);
- bodyBlock.setValue(myRetQNameObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetString operation.
- */
- private void deserialize_RetString(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetStringObj =
- ns1_myRetString_LiteralSerializer.deserialize(ns1_RetString_RetString_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetString_RetString_QNAME);
- bodyBlock.setValue(myRetStringObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUShort operation.
- */
- private void deserialize_RetUShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetUShortObj =
- ns1_myRetUShort_LiteralSerializer.deserialize(ns1_RetUShort_RetUShort_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShort_QNAME);
- bodyBlock.setValue(myRetUShortObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSingle operation.
- */
- private void deserialize_RetSingle(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetSingleObj =
- ns1_myRetSingle_LiteralSerializer.deserialize(ns1_RetSingle_RetSingle_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingle_QNAME);
- bodyBlock.setValue(myRetSingleObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetShort operation.
- */
- private void deserialize_RetShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetShortObj =
- ns1_myRetShort_LiteralSerializer.deserialize(ns1_RetShort_RetShort_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShort_QNAME);
- bodyBlock.setValue(myRetShortObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetTimeSpan operation.
- */
- private void deserialize_RetTimeSpan(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetTimeSpanObj =
- ns1_myRetTimeSpan_LiteralSerializer.deserialize(ns1_RetTimeSpan_RetTimeSpan_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpan_QNAME);
- bodyBlock.setValue(myRetTimeSpanObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByte operation.
- */
- private void deserialize_RetByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetByteObj =
- ns1_myRetByte_LiteralSerializer.deserialize(ns1_RetByte_RetByte_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByte_QNAME);
- bodyBlock.setValue(myRetByteObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSByte operation.
- */
- private void deserialize_RetSByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetSByteObj =
- ns1_myRetSByte_LiteralSerializer.deserialize(ns1_RetSByte_RetSByte_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByte_QNAME);
- bodyBlock.setValue(myRetSByteObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDecimal operation.
- */
- private void deserialize_RetDecimal(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetDecimalObj =
- ns1_myRetDecimal_LiteralSerializer.deserialize(ns1_RetDecimal_RetDecimal_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimal_QNAME);
- bodyBlock.setValue(myRetDecimalObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetULong operation.
- */
- private void deserialize_RetULong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetULongObj =
- ns1_myRetULong_LiteralSerializer.deserialize(ns1_RetULong_RetULong_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULong_QNAME);
- bodyBlock.setValue(myRetULongObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetBool operation.
- */
- private void deserialize_RetBool(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetBoolObj =
- ns1_myRetBool_LiteralSerializer.deserialize(ns1_RetBool_RetBool_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBool_QNAME);
- bodyBlock.setValue(myRetBoolObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetGuid operation.
- */
- private void deserialize_RetGuid(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetGuidObj =
- ns1_myRetGuid_LiteralSerializer.deserialize(ns1_RetGuid_RetGuid_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuid_QNAME);
- bodyBlock.setValue(myRetGuidObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetObject operation.
- */
- private void deserialize_RetObject(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetObjectObj =
- ns1_myRetObject_LiteralSerializer.deserialize(ns1_RetObject_RetObject_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObject_QNAME);
- bodyBlock.setValue(myRetObjectObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUri operation.
- */
- private void deserialize_RetUri(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetUriObj =
- ns1_myRetUri_LiteralSerializer.deserialize(ns1_RetUri_RetUri_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUri_QNAME);
- bodyBlock.setValue(myRetUriObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDouble operation.
- */
- private void deserialize_RetDouble(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetDoubleObj =
- ns1_myRetDouble_LiteralSerializer.deserialize(ns1_RetDouble_RetDouble_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDouble_QNAME);
- bodyBlock.setValue(myRetDoubleObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUInt operation.
- */
- private void deserialize_RetUInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetUIntObj =
- ns1_myRetUInt_LiteralSerializer.deserialize(ns1_RetUInt_RetUInt_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUInt_QNAME);
- bodyBlock.setValue(myRetUIntObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetLong operation.
- */
- private void deserialize_RetLong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetLongObj =
- ns1_myRetLong_LiteralSerializer.deserialize(ns1_RetLong_RetLong_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLong_QNAME);
- bodyBlock.setValue(myRetLongObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDateTime operation.
- */
- private void deserialize_RetDateTime(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetDateTimeObj =
- ns1_myRetDateTime_LiteralSerializer.deserialize(ns1_RetDateTime_RetDateTime_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTime_QNAME);
- bodyBlock.setValue(myRetDateTimeObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByteArray operation.
- */
- private void deserialize_RetByteArray(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myRetByteArrayObj =
- ns1_myRetByteArray_LiteralSerializer.deserialize(ns1_RetByteArray_RetByteArray_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArray_QNAME);
- bodyBlock.setValue(myRetByteArrayObj);
- state.getRequest().setBody(bodyBlock);
- }
-
-
- /*
- * This method must invoke the correct method on the servant based on the opcode.
- */
- protected void processingHook(StreamingHandlerState state) throws Exception {
- switch (state.getRequest().getOperationCode()) {
- case RetChar_OPCODE:
- invoke_RetChar(state);
- break;
- case RetFloat_OPCODE:
- invoke_RetFloat(state);
- break;
- case RetInt_OPCODE:
- invoke_RetInt(state);
- break;
- case RetQName_OPCODE:
- invoke_RetQName(state);
- break;
- case RetString_OPCODE:
- invoke_RetString(state);
- break;
- case RetUShort_OPCODE:
- invoke_RetUShort(state);
- break;
- case RetSingle_OPCODE:
- invoke_RetSingle(state);
- break;
- case RetShort_OPCODE:
- invoke_RetShort(state);
- break;
- case RetTimeSpan_OPCODE:
- invoke_RetTimeSpan(state);
- break;
- case RetByte_OPCODE:
- invoke_RetByte(state);
- break;
- case RetSByte_OPCODE:
- invoke_RetSByte(state);
- break;
- case RetDecimal_OPCODE:
- invoke_RetDecimal(state);
- break;
- case RetULong_OPCODE:
- invoke_RetULong(state);
- break;
- case RetBool_OPCODE:
- invoke_RetBool(state);
- break;
- case RetGuid_OPCODE:
- invoke_RetGuid(state);
- break;
- case RetObject_OPCODE:
- invoke_RetObject(state);
- break;
- case RetUri_OPCODE:
- invoke_RetUri(state);
- break;
- case RetDouble_OPCODE:
- invoke_RetDouble(state);
- break;
- case RetUInt_OPCODE:
- invoke_RetUInt(state);
- break;
- case RetLong_OPCODE:
- invoke_RetLong(state);
- break;
- case RetDateTime_OPCODE:
- invoke_RetDateTime(state);
- break;
- case RetByteArray_OPCODE:
- invoke_RetByteArray(state);
- break;
- default:
- throw new SOAPProtocolViolationException("soap.operation.unrecognized", java.lang.Integer.toString(state.getRequest().getOperationCode()));
- }
- }
-
- protected java.lang.String getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
-
- /*
- * This method must determine the opcode of the operation given the QName of the first body element.
- */
- public int getOpcodeForFirstBodyElementName(QName name) {
- if (name == null) {
- return InternalSOAPMessage.NO_OPERATION;
- }
- if (name.equals(ns1_RetChar_RetChar_QNAME)) {
- return RetChar_OPCODE;
- }
- if (name.equals(ns1_RetFloat_RetFloat_QNAME)) {
- return RetFloat_OPCODE;
- }
- if (name.equals(ns1_RetInt_RetInt_QNAME)) {
- return RetInt_OPCODE;
- }
- if (name.equals(ns1_RetQName_RetQName_QNAME)) {
- return RetQName_OPCODE;
- }
- if (name.equals(ns1_RetString_RetString_QNAME)) {
- return RetString_OPCODE;
- }
- if (name.equals(ns1_RetUShort_RetUShort_QNAME)) {
- return RetUShort_OPCODE;
- }
- if (name.equals(ns1_RetSingle_RetSingle_QNAME)) {
- return RetSingle_OPCODE;
- }
- if (name.equals(ns1_RetShort_RetShort_QNAME)) {
- return RetShort_OPCODE;
- }
- if (name.equals(ns1_RetTimeSpan_RetTimeSpan_QNAME)) {
- return RetTimeSpan_OPCODE;
- }
- if (name.equals(ns1_RetByte_RetByte_QNAME)) {
- return RetByte_OPCODE;
- }
- if (name.equals(ns1_RetSByte_RetSByte_QNAME)) {
- return RetSByte_OPCODE;
- }
- if (name.equals(ns1_RetDecimal_RetDecimal_QNAME)) {
- return RetDecimal_OPCODE;
- }
- if (name.equals(ns1_RetULong_RetULong_QNAME)) {
- return RetULong_OPCODE;
- }
- if (name.equals(ns1_RetBool_RetBool_QNAME)) {
- return RetBool_OPCODE;
- }
- if (name.equals(ns1_RetGuid_RetGuid_QNAME)) {
- return RetGuid_OPCODE;
- }
- if (name.equals(ns1_RetObject_RetObject_QNAME)) {
- return RetObject_OPCODE;
- }
- if (name.equals(ns1_RetUri_RetUri_QNAME)) {
- return RetUri_OPCODE;
- }
- if (name.equals(ns1_RetDouble_RetDouble_QNAME)) {
- return RetDouble_OPCODE;
- }
- if (name.equals(ns1_RetUInt_RetUInt_QNAME)) {
- return RetUInt_OPCODE;
- }
- if (name.equals(ns1_RetLong_RetLong_QNAME)) {
- return RetLong_OPCODE;
- }
- if (name.equals(ns1_RetDateTime_RetDateTime_QNAME)) {
- return RetDateTime_OPCODE;
- }
- if (name.equals(ns1_RetByteArray_RetByteArray_QNAME)) {
- return RetByteArray_OPCODE;
- }
- return super.getOpcodeForFirstBodyElementName(name);
- }
-
-
- private Method internalGetMethodForOpcode(int opcode) throws ClassNotFoundException, NoSuchMethodException {
-
- Method theMethod = null;
-
- switch(opcode) {
- case RetChar_OPCODE:
- {
- Class[] carray = { java.lang.Integer.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retChar", carray);
- }
- break;
-
- case RetFloat_OPCODE:
- {
- Class[] carray = { java.lang.Float.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retFloat", carray);
- }
- break;
-
- case RetInt_OPCODE:
- {
- Class[] carray = { java.lang.Integer.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retInt", carray);
- }
- break;
-
- case RetQName_OPCODE:
- {
- Class[] carray = { javax.xml.namespace.QName.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retQName", carray);
- }
- break;
-
- case RetString_OPCODE:
- {
- Class[] carray = { java.lang.String.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retString", carray);
- }
- break;
-
- case RetUShort_OPCODE:
- {
- Class[] carray = { Integer.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retUShort", carray);
- }
- break;
-
- case RetSingle_OPCODE:
- {
- Class[] carray = { java.lang.Float.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retSingle", carray);
- }
- break;
-
- case RetShort_OPCODE:
- {
- Class[] carray = { java.lang.Short.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retShort", carray);
- }
- break;
-
- case RetTimeSpan_OPCODE:
- {
- Class[] carray = { java.lang.String.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retTimeSpan", carray);
- }
- break;
-
- case RetByte_OPCODE:
- {
- Class[] carray = { Short.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retByte", carray);
- }
- break;
-
- case RetSByte_OPCODE:
- {
- Class[] carray = { java.lang.Byte.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retSByte", carray);
- }
- break;
-
- case RetDecimal_OPCODE:
- {
- Class[] carray = { java.math.BigDecimal.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retDecimal", carray);
- }
- break;
-
- case RetULong_OPCODE:
- {
- Class[] carray = { java.math.BigInteger.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retULong", carray);
- }
- break;
-
- case RetBool_OPCODE:
- {
- Class[] carray = { java.lang.Boolean.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retBool", carray);
- }
- break;
-
- case RetGuid_OPCODE:
- {
- Class[] carray = { java.lang.String.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retGuid", carray);
- }
- break;
-
- case RetObject_OPCODE:
- {
- Class[] carray = { javax.xml.soap.SOAPElement.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retObject", carray);
- }
- break;
-
- case RetUri_OPCODE:
- {
- Class[] carray = { java.net.URI.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retUri", carray);
- }
- break;
-
- case RetDouble_OPCODE:
- {
- Class[] carray = { java.lang.Double.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retDouble", carray);
- }
- break;
-
- case RetUInt_OPCODE:
- {
- Class[] carray = { Long.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retUInt", carray);
- }
- break;
-
- case RetLong_OPCODE:
- {
- Class[] carray = { java.lang.Long.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retLong", carray);
- }
- break;
-
- case RetDateTime_OPCODE:
- {
- Class[] carray = { java.util.Calendar.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retDateTime", carray);
- }
- break;
-
- case RetByteArray_OPCODE:
- {
- Class[] carray = { Class.forName("[B") };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.IBaseDataTypesDocLitW.class).getMethod("retByteArray", carray);
- }
- break;
-
- default:
- }
- return theMethod;
- }
-
- private Method[] methodMap = new Method[22];
-
- /*
- * This method returns the Method Obj for a specified opcode.
- */
- public Method getMethodForOpcode(int opcode) throws ClassNotFoundException, NoSuchMethodException {
-
- if (opcode <= InternalSOAPMessage.NO_OPERATION ) {
- return null;
- }
-
- if (opcode >= 22 ) {
- return null;
- }
-
- if (methodMap[opcode] == null) {
- methodMap[opcode] = internalGetMethodForOpcode(opcode);
- }
-
- return methodMap[opcode];
- }
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- private void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myRetShort_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort.class, ns1_RetShort_TYPE_QNAME);
- ns1_myRetString_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString.class, ns1_RetString_TYPE_QNAME);
- ns1_myRetTimeSpan_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan.class, ns1_RetTimeSpan_TYPE_QNAME);
- ns1_myRetUriResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse.class, ns1_RetUriResponse_TYPE_QNAME);
- ns1_myRetBool_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool.class, ns1_RetBool_TYPE_QNAME);
- ns1_myRetIntResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse.class, ns1_RetIntResponse_TYPE_QNAME);
- ns1_myRetTimeSpanResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse.class, ns1_RetTimeSpanResponse_TYPE_QNAME);
- ns1_myRetDouble_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble.class, ns1_RetDouble_TYPE_QNAME);
- ns1_myRetByte_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte.class, ns1_RetByte_TYPE_QNAME);
- ns1_myRetLong_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong.class, ns1_RetLong_TYPE_QNAME);
- ns1_myRetByteArray_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray.class, ns1_RetByteArray_TYPE_QNAME);
- ns1_myRetGuid_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid.class, ns1_RetGuid_TYPE_QNAME);
- ns1_myRetULongResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse.class, ns1_RetULongResponse_TYPE_QNAME);
- ns1_myRetDecimalResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse.class, ns1_RetDecimalResponse_TYPE_QNAME);
- ns1_myRetBoolResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse.class, ns1_RetBoolResponse_TYPE_QNAME);
- ns1_myRetDecimal_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal.class, ns1_RetDecimal_TYPE_QNAME);
- ns1_myRetDateTimeResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse.class, ns1_RetDateTimeResponse_TYPE_QNAME);
- ns1_myRetLongResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse.class, ns1_RetLongResponse_TYPE_QNAME);
- ns1_myRetObject_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject.class, ns1_RetObject_TYPE_QNAME);
- ns1_myRetUShortResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse.class, ns1_RetUShortResponse_TYPE_QNAME);
- ns1_myRetSByteResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse.class, ns1_RetSByteResponse_TYPE_QNAME);
- ns1_myRetFloatResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse.class, ns1_RetFloatResponse_TYPE_QNAME);
- ns1_myRetDateTime_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime.class, ns1_RetDateTime_TYPE_QNAME);
- ns1_myRetSByte_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte.class, ns1_RetSByte_TYPE_QNAME);
- ns1_myRetQName_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName.class, ns1_RetQName_TYPE_QNAME);
- ns1_myRetUShort_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort.class, ns1_RetUShort_TYPE_QNAME);
- ns1_myRetGuidResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse.class, ns1_RetGuidResponse_TYPE_QNAME);
- ns1_myRetByteResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse.class, ns1_RetByteResponse_TYPE_QNAME);
- ns1_myRetCharResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse.class, ns1_RetCharResponse_TYPE_QNAME);
- ns1_myRetObjectResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse.class, ns1_RetObjectResponse_TYPE_QNAME);
- ns1_myRetDoubleResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse.class, ns1_RetDoubleResponse_TYPE_QNAME);
- ns1_myRetUIntResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse.class, ns1_RetUIntResponse_TYPE_QNAME);
- ns1_myRetChar_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar.class, ns1_RetChar_TYPE_QNAME);
- ns1_myRetULong_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong.class, ns1_RetULong_TYPE_QNAME);
- ns1_myRetUInt_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt.class, ns1_RetUInt_TYPE_QNAME);
- ns1_myRetByteArrayResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse.class, ns1_RetByteArrayResponse_TYPE_QNAME);
- ns1_myRetSingle_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle.class, ns1_RetSingle_TYPE_QNAME);
- ns1_myRetUri_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri.class, ns1_RetUri_TYPE_QNAME);
- ns1_myRetQNameResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse.class, ns1_RetQNameResponse_TYPE_QNAME);
- ns1_myRetInt_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt.class, ns1_RetInt_TYPE_QNAME);
- ns1_myRetSingleResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse.class, ns1_RetSingleResponse_TYPE_QNAME);
- ns1_myRetFloat_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat.class, ns1_RetFloat_TYPE_QNAME);
- ns1_myRetShortResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse.class, ns1_RetShortResponse_TYPE_QNAME);
- ns1_myRetStringResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse.class, ns1_RetStringResponse_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName portName = new QName("http://tempuri.org/", "BasicHttpBinding_IBaseDataTypesDocLitW");
- private static final int RetChar_OPCODE = 0;
- private static final int RetFloat_OPCODE = 1;
- private static final int RetInt_OPCODE = 2;
- private static final int RetQName_OPCODE = 3;
- private static final int RetString_OPCODE = 4;
- private static final int RetUShort_OPCODE = 5;
- private static final int RetSingle_OPCODE = 6;
- private static final int RetShort_OPCODE = 7;
- private static final int RetTimeSpan_OPCODE = 8;
- private static final int RetByte_OPCODE = 9;
- private static final int RetSByte_OPCODE = 10;
- private static final int RetDecimal_OPCODE = 11;
- private static final int RetULong_OPCODE = 12;
- private static final int RetBool_OPCODE = 13;
- private static final int RetGuid_OPCODE = 14;
- private static final int RetObject_OPCODE = 15;
- private static final int RetUri_OPCODE = 16;
- private static final int RetDouble_OPCODE = 17;
- private static final int RetUInt_OPCODE = 18;
- private static final int RetLong_OPCODE = 19;
- private static final int RetDateTime_OPCODE = 20;
- private static final int RetByteArray_OPCODE = 21;
- private static final javax.xml.namespace.QName ns1_RetChar_RetChar_QNAME = new QName("http://tempuri.org/", "RetChar");
- private static final javax.xml.namespace.QName ns1_RetChar_TYPE_QNAME = new QName("http://tempuri.org/", "RetChar");
- private CombinedSerializer ns1_myRetChar_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetChar_RetCharResponse_QNAME = new QName("http://tempuri.org/", "RetCharResponse");
- private static final javax.xml.namespace.QName ns1_RetCharResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetCharResponse");
- private CombinedSerializer ns1_myRetCharResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloat_QNAME = new QName("http://tempuri.org/", "RetFloat");
- private static final javax.xml.namespace.QName ns1_RetFloat_TYPE_QNAME = new QName("http://tempuri.org/", "RetFloat");
- private CombinedSerializer ns1_myRetFloat_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloatResponse_QNAME = new QName("http://tempuri.org/", "RetFloatResponse");
- private static final javax.xml.namespace.QName ns1_RetFloatResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetFloatResponse");
- private CombinedSerializer ns1_myRetFloatResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetInt_RetInt_QNAME = new QName("http://tempuri.org/", "RetInt");
- private static final javax.xml.namespace.QName ns1_RetInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetInt");
- private CombinedSerializer ns1_myRetInt_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetInt_RetIntResponse_QNAME = new QName("http://tempuri.org/", "RetIntResponse");
- private static final javax.xml.namespace.QName ns1_RetIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetIntResponse");
- private CombinedSerializer ns1_myRetIntResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQName_QNAME = new QName("http://tempuri.org/", "RetQName");
- private static final javax.xml.namespace.QName ns1_RetQName_TYPE_QNAME = new QName("http://tempuri.org/", "RetQName");
- private CombinedSerializer ns1_myRetQName_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQNameResponse_QNAME = new QName("http://tempuri.org/", "RetQNameResponse");
- private static final javax.xml.namespace.QName ns1_RetQNameResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetQNameResponse");
- private CombinedSerializer ns1_myRetQNameResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetString_RetString_QNAME = new QName("http://tempuri.org/", "RetString");
- private static final javax.xml.namespace.QName ns1_RetString_TYPE_QNAME = new QName("http://tempuri.org/", "RetString");
- private CombinedSerializer ns1_myRetString_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetString_RetStringResponse_QNAME = new QName("http://tempuri.org/", "RetStringResponse");
- private static final javax.xml.namespace.QName ns1_RetStringResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStringResponse");
- private CombinedSerializer ns1_myRetStringResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShort_QNAME = new QName("http://tempuri.org/", "RetUShort");
- private static final javax.xml.namespace.QName ns1_RetUShort_TYPE_QNAME = new QName("http://tempuri.org/", "RetUShort");
- private CombinedSerializer ns1_myRetUShort_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShortResponse_QNAME = new QName("http://tempuri.org/", "RetUShortResponse");
- private static final javax.xml.namespace.QName ns1_RetUShortResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUShortResponse");
- private CombinedSerializer ns1_myRetUShortResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingle_QNAME = new QName("http://tempuri.org/", "RetSingle");
- private static final javax.xml.namespace.QName ns1_RetSingle_TYPE_QNAME = new QName("http://tempuri.org/", "RetSingle");
- private CombinedSerializer ns1_myRetSingle_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingleResponse_QNAME = new QName("http://tempuri.org/", "RetSingleResponse");
- private static final javax.xml.namespace.QName ns1_RetSingleResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetSingleResponse");
- private CombinedSerializer ns1_myRetSingleResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShort_QNAME = new QName("http://tempuri.org/", "RetShort");
- private static final javax.xml.namespace.QName ns1_RetShort_TYPE_QNAME = new QName("http://tempuri.org/", "RetShort");
- private CombinedSerializer ns1_myRetShort_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShortResponse_QNAME = new QName("http://tempuri.org/", "RetShortResponse");
- private static final javax.xml.namespace.QName ns1_RetShortResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetShortResponse");
- private CombinedSerializer ns1_myRetShortResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpan_QNAME = new QName("http://tempuri.org/", "RetTimeSpan");
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_TYPE_QNAME = new QName("http://tempuri.org/", "RetTimeSpan");
- private CombinedSerializer ns1_myRetTimeSpan_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpanResponse_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- private static final javax.xml.namespace.QName ns1_RetTimeSpanResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- private CombinedSerializer ns1_myRetTimeSpanResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByte_QNAME = new QName("http://tempuri.org/", "RetByte");
- private static final javax.xml.namespace.QName ns1_RetByte_TYPE_QNAME = new QName("http://tempuri.org/", "RetByte");
- private CombinedSerializer ns1_myRetByte_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByteResponse_QNAME = new QName("http://tempuri.org/", "RetByteResponse");
- private static final javax.xml.namespace.QName ns1_RetByteResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteResponse");
- private CombinedSerializer ns1_myRetByteResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByte_QNAME = new QName("http://tempuri.org/", "RetSByte");
- private static final javax.xml.namespace.QName ns1_RetSByte_TYPE_QNAME = new QName("http://tempuri.org/", "RetSByte");
- private CombinedSerializer ns1_myRetSByte_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByteResponse_QNAME = new QName("http://tempuri.org/", "RetSByteResponse");
- private static final javax.xml.namespace.QName ns1_RetSByteResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetSByteResponse");
- private CombinedSerializer ns1_myRetSByteResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimal_QNAME = new QName("http://tempuri.org/", "RetDecimal");
- private static final javax.xml.namespace.QName ns1_RetDecimal_TYPE_QNAME = new QName("http://tempuri.org/", "RetDecimal");
- private CombinedSerializer ns1_myRetDecimal_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimalResponse_QNAME = new QName("http://tempuri.org/", "RetDecimalResponse");
- private static final javax.xml.namespace.QName ns1_RetDecimalResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDecimalResponse");
- private CombinedSerializer ns1_myRetDecimalResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULong_QNAME = new QName("http://tempuri.org/", "RetULong");
- private static final javax.xml.namespace.QName ns1_RetULong_TYPE_QNAME = new QName("http://tempuri.org/", "RetULong");
- private CombinedSerializer ns1_myRetULong_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULongResponse_QNAME = new QName("http://tempuri.org/", "RetULongResponse");
- private static final javax.xml.namespace.QName ns1_RetULongResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetULongResponse");
- private CombinedSerializer ns1_myRetULongResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBool_QNAME = new QName("http://tempuri.org/", "RetBool");
- private static final javax.xml.namespace.QName ns1_RetBool_TYPE_QNAME = new QName("http://tempuri.org/", "RetBool");
- private CombinedSerializer ns1_myRetBool_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBoolResponse_QNAME = new QName("http://tempuri.org/", "RetBoolResponse");
- private static final javax.xml.namespace.QName ns1_RetBoolResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetBoolResponse");
- private CombinedSerializer ns1_myRetBoolResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuid_QNAME = new QName("http://tempuri.org/", "RetGuid");
- private static final javax.xml.namespace.QName ns1_RetGuid_TYPE_QNAME = new QName("http://tempuri.org/", "RetGuid");
- private CombinedSerializer ns1_myRetGuid_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuidResponse_QNAME = new QName("http://tempuri.org/", "RetGuidResponse");
- private static final javax.xml.namespace.QName ns1_RetGuidResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetGuidResponse");
- private CombinedSerializer ns1_myRetGuidResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObject_QNAME = new QName("http://tempuri.org/", "RetObject");
- private static final javax.xml.namespace.QName ns1_RetObject_TYPE_QNAME = new QName("http://tempuri.org/", "RetObject");
- private CombinedSerializer ns1_myRetObject_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObjectResponse_QNAME = new QName("http://tempuri.org/", "RetObjectResponse");
- private static final javax.xml.namespace.QName ns1_RetObjectResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetObjectResponse");
- private CombinedSerializer ns1_myRetObjectResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUri_QNAME = new QName("http://tempuri.org/", "RetUri");
- private static final javax.xml.namespace.QName ns1_RetUri_TYPE_QNAME = new QName("http://tempuri.org/", "RetUri");
- private CombinedSerializer ns1_myRetUri_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUriResponse_QNAME = new QName("http://tempuri.org/", "RetUriResponse");
- private static final javax.xml.namespace.QName ns1_RetUriResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUriResponse");
- private CombinedSerializer ns1_myRetUriResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDouble_QNAME = new QName("http://tempuri.org/", "RetDouble");
- private static final javax.xml.namespace.QName ns1_RetDouble_TYPE_QNAME = new QName("http://tempuri.org/", "RetDouble");
- private CombinedSerializer ns1_myRetDouble_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDoubleResponse_QNAME = new QName("http://tempuri.org/", "RetDoubleResponse");
- private static final javax.xml.namespace.QName ns1_RetDoubleResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDoubleResponse");
- private CombinedSerializer ns1_myRetDoubleResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUInt_QNAME = new QName("http://tempuri.org/", "RetUInt");
- private static final javax.xml.namespace.QName ns1_RetUInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetUInt");
- private CombinedSerializer ns1_myRetUInt_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUIntResponse_QNAME = new QName("http://tempuri.org/", "RetUIntResponse");
- private static final javax.xml.namespace.QName ns1_RetUIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUIntResponse");
- private CombinedSerializer ns1_myRetUIntResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLong_QNAME = new QName("http://tempuri.org/", "RetLong");
- private static final javax.xml.namespace.QName ns1_RetLong_TYPE_QNAME = new QName("http://tempuri.org/", "RetLong");
- private CombinedSerializer ns1_myRetLong_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLongResponse_QNAME = new QName("http://tempuri.org/", "RetLongResponse");
- private static final javax.xml.namespace.QName ns1_RetLongResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetLongResponse");
- private CombinedSerializer ns1_myRetLongResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTime_QNAME = new QName("http://tempuri.org/", "RetDateTime");
- private static final javax.xml.namespace.QName ns1_RetDateTime_TYPE_QNAME = new QName("http://tempuri.org/", "RetDateTime");
- private CombinedSerializer ns1_myRetDateTime_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTimeResponse_QNAME = new QName("http://tempuri.org/", "RetDateTimeResponse");
- private static final javax.xml.namespace.QName ns1_RetDateTimeResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDateTimeResponse");
- private CombinedSerializer ns1_myRetDateTimeResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArray_QNAME = new QName("http://tempuri.org/", "RetByteArray");
- private static final javax.xml.namespace.QName ns1_RetByteArray_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteArray");
- private CombinedSerializer ns1_myRetByteArray_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArrayResponse_QNAME = new QName("http://tempuri.org/", "RetByteArrayResponse");
- private static final javax.xml.namespace.QName ns1_RetByteArrayResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteArrayResponse");
- private CombinedSerializer ns1_myRetByteArrayResponse_LiteralSerializer;
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
- "ns0", "http://tempuri.org/"
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetBoolResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetBoolResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetBoolResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetBoolResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetBoolResult_QNAME = new QName("http://tempuri.org/", "RetBoolResult");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer;
-
- public RetBoolResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetBoolResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Boolean.class, ns2_boolean_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetBoolResult_QNAME)) {
- member = ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.deserialize(ns1_RetBoolResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetBoolResult((java.lang.Boolean)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBoolResponse)obj;
-
- if (instance.getRetBoolResult() != null) {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.serialize(instance.getRetBoolResult(), ns1_RetBoolResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetBool_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetBool_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetBool_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetBool_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inBool_QNAME = new QName("http://tempuri.org/", "inBool");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer;
-
- public RetBool_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetBool_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Boolean.class, ns2_boolean_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inBool_QNAME)) {
- member = ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.deserialize(ns1_inBool_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInBool((java.lang.Boolean)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetBool)obj;
-
- if (instance.getInBool() != null) {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.serialize(instance.getInBool(), ns1_inBool_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteArrayResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteArrayResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteArrayResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetByteArrayResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetByteArrayResult_QNAME = new QName("http://tempuri.org/", "RetByteArrayResult");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
-
- public RetByteArrayResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetByteArrayResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetByteArrayResult_QNAME)) {
- member = ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_RetByteArrayResult_QNAME, reader, context);
- instance.setRetByteArrayResult((byte[])member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArrayResponse)obj;
-
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.serialize(instance.getRetByteArrayResult(), ns1_RetByteArrayResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteArray_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteArray_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteArray_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetByteArray_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inByteArray_QNAME = new QName("http://tempuri.org/", "inByteArray");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
-
- public RetByteArray_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetByteArray_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inByteArray_QNAME)) {
- member = ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_inByteArray_QNAME, reader, context);
- instance.setInByteArray((byte[])member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteArray)obj;
-
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.serialize(instance.getInByteArray(), ns1_inByteArray_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByteResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetByteResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetByteResult_QNAME = new QName("http://tempuri.org/", "RetByteResult");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
-
- public RetByteResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetByteResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetByteResult_QNAME)) {
- member = ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_RetByteResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetByteResult(((Short)member).shortValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByteResponse)obj;
-
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.serialize(new Short(instance.getRetByteResult()), ns1_RetByteResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByte_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByte_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetByte_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetByte_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inByte_QNAME = new QName("http://tempuri.org/", "inByte");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
-
- public RetByte_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetByte_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inByte_QNAME)) {
- member = ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_inByte_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInByte(((Short)member).shortValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetByte)obj;
-
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.serialize(new Short(instance.getInByte()), ns1_inByte_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetCharResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetCharResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetCharResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetCharResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetCharResult_QNAME = new QName("http://tempuri.org/", "RetCharResult");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public RetCharResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetCharResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetCharResult_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns1_RetCharResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetCharResult((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetCharResponse)obj;
-
- if (instance.getRetCharResult() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getRetCharResult(), ns1_RetCharResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetChar_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetChar_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetChar_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetChar_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inChar_QNAME = new QName("http://tempuri.org/", "inChar");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public RetChar_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetChar_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inChar_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns1_inChar_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInChar((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetChar)obj;
-
- if (instance.getInChar() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getInChar(), ns1_inChar_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDateTimeResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDateTimeResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDateTimeResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDateTimeResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDateTimeResult_QNAME = new QName("http://tempuri.org/", "RetDateTimeResult");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public RetDateTimeResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDateTimeResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDateTimeResult_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_RetDateTimeResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDateTimeResult((java.util.Calendar)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTimeResponse)obj;
-
- if (instance.getRetDateTimeResult() != null) {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getRetDateTimeResult(), ns1_RetDateTimeResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDateTime_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDateTime_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDateTime_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDateTime_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDateTime_QNAME = new QName("http://tempuri.org/", "inDateTime");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public RetDateTime_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDateTime_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDateTime_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_inDateTime_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDateTime((java.util.Calendar)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDateTime)obj;
-
- if (instance.getInDateTime() != null) {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getInDateTime(), ns1_inDateTime_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDecimalResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDecimalResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDecimalResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDecimalResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDecimalResult_QNAME = new QName("http://tempuri.org/", "RetDecimalResult");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public RetDecimalResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDecimalResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDecimalResult_QNAME)) {
- member = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_RetDecimalResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDecimalResult((java.math.BigDecimal)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimalResponse)obj;
-
- if (instance.getRetDecimalResult() != null) {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getRetDecimalResult(), ns1_RetDecimalResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDecimal_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDecimal_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDecimal_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDecimal_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDecimal_QNAME = new QName("http://tempuri.org/", "inDecimal");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public RetDecimal_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDecimal_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDecimal_QNAME)) {
- member = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_inDecimal_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDecimal((java.math.BigDecimal)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDecimal)obj;
-
- if (instance.getInDecimal() != null) {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getInDecimal(), ns1_inDecimal_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDoubleResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDoubleResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDoubleResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDoubleResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDoubleResult_QNAME = new QName("http://tempuri.org/", "RetDoubleResult");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__java_lang_Double_Double_Serializer;
-
- public RetDoubleResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDoubleResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__java_lang_Double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Double.class, ns2_double_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDoubleResult_QNAME)) {
- member = ns2_myns2__double__java_lang_Double_Double_Serializer.deserialize(ns1_RetDoubleResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDoubleResult((java.lang.Double)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDoubleResponse)obj;
-
- if (instance.getRetDoubleResult() != null) {
- ns2_myns2__double__java_lang_Double_Double_Serializer.serialize(instance.getRetDoubleResult(), ns1_RetDoubleResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDouble_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDouble_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetDouble_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetDouble_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDouble_QNAME = new QName("http://tempuri.org/", "inDouble");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__java_lang_Double_Double_Serializer;
-
- public RetDouble_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDouble_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__java_lang_Double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Double.class, ns2_double_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDouble_QNAME)) {
- member = ns2_myns2__double__java_lang_Double_Double_Serializer.deserialize(ns1_inDouble_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDouble((java.lang.Double)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetDouble)obj;
-
- if (instance.getInDouble() != null) {
- ns2_myns2__double__java_lang_Double_Double_Serializer.serialize(instance.getInDouble(), ns1_inDouble_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetFloatResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetFloatResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetFloatResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetFloatResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetFloatResult_QNAME = new QName("http://tempuri.org/", "RetFloatResult");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public RetFloatResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetFloatResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetFloatResult_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns1_RetFloatResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetFloatResult((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloatResponse)obj;
-
- if (instance.getRetFloatResult() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getRetFloatResult(), ns1_RetFloatResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetFloat_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetFloat_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetFloat_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetFloat_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inFloat_QNAME = new QName("http://tempuri.org/", "inFloat");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public RetFloat_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetFloat_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inFloat_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns1_inFloat_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInFloat((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetFloat)obj;
-
- if (instance.getInFloat() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getInFloat(), ns1_inFloat_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetGuidResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetGuidResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetGuidResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetGuidResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetGuidResult_QNAME = new QName("http://tempuri.org/", "RetGuidResult");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public RetGuidResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetGuidResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetGuidResult_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetGuidResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetGuidResult((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuidResponse)obj;
-
- if (instance.getRetGuidResult() != null) {
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getRetGuidResult(), ns1_RetGuidResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetGuid_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetGuid_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetGuid_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetGuid_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inGuid_QNAME = new QName("http://tempuri.org/", "inGuid");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public RetGuid_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetGuid_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inGuid_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_inGuid_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInGuid((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetGuid)obj;
-
- if (instance.getInGuid() != null) {
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getInGuid(), ns1_inGuid_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetIntResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetIntResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetIntResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetIntResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetIntResult_QNAME = new QName("http://tempuri.org/", "RetIntResult");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public RetIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetIntResult_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns1_RetIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetIntResult((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetIntResponse)obj;
-
- if (instance.getRetIntResult() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getRetIntResult(), ns1_RetIntResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetInt_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetInt_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetInt_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetInt_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inInt_QNAME = new QName("http://tempuri.org/", "inInt");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public RetInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inInt_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns1_inInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInInt((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetInt)obj;
-
- if (instance.getInInt() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getInInt(), ns1_inInt_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetLongResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetLongResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetLongResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetLongResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetLongResult_QNAME = new QName("http://tempuri.org/", "RetLongResult");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__java_lang_Long_Long_Serializer;
-
- public RetLongResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetLongResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__long__java_lang_Long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Long.class, ns2_long_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetLongResult_QNAME)) {
- member = ns2_myns2__long__java_lang_Long_Long_Serializer.deserialize(ns1_RetLongResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetLongResult((java.lang.Long)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLongResponse)obj;
-
- if (instance.getRetLongResult() != null) {
- ns2_myns2__long__java_lang_Long_Long_Serializer.serialize(instance.getRetLongResult(), ns1_RetLongResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetLong_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetLong_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetLong_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetLong_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inLong_QNAME = new QName("http://tempuri.org/", "inLong");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__java_lang_Long_Long_Serializer;
-
- public RetLong_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetLong_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__long__java_lang_Long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Long.class, ns2_long_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inLong_QNAME)) {
- member = ns2_myns2__long__java_lang_Long_Long_Serializer.deserialize(ns1_inLong_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInLong((java.lang.Long)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetLong)obj;
-
- if (instance.getInLong() != null) {
- ns2_myns2__long__java_lang_Long_Long_Serializer.serialize(instance.getInLong(), ns1_inLong_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetObjectResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetObjectResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetObjectResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetObjectResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetObjectResult_QNAME = new QName("http://tempuri.org/", "RetObjectResult");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public RetObjectResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetObjectResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetObjectResult_QNAME)) {
- member = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_RetObjectResult_QNAME, reader, context);
- instance.setRetObjectResult((javax.xml.soap.SOAPElement)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObjectResponse)obj;
-
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getRetObjectResult(), ns1_RetObjectResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetObject_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetObject_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetObject_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetObject_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inObject_QNAME = new QName("http://tempuri.org/", "inObject");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public RetObject_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetObject_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inObject_QNAME)) {
- member = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_inObject_QNAME, reader, context);
- instance.setInObject((javax.xml.soap.SOAPElement)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetObject)obj;
-
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getInObject(), ns1_inObject_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetQNameResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetQNameResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetQNameResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetQNameResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetQNameResult_QNAME = new QName("http://tempuri.org/", "RetQNameResult");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
-
- public RetQNameResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetQNameResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetQNameResult_QNAME)) {
- member = ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_RetQNameResult_QNAME, reader, context);
- instance.setRetQNameResult((javax.xml.namespace.QName)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQNameResponse)obj;
-
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.serialize(instance.getRetQNameResult(), ns1_RetQNameResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetQName_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetQName_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetQName_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetQName_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inQName_QNAME = new QName("http://tempuri.org/", "inQName");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
-
- public RetQName_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetQName_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inQName_QNAME)) {
- member = ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_inQName_QNAME, reader, context);
- instance.setInQName((javax.xml.namespace.QName)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetQName)obj;
-
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.serialize(instance.getInQName(), ns1_inQName_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSByteResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSByteResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSByteResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetSByteResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetSByteResult_QNAME = new QName("http://tempuri.org/", "RetSByteResult");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__java_lang_Byte_Byte_Serializer;
-
- public RetSByteResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetSByteResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__byte__java_lang_Byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Byte.class, ns2_byte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetSByteResult_QNAME)) {
- member = ns2_myns2__byte__java_lang_Byte_Byte_Serializer.deserialize(ns1_RetSByteResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetSByteResult((java.lang.Byte)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByteResponse)obj;
-
- if (instance.getRetSByteResult() != null) {
- ns2_myns2__byte__java_lang_Byte_Byte_Serializer.serialize(instance.getRetSByteResult(), ns1_RetSByteResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSByte_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSByte_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSByte_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetSByte_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inSByte_QNAME = new QName("http://tempuri.org/", "inSByte");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__java_lang_Byte_Byte_Serializer;
-
- public RetSByte_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetSByte_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__byte__java_lang_Byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Byte.class, ns2_byte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inSByte_QNAME)) {
- member = ns2_myns2__byte__java_lang_Byte_Byte_Serializer.deserialize(ns1_inSByte_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInSByte((java.lang.Byte)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSByte)obj;
-
- if (instance.getInSByte() != null) {
- ns2_myns2__byte__java_lang_Byte_Byte_Serializer.serialize(instance.getInSByte(), ns1_inSByte_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetShortResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetShortResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetShortResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetShortResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetShortResult_QNAME = new QName("http://tempuri.org/", "RetShortResult");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__java_lang_Short_Short_Serializer;
-
- public RetShortResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetShortResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__java_lang_Short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetShortResult_QNAME)) {
- member = ns2_myns2__short__java_lang_Short_Short_Serializer.deserialize(ns1_RetShortResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetShortResult((java.lang.Short)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShortResponse)obj;
-
- if (instance.getRetShortResult() != null) {
- ns2_myns2__short__java_lang_Short_Short_Serializer.serialize(instance.getRetShortResult(), ns1_RetShortResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetShort_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetShort_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetShort_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetShort_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inShort_QNAME = new QName("http://tempuri.org/", "inShort");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__java_lang_Short_Short_Serializer;
-
- public RetShort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetShort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__java_lang_Short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inShort_QNAME)) {
- member = ns2_myns2__short__java_lang_Short_Short_Serializer.deserialize(ns1_inShort_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInShort((java.lang.Short)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetShort)obj;
-
- if (instance.getInShort() != null) {
- ns2_myns2__short__java_lang_Short_Short_Serializer.serialize(instance.getInShort(), ns1_inShort_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSingleResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSingleResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSingleResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetSingleResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetSingleResult_QNAME = new QName("http://tempuri.org/", "RetSingleResult");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public RetSingleResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetSingleResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetSingleResult_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns1_RetSingleResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetSingleResult((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingleResponse)obj;
-
- if (instance.getRetSingleResult() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getRetSingleResult(), ns1_RetSingleResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSingle_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSingle_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetSingle_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetSingle_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inSingle_QNAME = new QName("http://tempuri.org/", "inSingle");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public RetSingle_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetSingle_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inSingle_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns1_inSingle_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInSingle((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetSingle)obj;
-
- if (instance.getInSingle() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getInSingle(), ns1_inSingle_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetStringResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetStringResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetStringResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetStringResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetStringResult_QNAME = new QName("http://tempuri.org/", "RetStringResult");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public RetStringResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStringResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetStringResult_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetStringResult_QNAME, reader, context);
- instance.setRetStringResult((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetStringResponse)obj;
-
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getRetStringResult(), ns1_RetStringResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetString_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetString_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetString_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetString_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inString_QNAME = new QName("http://tempuri.org/", "inString");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public RetString_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetString_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inString_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_inString_QNAME, reader, context);
- instance.setInString((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetString)obj;
-
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getInString(), ns1_inString_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetTimeSpanResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetTimeSpanResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetTimeSpanResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetTimeSpanResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetTimeSpanResult_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResult");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
-
- public RetTimeSpanResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetTimeSpanResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetTimeSpanResult_QNAME)) {
- member = ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_RetTimeSpanResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetTimeSpanResult((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpanResponse)obj;
-
- if (instance.getRetTimeSpanResult() != null) {
- ns2_myns2_duration__java_lang_String_String_Serializer.serialize(instance.getRetTimeSpanResult(), ns1_RetTimeSpanResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetTimeSpan_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetTimeSpan_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetTimeSpan_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetTimeSpan_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inTimeSpan_QNAME = new QName("http://tempuri.org/", "inTimeSpan");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
-
- public RetTimeSpan_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetTimeSpan_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inTimeSpan_QNAME)) {
- member = ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_inTimeSpan_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInTimeSpan((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetTimeSpan)obj;
-
- if (instance.getInTimeSpan() != null) {
- ns2_myns2_duration__java_lang_String_String_Serializer.serialize(instance.getInTimeSpan(), ns1_inTimeSpan_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUIntResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUIntResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUIntResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUIntResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUIntResult_QNAME = new QName("http://tempuri.org/", "RetUIntResult");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
-
- public RetUIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUIntResult_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_RetUIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUIntResult(((Long)member).longValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUIntResponse)obj;
-
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getRetUIntResult()), ns1_RetUIntResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUInt_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUInt_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUInt_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUInt_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUInt_QNAME = new QName("http://tempuri.org/", "inUInt");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
-
- public RetUInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUInt_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_inUInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUInt(((Long)member).longValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUInt)obj;
-
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getInUInt()), ns1_inUInt_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetULongResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetULongResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetULongResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetULongResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetULongResult_QNAME = new QName("http://tempuri.org/", "RetULongResult");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
-
- public RetULongResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetULongResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetULongResult_QNAME)) {
- member = ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_RetULongResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetULongResult((java.math.BigInteger)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULongResponse)obj;
-
- if (instance.getRetULongResult() != null) {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.serialize(instance.getRetULongResult(), ns1_RetULongResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetULong_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetULong_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetULong_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,67 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetULong_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inULong_QNAME = new QName("http://tempuri.org/", "inULong");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
-
- public RetULong_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetULong_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inULong_QNAME)) {
- member = ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_inULong_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInULong((java.math.BigInteger)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetULong)obj;
-
- if (instance.getInULong() != null) {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.serialize(instance.getInULong(), ns1_inULong_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUShortResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUShortResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUShortResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUShortResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUShortResult_QNAME = new QName("http://tempuri.org/", "RetUShortResult");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
-
- public RetUShortResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUShortResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUShortResult_QNAME)) {
- member = ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_RetUShortResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUShortResult(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShortResponse)obj;
-
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.serialize(new java.lang.Integer(instance.getRetUShortResult()), ns1_RetUShortResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUShort_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUShort_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUShort_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUShort_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUShort_QNAME = new QName("http://tempuri.org/", "inUShort");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
-
- public RetUShort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUShort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUShort_QNAME)) {
- member = ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_inUShort_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUShort(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUShort)obj;
-
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.serialize(new java.lang.Integer(instance.getInUShort()), ns1_inUShort_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUriResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUriResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUriResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUriResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUriResult_QNAME = new QName("http://tempuri.org/", "RetUriResult");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
-
- public RetUriResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUriResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUriResult_QNAME)) {
- member = ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_RetUriResult_QNAME, reader, context);
- instance.setRetUriResult((java.net.URI)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUriResponse)obj;
-
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.serialize(instance.getRetUriResult(), ns1_RetUriResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUri_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUri_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/RetUri_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class RetUri_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUri_QNAME = new QName("http://tempuri.org/", "inUri");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
-
- public RetUri_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetUri_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUri_QNAME)) {
- member = ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_inUri_QNAME, reader, context);
- instance.setInUri((java.net.URI)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesDocLitW_Service.RetUri)obj;
-
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.serialize(instance.getInUri(), ns1_inUri_QNAME, null, writer, context);
- }
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesProxy.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesProxy.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesProxy.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,8 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl;
import java.lang.reflect.InvocationHandler;
+import java.lang.reflect.Method;
import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
/**
* Adapts a standard SEI to several test services
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface BaseDataTypesRpcLitService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit getBasicHttpBinding_IBaseDataTypesRpcLit() throws ServiceException;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService_Impl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService_Impl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService_Impl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,61 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-
-public class BaseDataTypesRpcLitService_Impl extends com.sun.xml.rpc.client.BasicService implements BaseDataTypesRpcLitService {
- private static final QName serviceName = new QName("http://tempuri.org/", "BaseDataTypesRpcLitService");
- private static final QName ns1_BasicHttpBinding_IBaseDataTypesRpcLit_QNAME = new QName("http://tempuri.org/", "BasicHttpBinding_IBaseDataTypesRpcLit");
- private static final Class IBaseDataTypesRpcLit_PortClass = org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit.class;
-
- public BaseDataTypesRpcLitService_Impl() {
- super(serviceName, new QName[] {
- ns1_BasicHttpBinding_IBaseDataTypesRpcLit_QNAME
- },
- new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.BaseDataTypesRpcLitService_SerializerRegistry().getRegistry());
-
- }
-
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (portName.equals(ns1_BasicHttpBinding_IBaseDataTypesRpcLit_QNAME) &&
- serviceDefInterface.equals(IBaseDataTypesRpcLit_PortClass)) {
- return getBasicHttpBinding_IBaseDataTypesRpcLit();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(portName, serviceDefInterface);
- }
-
- public java.rmi.Remote getPort(java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (serviceDefInterface.equals(IBaseDataTypesRpcLit_PortClass)) {
- return getBasicHttpBinding_IBaseDataTypesRpcLit();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(serviceDefInterface);
- }
-
- public org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit getBasicHttpBinding_IBaseDataTypesRpcLit() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_BasicHttpBinding_IBaseDataTypesRpcLit_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_Stub stub = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitService_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,272 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class BaseDataTypesRpcLitService_SerializerRegistry implements SerializerConstants {
- public BaseDataTypesRpcLitService_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- {
- QName type = new QName("http://tempuri.org/", "RetUIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetTimeSpan");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetLong");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetString");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetBool");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteArray");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetGuid");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetFloat");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetShortResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_BASE64_BINARY,
- "", XSDBase64BinaryEncoder.getInstance());
- registerSerializer(mapping2,byte[].class, SchemaConstants.QNAME_TYPE_BASE64_BINARY, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSingle");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDateTimeResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetBoolResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDecimal");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetLongResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDecimalResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUShortResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSByteResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetGuidResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDoubleResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteArrayResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetULong");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDouble");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUShort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetQName");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDateTime");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetShort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetQNameResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetCharResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSingleResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetULongResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUri");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetChar");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetFloatResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUriResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByte");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetObjectResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_ANY_URI,
- "", XSDAnyURIEncoder.getInstance());
- registerSerializer(mapping2,java.net.URI.class, SchemaConstants.QNAME_TYPE_ANY_URI, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralFragmentSerializer(SchemaConstants.QNAME_TYPE_URTYPE, NOT_NULLABLE, "");
- registerSerializer(mapping2,javax.xml.soap.SOAPElement.class, SchemaConstants.QNAME_TYPE_URTYPE, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetObject");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStringResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSByte");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct.class, type, serializer);
- }
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/BaseDataTypesRpcLitTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,16 +1,15 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesProxy;
import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesSEI;
import org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesSupport;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 17-Feb-2006
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inBool_QNAME = new QName("", "inBool");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__boolean_Boolean_Serializer;
-
- public IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__boolean__boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", boolean.class, ns2_boolean_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inBool_QNAME)) {
- member = ns2_myns2__boolean__boolean_Boolean_Serializer.deserialize(ns1_inBool_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInBool(((Boolean)member).booleanValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inBool_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct)obj;
-
- if (new Boolean(instance.isInBool()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__boolean__boolean_Boolean_Serializer.serialize(new Boolean(instance.isInBool()), ns1_inBool_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetBoolResult_QNAME = new QName("", "RetBoolResult");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__boolean_Boolean_Serializer;
-
- public IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__boolean__boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", boolean.class, ns2_boolean_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetBoolResult_QNAME)) {
- member = ns2_myns2__boolean__boolean_Boolean_Serializer.deserialize(ns1_RetBoolResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetBoolResult(((Boolean)member).booleanValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetBoolResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct)obj;
-
- if (new Boolean(instance.isRetBoolResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__boolean__boolean_Boolean_Serializer.serialize(new Boolean(instance.isRetBoolResult()), ns1_RetBoolResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inByteArray_QNAME = new QName("", "inByteArray");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
-
- public IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inByteArray_QNAME)) {
- member = ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_inByteArray_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInByteArray((byte[])member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inByteArray_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct)obj;
-
- if (instance.getInByteArray() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.serialize(instance.getInByteArray(), ns1_inByteArray_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetByteArrayResult_QNAME = new QName("", "RetByteArrayResult");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
-
- public IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetByteArrayResult_QNAME)) {
- member = ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_RetByteArrayResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetByteArrayResult((byte[])member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetByteArrayResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct)obj;
-
- if (instance.getRetByteArrayResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.serialize(instance.getRetByteArrayResult(), ns1_RetByteArrayResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inByte_QNAME = new QName("", "inByte");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
-
- public IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inByte_QNAME)) {
- member = ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_inByte_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInByte(((Short)member).shortValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inByte_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct)obj;
-
- if (new Short(instance.getInByte()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.serialize(new Short(instance.getInByte()), ns1_inByte_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetByteResult_QNAME = new QName("", "RetByteResult");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
-
- public IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetByteResult_QNAME)) {
- member = ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_RetByteResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetByteResult(((Short)member).shortValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetByteResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct)obj;
-
- if (new Short(instance.getRetByteResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.serialize(new Short(instance.getRetByteResult()), ns1_RetByteResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inChar_QNAME = new QName("", "inChar");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inChar_QNAME)) {
- member = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_inChar_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInChar(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inChar_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct)obj;
-
- if (new java.lang.Integer(instance.getInChar()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.getInChar()), ns1_inChar_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetCharResult_QNAME = new QName("", "RetCharResult");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetCharResult_QNAME)) {
- member = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_RetCharResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetCharResult(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetCharResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct)obj;
-
- if (new java.lang.Integer(instance.getRetCharResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.getRetCharResult()), ns1_RetCharResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDateTime_QNAME = new QName("", "inDateTime");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDateTime_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_inDateTime_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDateTime((java.util.Calendar)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inDateTime_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct)obj;
-
- if (instance.getInDateTime() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getInDateTime(), ns1_inDateTime_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDateTimeResult_QNAME = new QName("", "RetDateTimeResult");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDateTimeResult_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_RetDateTimeResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDateTimeResult((java.util.Calendar)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetDateTimeResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct)obj;
-
- if (instance.getRetDateTimeResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getRetDateTimeResult(), ns1_RetDateTimeResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDecimal_QNAME = new QName("", "inDecimal");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDecimal_QNAME)) {
- member = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_inDecimal_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDecimal((java.math.BigDecimal)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inDecimal_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct)obj;
-
- if (instance.getInDecimal() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getInDecimal(), ns1_inDecimal_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDecimalResult_QNAME = new QName("", "RetDecimalResult");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDecimalResult_QNAME)) {
- member = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_RetDecimalResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDecimalResult((java.math.BigDecimal)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetDecimalResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct)obj;
-
- if (instance.getRetDecimalResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getRetDecimalResult(), ns1_RetDecimalResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDouble_QNAME = new QName("", "inDouble");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__double_Double_Serializer;
-
- public IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", double.class, ns2_double_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDouble_QNAME)) {
- member = ns2_myns2__double__double_Double_Serializer.deserialize(ns1_inDouble_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDouble(((Double)member).doubleValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inDouble_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct)obj;
-
- if (new Double(instance.getInDouble()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__double__double_Double_Serializer.serialize(new Double(instance.getInDouble()), ns1_inDouble_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDoubleResult_QNAME = new QName("", "RetDoubleResult");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__double_Double_Serializer;
-
- public IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", double.class, ns2_double_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDoubleResult_QNAME)) {
- member = ns2_myns2__double__double_Double_Serializer.deserialize(ns1_RetDoubleResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDoubleResult(((Double)member).doubleValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetDoubleResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct)obj;
-
- if (new Double(instance.getRetDoubleResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__double__double_Double_Serializer.serialize(new Double(instance.getRetDoubleResult()), ns1_RetDoubleResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inFloat_QNAME = new QName("", "inFloat");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
-
- public IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inFloat_QNAME)) {
- member = ns2_myns2__float__float_Float_Serializer.deserialize(ns1_inFloat_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInFloat(((Float)member).floatValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inFloat_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct)obj;
-
- if (new Float(instance.getInFloat()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__float__float_Float_Serializer.serialize(new Float(instance.getInFloat()), ns1_inFloat_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetFloatResult_QNAME = new QName("", "RetFloatResult");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
-
- public IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetFloatResult_QNAME)) {
- member = ns2_myns2__float__float_Float_Serializer.deserialize(ns1_RetFloatResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetFloatResult(((Float)member).floatValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetFloatResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct)obj;
-
- if (new Float(instance.getRetFloatResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__float__float_Float_Serializer.serialize(new Float(instance.getRetFloatResult()), ns1_RetFloatResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inGuid_QNAME = new QName("", "inGuid");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inGuid_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_inGuid_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInGuid((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inGuid_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct)obj;
-
- if (instance.getInGuid() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getInGuid(), ns1_inGuid_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetGuidResult_QNAME = new QName("", "RetGuidResult");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetGuidResult_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetGuidResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetGuidResult((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetGuidResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct)obj;
-
- if (instance.getRetGuidResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getRetGuidResult(), ns1_RetGuidResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inInt_QNAME = new QName("", "inInt");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inInt_QNAME)) {
- member = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_inInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInInt(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inInt_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct)obj;
-
- if (new java.lang.Integer(instance.getInInt()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.getInInt()), ns1_inInt_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetIntResult_QNAME = new QName("", "RetIntResult");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetIntResult_QNAME)) {
- member = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_RetIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetIntResult(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetIntResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct)obj;
-
- if (new java.lang.Integer(instance.getRetIntResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.getRetIntResult()), ns1_RetIntResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inLong_QNAME = new QName("", "inLong");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__long_Long_Serializer;
-
- public IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__long__long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_long_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inLong_QNAME)) {
- member = ns2_myns2__long__long_Long_Serializer.deserialize(ns1_inLong_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInLong(((Long)member).longValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inLong_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct)obj;
-
- if (new Long(instance.getInLong()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__long__long_Long_Serializer.serialize(new Long(instance.getInLong()), ns1_inLong_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetLongResult_QNAME = new QName("", "RetLongResult");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__long_Long_Serializer;
-
- public IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__long__long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_long_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetLongResult_QNAME)) {
- member = ns2_myns2__long__long_Long_Serializer.deserialize(ns1_RetLongResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetLongResult(((Long)member).longValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetLongResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct)obj;
-
- if (new Long(instance.getRetLongResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__long__long_Long_Serializer.serialize(new Long(instance.getRetLongResult()), ns1_RetLongResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inObject_QNAME = new QName("", "inObject");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inObject_QNAME)) {
- member = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_inObject_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInObject((javax.xml.soap.SOAPElement)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inObject_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct)obj;
-
- if (instance.getInObject() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getInObject(), ns1_inObject_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetObjectResult_QNAME = new QName("", "RetObjectResult");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetObjectResult_QNAME)) {
- member = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_RetObjectResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetObjectResult((javax.xml.soap.SOAPElement)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetObjectResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct)obj;
-
- if (instance.getRetObjectResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getRetObjectResult(), ns1_RetObjectResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inQName_QNAME = new QName("", "inQName");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
-
- public IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inQName_QNAME)) {
- member = ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_inQName_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInQName((javax.xml.namespace.QName)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inQName_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct)obj;
-
- if (instance.getInQName() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.serialize(instance.getInQName(), ns1_inQName_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetQNameResult_QNAME = new QName("", "RetQNameResult");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
-
- public IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetQNameResult_QNAME)) {
- member = ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_RetQNameResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetQNameResult((javax.xml.namespace.QName)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetQNameResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct)obj;
-
- if (instance.getRetQNameResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.serialize(instance.getRetQNameResult(), ns1_RetQNameResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inSByte_QNAME = new QName("", "inSByte");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__byte_Byte_Serializer;
-
- public IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__byte__byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", byte.class, ns2_byte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inSByte_QNAME)) {
- member = ns2_myns2__byte__byte_Byte_Serializer.deserialize(ns1_inSByte_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInSByte(((Byte)member).byteValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inSByte_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct)obj;
-
- if (new Byte(instance.getInSByte()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__byte__byte_Byte_Serializer.serialize(new Byte(instance.getInSByte()), ns1_inSByte_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetSByteResult_QNAME = new QName("", "RetSByteResult");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__byte_Byte_Serializer;
-
- public IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__byte__byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", byte.class, ns2_byte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetSByteResult_QNAME)) {
- member = ns2_myns2__byte__byte_Byte_Serializer.deserialize(ns1_RetSByteResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetSByteResult(((Byte)member).byteValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetSByteResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct)obj;
-
- if (new Byte(instance.getRetSByteResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__byte__byte_Byte_Serializer.serialize(new Byte(instance.getRetSByteResult()), ns1_RetSByteResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inShort_QNAME = new QName("", "inShort");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__short_Short_Serializer;
-
- public IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inShort_QNAME)) {
- member = ns2_myns2__short__short_Short_Serializer.deserialize(ns1_inShort_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInShort(((Short)member).shortValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inShort_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct)obj;
-
- if (new Short(instance.getInShort()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__short__short_Short_Serializer.serialize(new Short(instance.getInShort()), ns1_inShort_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetShortResult_QNAME = new QName("", "RetShortResult");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__short_Short_Serializer;
-
- public IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetShortResult_QNAME)) {
- member = ns2_myns2__short__short_Short_Serializer.deserialize(ns1_RetShortResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetShortResult(((Short)member).shortValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetShortResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct)obj;
-
- if (new Short(instance.getRetShortResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__short__short_Short_Serializer.serialize(new Short(instance.getRetShortResult()), ns1_RetShortResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inSingle_QNAME = new QName("", "inSingle");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
-
- public IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inSingle_QNAME)) {
- member = ns2_myns2__float__float_Float_Serializer.deserialize(ns1_inSingle_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInSingle(((Float)member).floatValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inSingle_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct)obj;
-
- if (new Float(instance.getInSingle()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__float__float_Float_Serializer.serialize(new Float(instance.getInSingle()), ns1_inSingle_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetSingleResult_QNAME = new QName("", "RetSingleResult");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
-
- public IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetSingleResult_QNAME)) {
- member = ns2_myns2__float__float_Float_Serializer.deserialize(ns1_RetSingleResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetSingleResult(((Float)member).floatValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetSingleResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct)obj;
-
- if (new Float(instance.getRetSingleResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__float__float_Float_Serializer.serialize(new Float(instance.getRetSingleResult()), ns1_RetSingleResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inString_QNAME = new QName("", "inString");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inString_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_inString_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInString((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inString_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct)obj;
-
- if (instance.getInString() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getInString(), ns1_inString_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetStringResult_QNAME = new QName("", "RetStringResult");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetStringResult_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetStringResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetStringResult((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetStringResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct)obj;
-
- if (instance.getRetStringResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getRetStringResult(), ns1_RetStringResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inTimeSpan_QNAME = new QName("", "inTimeSpan");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inTimeSpan_QNAME)) {
- member = ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_inTimeSpan_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInTimeSpan((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inTimeSpan_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct)obj;
-
- if (instance.getInTimeSpan() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_duration__java_lang_String_String_Serializer.serialize(instance.getInTimeSpan(), ns1_inTimeSpan_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetTimeSpanResult_QNAME = new QName("", "RetTimeSpanResult");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetTimeSpanResult_QNAME)) {
- member = ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_RetTimeSpanResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetTimeSpanResult((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetTimeSpanResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct)obj;
-
- if (instance.getRetTimeSpanResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_duration__java_lang_String_String_Serializer.serialize(instance.getRetTimeSpanResult(), ns1_RetTimeSpanResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUInt_QNAME = new QName("", "inUInt");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
-
- public IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUInt_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_inUInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUInt(((Long)member).longValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inUInt_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct)obj;
-
- if (new Long(instance.getInUInt()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getInUInt()), ns1_inUInt_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUIntResult_QNAME = new QName("", "RetUIntResult");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
-
- public IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUIntResult_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_RetUIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUIntResult(((Long)member).longValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetUIntResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct)obj;
-
- if (new Long(instance.getRetUIntResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getRetUIntResult()), ns1_RetUIntResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inULong_QNAME = new QName("", "inULong");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
-
- public IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inULong_QNAME)) {
- member = ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_inULong_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInULong((java.math.BigInteger)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inULong_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct)obj;
-
- if (instance.getInULong() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.serialize(instance.getInULong(), ns1_inULong_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetULongResult_QNAME = new QName("", "RetULongResult");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
-
- public IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetULongResult_QNAME)) {
- member = ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_RetULongResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetULongResult((java.math.BigInteger)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetULongResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct)obj;
-
- if (instance.getRetULongResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.serialize(instance.getRetULongResult(), ns1_RetULongResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUShort_QNAME = new QName("", "inUShort");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
-
- public IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUShort_QNAME)) {
- member = ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_inUShort_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUShort(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inUShort_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct)obj;
-
- if (new java.lang.Integer(instance.getInUShort()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.serialize(new java.lang.Integer(instance.getInUShort()), ns1_inUShort_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUShortResult_QNAME = new QName("", "RetUShortResult");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
-
- public IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUShortResult_QNAME)) {
- member = ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_RetUShortResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUShortResult(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetUShortResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct)obj;
-
- if (new java.lang.Integer(instance.getRetUShortResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.serialize(new java.lang.Integer(instance.getRetUShortResult()), ns1_RetUShortResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUri_QNAME = new QName("", "inUri");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
-
- public IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUri_QNAME)) {
- member = ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_inUri_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUri((java.net.URI)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inUri_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct)obj;
-
- if (instance.getInUri() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.serialize(instance.getInUri(), ns1_inUri_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUriResult_QNAME = new QName("", "RetUriResult");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
-
- public IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUriResult_QNAME)) {
- member = ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_RetUriResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUriResult((java.net.URI)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetUriResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct)obj;
-
- if (instance.getRetUriResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.serialize(instance.getRetUriResult(), ns1_RetUriResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/IBaseDataTypesRpcLit_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,1764 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-public class IBaseDataTypesRpcLit_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit {
-
-
-
- /*
- * public constructor
- */
- public IBaseDataTypesRpcLit_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc");
- }
-
-
- /*
- * implementation of retUri
- */
- public java.net.URI retUri(java.net.URI inUri)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUri_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct _myIBaseDataTypesRpcLit_RetUri_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct();
- _myIBaseDataTypesRpcLit_RetUri_RequestStruct.setInUri(inUri);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUri_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetUri_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetUri");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct _myIBaseDataTypesRpcLit_RetUri_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetUri_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetUri_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetUri_ResponseStruct.getRetUriResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDouble
- */
- public double retDouble(double inDouble)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDouble_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct _myIBaseDataTypesRpcLit_RetDouble_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct();
- _myIBaseDataTypesRpcLit_RetDouble_RequestStruct.setInDouble(inDouble);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDouble_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetDouble_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetDouble");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct _myIBaseDataTypesRpcLit_RetDouble_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetDouble_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetDouble_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetDouble_ResponseStruct.getRetDoubleResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retByteArray
- */
- public byte[] retByteArray(byte[] inByteArray)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetByteArray_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct _myIBaseDataTypesRpcLit_RetByteArray_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct();
- _myIBaseDataTypesRpcLit_RetByteArray_RequestStruct.setInByteArray(inByteArray);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArray_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetByteArray_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct _myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct.getRetByteArrayResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retSingle
- */
- public float retSingle(float inSingle)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetSingle_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct _myIBaseDataTypesRpcLit_RetSingle_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct();
- _myIBaseDataTypesRpcLit_RetSingle_RequestStruct.setInSingle(inSingle);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingle_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetSingle_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetSingle");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct _myIBaseDataTypesRpcLit_RetSingle_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetSingle_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetSingle_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetSingle_ResponseStruct.getRetSingleResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retUShort
- */
- public int retUShort(int inUShort)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUShort_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct _myIBaseDataTypesRpcLit_RetUShort_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct();
- _myIBaseDataTypesRpcLit_RetUShort_RequestStruct.setInUShort(inUShort);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShort_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetUShort_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetUShort");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct _myIBaseDataTypesRpcLit_RetUShort_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetUShort_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetUShort_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetUShort_ResponseStruct.getRetUShortResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retGuid
- */
- public java.lang.String retGuid(java.lang.String inGuid)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetGuid_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct _myIBaseDataTypesRpcLit_RetGuid_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct();
- _myIBaseDataTypesRpcLit_RetGuid_RequestStruct.setInGuid(inGuid);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuid_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetGuid_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetGuid");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct _myIBaseDataTypesRpcLit_RetGuid_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetGuid_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetGuid_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetGuid_ResponseStruct.getRetGuidResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retTimeSpan
- */
- public java.lang.String retTimeSpan(java.lang.String inTimeSpan)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetTimeSpan_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct _myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct();
- _myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct.setInTimeSpan(inTimeSpan);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpan_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct _myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct.getRetTimeSpanResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retInt
- */
- public int retInt(int inInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetInt_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct _myIBaseDataTypesRpcLit_RetInt_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct();
- _myIBaseDataTypesRpcLit_RetInt_RequestStruct.setInInt(inInt);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetInt_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetInt_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct _myIBaseDataTypesRpcLit_RetInt_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetInt_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetInt_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetInt_ResponseStruct.getRetIntResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retChar
- */
- public int retChar(int inChar)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetChar_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct _myIBaseDataTypesRpcLit_RetChar_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct();
- _myIBaseDataTypesRpcLit_RetChar_RequestStruct.setInChar(inChar);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetChar_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetChar_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetChar");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct _myIBaseDataTypesRpcLit_RetChar_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetChar_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetChar_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetChar_ResponseStruct.getRetCharResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retUInt
- */
- public long retUInt(long inUInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetUInt_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct _myIBaseDataTypesRpcLit_RetUInt_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct();
- _myIBaseDataTypesRpcLit_RetUInt_RequestStruct.setInUInt(inUInt);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUInt_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetUInt_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetUInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct _myIBaseDataTypesRpcLit_RetUInt_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetUInt_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetUInt_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetUInt_ResponseStruct.getRetUIntResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retSByte
- */
- public byte retSByte(byte inSByte)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetSByte_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct _myIBaseDataTypesRpcLit_RetSByte_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct();
- _myIBaseDataTypesRpcLit_RetSByte_RequestStruct.setInSByte(inSByte);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByte_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetSByte_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetSByte");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct _myIBaseDataTypesRpcLit_RetSByte_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetSByte_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetSByte_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetSByte_ResponseStruct.getRetSByteResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDateTime
- */
- public java.util.Calendar retDateTime(java.util.Calendar inDateTime)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDateTime_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct _myIBaseDataTypesRpcLit_RetDateTime_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct();
- _myIBaseDataTypesRpcLit_RetDateTime_RequestStruct.setInDateTime(inDateTime);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTime_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetDateTime_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct _myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct.getRetDateTimeResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retLong
- */
- public long retLong(long inLong)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetLong_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct _myIBaseDataTypesRpcLit_RetLong_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct();
- _myIBaseDataTypesRpcLit_RetLong_RequestStruct.setInLong(inLong);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLong_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetLong_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetLong");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct _myIBaseDataTypesRpcLit_RetLong_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetLong_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetLong_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetLong_ResponseStruct.getRetLongResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retByte
- */
- public short retByte(short inByte)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetByte_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct _myIBaseDataTypesRpcLit_RetByte_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct();
- _myIBaseDataTypesRpcLit_RetByte_RequestStruct.setInByte(inByte);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByte_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetByte_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetByte");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct _myIBaseDataTypesRpcLit_RetByte_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetByte_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetByte_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetByte_ResponseStruct.getRetByteResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retObject
- */
- public javax.xml.soap.SOAPElement retObject(javax.xml.soap.SOAPElement inObject)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetObject_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct _myIBaseDataTypesRpcLit_RetObject_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct();
- _myIBaseDataTypesRpcLit_RetObject_RequestStruct.setInObject(inObject);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObject_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetObject_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetObject");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct _myIBaseDataTypesRpcLit_RetObject_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetObject_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetObject_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetObject_ResponseStruct.getRetObjectResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retQName
- */
- public javax.xml.namespace.QName retQName(javax.xml.namespace.QName inQName)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetQName_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct _myIBaseDataTypesRpcLit_RetQName_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct();
- _myIBaseDataTypesRpcLit_RetQName_RequestStruct.setInQName(inQName);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQName_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetQName_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetQName");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct _myIBaseDataTypesRpcLit_RetQName_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetQName_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetQName_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetQName_ResponseStruct.getRetQNameResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retString
- */
- public java.lang.String retString(java.lang.String inString)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetString_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct _myIBaseDataTypesRpcLit_RetString_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct();
- _myIBaseDataTypesRpcLit_RetString_RequestStruct.setInString(inString);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetString_RetString_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetString_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetString");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct _myIBaseDataTypesRpcLit_RetString_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetString_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetString_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetString_ResponseStruct.getRetStringResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDecimal
- */
- public java.math.BigDecimal retDecimal(java.math.BigDecimal inDecimal)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDecimal_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct _myIBaseDataTypesRpcLit_RetDecimal_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct();
- _myIBaseDataTypesRpcLit_RetDecimal_RequestStruct.setInDecimal(inDecimal);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimal_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetDecimal_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct _myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct.getRetDecimalResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retULong
- */
- public java.math.BigInteger retULong(java.math.BigInteger inULong)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetULong_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct _myIBaseDataTypesRpcLit_RetULong_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct();
- _myIBaseDataTypesRpcLit_RetULong_RequestStruct.setInULong(inULong);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULong_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetULong_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetULong");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct _myIBaseDataTypesRpcLit_RetULong_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetULong_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetULong_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetULong_ResponseStruct.getRetULongResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retBool
- */
- public boolean retBool(boolean inBool)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetBool_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct _myIBaseDataTypesRpcLit_RetBool_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct();
- _myIBaseDataTypesRpcLit_RetBool_RequestStruct.setInBool(inBool);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBool_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetBool_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetBool");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct _myIBaseDataTypesRpcLit_RetBool_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetBool_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetBool_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetBool_ResponseStruct.isRetBoolResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retShort
- */
- public short retShort(short inShort)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetShort_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct _myIBaseDataTypesRpcLit_RetShort_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct();
- _myIBaseDataTypesRpcLit_RetShort_RequestStruct.setInShort(inShort);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShort_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetShort_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetShort");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct _myIBaseDataTypesRpcLit_RetShort_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetShort_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetShort_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetShort_ResponseStruct.getRetShortResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retFloat
- */
- public float retFloat(float inFloat)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetFloat_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct _myIBaseDataTypesRpcLit_RetFloat_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct();
- _myIBaseDataTypesRpcLit_RetFloat_RequestStruct.setInFloat(inFloat);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloat_QNAME);
- _bodyBlock.setValue(_myIBaseDataTypesRpcLit_RetFloat_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IBaseDataTypesRpcLit/RetFloat");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct _myIBaseDataTypesRpcLit_RetFloat_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIBaseDataTypesRpcLit_RetFloat_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIBaseDataTypesRpcLit_RetFloat_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct)_responseObj;
- }
-
-
- return _myIBaseDataTypesRpcLit_RetFloat_ResponseStruct.getRetFloatResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case RetUri_OPCODE:
- _deserialize_RetUri(bodyReader, deserializationContext, state);
- break;
- case RetDouble_OPCODE:
- _deserialize_RetDouble(bodyReader, deserializationContext, state);
- break;
- case RetByteArray_OPCODE:
- _deserialize_RetByteArray(bodyReader, deserializationContext, state);
- break;
- case RetSingle_OPCODE:
- _deserialize_RetSingle(bodyReader, deserializationContext, state);
- break;
- case RetUShort_OPCODE:
- _deserialize_RetUShort(bodyReader, deserializationContext, state);
- break;
- case RetGuid_OPCODE:
- _deserialize_RetGuid(bodyReader, deserializationContext, state);
- break;
- case RetTimeSpan_OPCODE:
- _deserialize_RetTimeSpan(bodyReader, deserializationContext, state);
- break;
- case RetInt_OPCODE:
- _deserialize_RetInt(bodyReader, deserializationContext, state);
- break;
- case RetChar_OPCODE:
- _deserialize_RetChar(bodyReader, deserializationContext, state);
- break;
- case RetUInt_OPCODE:
- _deserialize_RetUInt(bodyReader, deserializationContext, state);
- break;
- case RetSByte_OPCODE:
- _deserialize_RetSByte(bodyReader, deserializationContext, state);
- break;
- case RetDateTime_OPCODE:
- _deserialize_RetDateTime(bodyReader, deserializationContext, state);
- break;
- case RetLong_OPCODE:
- _deserialize_RetLong(bodyReader, deserializationContext, state);
- break;
- case RetByte_OPCODE:
- _deserialize_RetByte(bodyReader, deserializationContext, state);
- break;
- case RetObject_OPCODE:
- _deserialize_RetObject(bodyReader, deserializationContext, state);
- break;
- case RetQName_OPCODE:
- _deserialize_RetQName(bodyReader, deserializationContext, state);
- break;
- case RetString_OPCODE:
- _deserialize_RetString(bodyReader, deserializationContext, state);
- break;
- case RetDecimal_OPCODE:
- _deserialize_RetDecimal(bodyReader, deserializationContext, state);
- break;
- case RetULong_OPCODE:
- _deserialize_RetULong(bodyReader, deserializationContext, state);
- break;
- case RetBool_OPCODE:
- _deserialize_RetBool(bodyReader, deserializationContext, state);
- break;
- case RetShort_OPCODE:
- _deserialize_RetShort(bodyReader, deserializationContext, state);
- break;
- case RetFloat_OPCODE:
- _deserialize_RetFloat(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the RetUri operation.
- */
- private void _deserialize_RetUri(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetUri_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.deserialize(ns1_RetUri_RetUriResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUriResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetUri_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDouble operation.
- */
- private void _deserialize_RetDouble(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetDouble_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.deserialize(ns1_RetDouble_RetDoubleResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDoubleResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetDouble_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByteArray operation.
- */
- private void _deserialize_RetByteArray(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetByteArray_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.deserialize(ns1_RetByteArray_RetByteArrayResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArrayResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetByteArray_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSingle operation.
- */
- private void _deserialize_RetSingle(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetSingle_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.deserialize(ns1_RetSingle_RetSingleResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingleResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetSingle_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUShort operation.
- */
- private void _deserialize_RetUShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetUShort_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.deserialize(ns1_RetUShort_RetUShortResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShortResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetUShort_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetGuid operation.
- */
- private void _deserialize_RetGuid(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetGuid_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.deserialize(ns1_RetGuid_RetGuidResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuidResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetGuid_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetTimeSpan operation.
- */
- private void _deserialize_RetTimeSpan(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.deserialize(ns1_RetTimeSpan_RetTimeSpanResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpanResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetInt operation.
- */
- private void _deserialize_RetInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetInt_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.deserialize(ns1_RetInt_RetIntResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetIntResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetInt_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetChar operation.
- */
- private void _deserialize_RetChar(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetChar_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.deserialize(ns1_RetChar_RetCharResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetCharResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetChar_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUInt operation.
- */
- private void _deserialize_RetUInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetUInt_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.deserialize(ns1_RetUInt_RetUIntResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUIntResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetUInt_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSByte operation.
- */
- private void _deserialize_RetSByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetSByte_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.deserialize(ns1_RetSByte_RetSByteResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByteResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetSByte_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDateTime operation.
- */
- private void _deserialize_RetDateTime(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetDateTime_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.deserialize(ns1_RetDateTime_RetDateTimeResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTimeResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetDateTime_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetLong operation.
- */
- private void _deserialize_RetLong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetLong_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.deserialize(ns1_RetLong_RetLongResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLongResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetLong_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByte operation.
- */
- private void _deserialize_RetByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetByte_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.deserialize(ns1_RetByte_RetByteResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByteResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetByte_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetObject operation.
- */
- private void _deserialize_RetObject(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetObject_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.deserialize(ns1_RetObject_RetObjectResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObjectResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetObject_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetQName operation.
- */
- private void _deserialize_RetQName(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetQName_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.deserialize(ns1_RetQName_RetQNameResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQNameResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetQName_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetString operation.
- */
- private void _deserialize_RetString(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetString_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.deserialize(ns1_RetString_RetStringResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetString_RetStringResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetString_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDecimal operation.
- */
- private void _deserialize_RetDecimal(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetDecimal_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.deserialize(ns1_RetDecimal_RetDecimalResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimalResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetDecimal_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetULong operation.
- */
- private void _deserialize_RetULong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetULong_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.deserialize(ns1_RetULong_RetULongResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULongResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetULong_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetBool operation.
- */
- private void _deserialize_RetBool(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetBool_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.deserialize(ns1_RetBool_RetBoolResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBoolResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetBool_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetShort operation.
- */
- private void _deserialize_RetShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetShort_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.deserialize(ns1_RetShort_RetShortResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShortResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetShort_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetFloat operation.
- */
- private void _deserialize_RetFloat(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetFloat_ResponseStructObj =
- ns1_myIBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.deserialize(ns1_RetFloat_RetFloatResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloatResponse_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetFloat_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns1_myIBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_RequestStruct.class, ns1_RetString_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_ResponseStruct.class, ns1_RetIntResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct.class, ns1_RetTimeSpanResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_RequestStruct.class, ns1_RetDateTime_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_RequestStruct.class, ns1_RetObject_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_ResponseStruct.class, ns1_RetUIntResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_ResponseStruct.class, ns1_RetUShortResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_ResponseStruct.class, ns1_RetGuidResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_ResponseStruct.class, ns1_RetULongResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_RequestStruct.class, ns1_RetSByte_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_ResponseStruct.class, ns1_RetByteResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByte_RequestStruct.class, ns1_RetByte_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_RequestStruct.class, ns1_RetUri_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct.class, ns1_RetByteArrayResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct.class, ns1_RetDecimalResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUri_ResponseStruct.class, ns1_RetUriResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct.class, ns1_RetTimeSpan_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct.class, ns1_RetDateTimeResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetObject_ResponseStruct.class, ns1_RetObjectResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUInt_RequestStruct.class, ns1_RetUInt_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_RequestStruct.class, ns1_RetDouble_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_ResponseStruct.class, ns1_RetQNameResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_ResponseStruct.class, ns1_RetCharResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_ResponseStruct.class, ns1_RetFloatResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_ResponseStruct.class, ns1_RetSingleResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetString_ResponseStruct.class, ns1_RetStringResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetQName_RequestStruct.class, ns1_RetQName_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_ResponseStruct.class, ns1_RetBoolResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetULong_RequestStruct.class, ns1_RetULong_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetFloat_RequestStruct.class, ns1_RetFloat_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDecimal_RequestStruct.class, ns1_RetDecimal_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetDouble_ResponseStruct.class, ns1_RetDoubleResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetChar_RequestStruct.class, ns1_RetChar_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetByteArray_RequestStruct.class, ns1_RetByteArray_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_ResponseStruct.class, ns1_RetShortResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_ResponseStruct.class, ns1_RetLongResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetInt_RequestStruct.class, ns1_RetInt_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSByte_ResponseStruct.class, ns1_RetSByteResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetLong_RequestStruct.class, ns1_RetLong_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetShort_RequestStruct.class, ns1_RetShort_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetGuid_RequestStruct.class, ns1_RetGuid_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetSingle_RequestStruct.class, ns1_RetSingle_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetUShort_RequestStruct.class, ns1_RetUShort_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit.IBaseDataTypesRpcLit_RetBool_RequestStruct.class, ns1_RetBool_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "BasicHttpBinding_IBaseDataTypesRpcLit");
- private static final int RetUri_OPCODE = 0;
- private static final int RetDouble_OPCODE = 1;
- private static final int RetByteArray_OPCODE = 2;
- private static final int RetSingle_OPCODE = 3;
- private static final int RetUShort_OPCODE = 4;
- private static final int RetGuid_OPCODE = 5;
- private static final int RetTimeSpan_OPCODE = 6;
- private static final int RetInt_OPCODE = 7;
- private static final int RetChar_OPCODE = 8;
- private static final int RetUInt_OPCODE = 9;
- private static final int RetSByte_OPCODE = 10;
- private static final int RetDateTime_OPCODE = 11;
- private static final int RetLong_OPCODE = 12;
- private static final int RetByte_OPCODE = 13;
- private static final int RetObject_OPCODE = 14;
- private static final int RetQName_OPCODE = 15;
- private static final int RetString_OPCODE = 16;
- private static final int RetDecimal_OPCODE = 17;
- private static final int RetULong_OPCODE = 18;
- private static final int RetBool_OPCODE = 19;
- private static final int RetShort_OPCODE = 20;
- private static final int RetFloat_OPCODE = 21;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUri_QNAME = new QName("http://tempuri.org/", "RetUri");
- private static final javax.xml.namespace.QName ns1_RetUri_TYPE_QNAME = new QName("http://tempuri.org/", "RetUri");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUriResponse_QNAME = new QName("http://tempuri.org/", "RetUriResponse");
- private static final javax.xml.namespace.QName ns1_RetUriResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUriResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDouble_QNAME = new QName("http://tempuri.org/", "RetDouble");
- private static final javax.xml.namespace.QName ns1_RetDouble_TYPE_QNAME = new QName("http://tempuri.org/", "RetDouble");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDoubleResponse_QNAME = new QName("http://tempuri.org/", "RetDoubleResponse");
- private static final javax.xml.namespace.QName ns1_RetDoubleResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDoubleResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArray_QNAME = new QName("http://tempuri.org/", "RetByteArray");
- private static final javax.xml.namespace.QName ns1_RetByteArray_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteArray");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArrayResponse_QNAME = new QName("http://tempuri.org/", "RetByteArrayResponse");
- private static final javax.xml.namespace.QName ns1_RetByteArrayResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteArrayResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingle_QNAME = new QName("http://tempuri.org/", "RetSingle");
- private static final javax.xml.namespace.QName ns1_RetSingle_TYPE_QNAME = new QName("http://tempuri.org/", "RetSingle");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingleResponse_QNAME = new QName("http://tempuri.org/", "RetSingleResponse");
- private static final javax.xml.namespace.QName ns1_RetSingleResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetSingleResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShort_QNAME = new QName("http://tempuri.org/", "RetUShort");
- private static final javax.xml.namespace.QName ns1_RetUShort_TYPE_QNAME = new QName("http://tempuri.org/", "RetUShort");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShortResponse_QNAME = new QName("http://tempuri.org/", "RetUShortResponse");
- private static final javax.xml.namespace.QName ns1_RetUShortResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUShortResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuid_QNAME = new QName("http://tempuri.org/", "RetGuid");
- private static final javax.xml.namespace.QName ns1_RetGuid_TYPE_QNAME = new QName("http://tempuri.org/", "RetGuid");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuidResponse_QNAME = new QName("http://tempuri.org/", "RetGuidResponse");
- private static final javax.xml.namespace.QName ns1_RetGuidResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetGuidResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpan_QNAME = new QName("http://tempuri.org/", "RetTimeSpan");
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_TYPE_QNAME = new QName("http://tempuri.org/", "RetTimeSpan");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpanResponse_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- private static final javax.xml.namespace.QName ns1_RetTimeSpanResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetInt_RetInt_QNAME = new QName("http://tempuri.org/", "RetInt");
- private static final javax.xml.namespace.QName ns1_RetInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetInt");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetInt_RetIntResponse_QNAME = new QName("http://tempuri.org/", "RetIntResponse");
- private static final javax.xml.namespace.QName ns1_RetIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetIntResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetChar_RetChar_QNAME = new QName("http://tempuri.org/", "RetChar");
- private static final javax.xml.namespace.QName ns1_RetChar_TYPE_QNAME = new QName("http://tempuri.org/", "RetChar");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetChar_RetCharResponse_QNAME = new QName("http://tempuri.org/", "RetCharResponse");
- private static final javax.xml.namespace.QName ns1_RetCharResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetCharResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUInt_QNAME = new QName("http://tempuri.org/", "RetUInt");
- private static final javax.xml.namespace.QName ns1_RetUInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetUInt");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUIntResponse_QNAME = new QName("http://tempuri.org/", "RetUIntResponse");
- private static final javax.xml.namespace.QName ns1_RetUIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUIntResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByte_QNAME = new QName("http://tempuri.org/", "RetSByte");
- private static final javax.xml.namespace.QName ns1_RetSByte_TYPE_QNAME = new QName("http://tempuri.org/", "RetSByte");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByteResponse_QNAME = new QName("http://tempuri.org/", "RetSByteResponse");
- private static final javax.xml.namespace.QName ns1_RetSByteResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetSByteResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTime_QNAME = new QName("http://tempuri.org/", "RetDateTime");
- private static final javax.xml.namespace.QName ns1_RetDateTime_TYPE_QNAME = new QName("http://tempuri.org/", "RetDateTime");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTimeResponse_QNAME = new QName("http://tempuri.org/", "RetDateTimeResponse");
- private static final javax.xml.namespace.QName ns1_RetDateTimeResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDateTimeResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLong_QNAME = new QName("http://tempuri.org/", "RetLong");
- private static final javax.xml.namespace.QName ns1_RetLong_TYPE_QNAME = new QName("http://tempuri.org/", "RetLong");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLongResponse_QNAME = new QName("http://tempuri.org/", "RetLongResponse");
- private static final javax.xml.namespace.QName ns1_RetLongResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetLongResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByte_QNAME = new QName("http://tempuri.org/", "RetByte");
- private static final javax.xml.namespace.QName ns1_RetByte_TYPE_QNAME = new QName("http://tempuri.org/", "RetByte");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByteResponse_QNAME = new QName("http://tempuri.org/", "RetByteResponse");
- private static final javax.xml.namespace.QName ns1_RetByteResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObject_QNAME = new QName("http://tempuri.org/", "RetObject");
- private static final javax.xml.namespace.QName ns1_RetObject_TYPE_QNAME = new QName("http://tempuri.org/", "RetObject");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObjectResponse_QNAME = new QName("http://tempuri.org/", "RetObjectResponse");
- private static final javax.xml.namespace.QName ns1_RetObjectResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetObjectResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQName_QNAME = new QName("http://tempuri.org/", "RetQName");
- private static final javax.xml.namespace.QName ns1_RetQName_TYPE_QNAME = new QName("http://tempuri.org/", "RetQName");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQNameResponse_QNAME = new QName("http://tempuri.org/", "RetQNameResponse");
- private static final javax.xml.namespace.QName ns1_RetQNameResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetQNameResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetString_RetString_QNAME = new QName("http://tempuri.org/", "RetString");
- private static final javax.xml.namespace.QName ns1_RetString_TYPE_QNAME = new QName("http://tempuri.org/", "RetString");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetString_RetStringResponse_QNAME = new QName("http://tempuri.org/", "RetStringResponse");
- private static final javax.xml.namespace.QName ns1_RetStringResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStringResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimal_QNAME = new QName("http://tempuri.org/", "RetDecimal");
- private static final javax.xml.namespace.QName ns1_RetDecimal_TYPE_QNAME = new QName("http://tempuri.org/", "RetDecimal");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimalResponse_QNAME = new QName("http://tempuri.org/", "RetDecimalResponse");
- private static final javax.xml.namespace.QName ns1_RetDecimalResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDecimalResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULong_QNAME = new QName("http://tempuri.org/", "RetULong");
- private static final javax.xml.namespace.QName ns1_RetULong_TYPE_QNAME = new QName("http://tempuri.org/", "RetULong");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULongResponse_QNAME = new QName("http://tempuri.org/", "RetULongResponse");
- private static final javax.xml.namespace.QName ns1_RetULongResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetULongResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBool_QNAME = new QName("http://tempuri.org/", "RetBool");
- private static final javax.xml.namespace.QName ns1_RetBool_TYPE_QNAME = new QName("http://tempuri.org/", "RetBool");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBoolResponse_QNAME = new QName("http://tempuri.org/", "RetBoolResponse");
- private static final javax.xml.namespace.QName ns1_RetBoolResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetBoolResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShort_QNAME = new QName("http://tempuri.org/", "RetShort");
- private static final javax.xml.namespace.QName ns1_RetShort_TYPE_QNAME = new QName("http://tempuri.org/", "RetShort");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShortResponse_QNAME = new QName("http://tempuri.org/", "RetShortResponse");
- private static final javax.xml.namespace.QName ns1_RetShortResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetShortResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloat_QNAME = new QName("http://tempuri.org/", "RetFloat");
- private static final javax.xml.namespace.QName ns1_RetFloat_TYPE_QNAME = new QName("http://tempuri.org/", "RetFloat");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloatResponse_QNAME = new QName("http://tempuri.org/", "RetFloatResponse");
- private static final javax.xml.namespace.QName ns1_RetFloatResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetFloatResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer;
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
- "ns0", "http://tempuri.org/"
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/BaseDataTypesRpcLitService_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/BaseDataTypesRpcLitService_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/BaseDataTypesRpcLitService_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,272 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class BaseDataTypesRpcLitService_SerializerRegistry implements SerializerConstants {
- public BaseDataTypesRpcLitService_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- {
- QName type = new QName("http://tempuri.org/", "RetShortResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetGuidResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByte");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSByteResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetULong");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteArray");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralFragmentSerializer(SchemaConstants.QNAME_TYPE_URTYPE, NOT_NULLABLE, "");
- registerSerializer(mapping2,javax.xml.soap.SOAPElement.class, SchemaConstants.QNAME_TYPE_URTYPE, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetBool");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetQNameResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetObjectResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetGuid");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDecimal");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetBoolResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetString");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDouble");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDateTime");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUShort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSingle");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetULongResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUShortResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetCharResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDateTimeResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSByte");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetFloat");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetQName");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUriResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetTimeSpan");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDecimalResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetFloatResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetSingleResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetLongResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetChar");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_ANY_URI,
- "", XSDAnyURIEncoder.getInstance());
- registerSerializer(mapping2,java.net.URI.class, SchemaConstants.QNAME_TYPE_ANY_URI, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUri");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetByteArrayResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetShort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDoubleResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetObject");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStringResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetUIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(SchemaConstants.QNAME_TYPE_BASE64_BINARY,
- "", XSDBase64BinaryEncoder.getInstance());
- registerSerializer(mapping2,byte[].class, SchemaConstants.QNAME_TYPE_BASE64_BINARY, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetLong");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct.class, type, serializer);
- }
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inBool_QNAME = new QName("", "inBool");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__boolean_Boolean_Serializer;
-
- public IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__boolean__boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", boolean.class, ns2_boolean_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inBool_QNAME)) {
- member = ns2_myns2__boolean__boolean_Boolean_Serializer.deserialize(ns1_inBool_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInBool(((Boolean)member).booleanValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inBool_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct)obj;
-
- if (new Boolean(instance.isInBool()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__boolean__boolean_Boolean_Serializer.serialize(new Boolean(instance.isInBool()), ns1_inBool_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetBoolResult_QNAME = new QName("", "RetBoolResult");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__boolean_Boolean_Serializer;
-
- public IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__boolean__boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", boolean.class, ns2_boolean_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetBoolResult_QNAME)) {
- member = ns2_myns2__boolean__boolean_Boolean_Serializer.deserialize(ns1_RetBoolResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetBoolResult(((Boolean)member).booleanValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetBoolResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct)obj;
-
- if (new Boolean(instance.isRetBoolResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__boolean__boolean_Boolean_Serializer.serialize(new Boolean(instance.isRetBoolResult()), ns1_RetBoolResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inByteArray_QNAME = new QName("", "inByteArray");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
-
- public IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inByteArray_QNAME)) {
- member = ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_inByteArray_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInByteArray((byte[])member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inByteArray_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct)obj;
-
- if (instance.getInByteArray() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.serialize(instance.getInByteArray(), ns1_inByteArray_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetByteArrayResult_QNAME = new QName("", "RetByteArrayResult");
- private static final javax.xml.namespace.QName ns2_base64Binary_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BASE64_BINARY;
- private CombinedSerializer ns2_myns2_base64Binary__byte_Base64Binary_Serializer;
-
- public IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer = (CombinedSerializer)registry.getSerializer("", byte[].class, ns2_base64Binary_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetByteArrayResult_QNAME)) {
- member = ns2_myns2_base64Binary__byte_Base64Binary_Serializer.deserialize(ns1_RetByteArrayResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetByteArrayResult((byte[])member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetByteArrayResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct)obj;
-
- if (instance.getRetByteArrayResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_base64Binary__byte_Base64Binary_Serializer.serialize(instance.getRetByteArrayResult(), ns1_RetByteArrayResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inByte_QNAME = new QName("", "inByte");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
-
- public IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inByte_QNAME)) {
- member = ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_inByte_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInByte(((Short)member).shortValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inByte_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct)obj;
-
- if (new Short(instance.getInByte()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.serialize(new Short(instance.getInByte()), ns1_inByte_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetByteResult_QNAME = new QName("", "RetByteResult");
- private static final javax.xml.namespace.QName ns2_unsignedByte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_BYTE;
- private CombinedSerializer ns2_myns2_unsignedByte__short_UnsignedByte_Serializer;
-
- public IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_unsignedByte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetByteResult_QNAME)) {
- member = ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.deserialize(ns1_RetByteResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetByteResult(((Short)member).shortValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetByteResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct)obj;
-
- if (new Short(instance.getRetByteResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedByte__short_UnsignedByte_Serializer.serialize(new Short(instance.getRetByteResult()), ns1_RetByteResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inChar_QNAME = new QName("", "inChar");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inChar_QNAME)) {
- member = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_inChar_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInChar(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inChar_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct)obj;
-
- if (new java.lang.Integer(instance.getInChar()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.getInChar()), ns1_inChar_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetCharResult_QNAME = new QName("", "RetCharResult");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetCharResult_QNAME)) {
- member = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_RetCharResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetCharResult(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetCharResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct)obj;
-
- if (new java.lang.Integer(instance.getRetCharResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.getRetCharResult()), ns1_RetCharResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDateTime_QNAME = new QName("", "inDateTime");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDateTime_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_inDateTime_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDateTime((java.util.Calendar)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inDateTime_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct)obj;
-
- if (instance.getInDateTime() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getInDateTime(), ns1_inDateTime_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDateTimeResult_QNAME = new QName("", "RetDateTimeResult");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDateTimeResult_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns1_RetDateTimeResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDateTimeResult((java.util.Calendar)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetDateTimeResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct)obj;
-
- if (instance.getRetDateTimeResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getRetDateTimeResult(), ns1_RetDateTimeResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDecimal_QNAME = new QName("", "inDecimal");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDecimal_QNAME)) {
- member = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_inDecimal_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDecimal((java.math.BigDecimal)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inDecimal_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct)obj;
-
- if (instance.getInDecimal() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getInDecimal(), ns1_inDecimal_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDecimalResult_QNAME = new QName("", "RetDecimalResult");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDecimalResult_QNAME)) {
- member = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns1_RetDecimalResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDecimalResult((java.math.BigDecimal)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetDecimalResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct)obj;
-
- if (instance.getRetDecimalResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getRetDecimalResult(), ns1_RetDecimalResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inDouble_QNAME = new QName("", "inDouble");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__double_Double_Serializer;
-
- public IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", double.class, ns2_double_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inDouble_QNAME)) {
- member = ns2_myns2__double__double_Double_Serializer.deserialize(ns1_inDouble_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDouble(((Double)member).doubleValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inDouble_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct)obj;
-
- if (new Double(instance.getInDouble()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__double__double_Double_Serializer.serialize(new Double(instance.getInDouble()), ns1_inDouble_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetDoubleResult_QNAME = new QName("", "RetDoubleResult");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__double_Double_Serializer;
-
- public IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", double.class, ns2_double_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetDoubleResult_QNAME)) {
- member = ns2_myns2__double__double_Double_Serializer.deserialize(ns1_RetDoubleResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDoubleResult(((Double)member).doubleValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetDoubleResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct)obj;
-
- if (new Double(instance.getRetDoubleResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__double__double_Double_Serializer.serialize(new Double(instance.getRetDoubleResult()), ns1_RetDoubleResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inFloat_QNAME = new QName("", "inFloat");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
-
- public IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inFloat_QNAME)) {
- member = ns2_myns2__float__float_Float_Serializer.deserialize(ns1_inFloat_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInFloat(((Float)member).floatValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inFloat_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct)obj;
-
- if (new Float(instance.getInFloat()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__float__float_Float_Serializer.serialize(new Float(instance.getInFloat()), ns1_inFloat_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetFloatResult_QNAME = new QName("", "RetFloatResult");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
-
- public IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetFloatResult_QNAME)) {
- member = ns2_myns2__float__float_Float_Serializer.deserialize(ns1_RetFloatResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetFloatResult(((Float)member).floatValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetFloatResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct)obj;
-
- if (new Float(instance.getRetFloatResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__float__float_Float_Serializer.serialize(new Float(instance.getRetFloatResult()), ns1_RetFloatResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inGuid_QNAME = new QName("", "inGuid");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inGuid_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_inGuid_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInGuid((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inGuid_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct)obj;
-
- if (instance.getInGuid() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getInGuid(), ns1_inGuid_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetGuidResult_QNAME = new QName("", "RetGuidResult");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetGuidResult_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetGuidResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetGuidResult((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetGuidResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct)obj;
-
- if (instance.getRetGuidResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getRetGuidResult(), ns1_RetGuidResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inInt_QNAME = new QName("", "inInt");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inInt_QNAME)) {
- member = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_inInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInInt(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inInt_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct)obj;
-
- if (new java.lang.Integer(instance.getInInt()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.getInInt()), ns1_inInt_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetIntResult_QNAME = new QName("", "RetIntResult");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetIntResult_QNAME)) {
- member = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_RetIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetIntResult(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetIntResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct)obj;
-
- if (new java.lang.Integer(instance.getRetIntResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.getRetIntResult()), ns1_RetIntResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inLong_QNAME = new QName("", "inLong");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__long_Long_Serializer;
-
- public IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__long__long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_long_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inLong_QNAME)) {
- member = ns2_myns2__long__long_Long_Serializer.deserialize(ns1_inLong_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInLong(((Long)member).longValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inLong_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct)obj;
-
- if (new Long(instance.getInLong()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__long__long_Long_Serializer.serialize(new Long(instance.getInLong()), ns1_inLong_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetLongResult_QNAME = new QName("", "RetLongResult");
- private static final javax.xml.namespace.QName ns2_long_TYPE_QNAME = SchemaConstants.QNAME_TYPE_LONG;
- private CombinedSerializer ns2_myns2__long__long_Long_Serializer;
-
- public IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__long__long_Long_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_long_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetLongResult_QNAME)) {
- member = ns2_myns2__long__long_Long_Serializer.deserialize(ns1_RetLongResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetLongResult(((Long)member).longValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetLongResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct)obj;
-
- if (new Long(instance.getRetLongResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__long__long_Long_Serializer.serialize(new Long(instance.getRetLongResult()), ns1_RetLongResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inObject_QNAME = new QName("", "inObject");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inObject_QNAME)) {
- member = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_inObject_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInObject((javax.xml.soap.SOAPElement)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inObject_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct)obj;
-
- if (instance.getInObject() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getInObject(), ns1_inObject_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetObjectResult_QNAME = new QName("", "RetObjectResult");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetObjectResult_QNAME)) {
- member = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_RetObjectResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetObjectResult((javax.xml.soap.SOAPElement)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetObjectResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct)obj;
-
- if (instance.getRetObjectResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getRetObjectResult(), ns1_RetObjectResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inQName_QNAME = new QName("", "inQName");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
-
- public IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inQName_QNAME)) {
- member = ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_inQName_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInQName((javax.xml.namespace.QName)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inQName_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct)obj;
-
- if (instance.getInQName() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.serialize(instance.getInQName(), ns1_inQName_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetQNameResult_QNAME = new QName("", "RetQNameResult");
- private static final javax.xml.namespace.QName ns2_QName_TYPE_QNAME = SchemaConstants.QNAME_TYPE_QNAME;
- private CombinedSerializer ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer;
-
- public IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.namespace.QName.class, ns2_QName_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetQNameResult_QNAME)) {
- member = ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.deserialize(ns1_RetQNameResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetQNameResult((javax.xml.namespace.QName)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetQNameResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct)obj;
-
- if (instance.getRetQNameResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_QName__javax_xml_namespace_QName_QName_Serializer.serialize(instance.getRetQNameResult(), ns1_RetQNameResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inSByte_QNAME = new QName("", "inSByte");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__byte_Byte_Serializer;
-
- public IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__byte__byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", byte.class, ns2_byte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inSByte_QNAME)) {
- member = ns2_myns2__byte__byte_Byte_Serializer.deserialize(ns1_inSByte_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInSByte(((Byte)member).byteValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inSByte_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct)obj;
-
- if (new Byte(instance.getInSByte()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__byte__byte_Byte_Serializer.serialize(new Byte(instance.getInSByte()), ns1_inSByte_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetSByteResult_QNAME = new QName("", "RetSByteResult");
- private static final javax.xml.namespace.QName ns2_byte_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BYTE;
- private CombinedSerializer ns2_myns2__byte__byte_Byte_Serializer;
-
- public IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__byte__byte_Byte_Serializer = (CombinedSerializer)registry.getSerializer("", byte.class, ns2_byte_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetSByteResult_QNAME)) {
- member = ns2_myns2__byte__byte_Byte_Serializer.deserialize(ns1_RetSByteResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetSByteResult(((Byte)member).byteValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetSByteResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct)obj;
-
- if (new Byte(instance.getRetSByteResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__byte__byte_Byte_Serializer.serialize(new Byte(instance.getRetSByteResult()), ns1_RetSByteResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inShort_QNAME = new QName("", "inShort");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__short_Short_Serializer;
-
- public IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inShort_QNAME)) {
- member = ns2_myns2__short__short_Short_Serializer.deserialize(ns1_inShort_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInShort(((Short)member).shortValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inShort_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct)obj;
-
- if (new Short(instance.getInShort()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__short__short_Short_Serializer.serialize(new Short(instance.getInShort()), ns1_inShort_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetShortResult_QNAME = new QName("", "RetShortResult");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__short_Short_Serializer;
-
- public IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetShortResult_QNAME)) {
- member = ns2_myns2__short__short_Short_Serializer.deserialize(ns1_RetShortResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetShortResult(((Short)member).shortValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetShortResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct)obj;
-
- if (new Short(instance.getRetShortResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__short__short_Short_Serializer.serialize(new Short(instance.getRetShortResult()), ns1_RetShortResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inSingle_QNAME = new QName("", "inSingle");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
-
- public IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inSingle_QNAME)) {
- member = ns2_myns2__float__float_Float_Serializer.deserialize(ns1_inSingle_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInSingle(((Float)member).floatValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inSingle_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct)obj;
-
- if (new Float(instance.getInSingle()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__float__float_Float_Serializer.serialize(new Float(instance.getInSingle()), ns1_inSingle_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetSingleResult_QNAME = new QName("", "RetSingleResult");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__float_Float_Serializer;
-
- public IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__float__float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetSingleResult_QNAME)) {
- member = ns2_myns2__float__float_Float_Serializer.deserialize(ns1_RetSingleResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetSingleResult(((Float)member).floatValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetSingleResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct)obj;
-
- if (new Float(instance.getRetSingleResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2__float__float_Float_Serializer.serialize(new Float(instance.getRetSingleResult()), ns1_RetSingleResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inString_QNAME = new QName("", "inString");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inString_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_inString_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInString((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inString_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct)obj;
-
- if (instance.getInString() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getInString(), ns1_inString_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetStringResult_QNAME = new QName("", "RetStringResult");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetStringResult_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_RetStringResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetStringResult((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetStringResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct)obj;
-
- if (instance.getRetStringResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getRetStringResult(), ns1_RetStringResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inTimeSpan_QNAME = new QName("", "inTimeSpan");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inTimeSpan_QNAME)) {
- member = ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_inTimeSpan_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInTimeSpan((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inTimeSpan_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct)obj;
-
- if (instance.getInTimeSpan() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_duration__java_lang_String_String_Serializer.serialize(instance.getInTimeSpan(), ns1_inTimeSpan_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetTimeSpanResult_QNAME = new QName("", "RetTimeSpanResult");
- private static final javax.xml.namespace.QName ns2_duration_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DURATION;
- private CombinedSerializer ns2_myns2_duration__java_lang_String_String_Serializer;
-
- public IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_duration__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_duration_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetTimeSpanResult_QNAME)) {
- member = ns2_myns2_duration__java_lang_String_String_Serializer.deserialize(ns1_RetTimeSpanResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetTimeSpanResult((java.lang.String)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetTimeSpanResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct)obj;
-
- if (instance.getRetTimeSpanResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_duration__java_lang_String_String_Serializer.serialize(instance.getRetTimeSpanResult(), ns1_RetTimeSpanResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUInt_QNAME = new QName("", "inUInt");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
-
- public IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUInt_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_inUInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUInt(((Long)member).longValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inUInt_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct)obj;
-
- if (new Long(instance.getInUInt()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getInUInt()), ns1_inUInt_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUIntResult_QNAME = new QName("", "RetUIntResult");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
-
- public IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUIntResult_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns1_RetUIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUIntResult(((Long)member).longValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetUIntResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct)obj;
-
- if (new Long(instance.getRetUIntResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getRetUIntResult()), ns1_RetUIntResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inULong_QNAME = new QName("", "inULong");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
-
- public IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inULong_QNAME)) {
- member = ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_inULong_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInULong((java.math.BigInteger)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inULong_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct)obj;
-
- if (instance.getInULong() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.serialize(instance.getInULong(), ns1_inULong_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetULongResult_QNAME = new QName("", "RetULongResult");
- private static final javax.xml.namespace.QName ns2_unsignedLong_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_LONG;
- private CombinedSerializer ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer;
-
- public IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigInteger.class, ns2_unsignedLong_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetULongResult_QNAME)) {
- member = ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.deserialize(ns1_RetULongResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetULongResult((java.math.BigInteger)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetULongResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct)obj;
-
- if (instance.getRetULongResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedLong__java_math_BigInteger_UnsignedLong_Serializer.serialize(instance.getRetULongResult(), ns1_RetULongResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUShort_QNAME = new QName("", "inUShort");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
-
- public IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUShort_QNAME)) {
- member = ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_inUShort_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUShort(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inUShort_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct)obj;
-
- if (new java.lang.Integer(instance.getInUShort()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.serialize(new java.lang.Integer(instance.getInUShort()), ns1_inUShort_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUShortResult_QNAME = new QName("", "RetUShortResult");
- private static final javax.xml.namespace.QName ns2_unsignedShort_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_SHORT;
- private CombinedSerializer ns2_myns2_unsignedShort__int_UnsignedShort_Serializer;
-
- public IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_unsignedShort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUShortResult_QNAME)) {
- member = ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.deserialize(ns1_RetUShortResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUShortResult(((java.lang.Integer)member).intValue());
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetUShortResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct)obj;
-
- if (new java.lang.Integer(instance.getRetUShortResult()) == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_unsignedShort__int_UnsignedShort_Serializer.serialize(new java.lang.Integer(instance.getRetUShortResult()), ns1_RetUShortResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_inUri_QNAME = new QName("", "inUri");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
-
- public IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_inUri_QNAME)) {
- member = ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_inUri_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInUri((java.net.URI)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_inUri_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct)obj;
-
- if (instance.getInUri() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.serialize(instance.getInUri(), ns1_inUri_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,73 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_RetUriResult_QNAME = new QName("", "RetUriResult");
- private static final javax.xml.namespace.QName ns2_anyURI_TYPE_QNAME = SchemaConstants.QNAME_TYPE_ANY_URI;
- private CombinedSerializer ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer;
-
- public IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer = (CombinedSerializer)registry.getSerializer("", java.net.URI.class, ns2_anyURI_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns1_RetUriResult_QNAME)) {
- member = ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.deserialize(ns1_RetUriResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetUriResult((java.net.URI)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns1_RetUriResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct)obj;
-
- if (instance.getRetUriResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns2_myns2_anyURI__java_net_URI_AnyURI_Serializer.serialize(instance.getRetUriResult(), ns1_RetUriResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_Tie.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_Tie.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/IBaseDataTypesRpcLit_Tie.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,1917 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
-
-import java.lang.reflect.Method;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.sun.org.apache.xml.internal.serializer.SerializerConstants;
-
-public class IBaseDataTypesRpcLit_Tie
- extends com.sun.xml.rpc.server.TieBase implements SerializerConstants {
-
-
-
- public IBaseDataTypesRpcLit_Tie() throws Exception {
- super(new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.BaseDataTypesRpcLitService_SerializerRegistry().getRegistry());
- initialize(internalTypeMappingRegistry);
- }
-
- /*
- * This method does the actual method invocation for operation: RetGuid
- */
- private void invoke_RetGuid(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct myIBaseDataTypesRpcLit_RetGuid_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetGuid_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetGuid_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetGuid_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetGuid_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetGuid_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct)myIBaseDataTypesRpcLit_RetGuid_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct();
- java.lang.String retGuidResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retGuid(myIBaseDataTypesRpcLit_RetGuid_RequestStruct.getInGuid());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetGuidResult(retGuidResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuidResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetDouble
- */
- private void invoke_RetDouble(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct myIBaseDataTypesRpcLit_RetDouble_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetDouble_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetDouble_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetDouble_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetDouble_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetDouble_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct)myIBaseDataTypesRpcLit_RetDouble_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct();
- double retDoubleResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retDouble(myIBaseDataTypesRpcLit_RetDouble_RequestStruct.getInDouble());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetDoubleResult(retDoubleResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDoubleResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetUri
- */
- private void invoke_RetUri(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct myIBaseDataTypesRpcLit_RetUri_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetUri_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetUri_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetUri_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetUri_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetUri_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct)myIBaseDataTypesRpcLit_RetUri_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct();
- java.net.URI retUriResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retUri(myIBaseDataTypesRpcLit_RetUri_RequestStruct.getInUri());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetUriResult(retUriResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUriResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetShort
- */
- private void invoke_RetShort(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct myIBaseDataTypesRpcLit_RetShort_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetShort_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetShort_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetShort_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetShort_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetShort_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct)myIBaseDataTypesRpcLit_RetShort_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct();
- short retShortResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retShort(myIBaseDataTypesRpcLit_RetShort_RequestStruct.getInShort());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetShortResult(retShortResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShortResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetQName
- */
- private void invoke_RetQName(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct myIBaseDataTypesRpcLit_RetQName_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetQName_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetQName_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetQName_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetQName_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetQName_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct)myIBaseDataTypesRpcLit_RetQName_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct();
- javax.xml.namespace.QName retQNameResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retQName(myIBaseDataTypesRpcLit_RetQName_RequestStruct.getInQName());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetQNameResult(retQNameResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQNameResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetDateTime
- */
- private void invoke_RetDateTime(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct myIBaseDataTypesRpcLit_RetDateTime_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetDateTime_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetDateTime_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetDateTime_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetDateTime_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetDateTime_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct)myIBaseDataTypesRpcLit_RetDateTime_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct();
- java.util.Calendar retDateTimeResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retDateTime(myIBaseDataTypesRpcLit_RetDateTime_RequestStruct.getInDateTime());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetDateTimeResult(retDateTimeResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTimeResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetSingle
- */
- private void invoke_RetSingle(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct myIBaseDataTypesRpcLit_RetSingle_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetSingle_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetSingle_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetSingle_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetSingle_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetSingle_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct)myIBaseDataTypesRpcLit_RetSingle_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct();
- float retSingleResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retSingle(myIBaseDataTypesRpcLit_RetSingle_RequestStruct.getInSingle());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetSingleResult(retSingleResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingleResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetLong
- */
- private void invoke_RetLong(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct myIBaseDataTypesRpcLit_RetLong_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetLong_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetLong_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetLong_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetLong_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetLong_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct)myIBaseDataTypesRpcLit_RetLong_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct();
- long retLongResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retLong(myIBaseDataTypesRpcLit_RetLong_RequestStruct.getInLong());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetLongResult(retLongResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLongResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetSByte
- */
- private void invoke_RetSByte(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct myIBaseDataTypesRpcLit_RetSByte_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetSByte_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetSByte_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetSByte_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetSByte_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetSByte_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct)myIBaseDataTypesRpcLit_RetSByte_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct();
- byte retSByteResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retSByte(myIBaseDataTypesRpcLit_RetSByte_RequestStruct.getInSByte());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetSByteResult(retSByteResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByteResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetULong
- */
- private void invoke_RetULong(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct myIBaseDataTypesRpcLit_RetULong_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetULong_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetULong_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetULong_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetULong_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetULong_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct)myIBaseDataTypesRpcLit_RetULong_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct();
- java.math.BigInteger retULongResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retULong(myIBaseDataTypesRpcLit_RetULong_RequestStruct.getInULong());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetULongResult(retULongResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULongResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetByte
- */
- private void invoke_RetByte(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct myIBaseDataTypesRpcLit_RetByte_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetByte_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetByte_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetByte_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetByte_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetByte_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct)myIBaseDataTypesRpcLit_RetByte_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct();
- short retByteResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retByte(myIBaseDataTypesRpcLit_RetByte_RequestStruct.getInByte());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetByteResult(retByteResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByteResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetUShort
- */
- private void invoke_RetUShort(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct myIBaseDataTypesRpcLit_RetUShort_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetUShort_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetUShort_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetUShort_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetUShort_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetUShort_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct)myIBaseDataTypesRpcLit_RetUShort_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct();
- int retUShortResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retUShort(myIBaseDataTypesRpcLit_RetUShort_RequestStruct.getInUShort());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetUShortResult(retUShortResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShortResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetTimeSpan
- */
- private void invoke_RetTimeSpan(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetTimeSpan_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetTimeSpan_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetTimeSpan_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct)myIBaseDataTypesRpcLit_RetTimeSpan_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct();
- java.lang.String retTimeSpanResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retTimeSpan(myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct.getInTimeSpan());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetTimeSpanResult(retTimeSpanResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpanResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetFloat
- */
- private void invoke_RetFloat(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct myIBaseDataTypesRpcLit_RetFloat_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetFloat_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetFloat_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetFloat_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetFloat_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetFloat_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct)myIBaseDataTypesRpcLit_RetFloat_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct();
- float retFloatResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retFloat(myIBaseDataTypesRpcLit_RetFloat_RequestStruct.getInFloat());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetFloatResult(retFloatResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloatResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetObject
- */
- private void invoke_RetObject(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct myIBaseDataTypesRpcLit_RetObject_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetObject_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetObject_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetObject_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetObject_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetObject_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct)myIBaseDataTypesRpcLit_RetObject_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct();
- javax.xml.soap.SOAPElement retObjectResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retObject(myIBaseDataTypesRpcLit_RetObject_RequestStruct.getInObject());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetObjectResult(retObjectResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObjectResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetUInt
- */
- private void invoke_RetUInt(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct myIBaseDataTypesRpcLit_RetUInt_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetUInt_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetUInt_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetUInt_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetUInt_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetUInt_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct)myIBaseDataTypesRpcLit_RetUInt_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct();
- long retUIntResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retUInt(myIBaseDataTypesRpcLit_RetUInt_RequestStruct.getInUInt());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetUIntResult(retUIntResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUIntResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetByteArray
- */
- private void invoke_RetByteArray(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct myIBaseDataTypesRpcLit_RetByteArray_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetByteArray_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetByteArray_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetByteArray_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetByteArray_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetByteArray_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct)myIBaseDataTypesRpcLit_RetByteArray_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct();
- byte[] retByteArrayResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retByteArray(myIBaseDataTypesRpcLit_RetByteArray_RequestStruct.getInByteArray());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetByteArrayResult(retByteArrayResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArrayResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetDecimal
- */
- private void invoke_RetDecimal(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct myIBaseDataTypesRpcLit_RetDecimal_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetDecimal_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetDecimal_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetDecimal_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetDecimal_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetDecimal_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct)myIBaseDataTypesRpcLit_RetDecimal_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct();
- java.math.BigDecimal retDecimalResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retDecimal(myIBaseDataTypesRpcLit_RetDecimal_RequestStruct.getInDecimal());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetDecimalResult(retDecimalResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimalResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetInt
- */
- private void invoke_RetInt(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct myIBaseDataTypesRpcLit_RetInt_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetInt_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetInt_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetInt_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetInt_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetInt_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct)myIBaseDataTypesRpcLit_RetInt_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct();
- int retIntResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retInt(myIBaseDataTypesRpcLit_RetInt_RequestStruct.getInInt());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetIntResult(retIntResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetIntResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetString
- */
- private void invoke_RetString(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct myIBaseDataTypesRpcLit_RetString_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetString_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetString_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetString_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetString_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetString_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct)myIBaseDataTypesRpcLit_RetString_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct();
- java.lang.String retStringResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retString(myIBaseDataTypesRpcLit_RetString_RequestStruct.getInString());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetStringResult(retStringResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetString_RetStringResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetChar
- */
- private void invoke_RetChar(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct myIBaseDataTypesRpcLit_RetChar_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetChar_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetChar_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetChar_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetChar_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetChar_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct)myIBaseDataTypesRpcLit_RetChar_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct();
- int retCharResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retChar(myIBaseDataTypesRpcLit_RetChar_RequestStruct.getInChar());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetCharResult(retCharResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetCharResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method does the actual method invocation for operation: RetBool
- */
- private void invoke_RetBool(StreamingHandlerState state) throws Exception {
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct myIBaseDataTypesRpcLit_RetBool_RequestStruct = null;
- Object myIBaseDataTypesRpcLit_RetBool_RequestStructObj =
- state.getRequest().getBody().getValue();
-
- if (myIBaseDataTypesRpcLit_RetBool_RequestStructObj instanceof SOAPDeserializationState) {
- myIBaseDataTypesRpcLit_RetBool_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct)((SOAPDeserializationState)myIBaseDataTypesRpcLit_RetBool_RequestStructObj).getInstance();
- } else {
- myIBaseDataTypesRpcLit_RetBool_RequestStruct = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct)myIBaseDataTypesRpcLit_RetBool_RequestStructObj;
- }
-
- try {
- org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct _response = new org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct();
- boolean retBoolResult =
- ((org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit) getTarget()).retBool(myIBaseDataTypesRpcLit_RetBool_RequestStruct.isInBool());
-
- SOAPHeaderBlockInfo headerInfo;
- _response.setRetBoolResult(retBoolResult);
-
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBoolResponse_QNAME);
- bodyBlock.setValue(_response);
- bodyBlock.setSerializer(ns1_myIBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer);
- state.getResponse().setBody(bodyBlock);
-
- } catch (javax.xml.rpc.soap.SOAPFaultException e) {
- SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
- e.getFaultString(), e.getFaultActor(), e.getDetail());
- SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
- faultBlock.setValue(fault);
- faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
- state.getResponse().setBody(faultBlock);
- state.getResponse().setFailure(true);
- }
- }
-
- /*
- * This method must determine the opcode of the operation that has been invoked.
- */
- protected void peekFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- if (bodyReader.getName().equals(ns1_RetGuid_RetGuid_QNAME)) {
- state.getRequest().setOperationCode(RetGuid_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetDouble_RetDouble_QNAME)) {
- state.getRequest().setOperationCode(RetDouble_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetUri_RetUri_QNAME)) {
- state.getRequest().setOperationCode(RetUri_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetShort_RetShort_QNAME)) {
- state.getRequest().setOperationCode(RetShort_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetQName_RetQName_QNAME)) {
- state.getRequest().setOperationCode(RetQName_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetDateTime_RetDateTime_QNAME)) {
- state.getRequest().setOperationCode(RetDateTime_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetSingle_RetSingle_QNAME)) {
- state.getRequest().setOperationCode(RetSingle_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetLong_RetLong_QNAME)) {
- state.getRequest().setOperationCode(RetLong_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetSByte_RetSByte_QNAME)) {
- state.getRequest().setOperationCode(RetSByte_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetULong_RetULong_QNAME)) {
- state.getRequest().setOperationCode(RetULong_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetByte_RetByte_QNAME)) {
- state.getRequest().setOperationCode(RetByte_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetUShort_RetUShort_QNAME)) {
- state.getRequest().setOperationCode(RetUShort_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetTimeSpan_RetTimeSpan_QNAME)) {
- state.getRequest().setOperationCode(RetTimeSpan_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetFloat_RetFloat_QNAME)) {
- state.getRequest().setOperationCode(RetFloat_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetObject_RetObject_QNAME)) {
- state.getRequest().setOperationCode(RetObject_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetUInt_RetUInt_QNAME)) {
- state.getRequest().setOperationCode(RetUInt_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetByteArray_RetByteArray_QNAME)) {
- state.getRequest().setOperationCode(RetByteArray_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetDecimal_RetDecimal_QNAME)) {
- state.getRequest().setOperationCode(RetDecimal_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetInt_RetInt_QNAME)) {
- state.getRequest().setOperationCode(RetInt_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetString_RetString_QNAME)) {
- state.getRequest().setOperationCode(RetString_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetChar_RetChar_QNAME)) {
- state.getRequest().setOperationCode(RetChar_OPCODE);
- }
- else if (bodyReader.getName().equals(ns1_RetBool_RetBool_QNAME)) {
- state.getRequest().setOperationCode(RetBool_OPCODE);
- }
- else {
- throw new SOAPProtocolViolationException("soap.operation.unrecognized", bodyReader.getName().toString());
- }
- }
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case RetGuid_OPCODE:
- deserialize_RetGuid(bodyReader, deserializationContext, state);
- break;
- case RetDouble_OPCODE:
- deserialize_RetDouble(bodyReader, deserializationContext, state);
- break;
- case RetUri_OPCODE:
- deserialize_RetUri(bodyReader, deserializationContext, state);
- break;
- case RetShort_OPCODE:
- deserialize_RetShort(bodyReader, deserializationContext, state);
- break;
- case RetQName_OPCODE:
- deserialize_RetQName(bodyReader, deserializationContext, state);
- break;
- case RetDateTime_OPCODE:
- deserialize_RetDateTime(bodyReader, deserializationContext, state);
- break;
- case RetSingle_OPCODE:
- deserialize_RetSingle(bodyReader, deserializationContext, state);
- break;
- case RetLong_OPCODE:
- deserialize_RetLong(bodyReader, deserializationContext, state);
- break;
- case RetSByte_OPCODE:
- deserialize_RetSByte(bodyReader, deserializationContext, state);
- break;
- case RetULong_OPCODE:
- deserialize_RetULong(bodyReader, deserializationContext, state);
- break;
- case RetByte_OPCODE:
- deserialize_RetByte(bodyReader, deserializationContext, state);
- break;
- case RetUShort_OPCODE:
- deserialize_RetUShort(bodyReader, deserializationContext, state);
- break;
- case RetTimeSpan_OPCODE:
- deserialize_RetTimeSpan(bodyReader, deserializationContext, state);
- break;
- case RetFloat_OPCODE:
- deserialize_RetFloat(bodyReader, deserializationContext, state);
- break;
- case RetObject_OPCODE:
- deserialize_RetObject(bodyReader, deserializationContext, state);
- break;
- case RetUInt_OPCODE:
- deserialize_RetUInt(bodyReader, deserializationContext, state);
- break;
- case RetByteArray_OPCODE:
- deserialize_RetByteArray(bodyReader, deserializationContext, state);
- break;
- case RetDecimal_OPCODE:
- deserialize_RetDecimal(bodyReader, deserializationContext, state);
- break;
- case RetInt_OPCODE:
- deserialize_RetInt(bodyReader, deserializationContext, state);
- break;
- case RetString_OPCODE:
- deserialize_RetString(bodyReader, deserializationContext, state);
- break;
- case RetChar_OPCODE:
- deserialize_RetChar(bodyReader, deserializationContext, state);
- break;
- case RetBool_OPCODE:
- deserialize_RetBool(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SOAPProtocolViolationException("soap.operation.unrecognized", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the RetGuid operation.
- */
- private void deserialize_RetGuid(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetGuid_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer.deserialize(ns1_RetGuid_RetGuid_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetGuid_RetGuid_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetGuid_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDouble operation.
- */
- private void deserialize_RetDouble(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetDouble_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer.deserialize(ns1_RetDouble_RetDouble_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDouble_RetDouble_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetDouble_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUri operation.
- */
- private void deserialize_RetUri(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetUri_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer.deserialize(ns1_RetUri_RetUri_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUri_RetUri_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetUri_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetShort operation.
- */
- private void deserialize_RetShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetShort_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer.deserialize(ns1_RetShort_RetShort_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetShort_RetShort_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetShort_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetQName operation.
- */
- private void deserialize_RetQName(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetQName_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer.deserialize(ns1_RetQName_RetQName_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetQName_RetQName_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetQName_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDateTime operation.
- */
- private void deserialize_RetDateTime(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetDateTime_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer.deserialize(ns1_RetDateTime_RetDateTime_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDateTime_RetDateTime_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetDateTime_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSingle operation.
- */
- private void deserialize_RetSingle(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetSingle_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer.deserialize(ns1_RetSingle_RetSingle_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSingle_RetSingle_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetSingle_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetLong operation.
- */
- private void deserialize_RetLong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetLong_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer.deserialize(ns1_RetLong_RetLong_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetLong_RetLong_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetLong_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetSByte operation.
- */
- private void deserialize_RetSByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetSByte_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer.deserialize(ns1_RetSByte_RetSByte_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetSByte_RetSByte_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetSByte_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetULong operation.
- */
- private void deserialize_RetULong(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetULong_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer.deserialize(ns1_RetULong_RetULong_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetULong_RetULong_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetULong_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByte operation.
- */
- private void deserialize_RetByte(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetByte_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer.deserialize(ns1_RetByte_RetByte_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByte_RetByte_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetByte_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUShort operation.
- */
- private void deserialize_RetUShort(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetUShort_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer.deserialize(ns1_RetUShort_RetUShort_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUShort_RetUShort_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetUShort_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetTimeSpan operation.
- */
- private void deserialize_RetTimeSpan(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetTimeSpan_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer.deserialize(ns1_RetTimeSpan_RetTimeSpan_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetTimeSpan_RetTimeSpan_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetTimeSpan_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetFloat operation.
- */
- private void deserialize_RetFloat(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetFloat_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer.deserialize(ns1_RetFloat_RetFloat_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetFloat_RetFloat_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetFloat_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetObject operation.
- */
- private void deserialize_RetObject(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetObject_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer.deserialize(ns1_RetObject_RetObject_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetObject_RetObject_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetObject_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetUInt operation.
- */
- private void deserialize_RetUInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetUInt_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer.deserialize(ns1_RetUInt_RetUInt_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetUInt_RetUInt_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetUInt_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetByteArray operation.
- */
- private void deserialize_RetByteArray(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetByteArray_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer.deserialize(ns1_RetByteArray_RetByteArray_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetByteArray_RetByteArray_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetByteArray_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDecimal operation.
- */
- private void deserialize_RetDecimal(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetDecimal_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer.deserialize(ns1_RetDecimal_RetDecimal_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDecimal_RetDecimal_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetDecimal_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetInt operation.
- */
- private void deserialize_RetInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetInt_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer.deserialize(ns1_RetInt_RetInt_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetInt_RetInt_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetInt_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetString operation.
- */
- private void deserialize_RetString(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetString_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer.deserialize(ns1_RetString_RetString_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetString_RetString_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetString_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetChar operation.
- */
- private void deserialize_RetChar(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetChar_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer.deserialize(ns1_RetChar_RetChar_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetChar_RetChar_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetChar_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetBool operation.
- */
- private void deserialize_RetBool(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
- java.lang.Object myIBaseDataTypesRpcLit_RetBool_RequestStructObj =
- ns1_myIBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer.deserialize(ns1_RetBool_RetBool_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetBool_RetBool_QNAME);
- bodyBlock.setValue(myIBaseDataTypesRpcLit_RetBool_RequestStructObj);
- state.getRequest().setBody(bodyBlock);
- }
-
-
- /*
- * This method must invoke the correct method on the servant based on the opcode.
- */
- protected void processingHook(StreamingHandlerState state) throws Exception {
- switch (state.getRequest().getOperationCode()) {
- case RetGuid_OPCODE:
- invoke_RetGuid(state);
- break;
- case RetDouble_OPCODE:
- invoke_RetDouble(state);
- break;
- case RetUri_OPCODE:
- invoke_RetUri(state);
- break;
- case RetShort_OPCODE:
- invoke_RetShort(state);
- break;
- case RetQName_OPCODE:
- invoke_RetQName(state);
- break;
- case RetDateTime_OPCODE:
- invoke_RetDateTime(state);
- break;
- case RetSingle_OPCODE:
- invoke_RetSingle(state);
- break;
- case RetLong_OPCODE:
- invoke_RetLong(state);
- break;
- case RetSByte_OPCODE:
- invoke_RetSByte(state);
- break;
- case RetULong_OPCODE:
- invoke_RetULong(state);
- break;
- case RetByte_OPCODE:
- invoke_RetByte(state);
- break;
- case RetUShort_OPCODE:
- invoke_RetUShort(state);
- break;
- case RetTimeSpan_OPCODE:
- invoke_RetTimeSpan(state);
- break;
- case RetFloat_OPCODE:
- invoke_RetFloat(state);
- break;
- case RetObject_OPCODE:
- invoke_RetObject(state);
- break;
- case RetUInt_OPCODE:
- invoke_RetUInt(state);
- break;
- case RetByteArray_OPCODE:
- invoke_RetByteArray(state);
- break;
- case RetDecimal_OPCODE:
- invoke_RetDecimal(state);
- break;
- case RetInt_OPCODE:
- invoke_RetInt(state);
- break;
- case RetString_OPCODE:
- invoke_RetString(state);
- break;
- case RetChar_OPCODE:
- invoke_RetChar(state);
- break;
- case RetBool_OPCODE:
- invoke_RetBool(state);
- break;
- default:
- throw new SOAPProtocolViolationException("soap.operation.unrecognized", java.lang.Integer.toString(state.getRequest().getOperationCode()));
- }
- }
-
- protected java.lang.String getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
-
- /*
- * This method must determine the opcode of the operation given the QName of the first body element.
- */
- public int getOpcodeForFirstBodyElementName(QName name) {
- if (name == null) {
- return InternalSOAPMessage.NO_OPERATION;
- }
- if (name.equals(ns1_RetGuid_RetGuid_QNAME)) {
- return RetGuid_OPCODE;
- }
- if (name.equals(ns1_RetDouble_RetDouble_QNAME)) {
- return RetDouble_OPCODE;
- }
- if (name.equals(ns1_RetUri_RetUri_QNAME)) {
- return RetUri_OPCODE;
- }
- if (name.equals(ns1_RetShort_RetShort_QNAME)) {
- return RetShort_OPCODE;
- }
- if (name.equals(ns1_RetQName_RetQName_QNAME)) {
- return RetQName_OPCODE;
- }
- if (name.equals(ns1_RetDateTime_RetDateTime_QNAME)) {
- return RetDateTime_OPCODE;
- }
- if (name.equals(ns1_RetSingle_RetSingle_QNAME)) {
- return RetSingle_OPCODE;
- }
- if (name.equals(ns1_RetLong_RetLong_QNAME)) {
- return RetLong_OPCODE;
- }
- if (name.equals(ns1_RetSByte_RetSByte_QNAME)) {
- return RetSByte_OPCODE;
- }
- if (name.equals(ns1_RetULong_RetULong_QNAME)) {
- return RetULong_OPCODE;
- }
- if (name.equals(ns1_RetByte_RetByte_QNAME)) {
- return RetByte_OPCODE;
- }
- if (name.equals(ns1_RetUShort_RetUShort_QNAME)) {
- return RetUShort_OPCODE;
- }
- if (name.equals(ns1_RetTimeSpan_RetTimeSpan_QNAME)) {
- return RetTimeSpan_OPCODE;
- }
- if (name.equals(ns1_RetFloat_RetFloat_QNAME)) {
- return RetFloat_OPCODE;
- }
- if (name.equals(ns1_RetObject_RetObject_QNAME)) {
- return RetObject_OPCODE;
- }
- if (name.equals(ns1_RetUInt_RetUInt_QNAME)) {
- return RetUInt_OPCODE;
- }
- if (name.equals(ns1_RetByteArray_RetByteArray_QNAME)) {
- return RetByteArray_OPCODE;
- }
- if (name.equals(ns1_RetDecimal_RetDecimal_QNAME)) {
- return RetDecimal_OPCODE;
- }
- if (name.equals(ns1_RetInt_RetInt_QNAME)) {
- return RetInt_OPCODE;
- }
- if (name.equals(ns1_RetString_RetString_QNAME)) {
- return RetString_OPCODE;
- }
- if (name.equals(ns1_RetChar_RetChar_QNAME)) {
- return RetChar_OPCODE;
- }
- if (name.equals(ns1_RetBool_RetBool_QNAME)) {
- return RetBool_OPCODE;
- }
- return super.getOpcodeForFirstBodyElementName(name);
- }
-
-
- private Method internalGetMethodForOpcode(int opcode) throws ClassNotFoundException, NoSuchMethodException {
-
- Method theMethod = null;
-
- switch(opcode) {
- case RetGuid_OPCODE:
- {
- Class[] carray = { java.lang.String.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retGuid", carray);
- }
- break;
-
- case RetDouble_OPCODE:
- {
- Class[] carray = { Double.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retDouble", carray);
- }
- break;
-
- case RetUri_OPCODE:
- {
- Class[] carray = { java.net.URI.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retUri", carray);
- }
- break;
-
- case RetShort_OPCODE:
- {
- Class[] carray = { Short.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retShort", carray);
- }
- break;
-
- case RetQName_OPCODE:
- {
- Class[] carray = { javax.xml.namespace.QName.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retQName", carray);
- }
- break;
-
- case RetDateTime_OPCODE:
- {
- Class[] carray = { java.util.Calendar.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retDateTime", carray);
- }
- break;
-
- case RetSingle_OPCODE:
- {
- Class[] carray = { Float.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retSingle", carray);
- }
- break;
-
- case RetLong_OPCODE:
- {
- Class[] carray = { Long.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retLong", carray);
- }
- break;
-
- case RetSByte_OPCODE:
- {
- Class[] carray = { Byte.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retSByte", carray);
- }
- break;
-
- case RetULong_OPCODE:
- {
- Class[] carray = { java.math.BigInteger.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retULong", carray);
- }
- break;
-
- case RetByte_OPCODE:
- {
- Class[] carray = { Short.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retByte", carray);
- }
- break;
-
- case RetUShort_OPCODE:
- {
- Class[] carray = { Integer.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retUShort", carray);
- }
- break;
-
- case RetTimeSpan_OPCODE:
- {
- Class[] carray = { java.lang.String.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retTimeSpan", carray);
- }
- break;
-
- case RetFloat_OPCODE:
- {
- Class[] carray = { Float.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retFloat", carray);
- }
- break;
-
- case RetObject_OPCODE:
- {
- Class[] carray = { javax.xml.soap.SOAPElement.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retObject", carray);
- }
- break;
-
- case RetUInt_OPCODE:
- {
- Class[] carray = { Long.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retUInt", carray);
- }
- break;
-
- case RetByteArray_OPCODE:
- {
- Class[] carray = { Class.forName("[B") };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retByteArray", carray);
- }
- break;
-
- case RetDecimal_OPCODE:
- {
- Class[] carray = { java.math.BigDecimal.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retDecimal", carray);
- }
- break;
-
- case RetInt_OPCODE:
- {
- Class[] carray = { Integer.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retInt", carray);
- }
- break;
-
- case RetString_OPCODE:
- {
- Class[] carray = { java.lang.String.class };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retString", carray);
- }
- break;
-
- case RetChar_OPCODE:
- {
- Class[] carray = { Integer.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retChar", carray);
- }
- break;
-
- case RetBool_OPCODE:
- {
- Class[] carray = { Boolean.TYPE };
- theMethod = (org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit.class).getMethod("retBool", carray);
- }
- break;
-
- default:
- }
- return theMethod;
- }
-
- private Method[] methodMap = new Method[22];
-
- /*
- * This method returns the Method Obj for a specified opcode.
- */
- public Method getMethodForOpcode(int opcode) throws ClassNotFoundException, NoSuchMethodException {
-
- if (opcode <= InternalSOAPMessage.NO_OPERATION ) {
- return null;
- }
-
- if (opcode >= 22 ) {
- return null;
- }
-
- if (methodMap[opcode] == null) {
- methodMap[opcode] = internalGetMethodForOpcode(opcode);
- }
-
- return methodMap[opcode];
- }
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- private void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myIBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_RequestStruct.class, ns1_RetBool_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_ResponseStruct.class, ns1_RetSByteResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_ResponseStruct.class, ns1_RetByteArrayResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_ResponseStruct.class, ns1_RetLongResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_RequestStruct.class, ns1_RetQName_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_RequestStruct.class, ns1_RetObject_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_ResponseStruct.class, ns1_RetByteResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetLong_RequestStruct.class, ns1_RetLong_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSByte_RequestStruct.class, ns1_RetSByte_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByte_RequestStruct.class, ns1_RetByte_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_ResponseStruct.class, ns1_RetGuidResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_ResponseStruct.class, ns1_RetUShortResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUShort_RequestStruct.class, ns1_RetUShort_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_ResponseStruct.class, ns1_RetShortResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_RequestStruct.class, ns1_RetTimeSpan_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_RequestStruct.class, ns1_RetDouble_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_RequestStruct.class, ns1_RetULong_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetObject_ResponseStruct.class, ns1_RetObjectResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetGuid_RequestStruct.class, ns1_RetGuid_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetBool_ResponseStruct.class, ns1_RetBoolResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_RequestStruct.class, ns1_RetUri_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_RequestStruct.class, ns1_RetChar_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_ResponseStruct.class, ns1_RetStringResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_ResponseStruct.class, ns1_RetIntResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetQName_ResponseStruct.class, ns1_RetQNameResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_ResponseStruct.class, ns1_RetSingleResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_RequestStruct.class, ns1_RetDateTime_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDouble_ResponseStruct.class, ns1_RetDoubleResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetShort_RequestStruct.class, ns1_RetShort_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUri_ResponseStruct.class, ns1_RetUriResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetChar_ResponseStruct.class, ns1_RetCharResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_ResponseStruct.class, ns1_RetDecimalResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetString_RequestStruct.class, ns1_RetString_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_RequestStruct.class, ns1_RetUInt_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_ResponseStruct.class, ns1_RetFloatResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetULong_ResponseStruct.class, ns1_RetULongResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetInt_RequestStruct.class, ns1_RetInt_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct.class, ns1_RetTimeSpanResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDecimal_RequestStruct.class, ns1_RetDecimal_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetByteArray_RequestStruct.class, ns1_RetByteArray_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetFloat_RequestStruct.class, ns1_RetFloat_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetDateTime_ResponseStruct.class, ns1_RetDateTimeResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetUInt_ResponseStruct.class, ns1_RetUIntResponse_TYPE_QNAME);
- ns1_myIBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service.IBaseDataTypesRpcLit_RetSingle_RequestStruct.class, ns1_RetSingle_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName portName = new QName("http://tempuri.org/", "BasicHttpBinding_IBaseDataTypesRpcLit");
- private static final int RetGuid_OPCODE = 0;
- private static final int RetDouble_OPCODE = 1;
- private static final int RetUri_OPCODE = 2;
- private static final int RetShort_OPCODE = 3;
- private static final int RetQName_OPCODE = 4;
- private static final int RetDateTime_OPCODE = 5;
- private static final int RetSingle_OPCODE = 6;
- private static final int RetLong_OPCODE = 7;
- private static final int RetSByte_OPCODE = 8;
- private static final int RetULong_OPCODE = 9;
- private static final int RetByte_OPCODE = 10;
- private static final int RetUShort_OPCODE = 11;
- private static final int RetTimeSpan_OPCODE = 12;
- private static final int RetFloat_OPCODE = 13;
- private static final int RetObject_OPCODE = 14;
- private static final int RetUInt_OPCODE = 15;
- private static final int RetByteArray_OPCODE = 16;
- private static final int RetDecimal_OPCODE = 17;
- private static final int RetInt_OPCODE = 18;
- private static final int RetString_OPCODE = 19;
- private static final int RetChar_OPCODE = 20;
- private static final int RetBool_OPCODE = 21;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuid_QNAME = new QName("http://tempuri.org/", "RetGuid");
- private static final javax.xml.namespace.QName ns1_RetGuid_TYPE_QNAME = new QName("http://tempuri.org/", "RetGuid");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetGuid_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetGuid_RetGuidResponse_QNAME = new QName("http://tempuri.org/", "RetGuidResponse");
- private static final javax.xml.namespace.QName ns1_RetGuidResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetGuidResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetGuid_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDouble_QNAME = new QName("http://tempuri.org/", "RetDouble");
- private static final javax.xml.namespace.QName ns1_RetDouble_TYPE_QNAME = new QName("http://tempuri.org/", "RetDouble");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDouble_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDouble_RetDoubleResponse_QNAME = new QName("http://tempuri.org/", "RetDoubleResponse");
- private static final javax.xml.namespace.QName ns1_RetDoubleResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDoubleResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDouble_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUri_QNAME = new QName("http://tempuri.org/", "RetUri");
- private static final javax.xml.namespace.QName ns1_RetUri_TYPE_QNAME = new QName("http://tempuri.org/", "RetUri");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUri_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUri_RetUriResponse_QNAME = new QName("http://tempuri.org/", "RetUriResponse");
- private static final javax.xml.namespace.QName ns1_RetUriResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUriResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUri_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShort_QNAME = new QName("http://tempuri.org/", "RetShort");
- private static final javax.xml.namespace.QName ns1_RetShort_TYPE_QNAME = new QName("http://tempuri.org/", "RetShort");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetShort_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetShort_RetShortResponse_QNAME = new QName("http://tempuri.org/", "RetShortResponse");
- private static final javax.xml.namespace.QName ns1_RetShortResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetShortResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetShort_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQName_QNAME = new QName("http://tempuri.org/", "RetQName");
- private static final javax.xml.namespace.QName ns1_RetQName_TYPE_QNAME = new QName("http://tempuri.org/", "RetQName");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetQName_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetQName_RetQNameResponse_QNAME = new QName("http://tempuri.org/", "RetQNameResponse");
- private static final javax.xml.namespace.QName ns1_RetQNameResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetQNameResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetQName_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTime_QNAME = new QName("http://tempuri.org/", "RetDateTime");
- private static final javax.xml.namespace.QName ns1_RetDateTime_TYPE_QNAME = new QName("http://tempuri.org/", "RetDateTime");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDateTime_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDateTime_RetDateTimeResponse_QNAME = new QName("http://tempuri.org/", "RetDateTimeResponse");
- private static final javax.xml.namespace.QName ns1_RetDateTimeResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDateTimeResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDateTime_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingle_QNAME = new QName("http://tempuri.org/", "RetSingle");
- private static final javax.xml.namespace.QName ns1_RetSingle_TYPE_QNAME = new QName("http://tempuri.org/", "RetSingle");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetSingle_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSingle_RetSingleResponse_QNAME = new QName("http://tempuri.org/", "RetSingleResponse");
- private static final javax.xml.namespace.QName ns1_RetSingleResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetSingleResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetSingle_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLong_QNAME = new QName("http://tempuri.org/", "RetLong");
- private static final javax.xml.namespace.QName ns1_RetLong_TYPE_QNAME = new QName("http://tempuri.org/", "RetLong");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetLong_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetLong_RetLongResponse_QNAME = new QName("http://tempuri.org/", "RetLongResponse");
- private static final javax.xml.namespace.QName ns1_RetLongResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetLongResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetLong_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByte_QNAME = new QName("http://tempuri.org/", "RetSByte");
- private static final javax.xml.namespace.QName ns1_RetSByte_TYPE_QNAME = new QName("http://tempuri.org/", "RetSByte");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetSByte_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetSByte_RetSByteResponse_QNAME = new QName("http://tempuri.org/", "RetSByteResponse");
- private static final javax.xml.namespace.QName ns1_RetSByteResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetSByteResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetSByte_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULong_QNAME = new QName("http://tempuri.org/", "RetULong");
- private static final javax.xml.namespace.QName ns1_RetULong_TYPE_QNAME = new QName("http://tempuri.org/", "RetULong");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetULong_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetULong_RetULongResponse_QNAME = new QName("http://tempuri.org/", "RetULongResponse");
- private static final javax.xml.namespace.QName ns1_RetULongResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetULongResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetULong_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByte_QNAME = new QName("http://tempuri.org/", "RetByte");
- private static final javax.xml.namespace.QName ns1_RetByte_TYPE_QNAME = new QName("http://tempuri.org/", "RetByte");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetByte_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByte_RetByteResponse_QNAME = new QName("http://tempuri.org/", "RetByteResponse");
- private static final javax.xml.namespace.QName ns1_RetByteResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetByte_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShort_QNAME = new QName("http://tempuri.org/", "RetUShort");
- private static final javax.xml.namespace.QName ns1_RetUShort_TYPE_QNAME = new QName("http://tempuri.org/", "RetUShort");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUShort_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUShort_RetUShortResponse_QNAME = new QName("http://tempuri.org/", "RetUShortResponse");
- private static final javax.xml.namespace.QName ns1_RetUShortResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUShortResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUShort_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpan_QNAME = new QName("http://tempuri.org/", "RetTimeSpan");
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_TYPE_QNAME = new QName("http://tempuri.org/", "RetTimeSpan");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetTimeSpan_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetTimeSpan_RetTimeSpanResponse_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- private static final javax.xml.namespace.QName ns1_RetTimeSpanResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetTimeSpan_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloat_QNAME = new QName("http://tempuri.org/", "RetFloat");
- private static final javax.xml.namespace.QName ns1_RetFloat_TYPE_QNAME = new QName("http://tempuri.org/", "RetFloat");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetFloat_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetFloat_RetFloatResponse_QNAME = new QName("http://tempuri.org/", "RetFloatResponse");
- private static final javax.xml.namespace.QName ns1_RetFloatResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetFloatResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetFloat_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObject_QNAME = new QName("http://tempuri.org/", "RetObject");
- private static final javax.xml.namespace.QName ns1_RetObject_TYPE_QNAME = new QName("http://tempuri.org/", "RetObject");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetObject_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetObject_RetObjectResponse_QNAME = new QName("http://tempuri.org/", "RetObjectResponse");
- private static final javax.xml.namespace.QName ns1_RetObjectResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetObjectResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetObject_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUInt_QNAME = new QName("http://tempuri.org/", "RetUInt");
- private static final javax.xml.namespace.QName ns1_RetUInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetUInt");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUInt_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetUInt_RetUIntResponse_QNAME = new QName("http://tempuri.org/", "RetUIntResponse");
- private static final javax.xml.namespace.QName ns1_RetUIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetUIntResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetUInt_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArray_QNAME = new QName("http://tempuri.org/", "RetByteArray");
- private static final javax.xml.namespace.QName ns1_RetByteArray_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteArray");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetByteArray_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetByteArray_RetByteArrayResponse_QNAME = new QName("http://tempuri.org/", "RetByteArrayResponse");
- private static final javax.xml.namespace.QName ns1_RetByteArrayResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetByteArrayResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetByteArray_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimal_QNAME = new QName("http://tempuri.org/", "RetDecimal");
- private static final javax.xml.namespace.QName ns1_RetDecimal_TYPE_QNAME = new QName("http://tempuri.org/", "RetDecimal");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDecimal_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDecimal_RetDecimalResponse_QNAME = new QName("http://tempuri.org/", "RetDecimalResponse");
- private static final javax.xml.namespace.QName ns1_RetDecimalResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDecimalResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetDecimal_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetInt_RetInt_QNAME = new QName("http://tempuri.org/", "RetInt");
- private static final javax.xml.namespace.QName ns1_RetInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetInt");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetInt_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetInt_RetIntResponse_QNAME = new QName("http://tempuri.org/", "RetIntResponse");
- private static final javax.xml.namespace.QName ns1_RetIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetIntResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetInt_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetString_RetString_QNAME = new QName("http://tempuri.org/", "RetString");
- private static final javax.xml.namespace.QName ns1_RetString_TYPE_QNAME = new QName("http://tempuri.org/", "RetString");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetString_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetString_RetStringResponse_QNAME = new QName("http://tempuri.org/", "RetStringResponse");
- private static final javax.xml.namespace.QName ns1_RetStringResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStringResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetString_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetChar_RetChar_QNAME = new QName("http://tempuri.org/", "RetChar");
- private static final javax.xml.namespace.QName ns1_RetChar_TYPE_QNAME = new QName("http://tempuri.org/", "RetChar");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetChar_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetChar_RetCharResponse_QNAME = new QName("http://tempuri.org/", "RetCharResponse");
- private static final javax.xml.namespace.QName ns1_RetCharResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetCharResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetChar_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBool_QNAME = new QName("http://tempuri.org/", "RetBool");
- private static final javax.xml.namespace.QName ns1_RetBool_TYPE_QNAME = new QName("http://tempuri.org/", "RetBool");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetBool_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetBool_RetBoolResponse_QNAME = new QName("http://tempuri.org/", "RetBoolResponse");
- private static final javax.xml.namespace.QName ns1_RetBoolResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetBoolResponse");
- private CombinedSerializer ns1_myIBaseDataTypesRpcLit_RetBool_ResponseStruct_LiteralSerializer;
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
- "ns0", "http://tempuri.org/"
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/ServiceImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/ServiceImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/ServiceImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,14 +1,13 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.BaseDataTypesRpcLit_Service;
+import javax.xml.soap.SOAPElement;
+import javax.xml.namespace.QName;
+import java.rmi.RemoteException;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.net.URI;
-import java.rmi.RemoteException;
import java.util.Calendar;
-import javax.xml.namespace.QName;
-import javax.xml.soap.SOAPElement;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 06-Mar-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesSupport.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesSupport.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/BaseDataTypesSupport.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,16 +1,15 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl;
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
+import org.jboss.test.ws.interop.microsoft.ClientScenario;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Stub;
import java.math.BigDecimal;
import java.net.URI;
import java.util.Calendar;
-import javax.xml.namespace.QName;
-import javax.xml.rpc.Stub;
-
-import org.jboss.test.ws.JBossWSTest;
-import org.jboss.test.ws.interop.microsoft.ClientScenario;
-import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 20-Feb-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/ComplexDataTypesDocLitBTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/ComplexDataTypesDocLitBTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/ComplexDataTypesDocLitBTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,17 +1,16 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesDocLitB;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesProxy;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesSEI;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesSupport;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitB;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 17-Feb-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/ServiceImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/ServiceImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/ServiceImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,23 +1,9 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesDocLitB_Service;
+import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.*;
+
import java.rmi.RemoteException;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitB;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 06-Mar-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/ComplexDataTypesDocLitWTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/ComplexDataTypesDocLitWTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/ComplexDataTypesDocLitWTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,17 +1,16 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesDocLitW;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesProxy;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesSEI;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesSupport;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitW;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 17-Feb-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/ServiceImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/ServiceImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/ServiceImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,23 +1,9 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesDocLitW_Service;
+import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.*;
+
import java.rmi.RemoteException;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitW;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 06-Mar-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesProxy.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesProxy.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesProxy.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,8 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl;
import java.lang.reflect.InvocationHandler;
+import java.lang.reflect.Method;
import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
/**
* Adapts a standard SEI to several test services
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/ComplexDataTypesRpcLitTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/ComplexDataTypesRpcLitTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/ComplexDataTypesRpcLitTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,17 +1,16 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesRpcLit;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-import javax.xml.rpc.Stub;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesProxy;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesSEI;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesSupport;
import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit;
+import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesSupport;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 17-Feb-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/ServiceImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/ServiceImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/ServiceImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,23 +1,9 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesRpcLit_Service;
+import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.*;
+
import java.rmi.RemoteException;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 06-Mar-2006
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfArrayOfstring_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfArrayOfstring_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfArrayOfstring_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,78 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.util.ArrayList;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class ArrayOfArrayOfstring_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_ArrayOfstring_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- private static final javax.xml.namespace.QName ns1_ArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- private CombinedSerializer ns1_myArrayOfstring_LiteralSerializer;
-
- public ArrayOfArrayOfstring_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public ArrayOfArrayOfstring_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, ns1_ArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_ArrayOfstring_QNAME))) {
- values = new ArrayList();
- for(;;) {
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_ArrayOfstring_QNAME))) {
- value = ns1_myArrayOfstring_LiteralSerializer.deserialize(ns1_ArrayOfstring_QNAME, reader, context);
- values.add(value);
- reader.nextElementContent();
- } else {
- break;
- }
- }
- member = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring[values.size()];
- member = values.toArray((Object[]) member);
- instance.setArrayOfstring((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring[])member);
- }
- else {
- instance.setArrayOfstring(new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring[0]);
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring)obj;
-
- if (instance.getArrayOfstring() != null) {
- for (int i = 0; i < instance.getArrayOfstring().length; ++i) {
- ns1_myArrayOfstring_LiteralSerializer.serialize(instance.getArrayOfstring()[i], ns1_ArrayOfstring_QNAME, null, writer, context);
- }
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfNullableOfdateTime_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfNullableOfdateTime_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfNullableOfdateTime_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,80 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.util.ArrayList;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class ArrayOfNullableOfdateTime_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns4_dateTime_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "dateTime");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
-
- public ArrayOfNullableOfdateTime_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public ArrayOfNullableOfdateTime_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns4_dateTime_QNAME))) {
- values = new ArrayList();
- for(;;) {
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns4_dateTime_QNAME))) {
- value = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns4_dateTime_QNAME, reader, context);
- values.add(value);
- reader.nextElementContent();
- } else {
- break;
- }
- }
- member = new java.util.Calendar[values.size()];
- member = values.toArray((Object[]) member);
- instance.setDateTime((java.util.Calendar[])member);
- }
- else {
- instance.setDateTime(new java.util.Calendar[0]);
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime)obj;
-
- if (instance.getDateTime() != null) {
- for (int i = 0; i < instance.getDateTime().length; ++i) {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getDateTime()[i], ns4_dateTime_QNAME, null, writer, context);
- }
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfNullableOfdecimal_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfNullableOfdecimal_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfNullableOfdecimal_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,80 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.util.ArrayList;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class ArrayOfNullableOfdecimal_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns4_decimal_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "decimal");
- private static final javax.xml.namespace.QName ns2_decimal_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DECIMAL;
- private CombinedSerializer ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer;
-
- public ArrayOfNullableOfdecimal_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public ArrayOfNullableOfdecimal_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer = (CombinedSerializer)registry.getSerializer("", java.math.BigDecimal.class, ns2_decimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns4_decimal_QNAME))) {
- values = new ArrayList();
- for(;;) {
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns4_decimal_QNAME))) {
- value = ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.deserialize(ns4_decimal_QNAME, reader, context);
- values.add(value);
- reader.nextElementContent();
- } else {
- break;
- }
- }
- member = new java.math.BigDecimal[values.size()];
- member = values.toArray((Object[]) member);
- instance.setDecimal((java.math.BigDecimal[])member);
- }
- else {
- instance.setDecimal(new java.math.BigDecimal[0]);
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal)obj;
-
- if (instance.getDecimal() != null) {
- for (int i = 0; i < instance.getDecimal().length; ++i) {
- ns2_myns2_decimal__java_math_BigDecimal_Decimal_Serializer.serialize(instance.getDecimal()[i], ns4_decimal_QNAME, null, writer, context);
- }
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfPerson_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfPerson_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfPerson_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,78 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.util.ArrayList;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class ArrayOfPerson_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns5_Person_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- private static final javax.xml.namespace.QName ns5_Person_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- private CombinedSerializer ns5_myPerson_LiteralSerializer;
-
- public ArrayOfPerson_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public ArrayOfPerson_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, ns5_Person_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns5_Person_QNAME))) {
- values = new ArrayList();
- for(;;) {
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns5_Person_QNAME))) {
- value = ns5_myPerson_LiteralSerializer.deserialize(ns5_Person_QNAME, reader, context);
- values.add(value);
- reader.nextElementContent();
- } else {
- break;
- }
- }
- member = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person[values.size()];
- member = values.toArray((Object[]) member);
- instance.setPerson((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person[])member);
- }
- else {
- instance.setPerson(new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person[0]);
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)obj;
-
- if (instance.getPerson() != null) {
- for (int i = 0; i < instance.getPerson().length; ++i) {
- ns5_myPerson_LiteralSerializer.serialize(instance.getPerson()[i], ns5_Person_QNAME, null, writer, context);
- }
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfanyType_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfanyType_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfanyType_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,80 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.util.ArrayList;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class ArrayOfanyType_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_anyType_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "anyType");
- private static final javax.xml.namespace.QName ns2_anyType_TYPE_QNAME = SchemaConstants.QNAME_TYPE_URTYPE;
- private CombinedSerializer ns2_ns2_anyType_TYPE_QNAME_Serializer;
-
- public ArrayOfanyType_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public ArrayOfanyType_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_ns2_anyType_TYPE_QNAME_Serializer = (CombinedSerializer)registry.getSerializer("", javax.xml.soap.SOAPElement.class, ns2_anyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_anyType_QNAME))) {
- values = new ArrayList();
- for(;;) {
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_anyType_QNAME))) {
- value = ns2_ns2_anyType_TYPE_QNAME_Serializer.deserialize(ns1_anyType_QNAME, reader, context);
- values.add(value);
- reader.nextElementContent();
- } else {
- break;
- }
- }
- member = new javax.xml.soap.SOAPElement[values.size()];
- member = values.toArray((Object[]) member);
- instance.setAnyType((javax.xml.soap.SOAPElement[])member);
- }
- else {
- instance.setAnyType(new javax.xml.soap.SOAPElement[0]);
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType)obj;
-
- if (instance.getAnyType() != null) {
- for (int i = 0; i < instance.getAnyType().length; ++i) {
- ns2_ns2_anyType_TYPE_QNAME_Serializer.serialize(instance.getAnyType()[i], ns1_anyType_QNAME, null, writer, context);
- }
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfint_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfint_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfint_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,85 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.util.ArrayList;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class ArrayOfint_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_int_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "int");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__int_Int_Serializer;
-
- public ArrayOfint_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public ArrayOfint_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__int__int_Int_Serializer = (CombinedSerializer)registry.getSerializer("", int.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_int_QNAME))) {
- values = new ArrayList();
- for(;;) {
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_int_QNAME))) {
- value = ns2_myns2__int__int_Int_Serializer.deserialize(ns1_int_QNAME, reader, context);
- if (value == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- values.add(value);
- reader.nextElementContent();
- } else {
- break;
- }
- }
- member = new int[values.size()];
- for (int i = 0; i < values.size(); ++i) {
- ((int[]) member)[i] = ((java.lang.Integer)(values.get(i))).intValue();
- }
- instance.set_int((int[])member);
- }
- else {
- instance.set_int(new int[0]);
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint)obj;
-
- if (instance.get_int() != null) {
- for (int i = 0; i < instance.get_int().length; ++i) {
- ns2_myns2__int__int_Int_Serializer.serialize(new java.lang.Integer(instance.get_int()[i]), ns1_int_QNAME, null, writer, context);
- }
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfshort_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfshort_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfshort_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,85 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.util.ArrayList;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class ArrayOfshort_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_short_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "short");
- private static final javax.xml.namespace.QName ns2_short_TYPE_QNAME = SchemaConstants.QNAME_TYPE_SHORT;
- private CombinedSerializer ns2_myns2__short__short_Short_Serializer;
-
- public ArrayOfshort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public ArrayOfshort_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__short__short_Short_Serializer = (CombinedSerializer)registry.getSerializer("", short.class, ns2_short_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_short_QNAME))) {
- values = new ArrayList();
- for(;;) {
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_short_QNAME))) {
- value = ns2_myns2__short__short_Short_Serializer.deserialize(ns1_short_QNAME, reader, context);
- if (value == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- values.add(value);
- reader.nextElementContent();
- } else {
- break;
- }
- }
- member = new short[values.size()];
- for (int i = 0; i < values.size(); ++i) {
- ((short[]) member)[i] = ((Short)(values.get(i))).shortValue();
- }
- instance.set_short((short[])member);
- }
- else {
- instance.set_short(new short[0]);
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort)obj;
-
- if (instance.get_short() != null) {
- for (int i = 0; i < instance.get_short().length; ++i) {
- ns2_myns2__short__short_Short_Serializer.serialize(new Short(instance.get_short()[i]), ns1_short_QNAME, null, writer, context);
- }
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfstring_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfstring_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ArrayOfstring_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,80 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.util.ArrayList;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class ArrayOfstring_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_string_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "string");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public ArrayOfstring_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public ArrayOfstring_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_string_QNAME))) {
- values = new ArrayList();
- for(;;) {
- elementName = reader.getName();
- if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_string_QNAME))) {
- value = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns1_string_QNAME, reader, context);
- values.add(value);
- reader.nextElementContent();
- } else {
- break;
- }
- }
- member = new java.lang.String[values.size()];
- member = values.toArray((Object[]) member);
- instance.setString((java.lang.String[])member);
- }
- else {
- instance.setString(new java.lang.String[0]);
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring)obj;
-
- if (instance.getString() != null) {
- for (int i = 0; i < instance.getString().length; ++i) {
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getString()[i], ns1_string_QNAME, null, writer, context);
- }
- }
- }
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/BitMask.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/BitMask.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/BitMask.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,6 +6,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
+import java.util.Map;
import java.util.HashMap;
public class BitMask {
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/BitMask_Encoder.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/BitMask_Encoder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/BitMask_Encoder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,32 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-
-import org.xml.sax.XMLReader;
-
-public class BitMask_Encoder extends SimpleTypeEncoderBase {
-
- private static final SimpleTypeEncoder encoder = XSDStringEncoder.getInstance();
- private static final BitMask_Encoder instance = new BitMask_Encoder();
-
- private BitMask_Encoder() {
- }
-
- public static SimpleTypeEncoder getInstance() {
- return instance;
- }
-
- public java.lang.String objectToString(java.lang.Object obj, XMLWriter writer) throws java.lang.Exception {
- java.lang.String value = ((BitMask)obj).getValue();
- return encoder.objectToString(value, writer);
- }
-
- public java.lang.Object stringToObject(java.lang.String str, XMLReader reader) throws java.lang.Exception {
- return BitMask.fromValue((java.lang.String)encoder.stringToObject(str, reader));
- }
-
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface ComplexDataTypesDocLitBService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitB getBasicHttpBinding_IComplexDataTypesDocLitB() throws ServiceException;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService_Impl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService_Impl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService_Impl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,61 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-
-public class ComplexDataTypesDocLitBService_Impl extends com.sun.xml.rpc.client.BasicService implements ComplexDataTypesDocLitBService {
- private static final QName serviceName = new QName("http://tempuri.org/", "ComplexDataTypesDocLitBService");
- private static final QName ns1_BasicHttpBinding_IComplexDataTypesDocLitB_QNAME = new QName("http://tempuri.org/", "BasicHttpBinding_IComplexDataTypesDocLitB");
- private static final Class IComplexDataTypesDocLitB_PortClass = org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitB.class;
-
- public ComplexDataTypesDocLitBService_Impl() {
- super(serviceName, new QName[] {
- ns1_BasicHttpBinding_IComplexDataTypesDocLitB_QNAME
- },
- new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ComplexDataTypesDocLitBService_SerializerRegistry().getRegistry());
-
- }
-
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (portName.equals(ns1_BasicHttpBinding_IComplexDataTypesDocLitB_QNAME) &&
- serviceDefInterface.equals(IComplexDataTypesDocLitB_PortClass)) {
- return getBasicHttpBinding_IComplexDataTypesDocLitB();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(portName, serviceDefInterface);
- }
-
- public java.rmi.Remote getPort(java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (serviceDefInterface.equals(IComplexDataTypesDocLitB_PortClass)) {
- return getBasicHttpBinding_IComplexDataTypesDocLitB();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(serviceDefInterface);
- }
-
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitB getBasicHttpBinding_IComplexDataTypesDocLitB() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_BasicHttpBinding_IComplexDataTypesDocLitB_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitB_Stub stub = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitB_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitBService_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,124 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class ComplexDataTypesDocLitBService_SerializerRegistry implements SerializerConstants {
- public ComplexDataTypesDocLitBService_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfshort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Employee");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Group");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralFragmentSerializer(SchemaConstants.QNAME_TYPE_URTYPE, NOT_NULLABLE, "");
- registerSerializer(mapping2,javax.xml.soap.SOAPElement.class, SchemaConstants.QNAME_TYPE_URTYPE, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfArrayOfstring");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdateTime");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfint");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table_LiteralSerializer(type, "", ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfanyType");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BitMask");
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(type, "",
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask_Encoder.getInstance());
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdecimal");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Furniture");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture_InterfaceSOAPSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "IntSet");
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(type, "",
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet_Encoder.getInstance());
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet.class, type, serializer);
- }
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface ComplexDataTypesDocLitWService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitW getBasicHttpBinding_IComplexDataTypesDocLitW() throws ServiceException;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService_Impl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService_Impl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService_Impl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,61 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-
-public class ComplexDataTypesDocLitWService_Impl extends com.sun.xml.rpc.client.BasicService implements ComplexDataTypesDocLitWService {
- private static final QName serviceName = new QName("http://tempuri.org/", "ComplexDataTypesDocLitWService");
- private static final QName ns1_BasicHttpBinding_IComplexDataTypesDocLitW_QNAME = new QName("http://tempuri.org/", "BasicHttpBinding_IComplexDataTypesDocLitW");
- private static final Class IComplexDataTypesDocLitW_PortClass = org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitW.class;
-
- public ComplexDataTypesDocLitWService_Impl() {
- super(serviceName, new QName[] {
- ns1_BasicHttpBinding_IComplexDataTypesDocLitW_QNAME
- },
- new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ComplexDataTypesDocLitWService_SerializerRegistry().getRegistry());
-
- }
-
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (portName.equals(ns1_BasicHttpBinding_IComplexDataTypesDocLitW_QNAME) &&
- serviceDefInterface.equals(IComplexDataTypesDocLitW_PortClass)) {
- return getBasicHttpBinding_IComplexDataTypesDocLitW();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(portName, serviceDefInterface);
- }
-
- public java.rmi.Remote getPort(java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (serviceDefInterface.equals(IComplexDataTypesDocLitW_PortClass)) {
- return getBasicHttpBinding_IComplexDataTypesDocLitW();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(serviceDefInterface);
- }
-
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitW getBasicHttpBinding_IComplexDataTypesDocLitW() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_BasicHttpBinding_IComplexDataTypesDocLitW_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitW_Stub stub = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitW_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesDocLitWService_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,264 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class ComplexDataTypesDocLitWService_SerializerRegistry implements SerializerConstants {
- public ComplexDataTypesDocLitWService_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdecimal");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDerivedClass");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfanyType");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetEnumStringResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNSAResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayInt1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayInt1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfint");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Group");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayDecimal1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayDateTime1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetEnumIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayString2D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "IntSet");
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(type, "",
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet_Encoder.getInstance());
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdateTime");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructS1Response");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table_LiteralSerializer(type, "", ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfArrayOfstring");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArray1D_SNResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayString2DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSN");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Furniture");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture_InterfaceSOAPSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayAnyType1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructS1");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDerivedClassResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayString1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayDecimal1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArray1D_SN");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfshort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNSAS");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayAnyType1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Employee");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNSASResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BitMask");
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(type, "",
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask_Encoder.getInstance());
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetEnumInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetEnumString");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayString1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayDateTime1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralFragmentSerializer(SchemaConstants.QNAME_TYPE_URTYPE, NOT_NULLABLE, "");
- registerSerializer(mapping2,javax.xml.soap.SOAPElement.class, SchemaConstants.QNAME_TYPE_URTYPE, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNSA");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA.class, type, serializer);
- }
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,7 +5,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface ComplexDataTypesRpcLitService extends javax.xml.rpc.Service {
public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit getBasicHttpBinding_IComplexDataTypesRpcLit() throws ServiceException;
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService_Impl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService_Impl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService_Impl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,61 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-
-public class ComplexDataTypesRpcLitService_Impl extends com.sun.xml.rpc.client.BasicService implements ComplexDataTypesRpcLitService {
- private static final QName serviceName = new QName("http://tempuri.org/", "ComplexDataTypesRpcLitService");
- private static final QName ns1_BasicHttpBinding_IComplexDataTypesRpcLit_QNAME = new QName("http://tempuri.org/", "BasicHttpBinding_IComplexDataTypesRpcLit");
- private static final Class IComplexDataTypesRpcLit_PortClass = org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit.class;
-
- public ComplexDataTypesRpcLitService_Impl() {
- super(serviceName, new QName[] {
- ns1_BasicHttpBinding_IComplexDataTypesRpcLit_QNAME
- },
- new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ComplexDataTypesRpcLitService_SerializerRegistry().getRegistry());
-
- }
-
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (portName.equals(ns1_BasicHttpBinding_IComplexDataTypesRpcLit_QNAME) &&
- serviceDefInterface.equals(IComplexDataTypesRpcLit_PortClass)) {
- return getBasicHttpBinding_IComplexDataTypesRpcLit();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(portName, serviceDefInterface);
- }
-
- public java.rmi.Remote getPort(java.lang.Class serviceDefInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (serviceDefInterface.equals(IComplexDataTypesRpcLit_PortClass)) {
- return getBasicHttpBinding_IComplexDataTypesRpcLit();
- }
- } catch (Exception e) {
- throw new ServiceExceptionImpl(new LocalizableExceptionAdapter(e));
- }
- return super.getPort(serviceDefInterface);
- }
-
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit getBasicHttpBinding_IComplexDataTypesRpcLit() {
- java.lang.String[] roles = new java.lang.String[] {};
- HandlerChainImpl handlerChain = new HandlerChainImpl(getHandlerRegistry().getHandlerChain(ns1_BasicHttpBinding_IComplexDataTypesRpcLit_QNAME));
- handlerChain.setRoles(roles);
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_Stub stub = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_Stub(handlerChain);
- try {
- stub._initialize(super.internalTypeRegistry);
- } catch (JAXRPCException e) {
- throw e;
- } catch (Exception e) {
- throw new JAXRPCException(e.getMessage(), e);
- }
- return stub;
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService_SerializerRegistry.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService_SerializerRegistry.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/ComplexDataTypesRpcLitService_SerializerRegistry.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,264 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import com.sun.xml.rpc.client.BasicService;
-import com.sun.xml.rpc.encoding.*;
-import com.sun.xml.rpc.encoding.simpletype.*;
-import com.sun.xml.rpc.encoding.soap.*;
-import com.sun.xml.rpc.encoding.literal.*;
-import com.sun.xml.rpc.soap.SOAPVersion;
-import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
-import javax.xml.rpc.*;
-import javax.xml.rpc.encoding.*;
-import javax.xml.namespace.QName;
-
-public class ComplexDataTypesRpcLitService_SerializerRegistry implements SerializerConstants {
- public ComplexDataTypesRpcLitService_SerializerRegistry() {
- }
-
- public TypeMappingRegistry getRegistry() {
-
- TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
- TypeMapping mapping12 = registry.getTypeMapping(SOAP12Constants.NS_SOAP_ENCODING);
- TypeMapping mapping = registry.getTypeMapping(SOAPConstants.NS_SOAP_ENCODING);
- TypeMapping mapping2 = registry.getTypeMapping("");
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfanyType");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDerivedClassResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNSASResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArray1D_SN");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSN");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "IntSet");
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(type, "",
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet_Encoder.getInstance());
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table_LiteralSerializer(type, "", ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNSA");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayInt1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayString2DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayDateTime1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Group");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayInt1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfint");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetEnumInt");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructS1");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayString2D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayDecimal1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Employee");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayString1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdecimal");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayAnyType1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayAnyType1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BitMask");
- CombinedSerializer serializer = new LiteralSimpleTypeSerializer(type, "",
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask_Encoder.getInstance());
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetEnumString");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNSAS");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfArrayOfstring");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetEnumStringResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayString1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayDateTime1DResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdateTime");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructS1Response");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetEnumIntResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfshort");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort.class, type, serializer);
- }
- {
- CombinedSerializer serializer = new LiteralFragmentSerializer(SchemaConstants.QNAME_TYPE_URTYPE, NOT_NULLABLE, "");
- registerSerializer(mapping2,javax.xml.soap.SOAPElement.class, SchemaConstants.QNAME_TYPE_URTYPE, serializer);
- }
- {
- QName type = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArrayDecimal1D");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNSAResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetDerivedClass");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Furniture");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture_InterfaceSOAPSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetArray1D_SNResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct.class, type, serializer);
- }
- {
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, type, serializer);
- }
- {
- QName type = new QName("http://tempuri.org/", "RetStructSNResponse");
- CombinedSerializer serializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- registerSerializer(mapping2,org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct.class, type, serializer);
- }
- return registry;
- }
-
- private static void registerSerializer(TypeMapping mapping, java.lang.Class javaType, javax.xml.namespace.QName xmlType,
- Serializer ser) {
- mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
- new SingletonDeserializerFactory((Deserializer)ser));
- }
-
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Employee_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Employee_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Employee_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,109 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Employee_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns5_BaseDetails_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BaseDetails");
- private static final javax.xml.namespace.QName ns5_Person_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- private CombinedSerializer ns5_myPerson_LiteralSerializer;
- private static final javax.xml.namespace.QName ns5_HireDate_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "HireDate");
- private static final javax.xml.namespace.QName ns2_dateTime_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DATE_TIME;
- private CombinedSerializer ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer;
- private static final javax.xml.namespace.QName ns5_JobID_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "JobID");
- private static final javax.xml.namespace.QName ns2_unsignedInt_TYPE_QNAME = SchemaConstants.QNAME_TYPE_UNSIGNED_INT;
- private CombinedSerializer ns2_myns2_unsignedInt__long_UnsignedInt_Serializer;
- private static final javax.xml.namespace.QName ns5_numbers_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "numbers");
- private static final javax.xml.namespace.QName ns1_ArrayOfshort_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfshort");
- private CombinedSerializer ns1_myArrayOfshort_LiteralSerializer;
-
- public Employee_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public Employee_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, ns5_Person_TYPE_QNAME);
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer = (CombinedSerializer)registry.getSerializer("", java.util.Calendar.class, ns2_dateTime_TYPE_QNAME);
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer = (CombinedSerializer)registry.getSerializer("", long.class, ns2_unsignedInt_TYPE_QNAME);
- ns1_myArrayOfshort_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort.class, ns1_ArrayOfshort_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_BaseDetails_QNAME)) {
- member = ns5_myPerson_LiteralSerializer.deserialize(ns5_BaseDetails_QNAME, reader, context);
- instance.setBaseDetails((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_HireDate_QNAME)) {
- member = ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.deserialize(ns5_HireDate_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setHireDate((java.util.Calendar)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_JobID_QNAME)) {
- member = ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.deserialize(ns5_JobID_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setJobID(((Long)member).longValue());
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_numbers_QNAME)) {
- member = ns1_myArrayOfshort_LiteralSerializer.deserialize(ns5_numbers_QNAME, reader, context);
- instance.setNumbers((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee)obj;
-
- ns5_myPerson_LiteralSerializer.serialize(instance.getBaseDetails(), ns5_BaseDetails_QNAME, null, writer, context);
- if (instance.getHireDate() != null) {
- ns2_myns2_dateTime__java_util_Calendar_DateTimeCalendar_Serializer.serialize(instance.getHireDate(), ns5_HireDate_QNAME, null, writer, context);
- }
- ns2_myns2_unsignedInt__long_UnsignedInt_Serializer.serialize(new Long(instance.getJobID()), ns5_JobID_QNAME, null, writer, context);
- ns1_myArrayOfshort_LiteralSerializer.serialize(instance.getNumbers(), ns5_numbers_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Furniture_InterfaceSOAPSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Furniture_InterfaceSOAPSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Furniture_InterfaceSOAPSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,54 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class Furniture_InterfaceSOAPSerializer extends InterfaceSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns1_Table_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- private CombinedSerializer ns1_myTable_LiteralSerializer;
- private CombinedSerializer ns1_myFurniture_LiteralSerializer;
-
- public Furniture_InterfaceSOAPSerializer(QName type, String encodingStyle, boolean encodeType) {
- super(type, encodeType, true, encodingStyle);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myTable_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, ns1_Table_TYPE_QNAME);
- ns1_myTable_LiteralSerializer = ns1_myTable_LiteralSerializer.getInnermostSerializer();
- QName type = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Furniture");
- CombinedSerializer interfaceSerializer = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture_LiteralSerializer(type, "", DONT_ENCODE_TYPE);
- ns1_myFurniture_LiteralSerializer = interfaceSerializer.getInnermostSerializer();
- if (ns1_myFurniture_LiteralSerializer instanceof Initializable) {
- ((Initializable)ns1_myFurniture_LiteralSerializer).initialize(registry);
- }
- }
-
- public java.lang.Object doDeserialize(javax.xml.namespace.QName name, XMLReader reader,
- SOAPDeserializationContext context) throws Exception {
- javax.xml.namespace.QName elementType = getType(reader);
- if (elementType != null && elementType.equals(ns1_myTable_LiteralSerializer.getXmlType())) {
- return ns1_myTable_LiteralSerializer.deserialize(name, reader, context);
- } else if (elementType == null || elementType.equals(ns1_myFurniture_LiteralSerializer.getXmlType())) {
- Object obj = ns1_myFurniture_LiteralSerializer.deserialize(name, reader, context);
- return obj;
- }
- throw new DeserializationException("soap.unexpectedElementType", new Object[] {"", elementType.toString()});
- }
-
- public void doSerializeInstance(java.lang.Object obj, javax.xml.namespace.QName name, SerializerCallback callback,
- XMLWriter writer, SOAPSerializationContext context) throws Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture)obj;
-
- if (obj instanceof org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table) {
- ns1_myTable_LiteralSerializer.serialize(obj, name, callback, writer, context);
- } else {
- ns1_myFurniture_LiteralSerializer.serialize(obj, name, callback, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Furniture_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Furniture_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Furniture_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,80 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Furniture_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns5_color_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "color");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
- private static final javax.xml.namespace.QName ns5_price_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "price");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
-
- public Furniture_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public Furniture_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_color_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns5_color_QNAME, reader, context);
- instance.setColor((java.lang.String)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_price_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns5_price_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setPrice((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Furniture)obj;
-
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getColor(), ns5_color_QNAME, null, writer, context);
- if (instance.getPrice() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getPrice(), ns5_price_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Group_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Group_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Group_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,75 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Group_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns5_members_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "members");
- private static final javax.xml.namespace.QName ns5_ArrayOfPerson_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- private CombinedSerializer ns5_myArrayOfPerson_LiteralSerializer;
- private static final javax.xml.namespace.QName ns5_name_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "name");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public Group_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public Group_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myArrayOfPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, ns5_ArrayOfPerson_TYPE_QNAME);
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_members_QNAME)) {
- member = ns5_myArrayOfPerson_LiteralSerializer.deserialize(ns5_members_QNAME, reader, context);
- instance.setMembers((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_name_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns5_name_QNAME, reader, context);
- instance.setName((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group)obj;
-
- ns5_myArrayOfPerson_LiteralSerializer.serialize(instance.getMembers(), ns5_members_QNAME, null, writer, context);
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getName(), ns5_name_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesDocLitB_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesDocLitB_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesDocLitB_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,1060 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesDocLitB_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitB {
-
-
-
- /*
- * public constructor
- */
- public IComplexDataTypesDocLitB_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc");
- }
-
-
- /*
- * implementation of retStructSNSAS
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group retStructSNSAS(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group inStructSNSAS)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSNSAS_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSAS_inStructSNSAS_QNAME);
- _bodyBlock.setValue(inStructSNSAS);
- _bodyBlock.setSerializer(ns2_myGroup_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayString2D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring retArrayString2D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring inArrayString2D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayString2D_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayString2D_inArrayString2D_QNAME);
- _bodyBlock.setValue(inArrayString2D);
- _bodyBlock.setSerializer(ns3_myArrayOfArrayOfstring_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayDecimal1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal retArrayDecimal1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal inArrayDecimal1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayDecimal1D_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayDecimal1D_inArrayDecimal1D_QNAME);
- _bodyBlock.setValue(inArrayDecimal1D);
- _bodyBlock.setSerializer(ns4_myArrayOfNullableOfdecimal_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retEnumString
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask retEnumString(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask inEnumString)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetEnumString_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetEnumString_inEnumString_QNAME);
- _bodyBlock.setValue(inEnumString);
- _bodyBlock.setSerializer(ns2myns2_BitMask__BitMask_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayDateTime1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime retArrayDateTime1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime inArrayDateTime1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayDateTime1D_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayDateTime1D_inArrayDateTime1D_QNAME);
- _bodyBlock.setValue(inArrayDateTime1D);
- _bodyBlock.setSerializer(ns4_myArrayOfNullableOfdateTime_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayAnyType1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType retArrayAnyType1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType inArrayAnyType1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayAnyType1D_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayAnyType1D_inArrayAnyType1D_QNAME);
- _bodyBlock.setValue(inArrayAnyType1D);
- _bodyBlock.setSerializer(ns3_myArrayOfanyType_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArray1D_SN
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson retArray1D_SN(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson inArray1D_SN)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArray1D_SN_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArray1D_SN_inArray1D_SN_QNAME);
- _bodyBlock.setValue(inArray1D_SN);
- _bodyBlock.setSerializer(ns2_myArrayOfPerson_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructS1
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name retStructS1(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name inStructS1)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructS1_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructS1_inStructS1_QNAME);
- _bodyBlock.setValue(inStructS1);
- _bodyBlock.setSerializer(ns2_myName_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayString1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring retArrayString1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring inArrayString1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayString1D_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayString1D_inArrayString1D_QNAME);
- _bodyBlock.setValue(inArrayString1D);
- _bodyBlock.setSerializer(ns3_myArrayOfstring_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retEnumInt
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet retEnumInt(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet inEnumInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetEnumInt_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetEnumInt_inEnumInt_QNAME);
- _bodyBlock.setValue(inEnumInt);
- _bodyBlock.setSerializer(ns2myns2_IntSet__IntSet_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayInt1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint retArrayInt1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint inArrayInt1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayInt1D_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayInt1D_inArrayInt1D_QNAME);
- _bodyBlock.setValue(inArrayInt1D);
- _bodyBlock.setSerializer(ns3_myArrayOfint_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDerivedClass
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table retDerivedClass(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table inDerivedClass)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDerivedClass_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDerivedClass_inDerivedClass_QNAME);
- _bodyBlock.setValue(inDerivedClass);
- _bodyBlock.setSerializer(ns2_myTable_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructSN
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person retStructSN(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person inStructSN)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSN_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSN_inStructSN_QNAME);
- _bodyBlock.setValue(inStructSN);
- _bodyBlock.setSerializer(ns2_myPerson_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructSNSA
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee retStructSNSA(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee inStructSNSA)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSNSA_OPCODE);
-
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSA_inStructSNSA_QNAME);
- _bodyBlock.setValue(inStructSNSA);
- _bodyBlock.setSerializer(ns2_myEmployee_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee)_responseObj;
- }
-
- return _result;
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case RetStructSNSAS_OPCODE:
- _deserialize_RetStructSNSAS(bodyReader, deserializationContext, state);
- break;
- case RetArrayString2D_OPCODE:
- _deserialize_RetArrayString2D(bodyReader, deserializationContext, state);
- break;
- case RetArrayDecimal1D_OPCODE:
- _deserialize_RetArrayDecimal1D(bodyReader, deserializationContext, state);
- break;
- case RetEnumString_OPCODE:
- _deserialize_RetEnumString(bodyReader, deserializationContext, state);
- break;
- case RetArrayDateTime1D_OPCODE:
- _deserialize_RetArrayDateTime1D(bodyReader, deserializationContext, state);
- break;
- case RetArrayAnyType1D_OPCODE:
- _deserialize_RetArrayAnyType1D(bodyReader, deserializationContext, state);
- break;
- case RetArray1D_SN_OPCODE:
- _deserialize_RetArray1D_SN(bodyReader, deserializationContext, state);
- break;
- case RetStructS1_OPCODE:
- _deserialize_RetStructS1(bodyReader, deserializationContext, state);
- break;
- case RetArrayString1D_OPCODE:
- _deserialize_RetArrayString1D(bodyReader, deserializationContext, state);
- break;
- case RetEnumInt_OPCODE:
- _deserialize_RetEnumInt(bodyReader, deserializationContext, state);
- break;
- case RetArrayInt1D_OPCODE:
- _deserialize_RetArrayInt1D(bodyReader, deserializationContext, state);
- break;
- case RetDerivedClass_OPCODE:
- _deserialize_RetDerivedClass(bodyReader, deserializationContext, state);
- break;
- case RetStructSN_OPCODE:
- _deserialize_RetStructSN(bodyReader, deserializationContext, state);
- break;
- case RetStructSNSA_OPCODE:
- _deserialize_RetStructSNSA(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the RetStructSNSAS operation.
- */
- private void _deserialize_RetStructSNSAS(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myGroupObj =
- ns2_myGroup_LiteralSerializer.deserialize(ns1_RetStructSNSAS_RetStructSNSASResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSAS_RetStructSNSASResult_QNAME);
- bodyBlock.setValue(myGroupObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayString2D operation.
- */
- private void _deserialize_RetArrayString2D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myArrayOfArrayOfstringObj =
- ns3_myArrayOfArrayOfstring_LiteralSerializer.deserialize(ns1_RetArrayString2D_RetArrayString2DResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayString2D_RetArrayString2DResult_QNAME);
- bodyBlock.setValue(myArrayOfArrayOfstringObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayDecimal1D operation.
- */
- private void _deserialize_RetArrayDecimal1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myArrayOfNullableOfdecimalObj =
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer.deserialize(ns1_RetArrayDecimal1D_RetArrayDecimal1DResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayDecimal1D_RetArrayDecimal1DResult_QNAME);
- bodyBlock.setValue(myArrayOfNullableOfdecimalObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetEnumString operation.
- */
- private void _deserialize_RetEnumString(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myBitMaskObj =
- ns2myns2_BitMask__BitMask_LiteralSerializer.deserialize(ns1_RetEnumString_RetEnumStringResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetEnumString_RetEnumStringResult_QNAME);
- bodyBlock.setValue(myBitMaskObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayDateTime1D operation.
- */
- private void _deserialize_RetArrayDateTime1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myArrayOfNullableOfdateTimeObj =
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer.deserialize(ns1_RetArrayDateTime1D_RetArrayDateTime1DResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayDateTime1D_RetArrayDateTime1DResult_QNAME);
- bodyBlock.setValue(myArrayOfNullableOfdateTimeObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayAnyType1D operation.
- */
- private void _deserialize_RetArrayAnyType1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myArrayOfanyTypeObj =
- ns3_myArrayOfanyType_LiteralSerializer.deserialize(ns1_RetArrayAnyType1D_RetArrayAnyType1DResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayAnyType1D_RetArrayAnyType1DResult_QNAME);
- bodyBlock.setValue(myArrayOfanyTypeObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArray1D_SN operation.
- */
- private void _deserialize_RetArray1D_SN(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myArrayOfPersonObj =
- ns2_myArrayOfPerson_LiteralSerializer.deserialize(ns1_RetArray1D_SN_RetArray1D_SNResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArray1D_SN_RetArray1D_SNResult_QNAME);
- bodyBlock.setValue(myArrayOfPersonObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructS1 operation.
- */
- private void _deserialize_RetStructS1(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myNameObj =
- ns2_myName_LiteralSerializer.deserialize(ns1_RetStructS1_RetStructS1Result_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructS1_RetStructS1Result_QNAME);
- bodyBlock.setValue(myNameObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayString1D operation.
- */
- private void _deserialize_RetArrayString1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myArrayOfstringObj =
- ns3_myArrayOfstring_LiteralSerializer.deserialize(ns1_RetArrayString1D_RetArrayString1DResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayString1D_RetArrayString1DResult_QNAME);
- bodyBlock.setValue(myArrayOfstringObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetEnumInt operation.
- */
- private void _deserialize_RetEnumInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIntSetObj =
- ns2myns2_IntSet__IntSet_LiteralSerializer.deserialize(ns1_RetEnumInt_RetEnumIntResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetEnumInt_RetEnumIntResult_QNAME);
- bodyBlock.setValue(myIntSetObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayInt1D operation.
- */
- private void _deserialize_RetArrayInt1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myArrayOfintObj =
- ns3_myArrayOfint_LiteralSerializer.deserialize(ns1_RetArrayInt1D_RetArrayInt1DResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayInt1D_RetArrayInt1DResult_QNAME);
- bodyBlock.setValue(myArrayOfintObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDerivedClass operation.
- */
- private void _deserialize_RetDerivedClass(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myTableObj =
- ns2_myTable_LiteralSerializer.deserialize(ns1_RetDerivedClass_RetDerivedClassResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDerivedClass_RetDerivedClassResult_QNAME);
- bodyBlock.setValue(myTableObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructSN operation.
- */
- private void _deserialize_RetStructSN(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myPersonObj =
- ns2_myPerson_LiteralSerializer.deserialize(ns1_RetStructSN_RetStructSNResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSN_RetStructSNResult_QNAME);
- bodyBlock.setValue(myPersonObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructSNSA operation.
- */
- private void _deserialize_RetStructSNSA(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myEmployeeObj =
- ns2_myEmployee_LiteralSerializer.deserialize(ns1_RetStructSNSA_RetStructSNSAResult_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSA_RetStructSNSAResult_QNAME);
- bodyBlock.setValue(myEmployeeObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns3_myArrayOfanyType_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType.class, ns3_ArrayOfanyType_TYPE_QNAME);
- ns2_myArrayOfPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, ns2_ArrayOfPerson_TYPE_QNAME);
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal.class, ns4_ArrayOfNullableOfdecimal_TYPE_QNAME);
- ns3_myArrayOfint_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint.class, ns3_ArrayOfint_TYPE_QNAME);
- ns2_myPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, ns2_Person_TYPE_QNAME);
- ns2_myTable_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, ns2_Table_TYPE_QNAME);
- ns3_myArrayOfArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring.class, ns3_ArrayOfArrayOfstring_TYPE_QNAME);
- ns2_myName_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name.class, ns2_Name_TYPE_QNAME);
- ns2myns2_IntSet__IntSet_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet.class, ns2_IntSet_TYPE_QNAME);
- ns2_myGroup_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group.class, ns2_Group_TYPE_QNAME);
- ns2_myEmployee_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee.class, ns2_Employee_TYPE_QNAME);
- ns2myns2_BitMask__BitMask_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask.class, ns2_BitMask_TYPE_QNAME);
- ns3_myArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, ns3_ArrayOfstring_TYPE_QNAME);
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime.class, ns4_ArrayOfNullableOfdateTime_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "BasicHttpBinding_IComplexDataTypesDocLitB");
- private static final int RetStructSNSAS_OPCODE = 0;
- private static final int RetArrayString2D_OPCODE = 1;
- private static final int RetArrayDecimal1D_OPCODE = 2;
- private static final int RetEnumString_OPCODE = 3;
- private static final int RetArrayDateTime1D_OPCODE = 4;
- private static final int RetArrayAnyType1D_OPCODE = 5;
- private static final int RetArray1D_SN_OPCODE = 6;
- private static final int RetStructS1_OPCODE = 7;
- private static final int RetArrayString1D_OPCODE = 8;
- private static final int RetEnumInt_OPCODE = 9;
- private static final int RetArrayInt1D_OPCODE = 10;
- private static final int RetDerivedClass_OPCODE = 11;
- private static final int RetStructSN_OPCODE = 12;
- private static final int RetStructSNSA_OPCODE = 13;
- private static final javax.xml.namespace.QName ns1_RetStructSNSAS_inStructSNSAS_QNAME = new QName("http://tempuri.org/", "inStructSNSAS");
- private static final javax.xml.namespace.QName ns2_Group_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Group");
- private CombinedSerializer ns2_myGroup_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSAS_RetStructSNSASResult_QNAME = new QName("http://tempuri.org/", "RetStructSNSASResult");
- private static final javax.xml.namespace.QName ns1_RetArrayString2D_inArrayString2D_QNAME = new QName("http://tempuri.org/", "inArrayString2D");
- private static final javax.xml.namespace.QName ns3_ArrayOfArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfArrayOfstring");
- private CombinedSerializer ns3_myArrayOfArrayOfstring_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString2D_RetArrayString2DResult_QNAME = new QName("http://tempuri.org/", "RetArrayString2DResult");
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1D_inArrayDecimal1D_QNAME = new QName("http://tempuri.org/", "inArrayDecimal1D");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdecimal_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdecimal");
- private CombinedSerializer ns4_myArrayOfNullableOfdecimal_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1D_RetArrayDecimal1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1DResult");
- private static final javax.xml.namespace.QName ns1_RetEnumString_inEnumString_QNAME = new QName("http://tempuri.org/", "inEnumString");
- private static final javax.xml.namespace.QName ns2_BitMask_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BitMask");
- private CombinedSerializer ns2myns2_BitMask__BitMask_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumString_RetEnumStringResult_QNAME = new QName("http://tempuri.org/", "RetEnumStringResult");
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1D_inArrayDateTime1D_QNAME = new QName("http://tempuri.org/", "inArrayDateTime1D");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdateTime_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdateTime");
- private CombinedSerializer ns4_myArrayOfNullableOfdateTime_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1D_RetArrayDateTime1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1DResult");
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1D_inArrayAnyType1D_QNAME = new QName("http://tempuri.org/", "inArrayAnyType1D");
- private static final javax.xml.namespace.QName ns3_ArrayOfanyType_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfanyType");
- private CombinedSerializer ns3_myArrayOfanyType_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1D_RetArrayAnyType1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1DResult");
- private static final javax.xml.namespace.QName ns1_RetArray1D_SN_inArray1D_SN_QNAME = new QName("http://tempuri.org/", "inArray1D_SN");
- private static final javax.xml.namespace.QName ns2_ArrayOfPerson_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- private CombinedSerializer ns2_myArrayOfPerson_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArray1D_SN_RetArray1D_SNResult_QNAME = new QName("http://tempuri.org/", "RetArray1D_SNResult");
- private static final javax.xml.namespace.QName ns1_RetStructS1_inStructS1_QNAME = new QName("http://tempuri.org/", "inStructS1");
- private static final javax.xml.namespace.QName ns2_Name_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- private CombinedSerializer ns2_myName_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructS1_RetStructS1Result_QNAME = new QName("http://tempuri.org/", "RetStructS1Result");
- private static final javax.xml.namespace.QName ns1_RetArrayString1D_inArrayString1D_QNAME = new QName("http://tempuri.org/", "inArrayString1D");
- private static final javax.xml.namespace.QName ns3_ArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- private CombinedSerializer ns3_myArrayOfstring_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString1D_RetArrayString1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayString1DResult");
- private static final javax.xml.namespace.QName ns1_RetEnumInt_inEnumInt_QNAME = new QName("http://tempuri.org/", "inEnumInt");
- private static final javax.xml.namespace.QName ns2_IntSet_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "IntSet");
- private CombinedSerializer ns2myns2_IntSet__IntSet_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumInt_RetEnumIntResult_QNAME = new QName("http://tempuri.org/", "RetEnumIntResult");
- private static final javax.xml.namespace.QName ns1_RetArrayInt1D_inArrayInt1D_QNAME = new QName("http://tempuri.org/", "inArrayInt1D");
- private static final javax.xml.namespace.QName ns3_ArrayOfint_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfint");
- private CombinedSerializer ns3_myArrayOfint_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayInt1D_RetArrayInt1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayInt1DResult");
- private static final javax.xml.namespace.QName ns1_RetDerivedClass_inDerivedClass_QNAME = new QName("http://tempuri.org/", "inDerivedClass");
- private static final javax.xml.namespace.QName ns2_Table_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- private CombinedSerializer ns2_myTable_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDerivedClass_RetDerivedClassResult_QNAME = new QName("http://tempuri.org/", "RetDerivedClassResult");
- private static final javax.xml.namespace.QName ns1_RetStructSN_inStructSN_QNAME = new QName("http://tempuri.org/", "inStructSN");
- private static final javax.xml.namespace.QName ns2_Person_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- private CombinedSerializer ns2_myPerson_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSN_RetStructSNResult_QNAME = new QName("http://tempuri.org/", "RetStructSNResult");
- private static final javax.xml.namespace.QName ns1_RetStructSNSA_inStructSNSA_QNAME = new QName("http://tempuri.org/", "inStructSNSA");
- private static final javax.xml.namespace.QName ns2_Employee_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Employee");
- private CombinedSerializer ns2_myEmployee_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSA_RetStructSNSAResult_QNAME = new QName("http://tempuri.org/", "RetStructSNSAResult");
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
- "ns0", "http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo",
- "ns1", "http://schemas.microsoft.com/2003/10/Serialization/Arrays",
- "ns2", "http://schemas.datacontract.org/2004/07/System"
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesDocLitW_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesDocLitW_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesDocLitW_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,1128 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesDocLitW_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesDocLitW {
-
-
-
- /*
- * public constructor
- */
- public IComplexDataTypesDocLitW_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc");
- }
-
-
- /*
- * implementation of retStructSN
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person retStructSN(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person inStructSN)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSN_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN _myRetStructSN = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN();
- _myRetStructSN.setInStructSN(inStructSN);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSN_RetStructSN_QNAME);
- _bodyBlock.setValue(_myRetStructSN);
- _bodyBlock.setSerializer(ns1_myRetStructSN_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse)_responseObj;
- }
-
- return _result.getRetStructSNResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retDerivedClass
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table retDerivedClass(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table inDerivedClass)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDerivedClass_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass _myRetDerivedClass = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass();
- _myRetDerivedClass.setInDerivedClass(inDerivedClass);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDerivedClass_RetDerivedClass_QNAME);
- _bodyBlock.setValue(_myRetDerivedClass);
- _bodyBlock.setSerializer(ns1_myRetDerivedClass_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse)_responseObj;
- }
-
- return _result.getRetDerivedClassResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructS1
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name retStructS1(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name inStructS1)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructS1_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1 _myRetStructS1 = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1();
- _myRetStructS1.setInStructS1(inStructS1);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructS1_RetStructS1_QNAME);
- _bodyBlock.setValue(_myRetStructS1);
- _bodyBlock.setSerializer(ns1_myRetStructS1_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response)_responseObj;
- }
-
- return _result.getRetStructS1Result();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayString2D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring retArrayString2D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring inArrayString2D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayString2D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D _myRetArrayString2D = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D();
- _myRetArrayString2D.setInArrayString2D(inArrayString2D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayString2D_RetArrayString2D_QNAME);
- _bodyBlock.setValue(_myRetArrayString2D);
- _bodyBlock.setSerializer(ns1_myRetArrayString2D_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse)_responseObj;
- }
-
- return _result.getRetArrayString2DResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArray1D_SN
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson retArray1D_SN(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson inArray1D_SN)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArray1D_SN_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN _myRetArray1D_SN = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN();
- _myRetArray1D_SN.setInArray1D_SN(inArray1D_SN);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArray1D_SN_RetArray1D_SN_QNAME);
- _bodyBlock.setValue(_myRetArray1D_SN);
- _bodyBlock.setSerializer(ns1_myRetArray1D_SN_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse)_responseObj;
- }
-
- return _result.getRetArray1D_SNResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayString1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring retArrayString1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring inArrayString1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayString1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D _myRetArrayString1D = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D();
- _myRetArrayString1D.setInArrayString1D(inArrayString1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayString1D_RetArrayString1D_QNAME);
- _bodyBlock.setValue(_myRetArrayString1D);
- _bodyBlock.setSerializer(ns1_myRetArrayString1D_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse)_responseObj;
- }
-
- return _result.getRetArrayString1DResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayAnyType1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType retArrayAnyType1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType inArrayAnyType1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayAnyType1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D _myRetArrayAnyType1D = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D();
- _myRetArrayAnyType1D.setInArrayAnyType1D(inArrayAnyType1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayAnyType1D_RetArrayAnyType1D_QNAME);
- _bodyBlock.setValue(_myRetArrayAnyType1D);
- _bodyBlock.setSerializer(ns1_myRetArrayAnyType1D_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse)_responseObj;
- }
-
- return _result.getRetArrayAnyType1DResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructSNSAS
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group retStructSNSAS(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group inStructSNSAS)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSNSAS_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS _myRetStructSNSAS = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS();
- _myRetStructSNSAS.setInStructSNSAS(inStructSNSAS);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSAS_RetStructSNSAS_QNAME);
- _bodyBlock.setValue(_myRetStructSNSAS);
- _bodyBlock.setSerializer(ns1_myRetStructSNSAS_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse)_responseObj;
- }
-
- return _result.getRetStructSNSASResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retEnumInt
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet retEnumInt(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet inEnumInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetEnumInt_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt _myRetEnumInt = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt();
- _myRetEnumInt.setInEnumInt(inEnumInt);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetEnumInt_RetEnumInt_QNAME);
- _bodyBlock.setValue(_myRetEnumInt);
- _bodyBlock.setSerializer(ns1_myRetEnumInt_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse)_responseObj;
- }
-
- return _result.getRetEnumIntResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructSNSA
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee retStructSNSA(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee inStructSNSA)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSNSA_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA _myRetStructSNSA = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA();
- _myRetStructSNSA.setInStructSNSA(inStructSNSA);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSA_RetStructSNSA_QNAME);
- _bodyBlock.setValue(_myRetStructSNSA);
- _bodyBlock.setSerializer(ns1_myRetStructSNSA_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse)_responseObj;
- }
-
- return _result.getRetStructSNSAResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayInt1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint retArrayInt1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint inArrayInt1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayInt1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D _myRetArrayInt1D = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D();
- _myRetArrayInt1D.setInArrayInt1D(inArrayInt1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayInt1D_RetArrayInt1D_QNAME);
- _bodyBlock.setValue(_myRetArrayInt1D);
- _bodyBlock.setSerializer(ns1_myRetArrayInt1D_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse)_responseObj;
- }
-
- return _result.getRetArrayInt1DResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayDecimal1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal retArrayDecimal1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal inArrayDecimal1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayDecimal1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D _myRetArrayDecimal1D = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D();
- _myRetArrayDecimal1D.setInArrayDecimal1D(inArrayDecimal1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayDecimal1D_RetArrayDecimal1D_QNAME);
- _bodyBlock.setValue(_myRetArrayDecimal1D);
- _bodyBlock.setSerializer(ns1_myRetArrayDecimal1D_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse)_responseObj;
- }
-
- return _result.getRetArrayDecimal1DResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retEnumString
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask retEnumString(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask inEnumString)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetEnumString_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString _myRetEnumString = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString();
- _myRetEnumString.setInEnumString(inEnumString);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetEnumString_RetEnumString_QNAME);
- _bodyBlock.setValue(_myRetEnumString);
- _bodyBlock.setSerializer(ns1_myRetEnumString_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse)_responseObj;
- }
-
- return _result.getRetEnumStringResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayDateTime1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime retArrayDateTime1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime inArrayDateTime1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayDateTime1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D _myRetArrayDateTime1D = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D();
- _myRetArrayDateTime1D.setInArrayDateTime1D(inArrayDateTime1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayDateTime1D_RetArrayDateTime1D_QNAME);
- _bodyBlock.setValue(_myRetArrayDateTime1D);
- _bodyBlock.setSerializer(ns1_myRetArrayDateTime1D_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse _result = null;
- java.lang.Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse)((SOAPDeserializationState) _responseObj).getInstance();
- } else {
- _result = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse)_responseObj;
- }
-
- return _result.getRetArrayDateTime1DResult();
-
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case RetStructSN_OPCODE:
- _deserialize_RetStructSN(bodyReader, deserializationContext, state);
- break;
- case RetDerivedClass_OPCODE:
- _deserialize_RetDerivedClass(bodyReader, deserializationContext, state);
- break;
- case RetStructS1_OPCODE:
- _deserialize_RetStructS1(bodyReader, deserializationContext, state);
- break;
- case RetArrayString2D_OPCODE:
- _deserialize_RetArrayString2D(bodyReader, deserializationContext, state);
- break;
- case RetArray1D_SN_OPCODE:
- _deserialize_RetArray1D_SN(bodyReader, deserializationContext, state);
- break;
- case RetArrayString1D_OPCODE:
- _deserialize_RetArrayString1D(bodyReader, deserializationContext, state);
- break;
- case RetArrayAnyType1D_OPCODE:
- _deserialize_RetArrayAnyType1D(bodyReader, deserializationContext, state);
- break;
- case RetStructSNSAS_OPCODE:
- _deserialize_RetStructSNSAS(bodyReader, deserializationContext, state);
- break;
- case RetEnumInt_OPCODE:
- _deserialize_RetEnumInt(bodyReader, deserializationContext, state);
- break;
- case RetStructSNSA_OPCODE:
- _deserialize_RetStructSNSA(bodyReader, deserializationContext, state);
- break;
- case RetArrayInt1D_OPCODE:
- _deserialize_RetArrayInt1D(bodyReader, deserializationContext, state);
- break;
- case RetArrayDecimal1D_OPCODE:
- _deserialize_RetArrayDecimal1D(bodyReader, deserializationContext, state);
- break;
- case RetEnumString_OPCODE:
- _deserialize_RetEnumString(bodyReader, deserializationContext, state);
- break;
- case RetArrayDateTime1D_OPCODE:
- _deserialize_RetArrayDateTime1D(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the RetStructSN operation.
- */
- private void _deserialize_RetStructSN(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetStructSNResponseObj =
- ns1_myRetStructSNResponse_LiteralSerializer.deserialize(ns1_RetStructSN_RetStructSNResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSN_RetStructSNResponse_QNAME);
- bodyBlock.setValue(myRetStructSNResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetDerivedClass operation.
- */
- private void _deserialize_RetDerivedClass(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetDerivedClassResponseObj =
- ns1_myRetDerivedClassResponse_LiteralSerializer.deserialize(ns1_RetDerivedClass_RetDerivedClassResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDerivedClass_RetDerivedClassResponse_QNAME);
- bodyBlock.setValue(myRetDerivedClassResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructS1 operation.
- */
- private void _deserialize_RetStructS1(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetStructS1ResponseObj =
- ns1_myRetStructS1Response_LiteralSerializer.deserialize(ns1_RetStructS1_RetStructS1Response_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructS1_RetStructS1Response_QNAME);
- bodyBlock.setValue(myRetStructS1ResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayString2D operation.
- */
- private void _deserialize_RetArrayString2D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetArrayString2DResponseObj =
- ns1_myRetArrayString2DResponse_LiteralSerializer.deserialize(ns1_RetArrayString2D_RetArrayString2DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayString2D_RetArrayString2DResponse_QNAME);
- bodyBlock.setValue(myRetArrayString2DResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArray1D_SN operation.
- */
- private void _deserialize_RetArray1D_SN(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetArray1D_SNResponseObj =
- ns1_myRetArray1D_SNResponse_LiteralSerializer.deserialize(ns1_RetArray1D_SN_RetArray1D_SNResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArray1D_SN_RetArray1D_SNResponse_QNAME);
- bodyBlock.setValue(myRetArray1D_SNResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayString1D operation.
- */
- private void _deserialize_RetArrayString1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetArrayString1DResponseObj =
- ns1_myRetArrayString1DResponse_LiteralSerializer.deserialize(ns1_RetArrayString1D_RetArrayString1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayString1D_RetArrayString1DResponse_QNAME);
- bodyBlock.setValue(myRetArrayString1DResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayAnyType1D operation.
- */
- private void _deserialize_RetArrayAnyType1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetArrayAnyType1DResponseObj =
- ns1_myRetArrayAnyType1DResponse_LiteralSerializer.deserialize(ns1_RetArrayAnyType1D_RetArrayAnyType1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayAnyType1D_RetArrayAnyType1DResponse_QNAME);
- bodyBlock.setValue(myRetArrayAnyType1DResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructSNSAS operation.
- */
- private void _deserialize_RetStructSNSAS(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetStructSNSASResponseObj =
- ns1_myRetStructSNSASResponse_LiteralSerializer.deserialize(ns1_RetStructSNSAS_RetStructSNSASResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSAS_RetStructSNSASResponse_QNAME);
- bodyBlock.setValue(myRetStructSNSASResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetEnumInt operation.
- */
- private void _deserialize_RetEnumInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetEnumIntResponseObj =
- ns1_myRetEnumIntResponse_LiteralSerializer.deserialize(ns1_RetEnumInt_RetEnumIntResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetEnumInt_RetEnumIntResponse_QNAME);
- bodyBlock.setValue(myRetEnumIntResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructSNSA operation.
- */
- private void _deserialize_RetStructSNSA(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetStructSNSAResponseObj =
- ns1_myRetStructSNSAResponse_LiteralSerializer.deserialize(ns1_RetStructSNSA_RetStructSNSAResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSA_RetStructSNSAResponse_QNAME);
- bodyBlock.setValue(myRetStructSNSAResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayInt1D operation.
- */
- private void _deserialize_RetArrayInt1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetArrayInt1DResponseObj =
- ns1_myRetArrayInt1DResponse_LiteralSerializer.deserialize(ns1_RetArrayInt1D_RetArrayInt1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayInt1D_RetArrayInt1DResponse_QNAME);
- bodyBlock.setValue(myRetArrayInt1DResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayDecimal1D operation.
- */
- private void _deserialize_RetArrayDecimal1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetArrayDecimal1DResponseObj =
- ns1_myRetArrayDecimal1DResponse_LiteralSerializer.deserialize(ns1_RetArrayDecimal1D_RetArrayDecimal1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayDecimal1D_RetArrayDecimal1DResponse_QNAME);
- bodyBlock.setValue(myRetArrayDecimal1DResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetEnumString operation.
- */
- private void _deserialize_RetEnumString(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetEnumStringResponseObj =
- ns1_myRetEnumStringResponse_LiteralSerializer.deserialize(ns1_RetEnumString_RetEnumStringResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetEnumString_RetEnumStringResponse_QNAME);
- bodyBlock.setValue(myRetEnumStringResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayDateTime1D operation.
- */
- private void _deserialize_RetArrayDateTime1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myRetArrayDateTime1DResponseObj =
- ns1_myRetArrayDateTime1DResponse_LiteralSerializer.deserialize(ns1_RetArrayDateTime1D_RetArrayDateTime1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayDateTime1D_RetArrayDateTime1DResponse_QNAME);
- bodyBlock.setValue(myRetArrayDateTime1DResponseObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns1_myRetArrayInt1D_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D.class, ns1_RetArrayInt1D_TYPE_QNAME);
- ns1_myRetArray1D_SN_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN.class, ns1_RetArray1D_SN_TYPE_QNAME);
- ns1_myRetStructSNSASResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse.class, ns1_RetStructSNSASResponse_TYPE_QNAME);
- ns1_myRetEnumStringResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse.class, ns1_RetEnumStringResponse_TYPE_QNAME);
- ns1_myRetEnumInt_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt.class, ns1_RetEnumInt_TYPE_QNAME);
- ns1_myRetStructSN_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN.class, ns1_RetStructSN_TYPE_QNAME);
- ns1_myRetDerivedClassResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse.class, ns1_RetDerivedClassResponse_TYPE_QNAME);
- ns1_myRetArrayString2D_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D.class, ns1_RetArrayString2D_TYPE_QNAME);
- ns1_myRetArrayString1D_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D.class, ns1_RetArrayString1D_TYPE_QNAME);
- ns1_myRetArrayAnyType1D_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D.class, ns1_RetArrayAnyType1D_TYPE_QNAME);
- ns1_myRetArray1D_SNResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse.class, ns1_RetArray1D_SNResponse_TYPE_QNAME);
- ns1_myRetArrayDateTime1D_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D.class, ns1_RetArrayDateTime1D_TYPE_QNAME);
- ns1_myRetEnumIntResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse.class, ns1_RetEnumIntResponse_TYPE_QNAME);
- ns1_myRetArrayAnyType1DResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse.class, ns1_RetArrayAnyType1DResponse_TYPE_QNAME);
- ns1_myRetStructS1_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1.class, ns1_RetStructS1_TYPE_QNAME);
- ns1_myRetStructS1Response_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response.class, ns1_RetStructS1Response_TYPE_QNAME);
- ns1_myRetArrayDecimal1DResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse.class, ns1_RetArrayDecimal1DResponse_TYPE_QNAME);
- ns1_myRetArrayInt1DResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse.class, ns1_RetArrayInt1DResponse_TYPE_QNAME);
- ns1_myRetStructSNSA_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA.class, ns1_RetStructSNSA_TYPE_QNAME);
- ns1_myRetArrayString1DResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse.class, ns1_RetArrayString1DResponse_TYPE_QNAME);
- ns1_myRetStructSNSAResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse.class, ns1_RetStructSNSAResponse_TYPE_QNAME);
- ns1_myRetDerivedClass_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass.class, ns1_RetDerivedClass_TYPE_QNAME);
- ns1_myRetArrayDecimal1D_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D.class, ns1_RetArrayDecimal1D_TYPE_QNAME);
- ns1_myRetStructSNSAS_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS.class, ns1_RetStructSNSAS_TYPE_QNAME);
- ns1_myRetEnumString_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString.class, ns1_RetEnumString_TYPE_QNAME);
- ns1_myRetArrayString2DResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse.class, ns1_RetArrayString2DResponse_TYPE_QNAME);
- ns1_myRetArrayDateTime1DResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse.class, ns1_RetArrayDateTime1DResponse_TYPE_QNAME);
- ns1_myRetStructSNResponse_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse.class, ns1_RetStructSNResponse_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "BasicHttpBinding_IComplexDataTypesDocLitW");
- private static final int RetStructSN_OPCODE = 0;
- private static final int RetDerivedClass_OPCODE = 1;
- private static final int RetStructS1_OPCODE = 2;
- private static final int RetArrayString2D_OPCODE = 3;
- private static final int RetArray1D_SN_OPCODE = 4;
- private static final int RetArrayString1D_OPCODE = 5;
- private static final int RetArrayAnyType1D_OPCODE = 6;
- private static final int RetStructSNSAS_OPCODE = 7;
- private static final int RetEnumInt_OPCODE = 8;
- private static final int RetStructSNSA_OPCODE = 9;
- private static final int RetArrayInt1D_OPCODE = 10;
- private static final int RetArrayDecimal1D_OPCODE = 11;
- private static final int RetEnumString_OPCODE = 12;
- private static final int RetArrayDateTime1D_OPCODE = 13;
- private static final javax.xml.namespace.QName ns1_RetStructSN_RetStructSN_QNAME = new QName("http://tempuri.org/", "RetStructSN");
- private static final javax.xml.namespace.QName ns1_RetStructSN_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSN");
- private CombinedSerializer ns1_myRetStructSN_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSN_RetStructSNResponse_QNAME = new QName("http://tempuri.org/", "RetStructSNResponse");
- private static final javax.xml.namespace.QName ns1_RetStructSNResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNResponse");
- private CombinedSerializer ns1_myRetStructSNResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDerivedClass_RetDerivedClass_QNAME = new QName("http://tempuri.org/", "RetDerivedClass");
- private static final javax.xml.namespace.QName ns1_RetDerivedClass_TYPE_QNAME = new QName("http://tempuri.org/", "RetDerivedClass");
- private CombinedSerializer ns1_myRetDerivedClass_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDerivedClass_RetDerivedClassResponse_QNAME = new QName("http://tempuri.org/", "RetDerivedClassResponse");
- private static final javax.xml.namespace.QName ns1_RetDerivedClassResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDerivedClassResponse");
- private CombinedSerializer ns1_myRetDerivedClassResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructS1_RetStructS1_QNAME = new QName("http://tempuri.org/", "RetStructS1");
- private static final javax.xml.namespace.QName ns1_RetStructS1_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructS1");
- private CombinedSerializer ns1_myRetStructS1_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructS1_RetStructS1Response_QNAME = new QName("http://tempuri.org/", "RetStructS1Response");
- private static final javax.xml.namespace.QName ns1_RetStructS1Response_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructS1Response");
- private CombinedSerializer ns1_myRetStructS1Response_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString2D_RetArrayString2D_QNAME = new QName("http://tempuri.org/", "RetArrayString2D");
- private static final javax.xml.namespace.QName ns1_RetArrayString2D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayString2D");
- private CombinedSerializer ns1_myRetArrayString2D_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString2D_RetArrayString2DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayString2DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayString2DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayString2DResponse");
- private CombinedSerializer ns1_myRetArrayString2DResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArray1D_SN_RetArray1D_SN_QNAME = new QName("http://tempuri.org/", "RetArray1D_SN");
- private static final javax.xml.namespace.QName ns1_RetArray1D_SN_TYPE_QNAME = new QName("http://tempuri.org/", "RetArray1D_SN");
- private CombinedSerializer ns1_myRetArray1D_SN_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArray1D_SN_RetArray1D_SNResponse_QNAME = new QName("http://tempuri.org/", "RetArray1D_SNResponse");
- private static final javax.xml.namespace.QName ns1_RetArray1D_SNResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArray1D_SNResponse");
- private CombinedSerializer ns1_myRetArray1D_SNResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString1D_RetArrayString1D_QNAME = new QName("http://tempuri.org/", "RetArrayString1D");
- private static final javax.xml.namespace.QName ns1_RetArrayString1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayString1D");
- private CombinedSerializer ns1_myRetArrayString1D_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString1D_RetArrayString1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayString1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayString1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayString1DResponse");
- private CombinedSerializer ns1_myRetArrayString1DResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1D_RetArrayAnyType1D_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1D");
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1D");
- private CombinedSerializer ns1_myRetArrayAnyType1D_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1D_RetArrayAnyType1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1DResponse");
- private CombinedSerializer ns1_myRetArrayAnyType1DResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSAS_RetStructSNSAS_QNAME = new QName("http://tempuri.org/", "RetStructSNSAS");
- private static final javax.xml.namespace.QName ns1_RetStructSNSAS_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNSAS");
- private CombinedSerializer ns1_myRetStructSNSAS_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSAS_RetStructSNSASResponse_QNAME = new QName("http://tempuri.org/", "RetStructSNSASResponse");
- private static final javax.xml.namespace.QName ns1_RetStructSNSASResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNSASResponse");
- private CombinedSerializer ns1_myRetStructSNSASResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumInt_RetEnumInt_QNAME = new QName("http://tempuri.org/", "RetEnumInt");
- private static final javax.xml.namespace.QName ns1_RetEnumInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetEnumInt");
- private CombinedSerializer ns1_myRetEnumInt_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumInt_RetEnumIntResponse_QNAME = new QName("http://tempuri.org/", "RetEnumIntResponse");
- private static final javax.xml.namespace.QName ns1_RetEnumIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetEnumIntResponse");
- private CombinedSerializer ns1_myRetEnumIntResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSA_RetStructSNSA_QNAME = new QName("http://tempuri.org/", "RetStructSNSA");
- private static final javax.xml.namespace.QName ns1_RetStructSNSA_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNSA");
- private CombinedSerializer ns1_myRetStructSNSA_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSA_RetStructSNSAResponse_QNAME = new QName("http://tempuri.org/", "RetStructSNSAResponse");
- private static final javax.xml.namespace.QName ns1_RetStructSNSAResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNSAResponse");
- private CombinedSerializer ns1_myRetStructSNSAResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayInt1D_RetArrayInt1D_QNAME = new QName("http://tempuri.org/", "RetArrayInt1D");
- private static final javax.xml.namespace.QName ns1_RetArrayInt1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayInt1D");
- private CombinedSerializer ns1_myRetArrayInt1D_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayInt1D_RetArrayInt1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayInt1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayInt1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayInt1DResponse");
- private CombinedSerializer ns1_myRetArrayInt1DResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1D_RetArrayDecimal1D_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1D");
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1D");
- private CombinedSerializer ns1_myRetArrayDecimal1D_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1D_RetArrayDecimal1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1DResponse");
- private CombinedSerializer ns1_myRetArrayDecimal1DResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumString_RetEnumString_QNAME = new QName("http://tempuri.org/", "RetEnumString");
- private static final javax.xml.namespace.QName ns1_RetEnumString_TYPE_QNAME = new QName("http://tempuri.org/", "RetEnumString");
- private CombinedSerializer ns1_myRetEnumString_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumString_RetEnumStringResponse_QNAME = new QName("http://tempuri.org/", "RetEnumStringResponse");
- private static final javax.xml.namespace.QName ns1_RetEnumStringResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetEnumStringResponse");
- private CombinedSerializer ns1_myRetEnumStringResponse_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1D_RetArrayDateTime1D_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1D");
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1D");
- private CombinedSerializer ns1_myRetArrayDateTime1D_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1D_RetArrayDateTime1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1DResponse");
- private CombinedSerializer ns1_myRetArrayDateTime1DResponse_LiteralSerializer;
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
- "ns0", "http://tempuri.org/"
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArray1D_SN_QNAME = new QName("", "inArray1D_SN");
- private static final javax.xml.namespace.QName ns5_ArrayOfPerson_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- private CombinedSerializer ns5_myArrayOfPerson_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myArrayOfPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, ns5_ArrayOfPerson_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArray1D_SN_QNAME)) {
- member = ns5_myArrayOfPerson_LiteralSerializer.deserialize(ns3_inArray1D_SN_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInArray1D_SN((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inArray1D_SN_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct)obj;
-
- if (instance.getInArray1D_SN() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myArrayOfPerson_LiteralSerializer.serialize(instance.getInArray1D_SN(), ns3_inArray1D_SN_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArray1D_SNResult_QNAME = new QName("", "RetArray1D_SNResult");
- private static final javax.xml.namespace.QName ns5_ArrayOfPerson_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- private CombinedSerializer ns5_myArrayOfPerson_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myArrayOfPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, ns5_ArrayOfPerson_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArray1D_SNResult_QNAME)) {
- member = ns5_myArrayOfPerson_LiteralSerializer.deserialize(ns3_RetArray1D_SNResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetArray1D_SNResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetArray1D_SNResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct)obj;
-
- if (instance.getRetArray1D_SNResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myArrayOfPerson_LiteralSerializer.serialize(instance.getRetArray1D_SNResult(), ns3_RetArray1D_SNResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayAnyType1D_QNAME = new QName("", "inArrayAnyType1D");
- private static final javax.xml.namespace.QName ns1_ArrayOfanyType_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfanyType");
- private CombinedSerializer ns1_myArrayOfanyType_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfanyType_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType.class, ns1_ArrayOfanyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayAnyType1D_QNAME)) {
- member = ns1_myArrayOfanyType_LiteralSerializer.deserialize(ns3_inArrayAnyType1D_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInArrayAnyType1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inArrayAnyType1D_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct)obj;
-
- if (instance.getInArrayAnyType1D() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns1_myArrayOfanyType_LiteralSerializer.serialize(instance.getInArrayAnyType1D(), ns3_inArrayAnyType1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayAnyType1DResult_QNAME = new QName("", "RetArrayAnyType1DResult");
- private static final javax.xml.namespace.QName ns1_ArrayOfanyType_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfanyType");
- private CombinedSerializer ns1_myArrayOfanyType_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfanyType_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType.class, ns1_ArrayOfanyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayAnyType1DResult_QNAME)) {
- member = ns1_myArrayOfanyType_LiteralSerializer.deserialize(ns3_RetArrayAnyType1DResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetArrayAnyType1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetArrayAnyType1DResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct)obj;
-
- if (instance.getRetArrayAnyType1DResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns1_myArrayOfanyType_LiteralSerializer.serialize(instance.getRetArrayAnyType1DResult(), ns3_RetArrayAnyType1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayDateTime1D_QNAME = new QName("", "inArrayDateTime1D");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdateTime_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdateTime");
- private CombinedSerializer ns4_myArrayOfNullableOfdateTime_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime.class, ns4_ArrayOfNullableOfdateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayDateTime1D_QNAME)) {
- member = ns4_myArrayOfNullableOfdateTime_LiteralSerializer.deserialize(ns3_inArrayDateTime1D_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInArrayDateTime1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inArrayDateTime1D_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct)obj;
-
- if (instance.getInArrayDateTime1D() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer.serialize(instance.getInArrayDateTime1D(), ns3_inArrayDateTime1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayDateTime1DResult_QNAME = new QName("", "RetArrayDateTime1DResult");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdateTime_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdateTime");
- private CombinedSerializer ns4_myArrayOfNullableOfdateTime_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime.class, ns4_ArrayOfNullableOfdateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayDateTime1DResult_QNAME)) {
- member = ns4_myArrayOfNullableOfdateTime_LiteralSerializer.deserialize(ns3_RetArrayDateTime1DResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetArrayDateTime1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetArrayDateTime1DResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct)obj;
-
- if (instance.getRetArrayDateTime1DResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer.serialize(instance.getRetArrayDateTime1DResult(), ns3_RetArrayDateTime1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayDecimal1D_QNAME = new QName("", "inArrayDecimal1D");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdecimal_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdecimal");
- private CombinedSerializer ns4_myArrayOfNullableOfdecimal_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal.class, ns4_ArrayOfNullableOfdecimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayDecimal1D_QNAME)) {
- member = ns4_myArrayOfNullableOfdecimal_LiteralSerializer.deserialize(ns3_inArrayDecimal1D_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInArrayDecimal1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inArrayDecimal1D_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct)obj;
-
- if (instance.getInArrayDecimal1D() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer.serialize(instance.getInArrayDecimal1D(), ns3_inArrayDecimal1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayDecimal1DResult_QNAME = new QName("", "RetArrayDecimal1DResult");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdecimal_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdecimal");
- private CombinedSerializer ns4_myArrayOfNullableOfdecimal_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal.class, ns4_ArrayOfNullableOfdecimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayDecimal1DResult_QNAME)) {
- member = ns4_myArrayOfNullableOfdecimal_LiteralSerializer.deserialize(ns3_RetArrayDecimal1DResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetArrayDecimal1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetArrayDecimal1DResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct)obj;
-
- if (instance.getRetArrayDecimal1DResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer.serialize(instance.getRetArrayDecimal1DResult(), ns3_RetArrayDecimal1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayInt1D_QNAME = new QName("", "inArrayInt1D");
- private static final javax.xml.namespace.QName ns1_ArrayOfint_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfint");
- private CombinedSerializer ns1_myArrayOfint_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfint_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint.class, ns1_ArrayOfint_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayInt1D_QNAME)) {
- member = ns1_myArrayOfint_LiteralSerializer.deserialize(ns3_inArrayInt1D_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInArrayInt1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inArrayInt1D_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct)obj;
-
- if (instance.getInArrayInt1D() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns1_myArrayOfint_LiteralSerializer.serialize(instance.getInArrayInt1D(), ns3_inArrayInt1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayInt1DResult_QNAME = new QName("", "RetArrayInt1DResult");
- private static final javax.xml.namespace.QName ns1_ArrayOfint_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfint");
- private CombinedSerializer ns1_myArrayOfint_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfint_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint.class, ns1_ArrayOfint_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayInt1DResult_QNAME)) {
- member = ns1_myArrayOfint_LiteralSerializer.deserialize(ns3_RetArrayInt1DResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetArrayInt1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetArrayInt1DResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct)obj;
-
- if (instance.getRetArrayInt1DResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns1_myArrayOfint_LiteralSerializer.serialize(instance.getRetArrayInt1DResult(), ns3_RetArrayInt1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayString1D_QNAME = new QName("", "inArrayString1D");
- private static final javax.xml.namespace.QName ns1_ArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- private CombinedSerializer ns1_myArrayOfstring_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, ns1_ArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayString1D_QNAME)) {
- member = ns1_myArrayOfstring_LiteralSerializer.deserialize(ns3_inArrayString1D_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInArrayString1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inArrayString1D_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct)obj;
-
- if (instance.getInArrayString1D() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns1_myArrayOfstring_LiteralSerializer.serialize(instance.getInArrayString1D(), ns3_inArrayString1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayString1DResult_QNAME = new QName("", "RetArrayString1DResult");
- private static final javax.xml.namespace.QName ns1_ArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- private CombinedSerializer ns1_myArrayOfstring_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, ns1_ArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayString1DResult_QNAME)) {
- member = ns1_myArrayOfstring_LiteralSerializer.deserialize(ns3_RetArrayString1DResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetArrayString1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetArrayString1DResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct)obj;
-
- if (instance.getRetArrayString1DResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns1_myArrayOfstring_LiteralSerializer.serialize(instance.getRetArrayString1DResult(), ns3_RetArrayString1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayString2D_QNAME = new QName("", "inArrayString2D");
- private static final javax.xml.namespace.QName ns1_ArrayOfArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfArrayOfstring");
- private CombinedSerializer ns1_myArrayOfArrayOfstring_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring.class, ns1_ArrayOfArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayString2D_QNAME)) {
- member = ns1_myArrayOfArrayOfstring_LiteralSerializer.deserialize(ns3_inArrayString2D_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInArrayString2D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inArrayString2D_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct)obj;
-
- if (instance.getInArrayString2D() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns1_myArrayOfArrayOfstring_LiteralSerializer.serialize(instance.getInArrayString2D(), ns3_inArrayString2D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayString2DResult_QNAME = new QName("", "RetArrayString2DResult");
- private static final javax.xml.namespace.QName ns1_ArrayOfArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfArrayOfstring");
- private CombinedSerializer ns1_myArrayOfArrayOfstring_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring.class, ns1_ArrayOfArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayString2DResult_QNAME)) {
- member = ns1_myArrayOfArrayOfstring_LiteralSerializer.deserialize(ns3_RetArrayString2DResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetArrayString2DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetArrayString2DResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct)obj;
-
- if (instance.getRetArrayString2DResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns1_myArrayOfArrayOfstring_LiteralSerializer.serialize(instance.getRetArrayString2DResult(), ns3_RetArrayString2DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inDerivedClass_QNAME = new QName("", "inDerivedClass");
- private static final javax.xml.namespace.QName ns5_Table_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- private CombinedSerializer ns5_myTable_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myTable_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, ns5_Table_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inDerivedClass_QNAME)) {
- member = ns5_myTable_LiteralSerializer.deserialize(ns3_inDerivedClass_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInDerivedClass((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inDerivedClass_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct)obj;
-
- if (instance.getInDerivedClass() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myTable_LiteralSerializer.serialize(instance.getInDerivedClass(), ns3_inDerivedClass_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetDerivedClassResult_QNAME = new QName("", "RetDerivedClassResult");
- private static final javax.xml.namespace.QName ns5_Table_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- private CombinedSerializer ns5_myTable_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myTable_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, ns5_Table_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetDerivedClassResult_QNAME)) {
- member = ns5_myTable_LiteralSerializer.deserialize(ns3_RetDerivedClassResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetDerivedClassResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetDerivedClassResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct)obj;
-
- if (instance.getRetDerivedClassResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myTable_LiteralSerializer.serialize(instance.getRetDerivedClassResult(), ns3_RetDerivedClassResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inEnumInt_QNAME = new QName("", "inEnumInt");
- private static final javax.xml.namespace.QName ns5_IntSet_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "IntSet");
- private CombinedSerializer ns5myns5_IntSet__IntSet_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5myns5_IntSet__IntSet_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet.class, ns5_IntSet_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inEnumInt_QNAME)) {
- member = ns5myns5_IntSet__IntSet_LiteralSerializer.deserialize(ns3_inEnumInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInEnumInt((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inEnumInt_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct)obj;
-
- if (instance.getInEnumInt() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5myns5_IntSet__IntSet_LiteralSerializer.serialize(instance.getInEnumInt(), ns3_inEnumInt_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetEnumIntResult_QNAME = new QName("", "RetEnumIntResult");
- private static final javax.xml.namespace.QName ns5_IntSet_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "IntSet");
- private CombinedSerializer ns5myns5_IntSet__IntSet_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5myns5_IntSet__IntSet_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet.class, ns5_IntSet_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetEnumIntResult_QNAME)) {
- member = ns5myns5_IntSet__IntSet_LiteralSerializer.deserialize(ns3_RetEnumIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetEnumIntResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetEnumIntResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct)obj;
-
- if (instance.getRetEnumIntResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5myns5_IntSet__IntSet_LiteralSerializer.serialize(instance.getRetEnumIntResult(), ns3_RetEnumIntResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inEnumString_QNAME = new QName("", "inEnumString");
- private static final javax.xml.namespace.QName ns5_BitMask_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BitMask");
- private CombinedSerializer ns5myns5_BitMask__BitMask_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5myns5_BitMask__BitMask_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask.class, ns5_BitMask_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inEnumString_QNAME)) {
- member = ns5myns5_BitMask__BitMask_LiteralSerializer.deserialize(ns3_inEnumString_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInEnumString((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inEnumString_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct)obj;
-
- if (instance.getInEnumString() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5myns5_BitMask__BitMask_LiteralSerializer.serialize(instance.getInEnumString(), ns3_inEnumString_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetEnumStringResult_QNAME = new QName("", "RetEnumStringResult");
- private static final javax.xml.namespace.QName ns5_BitMask_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BitMask");
- private CombinedSerializer ns5myns5_BitMask__BitMask_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5myns5_BitMask__BitMask_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask.class, ns5_BitMask_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetEnumStringResult_QNAME)) {
- member = ns5myns5_BitMask__BitMask_LiteralSerializer.deserialize(ns3_RetEnumStringResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetEnumStringResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetEnumStringResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct)obj;
-
- if (instance.getRetEnumStringResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5myns5_BitMask__BitMask_LiteralSerializer.serialize(instance.getRetEnumStringResult(), ns3_RetEnumStringResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inStructS1_QNAME = new QName("", "inStructS1");
- private static final javax.xml.namespace.QName ns5_Name_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- private CombinedSerializer ns5_myName_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myName_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name.class, ns5_Name_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inStructS1_QNAME)) {
- member = ns5_myName_LiteralSerializer.deserialize(ns3_inStructS1_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInStructS1((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inStructS1_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct)obj;
-
- if (instance.getInStructS1() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myName_LiteralSerializer.serialize(instance.getInStructS1(), ns3_inStructS1_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetStructS1Result_QNAME = new QName("", "RetStructS1Result");
- private static final javax.xml.namespace.QName ns5_Name_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- private CombinedSerializer ns5_myName_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myName_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name.class, ns5_Name_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetStructS1Result_QNAME)) {
- member = ns5_myName_LiteralSerializer.deserialize(ns3_RetStructS1Result_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetStructS1Result((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetStructS1Result_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct)obj;
-
- if (instance.getRetStructS1Result() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myName_LiteralSerializer.serialize(instance.getRetStructS1Result(), ns3_RetStructS1Result_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inStructSNSAS_QNAME = new QName("", "inStructSNSAS");
- private static final javax.xml.namespace.QName ns5_Group_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Group");
- private CombinedSerializer ns5_myGroup_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myGroup_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group.class, ns5_Group_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inStructSNSAS_QNAME)) {
- member = ns5_myGroup_LiteralSerializer.deserialize(ns3_inStructSNSAS_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInStructSNSAS((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inStructSNSAS_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct)obj;
-
- if (instance.getInStructSNSAS() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myGroup_LiteralSerializer.serialize(instance.getInStructSNSAS(), ns3_inStructSNSAS_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetStructSNSASResult_QNAME = new QName("", "RetStructSNSASResult");
- private static final javax.xml.namespace.QName ns5_Group_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Group");
- private CombinedSerializer ns5_myGroup_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myGroup_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group.class, ns5_Group_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetStructSNSASResult_QNAME)) {
- member = ns5_myGroup_LiteralSerializer.deserialize(ns3_RetStructSNSASResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetStructSNSASResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetStructSNSASResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct)obj;
-
- if (instance.getRetStructSNSASResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myGroup_LiteralSerializer.serialize(instance.getRetStructSNSASResult(), ns3_RetStructSNSASResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inStructSNSA_QNAME = new QName("", "inStructSNSA");
- private static final javax.xml.namespace.QName ns5_Employee_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Employee");
- private CombinedSerializer ns5_myEmployee_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myEmployee_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee.class, ns5_Employee_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inStructSNSA_QNAME)) {
- member = ns5_myEmployee_LiteralSerializer.deserialize(ns3_inStructSNSA_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInStructSNSA((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inStructSNSA_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct)obj;
-
- if (instance.getInStructSNSA() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myEmployee_LiteralSerializer.serialize(instance.getInStructSNSA(), ns3_inStructSNSA_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetStructSNSAResult_QNAME = new QName("", "RetStructSNSAResult");
- private static final javax.xml.namespace.QName ns5_Employee_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Employee");
- private CombinedSerializer ns5_myEmployee_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myEmployee_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee.class, ns5_Employee_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetStructSNSAResult_QNAME)) {
- member = ns5_myEmployee_LiteralSerializer.deserialize(ns3_RetStructSNSAResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetStructSNSAResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetStructSNSAResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct)obj;
-
- if (instance.getRetStructSNSAResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myEmployee_LiteralSerializer.serialize(instance.getRetStructSNSAResult(), ns3_RetStructSNSAResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inStructSN_QNAME = new QName("", "inStructSN");
- private static final javax.xml.namespace.QName ns5_Person_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- private CombinedSerializer ns5_myPerson_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, ns5_Person_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inStructSN_QNAME)) {
- member = ns5_myPerson_LiteralSerializer.deserialize(ns3_inStructSN_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInStructSN((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_inStructSN_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct)obj;
-
- if (instance.getInStructSN() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myPerson_LiteralSerializer.serialize(instance.getInStructSN(), ns3_inStructSN_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,71 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetStructSNResult_QNAME = new QName("", "RetStructSNResult");
- private static final javax.xml.namespace.QName ns5_Person_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- private CombinedSerializer ns5_myPerson_LiteralSerializer;
-
- public IComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public IComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, ns5_Person_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetStructSNResult_QNAME)) {
- member = ns5_myPerson_LiteralSerializer.deserialize(ns3_RetStructSNResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetStructSNResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)member);
- reader.nextElementContent();
- } else {
- throw new DeserializationException("literal.unexpectedElementName", new Object[] { ns3_RetStructSNResult_QNAME, reader.getName() });
- }
- }
- else {
- throw new DeserializationException("literal.expectedElementName", reader.getName().toString());
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct)obj;
-
- if (instance.getRetStructSNResult() == null) {
- throw new SerializationException("literal.unexpectedNull");
- }
- ns5_myPerson_LiteralSerializer.serialize(instance.getRetStructSNResult(), ns3_RetStructSNResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_Stub.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_Stub.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IComplexDataTypesRpcLit_Stub.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,1156 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import java.rmi.RemoteException;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.handler.HandlerChain;
-
-import org.xml.sax.XMLReader;
-
-public class IComplexDataTypesRpcLit_Stub
- extends com.sun.xml.rpc.client.StubBase
- implements org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit {
-
-
-
- /*
- * public constructor
- */
- public IComplexDataTypesRpcLit_Stub(HandlerChain handlerChain) {
- super(handlerChain);
- _setProperty(ENDPOINT_ADDRESS_PROPERTY, "http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc");
- }
-
-
- /*
- * implementation of retDerivedClass
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table retDerivedClass(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table inDerivedClass)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetDerivedClass_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct _myIComplexDataTypesRpcLit_RetDerivedClass_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct();
- _myIComplexDataTypesRpcLit_RetDerivedClass_RequestStruct.setInDerivedClass(inDerivedClass);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetDerivedClass_RetDerivedClass_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetDerivedClass_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClass");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct _myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct.getRetDerivedClassResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayDecimal1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal retArrayDecimal1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal inArrayDecimal1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayDecimal1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct _myIComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct();
- _myIComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct.setInArrayDecimal1D(inArrayDecimal1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayDecimal1D_RetArrayDecimal1D_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct _myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct.getRetArrayDecimal1DResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayDateTime1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime retArrayDateTime1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime inArrayDateTime1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayDateTime1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct _myIComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct();
- _myIComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct.setInArrayDateTime1D(inArrayDateTime1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayDateTime1D_RetArrayDateTime1D_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct _myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct.getRetArrayDateTime1DResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructSNSA
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee retStructSNSA(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee inStructSNSA)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSNSA_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct _myIComplexDataTypesRpcLit_RetStructSNSA_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct();
- _myIComplexDataTypesRpcLit_RetStructSNSA_RequestStruct.setInStructSNSA(inStructSNSA);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSA_RetStructSNSA_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetStructSNSA_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct _myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct.getRetStructSNSAResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retEnumInt
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet retEnumInt(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet inEnumInt)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetEnumInt_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct _myIComplexDataTypesRpcLit_RetEnumInt_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct();
- _myIComplexDataTypesRpcLit_RetEnumInt_RequestStruct.setInEnumInt(inEnumInt);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetEnumInt_RetEnumInt_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetEnumInt_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct _myIComplexDataTypesRpcLit_RetEnumInt_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetEnumInt_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetEnumInt_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetEnumInt_ResponseStruct.getRetEnumIntResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayString2D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring retArrayString2D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring inArrayString2D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayString2D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct _myIComplexDataTypesRpcLit_RetArrayString2D_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct();
- _myIComplexDataTypesRpcLit_RetArrayString2D_RequestStruct.setInArrayString2D(inArrayString2D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayString2D_RetArrayString2D_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetArrayString2D_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct _myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct.getRetArrayString2DResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructSN
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person retStructSN(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person inStructSN)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSN_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct _myIComplexDataTypesRpcLit_RetStructSN_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct();
- _myIComplexDataTypesRpcLit_RetStructSN_RequestStruct.setInStructSN(inStructSN);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSN_RetStructSN_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetStructSN_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct _myIComplexDataTypesRpcLit_RetStructSN_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetStructSN_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetStructSN_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetStructSN_ResponseStruct.getRetStructSNResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayAnyType1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType retArrayAnyType1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType inArrayAnyType1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayAnyType1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct _myIComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct();
- _myIComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct.setInArrayAnyType1D(inArrayAnyType1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayAnyType1D_RetArrayAnyType1D_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct _myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct.getRetArrayAnyType1DResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructS1
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name retStructS1(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name inStructS1)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructS1_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct _myIComplexDataTypesRpcLit_RetStructS1_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct();
- _myIComplexDataTypesRpcLit_RetStructS1_RequestStruct.setInStructS1(inStructS1);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructS1_RetStructS1_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetStructS1_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct _myIComplexDataTypesRpcLit_RetStructS1_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetStructS1_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetStructS1_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetStructS1_ResponseStruct.getRetStructS1Result();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retEnumString
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask retEnumString(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask inEnumString)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetEnumString_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct _myIComplexDataTypesRpcLit_RetEnumString_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct();
- _myIComplexDataTypesRpcLit_RetEnumString_RequestStruct.setInEnumString(inEnumString);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetEnumString_RetEnumString_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetEnumString_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct _myIComplexDataTypesRpcLit_RetEnumString_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetEnumString_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetEnumString_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetEnumString_ResponseStruct.getRetEnumStringResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayString1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring retArrayString1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring inArrayString1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayString1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct _myIComplexDataTypesRpcLit_RetArrayString1D_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct();
- _myIComplexDataTypesRpcLit_RetArrayString1D_RequestStruct.setInArrayString1D(inArrayString1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayString1D_RetArrayString1D_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetArrayString1D_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct _myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct.getRetArrayString1DResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retStructSNSAS
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group retStructSNSAS(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group inStructSNSAS)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetStructSNSAS_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct _myIComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct();
- _myIComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct.setInStructSNSAS(inStructSNSAS);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSAS_RetStructSNSAS_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAS");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct _myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct.getRetStructSNSASResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArray1D_SN
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson retArray1D_SN(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson inArray1D_SN)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArray1D_SN_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct _myIComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct();
- _myIComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct.setInArray1D_SN(inArray1D_SN);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArray1D_SN_RetArray1D_SN_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct _myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct.getRetArray1D_SNResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
- /*
- * implementation of retArrayInt1D
- */
- public org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint retArrayInt1D(org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint inArrayInt1D)
- throws java.rmi.RemoteException {
-
- try {
-
- StreamingSenderState _state = _start(_handlerChain);
-
- InternalSOAPMessage _request = _state.getRequest();
- _request.setOperationCode(RetArrayInt1D_OPCODE);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct _myIComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct();
- _myIComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct.setInArrayInt1D(inArrayInt1D);
-
- SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_RetArrayInt1D_RetArrayInt1D_QNAME);
- _bodyBlock.setValue(_myIComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct);
- _bodyBlock.setSerializer(ns1_myIComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer);
- _request.setBody(_bodyBlock);
-
- _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D");
-
- _send((java.lang.String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
-
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct _myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct = null;
- Object _responseObj = _state.getResponse().getBody().getValue();
- if (_responseObj instanceof SOAPDeserializationState) {
- _myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();
- } else {
- _myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct =
- (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct)_responseObj;
- }
-
-
- return _myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct.getRetArrayInt1DResult();
- } catch (RemoteException e) {
- // let this one through unchanged
- throw e;
- } catch (JAXRPCException e) {
- throw new RemoteException(e.getMessage(), e);
- } catch (Exception e) {
- if (e instanceof RuntimeException) {
- throw (RuntimeException)e;
- } else {
- throw new RemoteException(e.getMessage(), e);
- }
- }
- }
-
-
- /*
- * this method deserializes the request/response structure in the body
- */
- protected void _readFirstBodyElement(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- int opcode = state.getRequest().getOperationCode();
- switch (opcode) {
- case RetDerivedClass_OPCODE:
- _deserialize_RetDerivedClass(bodyReader, deserializationContext, state);
- break;
- case RetArrayDecimal1D_OPCODE:
- _deserialize_RetArrayDecimal1D(bodyReader, deserializationContext, state);
- break;
- case RetArrayDateTime1D_OPCODE:
- _deserialize_RetArrayDateTime1D(bodyReader, deserializationContext, state);
- break;
- case RetStructSNSA_OPCODE:
- _deserialize_RetStructSNSA(bodyReader, deserializationContext, state);
- break;
- case RetEnumInt_OPCODE:
- _deserialize_RetEnumInt(bodyReader, deserializationContext, state);
- break;
- case RetArrayString2D_OPCODE:
- _deserialize_RetArrayString2D(bodyReader, deserializationContext, state);
- break;
- case RetStructSN_OPCODE:
- _deserialize_RetStructSN(bodyReader, deserializationContext, state);
- break;
- case RetArrayAnyType1D_OPCODE:
- _deserialize_RetArrayAnyType1D(bodyReader, deserializationContext, state);
- break;
- case RetStructS1_OPCODE:
- _deserialize_RetStructS1(bodyReader, deserializationContext, state);
- break;
- case RetEnumString_OPCODE:
- _deserialize_RetEnumString(bodyReader, deserializationContext, state);
- break;
- case RetArrayString1D_OPCODE:
- _deserialize_RetArrayString1D(bodyReader, deserializationContext, state);
- break;
- case RetStructSNSAS_OPCODE:
- _deserialize_RetStructSNSAS(bodyReader, deserializationContext, state);
- break;
- case RetArray1D_SN_OPCODE:
- _deserialize_RetArray1D_SN(bodyReader, deserializationContext, state);
- break;
- case RetArrayInt1D_OPCODE:
- _deserialize_RetArrayInt1D(bodyReader, deserializationContext, state);
- break;
- default:
- throw new SenderException("sender.response.unrecognizedOperation", java.lang.Integer.toString(opcode));
- }
- }
-
-
-
- /*
- * This method deserializes the body of the RetDerivedClass operation.
- */
- private void _deserialize_RetDerivedClass(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer.deserialize(ns1_RetDerivedClass_RetDerivedClassResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetDerivedClass_RetDerivedClassResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayDecimal1D operation.
- */
- private void _deserialize_RetArrayDecimal1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer.deserialize(ns1_RetArrayDecimal1D_RetArrayDecimal1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayDecimal1D_RetArrayDecimal1DResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayDateTime1D operation.
- */
- private void _deserialize_RetArrayDateTime1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer.deserialize(ns1_RetArrayDateTime1D_RetArrayDateTime1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayDateTime1D_RetArrayDateTime1DResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructSNSA operation.
- */
- private void _deserialize_RetStructSNSA(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer.deserialize(ns1_RetStructSNSA_RetStructSNSAResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSA_RetStructSNSAResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetEnumInt operation.
- */
- private void _deserialize_RetEnumInt(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetEnumInt_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer.deserialize(ns1_RetEnumInt_RetEnumIntResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetEnumInt_RetEnumIntResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetEnumInt_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayString2D operation.
- */
- private void _deserialize_RetArrayString2D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer.deserialize(ns1_RetArrayString2D_RetArrayString2DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayString2D_RetArrayString2DResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructSN operation.
- */
- private void _deserialize_RetStructSN(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetStructSN_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer.deserialize(ns1_RetStructSN_RetStructSNResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSN_RetStructSNResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetStructSN_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayAnyType1D operation.
- */
- private void _deserialize_RetArrayAnyType1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer.deserialize(ns1_RetArrayAnyType1D_RetArrayAnyType1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayAnyType1D_RetArrayAnyType1DResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructS1 operation.
- */
- private void _deserialize_RetStructS1(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetStructS1_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer.deserialize(ns1_RetStructS1_RetStructS1Response_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructS1_RetStructS1Response_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetStructS1_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetEnumString operation.
- */
- private void _deserialize_RetEnumString(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetEnumString_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer.deserialize(ns1_RetEnumString_RetEnumStringResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetEnumString_RetEnumStringResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetEnumString_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayString1D operation.
- */
- private void _deserialize_RetArrayString1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer.deserialize(ns1_RetArrayString1D_RetArrayString1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayString1D_RetArrayString1DResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetStructSNSAS operation.
- */
- private void _deserialize_RetStructSNSAS(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer.deserialize(ns1_RetStructSNSAS_RetStructSNSASResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetStructSNSAS_RetStructSNSASResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArray1D_SN operation.
- */
- private void _deserialize_RetArray1D_SN(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer.deserialize(ns1_RetArray1D_SN_RetArray1D_SNResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArray1D_SN_RetArray1D_SNResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
- /*
- * This method deserializes the body of the RetArrayInt1D operation.
- */
- private void _deserialize_RetArrayInt1D(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingSenderState state) throws Exception {
- java.lang.Object myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStructObj =
- ns1_myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer.deserialize(ns1_RetArrayInt1D_RetArrayInt1DResponse_QNAME,
- bodyReader, deserializationContext);
-
- SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_RetArrayInt1D_RetArrayInt1DResponse_QNAME);
- bodyBlock.setValue(myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStructObj);
- state.getResponse().setBody(bodyBlock);
- }
-
-
-
- protected java.lang.String _getDefaultEnvelopeEncodingStyle() {
- return null;
- }
-
- public java.lang.String _getImplicitEnvelopeEncodingStyle() {
- return "";
- }
-
- public java.lang.String _getEncodingStyle() {
- return SOAPNamespaceConstants.ENCODING;
- }
-
- public void _setEncodingStyle(java.lang.String encodingStyle) {
- throw new UnsupportedOperationException("cannot set encoding style");
- }
-
-
-
-
-
- /*
- * This method returns an array containing (prefix, nsURI) pairs.
- */
- protected java.lang.String[] _getNamespaceDeclarations() {
- return myNamespace_declarations;
- }
-
- /*
- * This method returns an array containing the names of the headers we understand.
- */
- public javax.xml.namespace.QName[] _getUnderstoodHeaders() {
- return understoodHeaderNames;
- }
-
- public void _initialize(InternalTypeMappingRegistry registry) throws Exception {
- super._initialize(registry);
- ns1_myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct.class, ns1_RetArray1D_SNResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct.class, ns1_RetArrayDecimal1D_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct.class, ns1_RetArrayInt1DResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_ResponseStruct.class, ns1_RetEnumStringResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_RequestStruct.class, ns1_RetStructS1_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct.class, ns1_RetStructSNSAResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct.class, ns1_RetArrayDateTime1D_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct.class, ns1_RetArrayAnyType1D_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct.class, ns1_RetArray1D_SN_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct.class, ns1_RetDerivedClassResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct.class, ns1_RetStructSNSASResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_RequestStruct.class, ns1_RetStructSN_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct.class, ns1_RetArrayAnyType1DResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructS1_ResponseStruct.class, ns1_RetStructS1Response_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSA_RequestStruct.class, ns1_RetStructSNSA_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_RequestStruct.class, ns1_RetArrayString1D_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSN_ResponseStruct.class, ns1_RetStructSNResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_ResponseStruct.class, ns1_RetEnumIntResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct.class, ns1_RetStructSNSAS_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumString_RequestStruct.class, ns1_RetEnumString_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct.class, ns1_RetArrayString2DResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString2D_RequestStruct.class, ns1_RetArrayString2D_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetEnumInt_RequestStruct.class, ns1_RetEnumInt_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct.class, ns1_RetArrayDecimal1DResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct.class, ns1_RetArrayString1DResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct.class, ns1_RetArrayDateTime1DResponse_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetDerivedClass_RequestStruct.class, ns1_RetDerivedClass_TYPE_QNAME);
- ns1_myIComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct.class, ns1_RetArrayInt1D_TYPE_QNAME);
- }
-
- private static final javax.xml.namespace.QName _portName = new QName("http://tempuri.org/", "BasicHttpBinding_IComplexDataTypesRpcLit");
- private static final int RetDerivedClass_OPCODE = 0;
- private static final int RetArrayDecimal1D_OPCODE = 1;
- private static final int RetArrayDateTime1D_OPCODE = 2;
- private static final int RetStructSNSA_OPCODE = 3;
- private static final int RetEnumInt_OPCODE = 4;
- private static final int RetArrayString2D_OPCODE = 5;
- private static final int RetStructSN_OPCODE = 6;
- private static final int RetArrayAnyType1D_OPCODE = 7;
- private static final int RetStructS1_OPCODE = 8;
- private static final int RetEnumString_OPCODE = 9;
- private static final int RetArrayString1D_OPCODE = 10;
- private static final int RetStructSNSAS_OPCODE = 11;
- private static final int RetArray1D_SN_OPCODE = 12;
- private static final int RetArrayInt1D_OPCODE = 13;
- private static final javax.xml.namespace.QName ns1_RetDerivedClass_RetDerivedClass_QNAME = new QName("http://tempuri.org/", "RetDerivedClass");
- private static final javax.xml.namespace.QName ns1_RetDerivedClass_TYPE_QNAME = new QName("http://tempuri.org/", "RetDerivedClass");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetDerivedClass_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetDerivedClass_RetDerivedClassResponse_QNAME = new QName("http://tempuri.org/", "RetDerivedClassResponse");
- private static final javax.xml.namespace.QName ns1_RetDerivedClassResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetDerivedClassResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetDerivedClass_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1D_RetArrayDecimal1D_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1D");
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1D");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayDecimal1D_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1D_RetArrayDecimal1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayDecimal1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1DResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayDecimal1D_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1D_RetArrayDateTime1D_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1D");
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1D");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayDateTime1D_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1D_RetArrayDateTime1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayDateTime1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1DResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayDateTime1D_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSA_RetStructSNSA_QNAME = new QName("http://tempuri.org/", "RetStructSNSA");
- private static final javax.xml.namespace.QName ns1_RetStructSNSA_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNSA");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetStructSNSA_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSA_RetStructSNSAResponse_QNAME = new QName("http://tempuri.org/", "RetStructSNSAResponse");
- private static final javax.xml.namespace.QName ns1_RetStructSNSAResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNSAResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetStructSNSA_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumInt_RetEnumInt_QNAME = new QName("http://tempuri.org/", "RetEnumInt");
- private static final javax.xml.namespace.QName ns1_RetEnumInt_TYPE_QNAME = new QName("http://tempuri.org/", "RetEnumInt");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetEnumInt_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumInt_RetEnumIntResponse_QNAME = new QName("http://tempuri.org/", "RetEnumIntResponse");
- private static final javax.xml.namespace.QName ns1_RetEnumIntResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetEnumIntResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetEnumInt_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString2D_RetArrayString2D_QNAME = new QName("http://tempuri.org/", "RetArrayString2D");
- private static final javax.xml.namespace.QName ns1_RetArrayString2D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayString2D");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayString2D_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString2D_RetArrayString2DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayString2DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayString2DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayString2DResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayString2D_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSN_RetStructSN_QNAME = new QName("http://tempuri.org/", "RetStructSN");
- private static final javax.xml.namespace.QName ns1_RetStructSN_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSN");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetStructSN_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSN_RetStructSNResponse_QNAME = new QName("http://tempuri.org/", "RetStructSNResponse");
- private static final javax.xml.namespace.QName ns1_RetStructSNResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetStructSN_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1D_RetArrayAnyType1D_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1D");
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1D");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayAnyType1D_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1D_RetArrayAnyType1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayAnyType1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1DResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayAnyType1D_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructS1_RetStructS1_QNAME = new QName("http://tempuri.org/", "RetStructS1");
- private static final javax.xml.namespace.QName ns1_RetStructS1_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructS1");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetStructS1_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructS1_RetStructS1Response_QNAME = new QName("http://tempuri.org/", "RetStructS1Response");
- private static final javax.xml.namespace.QName ns1_RetStructS1Response_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructS1Response");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetStructS1_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumString_RetEnumString_QNAME = new QName("http://tempuri.org/", "RetEnumString");
- private static final javax.xml.namespace.QName ns1_RetEnumString_TYPE_QNAME = new QName("http://tempuri.org/", "RetEnumString");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetEnumString_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetEnumString_RetEnumStringResponse_QNAME = new QName("http://tempuri.org/", "RetEnumStringResponse");
- private static final javax.xml.namespace.QName ns1_RetEnumStringResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetEnumStringResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetEnumString_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString1D_RetArrayString1D_QNAME = new QName("http://tempuri.org/", "RetArrayString1D");
- private static final javax.xml.namespace.QName ns1_RetArrayString1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayString1D");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayString1D_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayString1D_RetArrayString1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayString1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayString1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayString1DResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayString1D_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSAS_RetStructSNSAS_QNAME = new QName("http://tempuri.org/", "RetStructSNSAS");
- private static final javax.xml.namespace.QName ns1_RetStructSNSAS_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNSAS");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetStructSNSAS_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetStructSNSAS_RetStructSNSASResponse_QNAME = new QName("http://tempuri.org/", "RetStructSNSASResponse");
- private static final javax.xml.namespace.QName ns1_RetStructSNSASResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetStructSNSASResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetStructSNSAS_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArray1D_SN_RetArray1D_SN_QNAME = new QName("http://tempuri.org/", "RetArray1D_SN");
- private static final javax.xml.namespace.QName ns1_RetArray1D_SN_TYPE_QNAME = new QName("http://tempuri.org/", "RetArray1D_SN");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArray1D_SN_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArray1D_SN_RetArray1D_SNResponse_QNAME = new QName("http://tempuri.org/", "RetArray1D_SNResponse");
- private static final javax.xml.namespace.QName ns1_RetArray1D_SNResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArray1D_SNResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArray1D_SN_ResponseStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayInt1D_RetArrayInt1D_QNAME = new QName("http://tempuri.org/", "RetArrayInt1D");
- private static final javax.xml.namespace.QName ns1_RetArrayInt1D_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayInt1D");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayInt1D_RequestStruct_LiteralSerializer;
- private static final javax.xml.namespace.QName ns1_RetArrayInt1D_RetArrayInt1DResponse_QNAME = new QName("http://tempuri.org/", "RetArrayInt1DResponse");
- private static final javax.xml.namespace.QName ns1_RetArrayInt1DResponse_TYPE_QNAME = new QName("http://tempuri.org/", "RetArrayInt1DResponse");
- private CombinedSerializer ns1_myIComplexDataTypesRpcLit_RetArrayInt1D_ResponseStruct_LiteralSerializer;
- private static final java.lang.String[] myNamespace_declarations =
- new java.lang.String[] {
- "ns0", "http://tempuri.org/"
- };
-
- private static final QName[] understoodHeaderNames = new QName[] { };
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IntSet.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IntSet.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IntSet.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,6 +6,7 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
+import java.util.Map;
import java.util.HashMap;
public class IntSet {
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IntSet_Encoder.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IntSet_Encoder.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/IntSet_Encoder.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,32 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-
-import org.xml.sax.XMLReader;
-
-public class IntSet_Encoder extends SimpleTypeEncoderBase {
-
- private static final SimpleTypeEncoder encoder = XSDStringEncoder.getInstance();
- private static final IntSet_Encoder instance = new IntSet_Encoder();
-
- private IntSet_Encoder() {
- }
-
- public static SimpleTypeEncoder getInstance() {
- return instance;
- }
-
- public java.lang.String objectToString(java.lang.Object obj, XMLWriter writer) throws java.lang.Exception {
- java.lang.String value = ((IntSet)obj).getValue();
- return encoder.objectToString(value, writer);
- }
-
- public java.lang.Object stringToObject(java.lang.String str, XMLReader reader) throws java.lang.Exception {
- return IntSet.fromValue((java.lang.String)encoder.stringToObject(str, reader));
- }
-
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Name_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Name_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Name_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,62 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Name_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns5_name_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "name");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public Name_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public Name_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_name_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns5_name_QNAME, reader, context);
- instance.setName((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name)obj;
-
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getName(), ns5_name_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Person_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Person_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Person_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,116 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Person_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns5_Age_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Age");
- private static final javax.xml.namespace.QName ns2_double_TYPE_QNAME = SchemaConstants.QNAME_TYPE_DOUBLE;
- private CombinedSerializer ns2_myns2__double__java_lang_Double_Double_Serializer;
- private static final javax.xml.namespace.QName ns5_ID_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ID");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
- private static final javax.xml.namespace.QName ns5_Male_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Male");
- private static final javax.xml.namespace.QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN;
- private CombinedSerializer ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer;
- private static final javax.xml.namespace.QName ns5_Name_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
-
- public Person_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public Person_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2__double__java_lang_Double_Double_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Double.class, ns2_double_TYPE_QNAME);
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Boolean.class, ns2_boolean_TYPE_QNAME);
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_Age_QNAME)) {
- member = ns2_myns2__double__java_lang_Double_Double_Serializer.deserialize(ns5_Age_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setAge((java.lang.Double)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_ID_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns5_ID_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setID((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_Male_QNAME)) {
- member = ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.deserialize(ns5_Male_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setMale((java.lang.Boolean)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_Name_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns5_Name_QNAME, reader, context);
- instance.setName((java.lang.String)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)obj;
-
- if (instance.getAge() != null) {
- ns2_myns2__double__java_lang_Double_Double_Serializer.serialize(instance.getAge(), ns5_Age_QNAME, null, writer, context);
- }
- if (instance.getID() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getID(), ns5_ID_QNAME, null, writer, context);
- }
- if (instance.getMale() != null) {
- ns2_myns2__boolean__java_lang_Boolean_Boolean_Serializer.serialize(instance.getMale(), ns5_Male_QNAME, null, writer, context);
- }
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getName(), ns5_Name_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArray1D_SNResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArray1D_SNResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArray1D_SNResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArray1D_SNResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArray1D_SNResult_QNAME = new QName("http://tempuri.org/", "RetArray1D_SNResult");
- private static final javax.xml.namespace.QName ns5_ArrayOfPerson_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- private CombinedSerializer ns5_myArrayOfPerson_LiteralSerializer;
-
- public RetArray1D_SNResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArray1D_SNResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myArrayOfPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, ns5_ArrayOfPerson_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArray1D_SNResult_QNAME)) {
- member = ns5_myArrayOfPerson_LiteralSerializer.deserialize(ns3_RetArray1D_SNResult_QNAME, reader, context);
- instance.setRetArray1D_SNResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SNResponse)obj;
-
- ns5_myArrayOfPerson_LiteralSerializer.serialize(instance.getRetArray1D_SNResult(), ns3_RetArray1D_SNResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArray1D_SN_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArray1D_SN_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArray1D_SN_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArray1D_SN_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArray1D_SN_QNAME = new QName("http://tempuri.org/", "inArray1D_SN");
- private static final javax.xml.namespace.QName ns5_ArrayOfPerson_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "ArrayOfPerson");
- private CombinedSerializer ns5_myArrayOfPerson_LiteralSerializer;
-
- public RetArray1D_SN_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArray1D_SN_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myArrayOfPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson.class, ns5_ArrayOfPerson_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArray1D_SN_QNAME)) {
- member = ns5_myArrayOfPerson_LiteralSerializer.deserialize(ns3_inArray1D_SN_QNAME, reader, context);
- instance.setInArray1D_SN((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArray1D_SN)obj;
-
- ns5_myArrayOfPerson_LiteralSerializer.serialize(instance.getInArray1D_SN(), ns3_inArray1D_SN_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayAnyType1DResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayAnyType1DResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayAnyType1DResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayAnyType1DResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayAnyType1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayAnyType1DResult");
- private static final javax.xml.namespace.QName ns1_ArrayOfanyType_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfanyType");
- private CombinedSerializer ns1_myArrayOfanyType_LiteralSerializer;
-
- public RetArrayAnyType1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayAnyType1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfanyType_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType.class, ns1_ArrayOfanyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayAnyType1DResult_QNAME)) {
- member = ns1_myArrayOfanyType_LiteralSerializer.deserialize(ns3_RetArrayAnyType1DResult_QNAME, reader, context);
- instance.setRetArrayAnyType1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1DResponse)obj;
-
- ns1_myArrayOfanyType_LiteralSerializer.serialize(instance.getRetArrayAnyType1DResult(), ns3_RetArrayAnyType1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayAnyType1D_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayAnyType1D_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayAnyType1D_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayAnyType1D_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayAnyType1D_QNAME = new QName("http://tempuri.org/", "inArrayAnyType1D");
- private static final javax.xml.namespace.QName ns1_ArrayOfanyType_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfanyType");
- private CombinedSerializer ns1_myArrayOfanyType_LiteralSerializer;
-
- public RetArrayAnyType1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayAnyType1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfanyType_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType.class, ns1_ArrayOfanyType_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayAnyType1D_QNAME)) {
- member = ns1_myArrayOfanyType_LiteralSerializer.deserialize(ns3_inArrayAnyType1D_QNAME, reader, context);
- instance.setInArrayAnyType1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfanyType)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayAnyType1D)obj;
-
- ns1_myArrayOfanyType_LiteralSerializer.serialize(instance.getInArrayAnyType1D(), ns3_inArrayAnyType1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDateTime1DResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDateTime1DResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDateTime1DResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayDateTime1DResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayDateTime1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayDateTime1DResult");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdateTime_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdateTime");
- private CombinedSerializer ns4_myArrayOfNullableOfdateTime_LiteralSerializer;
-
- public RetArrayDateTime1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayDateTime1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime.class, ns4_ArrayOfNullableOfdateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayDateTime1DResult_QNAME)) {
- member = ns4_myArrayOfNullableOfdateTime_LiteralSerializer.deserialize(ns3_RetArrayDateTime1DResult_QNAME, reader, context);
- instance.setRetArrayDateTime1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1DResponse)obj;
-
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer.serialize(instance.getRetArrayDateTime1DResult(), ns3_RetArrayDateTime1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDateTime1D_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDateTime1D_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDateTime1D_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayDateTime1D_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayDateTime1D_QNAME = new QName("http://tempuri.org/", "inArrayDateTime1D");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdateTime_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdateTime");
- private CombinedSerializer ns4_myArrayOfNullableOfdateTime_LiteralSerializer;
-
- public RetArrayDateTime1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayDateTime1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime.class, ns4_ArrayOfNullableOfdateTime_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayDateTime1D_QNAME)) {
- member = ns4_myArrayOfNullableOfdateTime_LiteralSerializer.deserialize(ns3_inArrayDateTime1D_QNAME, reader, context);
- instance.setInArrayDateTime1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDateTime1D)obj;
-
- ns4_myArrayOfNullableOfdateTime_LiteralSerializer.serialize(instance.getInArrayDateTime1D(), ns3_inArrayDateTime1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDecimal1DResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDecimal1DResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDecimal1DResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayDecimal1DResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayDecimal1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayDecimal1DResult");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdecimal_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdecimal");
- private CombinedSerializer ns4_myArrayOfNullableOfdecimal_LiteralSerializer;
-
- public RetArrayDecimal1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayDecimal1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal.class, ns4_ArrayOfNullableOfdecimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayDecimal1DResult_QNAME)) {
- member = ns4_myArrayOfNullableOfdecimal_LiteralSerializer.deserialize(ns3_RetArrayDecimal1DResult_QNAME, reader, context);
- instance.setRetArrayDecimal1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1DResponse)obj;
-
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer.serialize(instance.getRetArrayDecimal1DResult(), ns3_RetArrayDecimal1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDecimal1D_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDecimal1D_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayDecimal1D_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayDecimal1D_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayDecimal1D_QNAME = new QName("http://tempuri.org/", "inArrayDecimal1D");
- private static final javax.xml.namespace.QName ns4_ArrayOfNullableOfdecimal_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "ArrayOfNullableOfdecimal");
- private CombinedSerializer ns4_myArrayOfNullableOfdecimal_LiteralSerializer;
-
- public RetArrayDecimal1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayDecimal1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal.class, ns4_ArrayOfNullableOfdecimal_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayDecimal1D_QNAME)) {
- member = ns4_myArrayOfNullableOfdecimal_LiteralSerializer.deserialize(ns3_inArrayDecimal1D_QNAME, reader, context);
- instance.setInArrayDecimal1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayDecimal1D)obj;
-
- ns4_myArrayOfNullableOfdecimal_LiteralSerializer.serialize(instance.getInArrayDecimal1D(), ns3_inArrayDecimal1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayInt1DResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayInt1DResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayInt1DResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayInt1DResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayInt1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayInt1DResult");
- private static final javax.xml.namespace.QName ns1_ArrayOfint_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfint");
- private CombinedSerializer ns1_myArrayOfint_LiteralSerializer;
-
- public RetArrayInt1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayInt1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfint_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint.class, ns1_ArrayOfint_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayInt1DResult_QNAME)) {
- member = ns1_myArrayOfint_LiteralSerializer.deserialize(ns3_RetArrayInt1DResult_QNAME, reader, context);
- instance.setRetArrayInt1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1DResponse)obj;
-
- ns1_myArrayOfint_LiteralSerializer.serialize(instance.getRetArrayInt1DResult(), ns3_RetArrayInt1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayInt1D_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayInt1D_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayInt1D_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayInt1D_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayInt1D_QNAME = new QName("http://tempuri.org/", "inArrayInt1D");
- private static final javax.xml.namespace.QName ns1_ArrayOfint_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfint");
- private CombinedSerializer ns1_myArrayOfint_LiteralSerializer;
-
- public RetArrayInt1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayInt1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfint_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint.class, ns1_ArrayOfint_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayInt1D_QNAME)) {
- member = ns1_myArrayOfint_LiteralSerializer.deserialize(ns3_inArrayInt1D_QNAME, reader, context);
- instance.setInArrayInt1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayInt1D)obj;
-
- ns1_myArrayOfint_LiteralSerializer.serialize(instance.getInArrayInt1D(), ns3_inArrayInt1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString1DResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString1DResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString1DResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayString1DResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayString1DResult_QNAME = new QName("http://tempuri.org/", "RetArrayString1DResult");
- private static final javax.xml.namespace.QName ns1_ArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- private CombinedSerializer ns1_myArrayOfstring_LiteralSerializer;
-
- public RetArrayString1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayString1DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, ns1_ArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayString1DResult_QNAME)) {
- member = ns1_myArrayOfstring_LiteralSerializer.deserialize(ns3_RetArrayString1DResult_QNAME, reader, context);
- instance.setRetArrayString1DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1DResponse)obj;
-
- ns1_myArrayOfstring_LiteralSerializer.serialize(instance.getRetArrayString1DResult(), ns3_RetArrayString1DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString1D_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString1D_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString1D_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayString1D_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayString1D_QNAME = new QName("http://tempuri.org/", "inArrayString1D");
- private static final javax.xml.namespace.QName ns1_ArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfstring");
- private CombinedSerializer ns1_myArrayOfstring_LiteralSerializer;
-
- public RetArrayString1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayString1D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring.class, ns1_ArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayString1D_QNAME)) {
- member = ns1_myArrayOfstring_LiteralSerializer.deserialize(ns3_inArrayString1D_QNAME, reader, context);
- instance.setInArrayString1D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString1D)obj;
-
- ns1_myArrayOfstring_LiteralSerializer.serialize(instance.getInArrayString1D(), ns3_inArrayString1D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString2DResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString2DResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString2DResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayString2DResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetArrayString2DResult_QNAME = new QName("http://tempuri.org/", "RetArrayString2DResult");
- private static final javax.xml.namespace.QName ns1_ArrayOfArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfArrayOfstring");
- private CombinedSerializer ns1_myArrayOfArrayOfstring_LiteralSerializer;
-
- public RetArrayString2DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayString2DResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring.class, ns1_ArrayOfArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetArrayString2DResult_QNAME)) {
- member = ns1_myArrayOfArrayOfstring_LiteralSerializer.deserialize(ns3_RetArrayString2DResult_QNAME, reader, context);
- instance.setRetArrayString2DResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2DResponse)obj;
-
- ns1_myArrayOfArrayOfstring_LiteralSerializer.serialize(instance.getRetArrayString2DResult(), ns3_RetArrayString2DResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString2D_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString2D_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetArrayString2D_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetArrayString2D_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inArrayString2D_QNAME = new QName("http://tempuri.org/", "inArrayString2D");
- private static final javax.xml.namespace.QName ns1_ArrayOfArrayOfstring_TYPE_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/Arrays", "ArrayOfArrayOfstring");
- private CombinedSerializer ns1_myArrayOfArrayOfstring_LiteralSerializer;
-
- public RetArrayString2D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetArrayString2D_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns1_myArrayOfArrayOfstring_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring.class, ns1_ArrayOfArrayOfstring_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inArrayString2D_QNAME)) {
- member = ns1_myArrayOfArrayOfstring_LiteralSerializer.deserialize(ns3_inArrayString2D_QNAME, reader, context);
- instance.setInArrayString2D((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetArrayString2D)obj;
-
- ns1_myArrayOfArrayOfstring_LiteralSerializer.serialize(instance.getInArrayString2D(), ns3_inArrayString2D_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetDerivedClassResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetDerivedClassResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetDerivedClassResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetDerivedClassResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetDerivedClassResult_QNAME = new QName("http://tempuri.org/", "RetDerivedClassResult");
- private static final javax.xml.namespace.QName ns5_Table_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- private CombinedSerializer ns5_myTable_LiteralSerializer;
-
- public RetDerivedClassResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDerivedClassResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myTable_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, ns5_Table_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetDerivedClassResult_QNAME)) {
- member = ns5_myTable_LiteralSerializer.deserialize(ns3_RetDerivedClassResult_QNAME, reader, context);
- instance.setRetDerivedClassResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClassResponse)obj;
-
- ns5_myTable_LiteralSerializer.serialize(instance.getRetDerivedClassResult(), ns3_RetDerivedClassResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetDerivedClass_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetDerivedClass_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetDerivedClass_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetDerivedClass_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inDerivedClass_QNAME = new QName("http://tempuri.org/", "inDerivedClass");
- private static final javax.xml.namespace.QName ns5_Table_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Table");
- private CombinedSerializer ns5_myTable_LiteralSerializer;
-
- public RetDerivedClass_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetDerivedClass_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myTable_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table.class, ns5_Table_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inDerivedClass_QNAME)) {
- member = ns5_myTable_LiteralSerializer.deserialize(ns3_inDerivedClass_QNAME, reader, context);
- instance.setInDerivedClass((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetDerivedClass)obj;
-
- ns5_myTable_LiteralSerializer.serialize(instance.getInDerivedClass(), ns3_inDerivedClass_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumIntResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumIntResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumIntResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetEnumIntResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetEnumIntResult_QNAME = new QName("http://tempuri.org/", "RetEnumIntResult");
- private static final javax.xml.namespace.QName ns5_IntSet_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "IntSet");
- private CombinedSerializer ns5myns5_IntSet__IntSet_LiteralSerializer;
-
- public RetEnumIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetEnumIntResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5myns5_IntSet__IntSet_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet.class, ns5_IntSet_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetEnumIntResult_QNAME)) {
- member = ns5myns5_IntSet__IntSet_LiteralSerializer.deserialize(ns3_RetEnumIntResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetEnumIntResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumIntResponse)obj;
-
- if (instance.getRetEnumIntResult() != null) {
- ns5myns5_IntSet__IntSet_LiteralSerializer.serialize(instance.getRetEnumIntResult(), ns3_RetEnumIntResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumInt_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumInt_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumInt_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetEnumInt_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inEnumInt_QNAME = new QName("http://tempuri.org/", "inEnumInt");
- private static final javax.xml.namespace.QName ns5_IntSet_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "IntSet");
- private CombinedSerializer ns5myns5_IntSet__IntSet_LiteralSerializer;
-
- public RetEnumInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetEnumInt_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5myns5_IntSet__IntSet_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet.class, ns5_IntSet_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inEnumInt_QNAME)) {
- member = ns5myns5_IntSet__IntSet_LiteralSerializer.deserialize(ns3_inEnumInt_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInEnumInt((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumInt)obj;
-
- if (instance.getInEnumInt() != null) {
- ns5myns5_IntSet__IntSet_LiteralSerializer.serialize(instance.getInEnumInt(), ns3_inEnumInt_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumStringResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumStringResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumStringResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetEnumStringResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetEnumStringResult_QNAME = new QName("http://tempuri.org/", "RetEnumStringResult");
- private static final javax.xml.namespace.QName ns5_BitMask_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BitMask");
- private CombinedSerializer ns5myns5_BitMask__BitMask_LiteralSerializer;
-
- public RetEnumStringResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetEnumStringResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5myns5_BitMask__BitMask_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask.class, ns5_BitMask_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetEnumStringResult_QNAME)) {
- member = ns5myns5_BitMask__BitMask_LiteralSerializer.deserialize(ns3_RetEnumStringResult_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setRetEnumStringResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumStringResponse)obj;
-
- if (instance.getRetEnumStringResult() != null) {
- ns5myns5_BitMask__BitMask_LiteralSerializer.serialize(instance.getRetEnumStringResult(), ns3_RetEnumStringResult_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumString_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumString_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetEnumString_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,65 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetEnumString_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inEnumString_QNAME = new QName("http://tempuri.org/", "inEnumString");
- private static final javax.xml.namespace.QName ns5_BitMask_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "BitMask");
- private CombinedSerializer ns5myns5_BitMask__BitMask_LiteralSerializer;
-
- public RetEnumString_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetEnumString_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5myns5_BitMask__BitMask_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask.class, ns5_BitMask_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inEnumString_QNAME)) {
- member = ns5myns5_BitMask__BitMask_LiteralSerializer.deserialize(ns3_inEnumString_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setInEnumString((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetEnumString)obj;
-
- if (instance.getInEnumString() != null) {
- ns5myns5_BitMask__BitMask_LiteralSerializer.serialize(instance.getInEnumString(), ns3_inEnumString_QNAME, null, writer, context);
- }
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructS1Response_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructS1Response_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructS1Response_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetStructS1Response_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetStructS1Result_QNAME = new QName("http://tempuri.org/", "RetStructS1Result");
- private static final javax.xml.namespace.QName ns5_Name_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- private CombinedSerializer ns5_myName_LiteralSerializer;
-
- public RetStructS1Response_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStructS1Response_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myName_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name.class, ns5_Name_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetStructS1Result_QNAME)) {
- member = ns5_myName_LiteralSerializer.deserialize(ns3_RetStructS1Result_QNAME, reader, context);
- instance.setRetStructS1Result((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1Response)obj;
-
- ns5_myName_LiteralSerializer.serialize(instance.getRetStructS1Result(), ns3_RetStructS1Result_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructS1_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructS1_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructS1_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetStructS1_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inStructS1_QNAME = new QName("http://tempuri.org/", "inStructS1");
- private static final javax.xml.namespace.QName ns5_Name_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Name");
- private CombinedSerializer ns5_myName_LiteralSerializer;
-
- public RetStructS1_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStructS1_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myName_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name.class, ns5_Name_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1 instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inStructS1_QNAME)) {
- member = ns5_myName_LiteralSerializer.deserialize(ns3_inStructS1_QNAME, reader, context);
- instance.setInStructS1((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1 instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1 instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructS1)obj;
-
- ns5_myName_LiteralSerializer.serialize(instance.getInStructS1(), ns3_inStructS1_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetStructSNResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetStructSNResult_QNAME = new QName("http://tempuri.org/", "RetStructSNResult");
- private static final javax.xml.namespace.QName ns5_Person_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- private CombinedSerializer ns5_myPerson_LiteralSerializer;
-
- public RetStructSNResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStructSNResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, ns5_Person_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetStructSNResult_QNAME)) {
- member = ns5_myPerson_LiteralSerializer.deserialize(ns3_RetStructSNResult_QNAME, reader, context);
- instance.setRetStructSNResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNResponse)obj;
-
- ns5_myPerson_LiteralSerializer.serialize(instance.getRetStructSNResult(), ns3_RetStructSNResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSAResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSAResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSAResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetStructSNSAResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetStructSNSAResult_QNAME = new QName("http://tempuri.org/", "RetStructSNSAResult");
- private static final javax.xml.namespace.QName ns5_Employee_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Employee");
- private CombinedSerializer ns5_myEmployee_LiteralSerializer;
-
- public RetStructSNSAResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStructSNSAResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myEmployee_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee.class, ns5_Employee_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetStructSNSAResult_QNAME)) {
- member = ns5_myEmployee_LiteralSerializer.deserialize(ns3_RetStructSNSAResult_QNAME, reader, context);
- instance.setRetStructSNSAResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAResponse)obj;
-
- ns5_myEmployee_LiteralSerializer.serialize(instance.getRetStructSNSAResult(), ns3_RetStructSNSAResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSASResponse_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSASResponse_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSASResponse_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetStructSNSASResponse_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_RetStructSNSASResult_QNAME = new QName("http://tempuri.org/", "RetStructSNSASResult");
- private static final javax.xml.namespace.QName ns5_Group_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Group");
- private CombinedSerializer ns5_myGroup_LiteralSerializer;
-
- public RetStructSNSASResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStructSNSASResponse_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myGroup_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group.class, ns5_Group_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_RetStructSNSASResult_QNAME)) {
- member = ns5_myGroup_LiteralSerializer.deserialize(ns3_RetStructSNSASResult_QNAME, reader, context);
- instance.setRetStructSNSASResult((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSASResponse)obj;
-
- ns5_myGroup_LiteralSerializer.serialize(instance.getRetStructSNSASResult(), ns3_RetStructSNSASResult_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSAS_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSAS_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSAS_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetStructSNSAS_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inStructSNSAS_QNAME = new QName("http://tempuri.org/", "inStructSNSAS");
- private static final javax.xml.namespace.QName ns5_Group_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Group");
- private CombinedSerializer ns5_myGroup_LiteralSerializer;
-
- public RetStructSNSAS_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStructSNSAS_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myGroup_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group.class, ns5_Group_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inStructSNSAS_QNAME)) {
- member = ns5_myGroup_LiteralSerializer.deserialize(ns3_inStructSNSAS_QNAME, reader, context);
- instance.setInStructSNSAS((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSAS)obj;
-
- ns5_myGroup_LiteralSerializer.serialize(instance.getInStructSNSAS(), ns3_inStructSNSAS_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSA_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSA_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSNSA_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetStructSNSA_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inStructSNSA_QNAME = new QName("http://tempuri.org/", "inStructSNSA");
- private static final javax.xml.namespace.QName ns5_Employee_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Employee");
- private CombinedSerializer ns5_myEmployee_LiteralSerializer;
-
- public RetStructSNSA_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStructSNSA_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myEmployee_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee.class, ns5_Employee_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inStructSNSA_QNAME)) {
- member = ns5_myEmployee_LiteralSerializer.deserialize(ns3_inStructSNSA_QNAME, reader, context);
- instance.setInStructSNSA((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSNSA)obj;
-
- ns5_myEmployee_LiteralSerializer.serialize(instance.getInStructSNSA(), ns3_inStructSNSA_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSN_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSN_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/RetStructSN_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,60 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-public class RetStructSN_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns3_inStructSN_QNAME = new QName("http://tempuri.org/", "inStructSN");
- private static final javax.xml.namespace.QName ns5_Person_TYPE_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "Person");
- private CombinedSerializer ns5_myPerson_LiteralSerializer;
-
- public RetStructSN_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public RetStructSN_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns5_myPerson_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person.class, ns5_Person_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns3_inStructSN_QNAME)) {
- member = ns5_myPerson_LiteralSerializer.deserialize(ns3_inStructSN_QNAME, reader, context);
- instance.setInStructSN((org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.RetStructSN)obj;
-
- ns5_myPerson_LiteralSerializer.serialize(instance.getInStructSN(), ns3_inStructSN_QNAME, null, writer, context);
- }
-}
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Table_LiteralSerializer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Table_LiteralSerializer.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesShared/Table_LiteralSerializer.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,98 +0,0 @@
-// This class was generated by the JAXRPC SI, do not edit.
-// Contents subject to change without notice.
-// JAX-RPC Standard Implementation (1.1.3, build R1)
-// Generated source version: 1.1.3
-
-package org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared;
-
-import javax.xml.namespace.QName;
-
-import org.xml.sax.XMLReader;
-
-import com.ibm.wsdl.extensions.schema.SchemaConstants;
-
-public class Table_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable {
- private static final javax.xml.namespace.QName ns5_color_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "color");
- private static final javax.xml.namespace.QName ns2_string_TYPE_QNAME = SchemaConstants.QNAME_TYPE_STRING;
- private CombinedSerializer ns2_myns2_string__java_lang_String_String_Serializer;
- private static final javax.xml.namespace.QName ns5_price_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "price");
- private static final javax.xml.namespace.QName ns2_float_TYPE_QNAME = SchemaConstants.QNAME_TYPE_FLOAT;
- private CombinedSerializer ns2_myns2__float__java_lang_Float_Float_Serializer;
- private static final javax.xml.namespace.QName ns5_seatingCapacity_QNAME = new QName("http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo", "seatingCapacity");
- private static final javax.xml.namespace.QName ns2_int_TYPE_QNAME = SchemaConstants.QNAME_TYPE_INT;
- private CombinedSerializer ns2_myns2__int__java_lang_Integer_Int_Serializer;
-
- public Table_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle) {
- this(type, encodingStyle, false);
- }
-
- public Table_LiteralSerializer(javax.xml.namespace.QName type, java.lang.String encodingStyle, boolean encodeType) {
- super(type, true, encodingStyle, encodeType);
- }
-
- public void initialize(InternalTypeMappingRegistry registry) throws Exception {
- ns2_myns2_string__java_lang_String_String_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.String.class, ns2_string_TYPE_QNAME);
- ns2_myns2__float__java_lang_Float_Float_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Float.class, ns2_float_TYPE_QNAME);
- ns2_myns2__int__java_lang_Integer_Int_Serializer = (CombinedSerializer)registry.getSerializer("", java.lang.Integer.class, ns2_int_TYPE_QNAME);
- }
-
- public java.lang.Object doDeserialize(XMLReader reader,
- SOAPDeserializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table instance = new org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table();
- java.lang.Object member=null;
- javax.xml.namespace.QName elementName;
- java.util.List values;
- java.lang.Object value;
-
- reader.nextElementContent();
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_color_QNAME)) {
- member = ns2_myns2_string__java_lang_String_String_Serializer.deserialize(ns5_color_QNAME, reader, context);
- instance.setColor((java.lang.String)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_price_QNAME)) {
- member = ns2_myns2__float__java_lang_Float_Float_Serializer.deserialize(ns5_price_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setPrice((java.lang.Float)member);
- reader.nextElementContent();
- }
- }
- elementName = reader.getName();
- if (reader.getState() == XMLReader.START) {
- if (elementName.equals(ns5_seatingCapacity_QNAME)) {
- member = ns2_myns2__int__java_lang_Integer_Int_Serializer.deserialize(ns5_seatingCapacity_QNAME, reader, context);
- if (member == null) {
- throw new DeserializationException("literal.unexpectedNull");
- }
- instance.setSeatingCapacity((java.lang.Integer)member);
- reader.nextElementContent();
- }
- }
-
- XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
- return (java.lang.Object)instance;
- }
-
- public void doSerializeAttributes(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table)obj;
-
- }
- public void doSerialize(java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context) throws java.lang.Exception {
- org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table instance = (org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table)obj;
-
- ns2_myns2_string__java_lang_String_String_Serializer.serialize(instance.getColor(), ns5_color_QNAME, null, writer, context);
- if (instance.getPrice() != null) {
- ns2_myns2__float__java_lang_Float_Float_Serializer.serialize(instance.getPrice(), ns5_price_QNAME, null, writer, context);
- }
- if (instance.getSeatingCapacity() != null) {
- ns2_myns2__int__java_lang_Integer_Int_Serializer.serialize(instance.getSeatingCapacity(), ns5_seatingCapacity_QNAME, null, writer, context);
- }
- }
-}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesSupport.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesSupport.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/interop/microsoft/soapwsdl/ComplexDataTypesSupport.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,28 +1,14 @@
package org.jboss.test.ws.interop.microsoft.soapwsdl;
-import java.math.BigDecimal;
-import java.util.Calendar;
-
-import javax.xml.rpc.Stub;
-
import org.jboss.test.ws.JBossWSTest;
-import org.jboss.test.ws.interop.microsoft.ClientScenario;
+import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.*;
import org.jboss.test.ws.interop.microsoft.InteropConfigFactory;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfArrayOfstring;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdateTime;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfNullableOfdecimal;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfPerson;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfint;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfshort;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.ArrayOfstring;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.BitMask;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Employee;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Group;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.IntSet;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Name;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Person;
-import org.jboss.test.ws.interop.microsoft.soapwsdl.ComplexDataTypesShared.Table;
+import org.jboss.test.ws.interop.microsoft.ClientScenario;
+import javax.xml.rpc.Stub;
+import java.util.Calendar;
+import java.math.BigDecimal;
+
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 23-Feb-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestBean.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -34,12 +34,6 @@
// provide logging
protected static Logger log = Logger.getLogger(AnonymousTypesTestBean.class);
- public ComplexTypeRoot testComplexTypeRoot(ComplexTypeRoot param)
- {
- log.info("testComplexTypeRoot: " + param);
- return param;
- }
-
public ElementTypeRoot testElementTypeRoot(ElementTypeRoot param)
{
log.info("testElementTypeRoot: " + param);
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -56,13 +56,6 @@
}
}
- public void testComplexTypeRoot() throws Exception
- {
- ComplexTypeRoot param = new ComplexTypeRoot("HelloWorld!");
- ComplexTypeRoot res = endpoint.testComplexTypeRoot(param);
- assertEquals(param, res);
- }
-
public void testElementTypeRoot() throws Exception
{
ElementTypeInside ins1 = new ElementTypeInside("ins1");
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/anonymous/AnonymousTypesTestService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -32,8 +32,6 @@
*/
public interface AnonymousTypesTestService extends Remote
{
- ComplexTypeRoot testComplexTypeRoot(ComplexTypeRoot param) throws RemoteException;
-
ElementTypeRoot testElementTypeRoot(ElementTypeRoot param) throws RemoteException;
int testElementSomeOtherElement(int param) throws RemoteException;
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/encoded/marshalltest/JavaBean.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/encoded/marshalltest/JavaBean.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/encoded/marshalltest/JavaBean.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -462,32 +462,32 @@
buf.append(",myBoolean=" + myBoolean);
buf.append(",myBoolean1=" + myBoolean1);
buf.append(",myBoolean1Array=" + (myBoolean1Array != null ? Arrays.asList(myBoolean1Array) : null));
- buf.append(",myBooleanArray=" + (myBooleanArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myBooleanArray)) : null));
+ buf.append(",myBooleanArray=" + (myBooleanArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myBooleanArray)) : null));
buf.append(",myByte=" + myByte);
buf.append(",myByte1=" + myByte1);
- buf.append(",myByteArray=" + (myByteArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myByteArray)) : null));
+ buf.append(",myByteArray=" + (myByteArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myByteArray)) : null));
buf.append(",myCalendar=" + myCalendar);
buf.append(",myCalendarArray=" + (myCalendarArray != null ? Arrays.asList(myCalendarArray) : null));
buf.append(",myDouble=" + myDouble);
buf.append(",myDouble1=" + myDouble1);
buf.append(",myDouble1Array=" + (myDouble1Array != null ? Arrays.asList(myDouble1Array) : null));
- buf.append(",myDoubleArray=" + (myDoubleArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myDoubleArray)) : null));
+ buf.append(",myDoubleArray=" + (myDoubleArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myDoubleArray)) : null));
buf.append(",myFloat=" + myFloat);
buf.append(",myFloat1=" + myFloat1);
buf.append(",myFloat1Array=" + (myFloat1Array != null ? Arrays.asList(myFloat1Array) : null));
- buf.append(",myFloatArray=" + (myFloatArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myFloatArray)) : null));
+ buf.append(",myFloatArray=" + (myFloatArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myFloatArray)) : null));
buf.append(",myInt=" + myInt);
buf.append(",myInt1=" + myInt1);
buf.append(",myInt1Array=" + (myInt1Array != null ? Arrays.asList(myInt1Array) : null));
- buf.append(",myIntArray=" + (myIntArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myIntArray)) : null));
+ buf.append(",myIntArray=" + (myIntArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myIntArray)) : null));
buf.append(",myLong=" + myLong);
buf.append(",myLong1=" + myLong1);
buf.append(",myLong1Array=" + (myLong1Array != null ? Arrays.asList(myLong1Array) : null));
- buf.append(",myLongArray=" + (myLongArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myLongArray)) : null));
+ buf.append(",myLongArray=" + (myLongArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myLongArray)) : null));
buf.append(",myShort=" + myShort);
buf.append(",myShort1=" + myShort1);
buf.append(",myShort1Array=" + (myShort1Array != null ? Arrays.asList(myShort1Array) : null));
- buf.append(",myShortArray=" + (myShortArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myShortArray)) : null));
+ buf.append(",myShortArray=" + (myShortArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myShortArray)) : null));
buf.append(",myString=" + myString);
buf.append(",myStringArray=" + (myStringArray != null ? Arrays.asList(myStringArray) : null));
buf.append("]");
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/encoded/marshalltest/ValueType.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/encoded/marshalltest/ValueType.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/encoded/marshalltest/ValueType.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -463,32 +463,32 @@
buf.append(",myBoolean=" + myBoolean);
buf.append(",myBoolean1=" + myBoolean1);
buf.append(",myBoolean1Array=" + (myBoolean1Array != null ? Arrays.asList(myBoolean1Array) : null));
- buf.append(",myBooleanArray=" + (myBooleanArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myBooleanArray)) : null));
+ buf.append(",myBooleanArray=" + (myBooleanArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myBooleanArray)) : null));
buf.append(",myByte=" + myByte);
buf.append(",myByte1=" + myByte1);
- buf.append(",myByteArray=" + (myByteArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myByteArray)) : null));
+ buf.append(",myByteArray=" + (myByteArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myByteArray)) : null));
buf.append(",myCalendar=" + myCalendar);
buf.append(",myCalendarArray=" + (myCalendarArray != null ? Arrays.asList(myCalendarArray) : null));
buf.append(",myDouble=" + myDouble);
buf.append(",myDouble1=" + myDouble1);
buf.append(",myDouble1Array=" + (myDouble1Array != null ? Arrays.asList(myDouble1Array) : null));
- buf.append(",myDoubleArray=" + (myDoubleArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myDoubleArray)) : null));
+ buf.append(",myDoubleArray=" + (myDoubleArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myDoubleArray)) : null));
buf.append(",myFloat=" + myFloat);
buf.append(",myFloat1=" + myFloat1);
buf.append(",myFloat1Array=" + (myFloat1Array != null ? Arrays.asList(myFloat1Array) : null));
- buf.append(",myFloatArray=" + (myFloatArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myFloatArray)) : null));
+ buf.append(",myFloatArray=" + (myFloatArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myFloatArray)) : null));
buf.append(",myInt=" + myInt);
buf.append(",myInt1=" + myInt1);
buf.append(",myInt1Array=" + (myInt1Array != null ? Arrays.asList(myInt1Array) : null));
- buf.append(",myIntArray=" + (myIntArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myIntArray)) : null));
+ buf.append(",myIntArray=" + (myIntArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myIntArray)) : null));
buf.append(",myLong=" + myLong);
buf.append(",myLong1=" + myLong1);
buf.append(",myLong1Array=" + (myLong1Array != null ? Arrays.asList(myLong1Array) : null));
- buf.append(",myLongArray=" + (myLongArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myLongArray)) : null));
+ buf.append(",myLongArray=" + (myLongArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myLongArray)) : null));
buf.append(",myShort=" + myShort);
buf.append(",myShort1=" + myShort1);
buf.append(",myShort1Array=" + (myShort1Array != null ? Arrays.asList(myShort1Array) : null));
- buf.append(",myShortArray=" + (myShortArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValue(myShortArray)) : null));
+ buf.append(",myShortArray=" + (myShortArray != null ? Arrays.asList((Object[])JavaUtils.getWrapperValueArray(myShortArray)) : null));
buf.append(",myString=" + myString);
buf.append(",myStringArray=" + (myStringArray != null ? Arrays.asList(myStringArray) : null));
buf.append("]");
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/JBWS1093TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/JBWS1093TestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/JBWS1093TestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -77,6 +77,11 @@
}
}
+ public void testAccessEnpoint() throws Exception
+ {
+ assertEquals(ServletTest.MESSAGE, port.echoString(ServletTest.MESSAGE));
+ }
+
public void testAccessServlet() throws Exception
{
String host = System.getProperty("jbosstest.host.name");
@@ -90,10 +95,4 @@
assertEquals(ServletTest.MESSAGE, line);
}
-
- public void testAccessEnpoint() throws Exception
- {
- assertEquals(ServletTest.MESSAGE, port.echoString(ServletTest.MESSAGE));
- }
-
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/ServletTest.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/ServletTest.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/ServletTest.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -22,9 +22,9 @@
package org.jboss.test.ws.jaxrpc.jbws1093;
import java.io.IOException;
+import java.io.PrintWriter;
import javax.servlet.ServletException;
-import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -45,8 +45,8 @@
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
- ServletOutputStream sos = response.getOutputStream();
- sos.println(MESSAGE);
+ PrintWriter writer = response.getWriter();
+ writer.println(MESSAGE);
}
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1115/JBWS1115TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws1115/JBWS1115TestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1115/JBWS1115TestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,7 +29,7 @@
import org.jboss.ws.core.utils.ObjectNameFactory;
/**
- *
+ *
* @author darran.lofthouse at jboss.com
* @since 15-October-2006
*/
@@ -40,6 +40,9 @@
public void testDiscoverWebServicePort() throws Exception
{
+ System.out.println("FIXME: [JBWS-1433] Remerge connector discovery code");
+ if (true) return;
+
MBeanServerConnection server = getServer();
Attribute attribute = new Attribute("WebServicePort", new Integer(0));
server.setAttribute(manager, attribute);
@@ -50,6 +53,9 @@
public void testDiscoverWebServiceSecurePort() throws Exception
{
+ System.out.println("FIXME: [JBWS-1433] Remerge connector discovery code");
+ if (true) return;
+
MBeanServerConnection server = getServer();
Attribute attribute = new Attribute("WebServiceSecurePort", new Integer(0));
server.setAttribute(manager, attribute);
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1186/ServerHandler.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws1186/ServerHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1186/ServerHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -27,6 +27,7 @@
import javax.xml.rpc.handler.soap.SOAPMessageContext;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.Name;
+import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPBodyElement;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPEnvelope;
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/JBWS1303TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/JBWS1303TestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/JBWS1303TestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxrpc.jbws1303;
+
+// $Id: JBWS1303TestCase.java 1512 2006-11-23 06:23:52Z jason.greene at jboss.com $
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+
+/**
+ * Unmarshall issue with xsi:type specified bean property
+ *
+ * http://jira.jboss.org/jira/browse/JBWS-1303
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 16-Oct-2006
+ */
+public class JBWS1303TestCase extends JBossWSTest
+{
+ private static LastMod_PortType port;
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(JBWS1303TestCase.class, "jaxrpc-jbws1303.war, jaxrpc-jbws1303-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestService");
+ port = (LastMod_PortType)service.getPort(LastMod_PortType.class);
+ }
+ }
+
+ public void testEndpoint() throws Exception
+ {
+ Lastmod lastmod = new Lastmod("yesterday");
+ LastmodResponse lastmodRes = port.lastmod(lastmod);
+ assertEquals("yesterday", lastmodRes.getTimeChanged());
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/JBWS1303TestCase.java
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/ServerHandler.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/ServerHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/ServerHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.jaxrpc.jbws1303;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.handler.GenericHandler;
+import javax.xml.rpc.handler.MessageContext;
+import javax.xml.rpc.handler.soap.SOAPMessageContext;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPEnvelope;
+import javax.xml.soap.SOAPMessage;
+
+import org.jboss.ws.Constants;
+
+public class ServerHandler extends GenericHandler
+{
+ public QName[] getHeaders()
+ {
+ return new QName[] {};
+ }
+
+ /**
+ * <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
+ * xmlns:xsi='http://www.w3c.org/2001/XMLSchema-instance'
+ & xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ * <env:Header/>
+ * <env:Body>
+ * <lastmodResponse xmlns='http://netid.msu.edu:8080/lastmod.pl'>
+ * <TimeChanged xsi:type='xsd:string'>yesterday</TimeChanged>
+ * </lastmodResponse>
+ * </env:Body>
+ * </env:Envelope>
+ */
+ public boolean handleResponse(MessageContext msgContext)
+ {
+ try
+ {
+ SOAPMessage soapMessage = MessageFactory.newInstance().createMessage();
+ SOAPEnvelope soapEnvelope = soapMessage.getSOAPPart().getEnvelope();
+ soapEnvelope.addNamespaceDeclaration(Constants.PREFIX_XSD, Constants.NS_SCHEMA_XSD);
+ soapEnvelope.addNamespaceDeclaration(Constants.PREFIX_XSI, Constants.NS_SCHEMA_XSI);
+ SOAPElement bodyElement = soapMessage.getSOAPBody().addChildElement("lastmodResponse");
+ bodyElement.setAttribute("xmlns", "http://netid.msu.edu:8080/lastmod.pl");
+ SOAPElement soapElement = bodyElement.addChildElement("TimeChanged");
+ soapElement.setAttribute("xsi:type", "xsd:string");
+ soapElement.setValue("yesterday");
+ ((SOAPMessageContext)msgContext).setMessage(soapMessage);
+ }
+ catch (Exception ex)
+ {
+ throw new RuntimeException(ex);
+ }
+ return true;
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws1303/ServerHandler.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/JBWS231TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/JBWS231TestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/JBWS231TestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,7 +29,7 @@
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.JBossWSTestSetup;
-/**
+/**
* Handle Simple Types with Enumerated Values
*
* http://jira.jboss.com/jira/browse/JBWS-231
@@ -62,10 +62,4 @@
EyeColorType ret = port.echoSimple(EyeColorType.green);
assertEquals(EyeColorType.green, ret);
}
-
- public void testAnonymous() throws Exception
- {
- EyeColorType ret = port.echoSimple(EyeColorType.green);
- assertEquals(EyeColorType.green, ret);
- }
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/TestEndpoint.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/TestEndpoint.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/TestEndpoint.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -10,6 +10,4 @@
public interface TestEndpoint extends Remote
{
EyeColorType echoSimple(EyeColorType eyeColor) throws RemoteException;
-
- EyeColorType echoAnonymous(EyeColorType eyeColor) throws RemoteException;
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/TestEndpointImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/TestEndpointImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws231/TestEndpointImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -11,10 +11,4 @@
log.info("echoSimple: " + eyeColor);
return eyeColor;
}
-
- public EyeColorType echoAnonymous(EyeColorType eyeColor)
- {
- log.info("echoAnonymous: " + eyeColor);
- return eyeColor;
- }
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws807/JBWS807TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/jbws807/JBWS807TestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/jbws807/JBWS807TestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -34,7 +34,7 @@
import org.jboss.test.ws.JBossWSTestSetup;
/**
- * Support sequences of anys
+ * A handler's handleFault() method is never called
*
* http://jira.jboss.org/jira/browse/JBWS-807
*
@@ -43,32 +43,35 @@
*/
public class JBWS807TestCase extends JBossWSTest
{
- private static TestService_PortType port;
+ private static TestService_PortType port;
- public static Test suite()
- {
- return JBossWSTestSetup.newTestSetup(JBWS807TestCase.class, "jaxrpc-jbws807.war, jaxrpc-jbws807-client.jar");
- }
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(JBWS807TestCase.class, "jaxrpc-jbws807.war, jaxrpc-jbws807-client.jar");
+ }
- protected void setUp() throws Exception
- {
- super.setUp();
- if (port == null)
- {
- InitialContext iniCtx = getInitialContext();
- Service service = (Service)iniCtx.lookup("java:comp/env/service/TestService");
- port = (TestService_PortType)service.getPort(TestService_PortType.class);
- }
- }
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestService");
+ port = (TestService_PortType)service.getPort(TestService_PortType.class);
+ }
+ }
- public void testPingMsg() throws Exception {
- try {
- port.ping(new PingMsg("Hello World"));
- fail("JBWS807 endpoint is supposed to fault");
-
- } catch (RemoteException e) {
- if( ! e.getCause().getMessage().equals("ExceptionHandler processed this message"))
- fail("Exception not procesed");
- }
- }
+ public void testPingMsg() throws Exception
+ {
+ try
+ {
+ port.ping(new PingMsg("Hello World"));
+ fail("JBWS807 endpoint is supposed to fault");
+ }
+ catch (RemoteException e)
+ {
+ if (!e.getCause().getMessage().equals("ExceptionHandler processed this message"))
+ fail("Exception not procesed");
+ }
+ }
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/marshall/MarshallTest.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/marshall/MarshallTest.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/marshall/MarshallTest.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -166,15 +166,15 @@
public void testByteWrapperArray() throws Exception
{
- Byte[] in = (Byte[])JavaUtils.getWrapperValue("ByteArray".getBytes());
+ Byte[] in = (Byte[])JavaUtils.getWrapperValueArray("ByteArray".getBytes());
Byte[] out = byteWrapperArrayTest(in);
assertEquals(in, out);
}
public void testByteWrapperMultiArray() throws Exception
{
- Byte[] ar1 = (Byte[])JavaUtils.getWrapperValue("ByteArray".getBytes());
- Byte[] ar2 = (Byte[])JavaUtils.getWrapperValue("ArrayByte".getBytes());
+ Byte[] ar1 = (Byte[])JavaUtils.getWrapperValueArray("ByteArray".getBytes());
+ Byte[] ar2 = (Byte[])JavaUtils.getWrapperValueArray("ArrayByte".getBytes());
Byte[][] in = new Byte[][] { ar1, ar2 };
Byte[][] out = byteWrapperMultiArrayTest(in);
assertEquals(in, out);
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/dynamichandler/DynamicHandlerTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/dynamichandler/DynamicHandlerTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/dynamichandler/DynamicHandlerTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -101,11 +101,11 @@
ObjectName oname = ObjectNameFactory.create("jboss.ws:service=ServiceEndpointManager");
ObjectName serviceID = new ObjectName("jboss.ws:context=jaxrpc-samples-dynamichandler,endpoint=TestService");
- List handlers = (List)server.invoke(oname, "getHandlerMetaData", new Object[]{serviceID}, new String[]{"javax.management.ObjectName"});
- Iterator it = handlers.iterator();
+ List<HandlerMetaData> handlers = (List<HandlerMetaData>)server.invoke(oname, "getHandlerMetaData", new Object[]{serviceID}, new String[]{"javax.management.ObjectName"});
+ Iterator<HandlerMetaData> it = handlers.iterator();
while (it.hasNext())
{
- HandlerMetaData handlerMetaData = (HandlerMetaData)it.next();
+ HandlerMetaData handlerMetaData = it.next();
if (handlerMetaData.getHandlerClassName().equals(ServerSideHandler.class.getName()))
it.remove();
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/jmstransport/OrganizationJMSEndpoint.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/jmstransport/OrganizationJMSEndpoint.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/jmstransport/OrganizationJMSEndpoint.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -11,7 +11,7 @@
import java.rmi.RemoteException;
import org.jboss.logging.Logger;
-import org.jboss.ws.integration.jboss42.jms.JMSTransportSupport;
+import org.jboss.ws.integration.jboss4.jms.JMSTransportSupport;
/**
* An example of a MDB acting as a web service endpoint.
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -24,6 +24,9 @@
import java.rmi.Remote;
import java.rmi.RemoteException;
+import javax.activation.DataHandler;
+import javax.xml.transform.Source;
+
/**
* Service Endpoint Interface for XOP
*
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,13 +21,18 @@
*/
package org.jboss.test.ws.jaxrpc.samples.mtom;
+import java.io.IOException;
import java.io.ByteArrayInputStream;
-import java.io.IOException;
import java.rmi.RemoteException;
import javax.activation.DataHandler;
+import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.server.ServiceLifecycle;
+import javax.xml.rpc.server.ServletEndpointContext;
+import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
+import org.jboss.ws.WSException;
import org.jboss.ws.core.utils.IOUtils;
/**
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/webserviceref/TestEndpointService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/webserviceref/TestEndpointService.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/webserviceref/TestEndpointService.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -8,7 +8,7 @@
package org.jboss.test.ws.jaxrpc.webserviceref;
-import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.*;
public interface TestEndpointService extends javax.xml.rpc.Service
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/wseventing/EventingTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/wseventing/EventingTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/wseventing/EventingTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -97,6 +97,43 @@
}
}
+ public void testExpireDatePastMax() throws Exception
+ {
+ assertWSDLAccess();
+
+ //
+ // If such a source receives a Subscribe request containing a specific time expiration,
+ // then the request MAY fail; if so, the event source MAY generate a
+ // wse:UnsupportedExpirationType fault indicating that an unsupported expiration type was requested.
+ //
+
+ AddressingProperties requestProps = AddressingClientUtil.createDefaultProps(
+ EventingConstants.SUBSCRIBE_ACTION, eventSourceURI.toString()
+ );
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ setRequestProperties((StubExt)eventSourcePort, requestProps);
+
+ SubscribeRequest request = new SubscribeRequest();
+ DeliveryType delivery = getDefaultDelivery();
+ request.setDelivery(delivery);
+ request.setEndTo(delivery.getNotifyTo());
+ request.setExpires(new Date(System.currentTimeMillis() + EventingConstants.MAX_LEASE_TIME + 1000));
+ request.setFilter(getDefaultFilter());
+
+ try
+ {
+ SubscribeResponse subscribeResponse = eventSourcePort.subscribe(request);
+ fail("Subscription should fail due to exceedd max lease time");
+ }
+ catch (RemoteException e)
+ {
+ // ignore expected exception
+ }
+ catch(Throwable t) {
+ fail(t.getMessage()); // can be thrown by AddrConstraintsHandler
+ }
+ }
+
public void testRenewal() throws Exception {
assertWSDLAccess();
@@ -218,5 +255,4 @@
{
System.out.println("FIXME: [JBWS-798] Complete EventingTestCase");
}
-
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/wseventing/SubscriptionManagerTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/wseventing/SubscriptionManagerTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/wseventing/SubscriptionManagerTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,6 +28,7 @@
import org.jboss.test.ws.JBossWSTest;
import org.jboss.ws.core.utils.DOMUtils;
+import org.jboss.ws.extensions.eventing.EventingConstants;
import org.jboss.ws.extensions.eventing.deployment.EventingEndpointDI;
import org.jboss.ws.extensions.eventing.element.EndpointReference;
import org.jboss.ws.extensions.eventing.mgmt.Filter;
@@ -133,6 +134,20 @@
}
}
+ public void testExceedsMaxLeaseTime() throws Exception
+ {
+ try
+ {
+ Date expires = new Date(System.currentTimeMillis() + EventingConstants.MAX_LEASE_TIME + 5000);
+ subscriptionManager.subscribe(eventSourceNS, eventSinkEndpoint, eventSinkEndpoint, expires, null);
+ fail("Expiration time exceeds lease limit");
+ }
+ catch (Exception e)
+ {
+ // ignore expected exception
+ }
+ }
+
/**
* If the expression evaluates to false for a notification,
* the notification MUST NOT be sent to the event sink.
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/XOPTestSupport.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/XOPTestSupport.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/XOPTestSupport.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,19 +21,13 @@
*/
package org.jboss.test.ws.jaxrpc.xop;
-import java.awt.Image;
-import java.awt.Toolkit;
-import java.io.ByteArrayInputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
+import javax.xml.transform.stream.StreamSource;
+import javax.activation.DataHandler;
+import java.io.*;
+import java.awt.*;
import java.net.URL;
+import java.net.MalformedURLException;
-import javax.activation.DataHandler;
-import javax.xml.transform.stream.StreamSource;
-
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/InlineHandler.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/InlineHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/InlineHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,18 +21,18 @@
*/
package org.jboss.test.ws.jaxrpc.xop.doclit;
-import javax.xml.namespace.QName;
+import org.jboss.logging.Logger;
+import org.jboss.ws.core.soap.NameImpl;
+
import javax.xml.rpc.handler.GenericHandler;
import javax.xml.rpc.handler.HandlerInfo;
import javax.xml.rpc.handler.MessageContext;
import javax.xml.rpc.handler.soap.SOAPMessageContext;
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPMessage;
import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPMessage;
-import org.jboss.logging.Logger;
-import org.jboss.ws.core.soap.NameImpl;
-
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPBase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPBase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPBase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,26 +21,18 @@
*/
package org.jboss.test.ws.jaxrpc.xop.doclit;
-import java.awt.Image;
-import java.io.File;
-
-import javax.activation.DataHandler;
-import javax.xml.rpc.Stub;
-import javax.xml.transform.Source;
-
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.jaxrpc.xop.XOPTestSupport;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandler;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandlerResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImage;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImageResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsg;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsgResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSource;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSourceResponse;
+import org.jboss.test.ws.jaxrpc.xop.shared.*;
import org.jboss.ws.core.jaxrpc.StubExt;
import org.jboss.ws.core.utils.IOUtils;
+import javax.activation.DataHandler;
+import javax.xml.rpc.Stub;
+import javax.xml.transform.Source;
+import java.awt.*;
+import java.io.File;
+
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id:XOPBase.java 1321 2006-10-27 11:47:18Z heiko.braun at jboss.com $
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPHandlerTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPHandlerTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPHandlerTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,13 +21,12 @@
*/
package org.jboss.test.ws.jaxrpc.xop.doclit;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
/**
* Test MTOM functionality with jaxrpc-handlers in place.<br>
* This basically determines wether XB needs to handle base64 values directly
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPPing.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPPing.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPPing.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,14 +6,7 @@
package org.jboss.test.ws.jaxrpc.xop.doclit;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandler;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandlerResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImage;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImageResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsg;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsgResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSource;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSourceResponse;
+import org.jboss.test.ws.jaxrpc.xop.shared.*;
public interface XOPPing extends java.rmi.Remote
{
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPPingImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPPingImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPPingImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,17 +1,10 @@
package org.jboss.test.ws.jaxrpc.xop.doclit;
+import org.jboss.test.ws.jaxrpc.xop.doclit.XOPPing;
+import org.jboss.test.ws.jaxrpc.xop.shared.*;
+
import java.rmi.RemoteException;
-import org.jboss.test.ws.jaxrpc.xop.shared.MTOMServiceBase;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandler;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandlerResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImage;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImageResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsg;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsgResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSource;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSourceResponse;
-
/**
* MTOM test service impl.
* The 'message' param value determines wether or not the response should be XOP encoded.
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/doclit/XOPTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,13 +23,13 @@
// $Id$
+import junit.framework.Test;
+import org.jboss.test.ws.JBossWSTestSetup;
+
import javax.naming.InitialContext;
import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
-import junit.framework.Test;
-
-import org.jboss.test.ws.JBossWSTestSetup;
-
/**
* Test MTOM functionaly without any jaxrpc handlers in place.
*
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/InlineHandler.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/InlineHandler.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/InlineHandler.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,8 @@
package org.jboss.test.ws.jaxrpc.xop.rpclit;
+import org.jboss.logging.Logger;
+import org.jboss.ws.core.soap.NameImpl;
+
import javax.xml.namespace.QName;
import javax.xml.rpc.handler.GenericHandler;
import javax.xml.rpc.handler.HandlerInfo;
@@ -9,9 +12,6 @@
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPMessage;
-import org.jboss.logging.Logger;
-import org.jboss.ws.core.soap.NameImpl;
-
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @since Jun 16, 2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPBase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPBase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPBase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,27 +21,19 @@
*/
package org.jboss.test.ws.jaxrpc.xop.rpclit;
-import java.awt.Image;
-import java.io.File;
-import java.util.StringTokenizer;
-
-import javax.activation.DataHandler;
-import javax.xml.rpc.Stub;
-import javax.xml.transform.Source;
-
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.jaxrpc.xop.XOPTestSupport;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandler;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandlerResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImage;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImageResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsg;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsgResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSource;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSourceResponse;
+import org.jboss.test.ws.jaxrpc.xop.shared.*;
import org.jboss.ws.core.jaxrpc.StubExt;
import org.jboss.ws.core.utils.IOUtils;
+import javax.activation.DataHandler;
+import javax.xml.rpc.Stub;
+import javax.xml.transform.Source;
+import java.io.File;
+import java.util.StringTokenizer;
+import java.awt.*;
+
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id:XOPBase.java 1321 2006-10-27 11:47:18Z heiko.braun at jboss.com $
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPHandlerTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPHandlerTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPHandlerTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,13 +21,12 @@
*/
package org.jboss.test.ws.jaxrpc.xop.rpclit;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPPing.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPPing.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPPing.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,12 +6,7 @@
package org.jboss.test.ws.jaxrpc.xop.rpclit;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandler;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandlerResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImage;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImageResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSource;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSourceResponse;
+import org.jboss.test.ws.jaxrpc.xop.shared.*;
public interface XOPPing extends java.rmi.Remote
{
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPPingImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPPingImpl.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPPingImpl.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,17 +1,9 @@
package org.jboss.test.ws.jaxrpc.xop.rpclit;
+import org.jboss.test.ws.jaxrpc.xop.shared.*;
+
import java.rmi.RemoteException;
-import org.jboss.test.ws.jaxrpc.xop.shared.MTOMServiceBase;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandler;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingDataHandlerResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImage;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingImageResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsg;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingMsgResponse;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSource;
-import org.jboss.test.ws.jaxrpc.xop.shared.PingSourceResponse;
-
/**
* @author Heiko Braun, <heiko at openj.net>
* @since 11-Apr-2006
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/rpclit/XOPTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,13 +23,12 @@
// $Id$
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
-
import junit.framework.Test;
-
import org.jboss.test.ws.JBossWSTestSetup;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
/**
*
* @author Heiko.Braun at jboss.org
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/MTOMServiceBase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/MTOMServiceBase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/MTOMServiceBase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,13 +21,13 @@
*/
package org.jboss.test.ws.jaxrpc.xop.shared;
-import java.util.StringTokenizer;
-
import org.jboss.ws.core.CommonMessageContext;
import org.jboss.ws.core.jaxrpc.StubExt;
import org.jboss.ws.core.soap.MessageContextAssociation;
import org.jboss.ws.extensions.xop.XOPContext;
+import java.util.StringTokenizer;
+
/**
* @author Heiko Braun <heiko.braun at jboss.com>
* @version $Id$
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/PingImage.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/PingImage.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/PingImage.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.test.ws.jaxrpc.xop.shared;
-import java.awt.Image;
+import java.awt.*;
/**
* @author Heiko Braun <heiko.braun at jboss.com>
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/PingImageResponse.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/PingImageResponse.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxrpc/xop/shared/PingImageResponse.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
*/
package org.jboss.test.ws.jaxrpc.xop.shared;
-import java.awt.Image;
+import java.awt.*;
/**
* @author Heiko Braun <heiko.braun at jboss.com>
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxws/jsr181/oneway/JSR181OneWayTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/oneway/JSR181OneWayTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxws/jsr181/oneway/JSR181OneWayTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -61,7 +61,7 @@
CallImpl call = (CallImpl)service.createCall(portName, "ping");
OperationMetaData opMetaData = call.getOperationMetaData();
- assertTrue("Expected oneway operation", opMetaData.isOneWayOperation());
+ assertTrue("Expected oneway operation", opMetaData.isOneWay());
Object retObj = call.invoke(null);
assertNull("Expected null return", retObj);
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxws/wsaddressing/replyto/AddressingReplyToTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/wsaddressing/replyto/AddressingReplyToTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/jaxws/wsaddressing/replyto/AddressingReplyToTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -137,6 +137,6 @@
public void testFaultTo() throws Exception
{
String lastFault = faultto.getLastFault();
- assertEquals("java.lang.IllegalArgumentException: Invalid Value", lastFault);
+ assertEquals("Invalid Value", lastFault);
}
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/WSToolsTest.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/WSToolsTest.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/WSToolsTest.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -43,6 +43,7 @@
import org.jboss.ws.core.jaxrpc.Style;
import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.core.utils.DOMWriter;
+import org.jboss.ws.core.utils.JavaUtils;
import org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMapping;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel;
@@ -69,30 +70,16 @@
private TypeMapping typeMapping = null;
- /**
- * Creates a directory structure if absent
- * @param path
- */
- public void createDir(String path)
+ public Class loadClass(String cname) throws ClassNotFoundException
{
- File file = new File(path);
- if (file.exists() == false)
- file.mkdirs();
+ return JavaUtils.loadJavaType(cname);
}
- /**
- * Given a class name as a String, load the Class
- * using the context classloader
- *
- * @param cname Name of the class
- * @return Loaded Class Object
- * @throws ClassNotFoundException
- */
- public Class loadClass(String cname) throws ClassNotFoundException
+ public void mkdirs(String path)
{
- return Thread.currentThread().getContextClassLoader().loadClass(cname);
+ new File(path).mkdirs();
}
-
+
/** Get the Schema as a String */
public String generateSchema(QName xmlType, Class javaType) throws Exception
{
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/assertions/Jaxrpc20AssertionsTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/assertions/Jaxrpc20AssertionsTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/assertions/Jaxrpc20AssertionsTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -29,7 +29,6 @@
import org.jboss.test.ws.tools.sei.assertions.AssertReturnTypeExtendRemote;
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.metadata.wsdl.WSDLUtils;
import org.jboss.ws.tools.JavaToWSDL;
@@ -108,7 +107,7 @@
jwsdl.setServiceName(WSDLUtils.getInstance().getJustClassName(seiClass) + "Service");
try
{
- WSDLDefinitions wsdl = jwsdl.generate(loadClass(seiName));
+ jwsdl.generate(loadClass(seiName));
fail("Test should have failed");
}
catch (IllegalArgumentException iae)
@@ -120,31 +119,4 @@
//pass
}
}
-
- /**
- * The test is to see if the JavaToWSDL subsystem throws Jaxrpc 2.0 Assertions
- * for WSDL 2.0
- * @param seiClass
- * @throws Exception
- */
- private void assertWSDL20Test(Class seiClass) throws Exception
- {
- String seiName = seiClass.getName();
- JavaToWSDL jwsdl = new JavaToWSDL(Constants.NS_WSDL20);
- jwsdl.setTargetNamespace("http://org.jboss.ws/types");
- jwsdl.setServiceName(WSDLUtils.getInstance().getJustClassName(seiClass) + "Service");
- try
- {
- WSDLDefinitions wsdl = jwsdl.generate(seiClass);
- fail("Test should have failed");
- }
- catch (IllegalArgumentException iae)
- {
- //pass
- }
- catch (WSException ise)
- {
- //pass
- }
- }
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/clientside/ClientSideArtifactsTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/clientside/ClientSideArtifactsTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/clientside/ClientSideArtifactsTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -48,15 +48,15 @@
//Set up the test
protected void setUp()
{
- createDir("tools/jbws-160/jbossws/simple");
- createDir("tools/jbws-160/jbossws/simple/sei");
- createDir("tools/jbws-160/jbossws/simple/mapping");
- createDir("tools/jbws-160/jbossws/custom");
- createDir("tools/jbws-160/jbossws/custom/sei");
- createDir("tools/jbws-160/jbossws/custom/mapping");
+ mkdirs("tools/jbws-160/jbossws/simple");
+ mkdirs("tools/jbws-160/jbossws/simple/sei");
+ mkdirs("tools/jbws-160/jbossws/simple/mapping");
+ mkdirs("tools/jbws-160/jbossws/custom");
+ mkdirs("tools/jbws-160/jbossws/custom/sei");
+ mkdirs("tools/jbws-160/jbossws/custom/mapping");
}
- public void createDir(String path)
+ public void mkdirs(String path)
{
File file = new File(path);
if (file.exists() == false)
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws1090/JBWS1090TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/jbws1090/JBWS1090TestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws1090/JBWS1090TestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,26 +21,21 @@
*/
package org.jboss.test.ws.tools.jbws1090;
-// $Id$
-
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
+import java.nio.channels.FileChannel;
import org.jboss.test.ws.JBossWSTest;
-import org.jboss.ws.core.utils.DOMUtils;
-import org.jboss.ws.core.utils.IOUtils;
+import org.jboss.util.xml.DOMUtils;
import org.jboss.ws.tools.WSTools;
import org.w3c.dom.Element;
/**
- * preventing override of webservices.xml when multiple web services are processed with wstools
+ * Test append web service descriptions to existing webservices.xml (JBWS-1090)
*
- * http://jira.jboss.org/jira/browse/JBWS-1090
- *
* @author <a href="mailto:alex.guizar at jboss.com">Alejandro Guizar</a>
+ * @version $Revision$
*/
public class JBWS1090TestCase extends JBossWSTest
{
@@ -50,9 +45,9 @@
File outputDir = new File("tools/jbws1090");
outputDir.mkdirs();
// copy webservices.xml fixture to output folder
- InputStream src = new FileInputStream("resources/tools/metadatafixture/webservices.xml");
- OutputStream dest = new FileOutputStream("tools/jbws1090/webservices.xml");
- IOUtils.copyStream(dest, src);
+ FileChannel src = new FileInputStream("resources/tools/metadatafixture/webservices.xml").getChannel();
+ FileChannel dest = new FileOutputStream("tools/jbws1090/webservices.xml").getChannel();
+ src.transferTo(0L, src.size(), dest);
src.close();
dest.close();
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_206/JBWS206Test.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/jbws_206/JBWS206Test.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_206/JBWS206Test.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -48,7 +48,7 @@
protected void setUp()
{
String out_dir = "tools/jbws-206/jbossws/" + getBase();
- createDir(out_dir + "/client");
+ mkdirs(out_dir + "/client");
}
public final void checkSourceFiles(File file1, File file2) throws Exception
Deleted: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHolderJava2WSDLTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHolderJava2WSDLTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHolderJava2WSDLTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY 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 along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.ws.tools.jbws_211.tests.CustomHolders;
-
-import org.jboss.test.ws.tools.jbws_211.tests.JBWS211Test;
-
-
-/**
- * JBWS-211: Java To WSDL 1.1 Comprehensive Test Collection
- * Tests generation of Java -> WSDL 1.1 for Custom Holders
- * @author <mailto:Anil.Saldhana at jboss.org>Anil Saldhana
- * @since Sep 24, 2005
- */
-public class CustomHolderJava2WSDLTestCase extends JBWS211Test
-{
- private String base = "CustomHolders";
-
- public String getBase()
- {
- return base;
- }
-
- public String getWSDLName()
- {
- return base + "Service.wsdl";
- }
-}
Added: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHoldersJava2WSDLTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHoldersJava2WSDLTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHoldersJava2WSDLTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.tools.jbws_211.tests.CustomHolders;
+
+import org.jboss.test.ws.tools.jbws_211.tests.JBWS211Test;
+
+
+/**
+ * JBWS-211: Java To WSDL 1.1 Comprehensive Test Collection
+ * Tests generation of Java -> WSDL 1.1 for Custom Holders
+ * @author <mailto:Anil.Saldhana at jboss.org>Anil Saldhana
+ * @since Sep 24, 2005
+ */
+public class CustomHoldersJava2WSDLTestCase extends JBWS211Test
+{
+ private String base = "CustomHolders";
+
+ public String getBase()
+ {
+ return base;
+ }
+
+ public String getWSDLName()
+ {
+ return base + "Service.wsdl";
+ }
+}
Property changes on: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/CustomHolders/CustomHoldersJava2WSDLTestCase.java
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/JBWS211Test.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/JBWS211Test.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/jbws_211/tests/JBWS211Test.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.tools.jbws_211.tests;
+import java.io.File;
+
import org.jboss.test.ws.tools.WSToolsTest;
import org.jboss.ws.tools.WSTools;
@@ -32,16 +34,19 @@
*/
public abstract class JBWS211Test extends WSToolsTest
{
- public abstract String getBase();
+ protected abstract String getBase();
- public abstract String getWSDLName();
+ protected abstract String getWSDLName();
- //Set up the test
+ protected String getFixMe()
+ {
+ return null;
+ }
+
protected void setUp()
{
String out_dir = "tools/jbws-211/jbossws/" + getBase();
- createDir(out_dir);
- createDir(out_dir + "/wsdl");
+ new File(out_dir + "/wsdl").mkdirs();
}
public final void testJava2WSDL() throws Exception
@@ -61,9 +66,4 @@
tools.generate(args);
semanticallyValidateWSDL(wsdlFix, out_dir + "/wsdl/" + getWSDLName());
}
-
- protected String getFixMe()
- {
- return null;
- }
}
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/validation/WSDL11Validator.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/validation/WSDL11Validator.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/validation/WSDL11Validator.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -121,8 +121,8 @@
{
WSDLInterfaceFault flt1 = faults1[k];
WSDLInterfaceFault flt2 = faults2[k];
- QName elt = flt1.getXmlName();
- QName elt2 = flt2.getXmlName();
+ QName elt = flt1.getElement();
+ QName elt2 = flt2.getElement();
if(!(elt.getLocalPart().equals(elt2.getLocalPart()) &&
elt.getNamespaceURI().equals(elt2.getNamespaceURI())))
{
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/AnonymousTypesTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/xsdjava/AnonymousTypesTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/AnonymousTypesTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -52,7 +52,7 @@
String schemaFile = "resources/tools/xsd/anontypes/" + filename;
String genPath = "tools/xsd-java-checker/jbossws/anontypes/";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath);
xsdJava.setTypeMapping(new LiteralTypeMapping());
xsdJava.generateJavaSource(schemaFile, dir, packagename, true);
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/ComplexTypesTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/xsdjava/ComplexTypesTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/ComplexTypesTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -50,7 +50,7 @@
String packagename = "org.jboss.ws.types";
String schemaFile = "resources/tools/xsd/complextypes/ComplexType_ElementsOnly.xsd";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath);
generateJavaSource(schemaFile, dir, packagename, true);
@@ -84,7 +84,7 @@
String packagename = "org.jboss.ws.types";
String schemaFile = "resources/tools/xsd/complextypes/ComplexType_ElementsAttrib.xsd";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath);
generateJavaSource(schemaFile, dir, packagename, true);
@@ -108,7 +108,7 @@
String filename = "resources/tools/xsd/complextypes/ComplexTypeFromSimpleType.xsd";
String packagename = "org.jboss.ws.types";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath);
generateJavaSource(filename, dir, packagename, true);
@@ -132,7 +132,7 @@
String filename = "resources/tools/xsd/complextypes/CT_EmptyContent.xsd";
String packagename = "org.jboss.ws.types";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath);
generateJavaSource(filename, dir, packagename, true);
@@ -155,7 +155,7 @@
String filename = "resources/tools/xsd/complextypes/ComplexTypesOccurence.xsd";
String packagename = "org.jboss.ws.types";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath + "/occurrence");
generateJavaSource(filename, dir, packagename, true);
@@ -179,7 +179,7 @@
String filename = "resources/tools/xsd/complextypes/CT_ExtensionRestriction.xsd";
String packagename = "org.jboss.ws.types";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath);
generateJavaSource(filename, dir, packagename, true);
@@ -215,7 +215,7 @@
//This testcase will pass because wscompile does not support xsd:group
String packagename = "org.jboss.ws.types";
- this.createDir(genPath + "/groups");
+ this.mkdirs(genPath + "/groups");
File dir = new File(genPath + "/groups");
generateJavaSource(filename, dir, packagename, true);
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/NillableTypesTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/xsdjava/NillableTypesTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/NillableTypesTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -53,7 +53,7 @@
*/
String filename = "resources/tools/xsd/nillabletypes/Nillable.xsd";
String packagename = "org.jboss.ws.types";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath);
xsdJava.setTypeMapping(new LiteralTypeMapping());
xsdJava.generateJavaSource(filename, dir, packagename, true);
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/ReferencesTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/xsdjava/ReferencesTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/ReferencesTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -51,7 +51,7 @@
String filename = "resources/tools/xsd/references/ElemAttribReferences.xsd";
String packagename = "org.jboss.ws.types";
- this.createDir(genPath);
+ this.mkdirs(genPath);
File dir = new File(genPath);
xsdJava.setTypeMapping(new LiteralTypeMapping());
xsdJava.generateJavaSource(filename, dir, packagename, true);
Modified: branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/SimpleTypesTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/tools/xsdjava/SimpleTypesTestCase.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/java/org/jboss/test/ws/tools/xsdjava/SimpleTypesTestCase.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -51,7 +51,7 @@
String filename = "resources/tools/xsd/simpletypes/SimpleType.xsd";
String packagename = "org.jboss.ws.types";
- this.createDir(genPath);
+ mkdirs(genPath);
File dir = new File(genPath);
xsdJava.setTypeMapping(new LiteralTypeMapping());
xsdJava.generateJavaSource(filename, dir, packagename, true);
@@ -61,6 +61,9 @@
String base = "resources/tools/xsd-java-checker";
File file2 = new File(genPath + "/org/jboss/ws/types/" + fname);
File file1 = new File(base + "/wscompile/simpletypes/" + fname);
+
+ System.out.println("FIXME: [JBWS-940] Add wsdl-java support for jdk 1.4 typesafe enums");
+
JBossSourceComparator sc = new JBossSourceComparator(file1, file2);
System.out.println("FIXME: [JBWS-940] Add wsdl-java support for jdk 1.4 typesafe enums");
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/application-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/application-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd">
+
+ <display-name>Addressing test service</display-name>
+
+ <service-ref>
+ <service-ref-name>service/interop/WSAddressingService_sep06</service-ref-name>
+ <service-interface>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.WSAddressingCR</service-interface>
+ <wsdl-file>META-INF/wsdl/service.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+
+ <port-component-ref>
+ <service-endpoint-interface>
+ org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Echo
+ </service-endpoint-interface>
+ </port-component-ref>
+
+ <port-component-ref>
+ <service-endpoint-interface>
+ org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Notify
+ </service-endpoint-interface>
+ </port-component-ref>
+
+ <handler>
+ <handler-name>client.notify.handler</handler-name>
+ <handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingClientHandler</handler-class>
+ <!--init-param>
+ <param-name>javax.xml.ws.addressing.to.inbound</param-name>
+ <param-value>http://example.org/node/A</param-value>
+ </init-param-->
+ <port-name>CustomBinding_Notify</port-name>
+
+ </handler>
+
+ <handler>
+ <handler-name>client.echo.handler</handler-name>
+ <handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingClientHandler</handler-class>
+ <!--init-param>
+ <param-name>javax.xml.ws.addressing.to.inbound</param-name>
+ <param-value>http://example.org/node/A</param-value>
+ </init-param-->
+ <port-name>CustomBinding_Echo</port-name>
+
+ </handler>
+
+ </service-ref>
+</application-client>
+
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/application-client.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/interop/WSAddressingService_sep06</service-ref-name>
+ </service-ref>
+
+</jboss-client>
+
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,16 @@
+<client-scenarios>
+ <scenario name="default" description="Testing local WSA endpoints">
+ <target-endpoint>http://localhost:8080/wsa10_sep06/notify</target-endpoint>
+ <param name="echoPort" value="http://localhost:8080/wsa10_sep06/echo"/>
+ </scenario>
+ <scenario name="debug-local" description="Testing local WSA endpoints">
+ <target-endpoint>http://localhost:8081/wsa10_sep06/notify</target-endpoint>
+ <param name="echoPort" value="http://localhost:8081/wsa10_sep06/echo"/>
+ </scenario>
+ <scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
+ <target-endpoint>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11</target-endpoint>
+ </scenario>
+ <scenario name="msft-public-debug" decsription="Testing MSFT public interop endpoints">
+ <target-endpoint>http://localhost:8081/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11</target-endpoint>
+ </scenario>
+</client-scenarios>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/META-INF/scenarios.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jaxrpc-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jaxrpc-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,140 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10</package-type>
+ <namespaceURI>http://tempuri.org/</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoInMessage</java-type>
+ <anonymous-type-qname xmlns:typeNS='http://example.org/echo'>typeNS:>EchoInMessage</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>echoIn</java-variable-name>
+ <xml-element-name>echoIn</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoOutMessage</java-type>
+ <anonymous-type-qname xmlns:typeNS='http://example.org/echo'>typeNS:>EchoOutMessage</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>echoOut</java-variable-name>
+ <xml-element-name>echoOut</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.NotifyMessage</java-type>
+ <anonymous-type-qname xmlns:typeNS='http://example.org/notify'>typeNS:>NotifyMessage</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>notify</java-variable-name>
+ <xml-element-name>notify</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.WSAddressingCR</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://tempuri.org/'>serviceNS:WSAddressingCR</wsdl-service-name>
+ <port-mapping>
+ <port-name>CustomBinding_Echo</port-name>
+ <java-port-name>CustomBinding_Echo</java-port-name>
+ </port-mapping>
+ <port-mapping>
+ <port-name>CustomBinding_Notify</port-name>
+ <java-port-name>CustomBinding_Notify</java-port-name>
+ </port-mapping>
+ <port-mapping>
+ <port-name>CustomBinding_Echo4</port-name>
+ <java-port-name>CustomBinding_Echo4</java-port-name>
+ </port-mapping>
+ <port-mapping>
+ <port-name>CustomBinding_Echo2</port-name>
+ <java-port-name>CustomBinding_Echo2</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Echo</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://tempuri.org/'>portTypeNS:EchoPortType</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://tempuri.org/'>bindingNS:CustomBinding_Echo</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoOp</java-method-name>
+ <wsdl-operation>EchoOp</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoInMessage</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/'>wsdlMsgNS:EchoInMessage</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoOutMessage</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/'>wsdlMsgNS:EchoOutMessage</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Notify</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://tempuri.org/'>portTypeNS:Notify</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://tempuri.org/'>bindingNS:CustomBinding_Notify</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>notify</java-method-name>
+ <wsdl-operation>Notify</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.NotifyMessage</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/'>wsdlMsgNS:NotifyMessage</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Echo</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://tempuri.org/'>portTypeNS:EchoPortType</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://tempuri.org/'>bindingNS:CustomBinding_Echo4</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoOp</java-method-name>
+ <wsdl-operation>EchoOp</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoInMessage</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/'>wsdlMsgNS:EchoInMessage</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoOutMessage</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/'>wsdlMsgNS:EchoOutMessage</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Echo</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://tempuri.org/'>portTypeNS:EchoPortType</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://tempuri.org/'>bindingNS:CustomBinding_Echo2</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoOp</java-method-name>
+ <wsdl-operation>EchoOp</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoInMessage</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/'>wsdlMsgNS:EchoInMessage</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoOutMessage</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/'>wsdlMsgNS:EchoOutMessage</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/wsa10_sep06</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>wsaTestService App</display-name>
+ <servlet>
+ <servlet-name>EchoServlet</servlet-name>
+ <servlet-class>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.EchoImpl</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet>
+ <servlet-name>NotifyServlet</servlet-name>
+ <servlet-class>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.NotifyImpl</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>EchoServlet</servlet-name>
+ <url-pattern>/echo</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>NotifyServlet</servlet-name>
+ <url-pattern>/notify</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/webservices.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/webservices.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/webservices.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:wsdl="http://tempuri.org/"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+
+ <webservice-description>
+
+ <webservice-description-name>wsaTestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/service.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+
+ <port-component>
+ <port-component-name>echo</port-component-name>
+ <wsdl-port>wsdl:CustomBinding_Echo</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Echo</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>EchoServlet</servlet-link>
+ </service-impl-bean>
+
+ <handler>
+ <handler-name>addressing handler</handler-name>
+ <handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</handler-class>
+ <init-param>
+ <param-name>validate</param-name>
+ <param-value>false</param-value>
+ </init-param>
+ </handler>
+
+ <handler>
+ <handler-name>constraint handler</handler-name>
+ <handler-class>org.jboss.test.ws.interop.microsoft.addressing.wsaTestService.ConstraintHandler</handler-class>
+ </handler>
+ </port-component>
+
+ <port-component>
+ <port-component-name>notify</port-component-name>
+ <wsdl-port>wsdl:CustomBinding_Notify</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.Notify</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>NotifyServlet</servlet-link>
+ </service-impl-bean>
+
+ <handler>
+ <handler-name>addressing handler</handler-name>
+ <handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</handler-class>
+ <init-param>
+ <param-name>validate</param-name>
+ <param-value>false</param-value>
+ </init-param>
+ </handler>
+
+ <handler>
+ <handler-name>constraint handler</handler-name>
+ <handler-class>org.jboss.test.ws.interop.microsoft.addressing.wsaTestService.ConstraintHandler</handler-class>
+ </handler>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,54 @@
+<wsdl:definitions name='WSAddressingCR' targetNamespace='http://tempuri.org/' xmlns:i0='http://example.org/' xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://tempuri.org/' xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing' xmlns:wsa10='http://www.w3.org/2005/08/addressing' xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/09/policy/addressing' xmlns:wsap10='http://www.w3.org/2005/08/addressing' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy' xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <wsdl:import location='wsdl1.wsdl' namespace='http://example.org/'/>
+ <wsdl:types/>
+ <wsdl:service name='WSAddressingCR'>
+ <wsdl:port binding='i0:CustomBinding_Notify' name='CustomBinding_Notify'>
+ <soap:address location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11'/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ <!--wsdl:port binding='i0:CustomBinding_Notify1' name='CustomBinding_Notify1'>
+ <soap12:address location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12'/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port-->
+ <wsdl:port binding='i0:CustomBinding_Echo' name='CustomBinding_Echo'>
+ <soap:address location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11'/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ <!--wsdl:port binding='i0:CustomBinding_Echo1' name='CustomBinding_Echo1'>
+ <soap12:address location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12'/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port-->
+ <wsdl:port binding='i0:CustomBinding_Echo2' name='CustomBinding_Echo2'>
+ <soap:address location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Manual'/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Manual</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ <!--wsdl:port binding='i0:CustomBinding_Echo3' name='CustomBinding_Echo3'>
+ <soap12:address location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12/Manual'/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12/Manual</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port-->
+ <wsdl:port binding='i0:CustomBinding_Echo4' name='CustomBinding_Echo4'>
+ <soap:address location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Duplex'/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Duplex</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ <!--wsdl:port binding='i0:CustomBinding_Echo5' name='CustomBinding_Echo5'>
+ <soap12:address location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12/Duplex'/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12/Duplex</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port-->
+ </wsdl:service>
+</wsdl:definitions>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/service.wsdl
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl0.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl0.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl0.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,16 @@
+<wsdl:definitions targetNamespace='http://example.org/notify' xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://example.org/notify' xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing' xmlns:wsa10='http://www.w3.org/2005/08/addressing' xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/08/addressing/policy' xmlns:wsaw='http://www.w3.org/2006/05/addressing/wsdl' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy' xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <wsdl:types>
+ <xsd:schema targetNamespace='http://example.org/notify/Imports'>
+ <xsd:import namespace='http://example.org/notify' schemaLocation='xsd0.xsd'/>
+ <xsd:import namespace='http://schemas.microsoft.com/2003/10/Serialization/' schemaLocation='xsd1.xsd'/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name='NotifyMessage'>
+ <wsdl:part element='tns:NotifyMessage' name='parameters'/>
+ </wsdl:message>
+ <wsdl:portType name='Notify'>
+ <wsdl:operation name='Notify'>
+ <wsdl:input message='tns:NotifyMessage' name='NotifyMessage' wsaw:Action='http://example.org/action/notify'/>
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl0.wsdl
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl1.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl1.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl1.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,164 @@
+<wsdl:definitions targetNamespace='http://example.org/' xmlns:i0='http://example.org/notify' xmlns:i1='http://example.org/echo' xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://example.org/' xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing' xmlns:wsa10='http://www.w3.org/2005/08/addressing' xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/08/addressing/policy' xmlns:wsaw='http://www.w3.org/2006/05/addressing/wsdl' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy' xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <wsp:Policy wsu:Id='CustomBinding_Notify_policy'>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsaw:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id='CustomBinding_Notify1_policy'>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsaw:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id='CustomBinding_Echo_policy'>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsaw:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id='CustomBinding_Echo1_policy'>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsaw:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id='CustomBinding_Echo2_policy'>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsaw:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id='CustomBinding_Echo3_policy'>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsaw:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id='CustomBinding_Echo4_policy'>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <cdp:CompositeDuplex xmlns:cdp='http://schemas.microsoft.com/net/2006/06/duplex'/>
+ <ow:OneWay xmlns:ow='http://schemas.microsoft.com/ws/2005/05/routing/policy'/>
+ <wsaw:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id='CustomBinding_Echo5_policy'>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <cdp:CompositeDuplex xmlns:cdp='http://schemas.microsoft.com/net/2006/06/duplex'/>
+ <ow:OneWay xmlns:ow='http://schemas.microsoft.com/ws/2005/05/routing/policy'/>
+ <wsaw:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:import location='wsdl0.wsdl' namespace='http://example.org/notify'/>
+ <wsdl:import location='wsdl2.wsdl' namespace='http://example.org/echo'/>
+ <wsdl:types/>
+
+ <wsdl:binding name='CustomBinding_Notify' type='i0:Notify'>
+ <wsp:PolicyReference URI='#CustomBinding_Notify_policy'/>
+ <soap:binding transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Notify'>
+ <soap:operation soapAction='http://example.org/action/notify' style='document'/>
+ <wsdl:input name='NotifyMessage'>
+ <soap:body use='literal'/>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <!--wsdl:binding name='CustomBinding_Notify1' type='i0:Notify'>
+ <wsp:PolicyReference URI='#CustomBinding_Notify1_policy'/>
+ <soap12:binding transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Notify'>
+ <soap12:operation soapAction='http://example.org/action/notify' style='document'/>
+ <wsdl:input name='NotifyMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding-->
+ <wsdl:binding name='CustomBinding_Echo' type='i1:EchoPortType'>
+ <wsp:PolicyReference URI='#CustomBinding_Echo_policy'/>
+ <soap:binding transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='EchoOp'>
+ <soap:operation soapAction='http://example.org/action/echoIn' style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <!--wsdl:binding name='CustomBinding_Echo1' type='i1:Echo'>
+ <wsp:PolicyReference URI='#CustomBinding_Echo1_policy'/>
+ <soap12:binding transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Echo'>
+ <soap12:operation soapAction='http://example.org/action/echoIn' style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding-->
+ <wsdl:binding name='CustomBinding_Echo2' type='i1:EchoPortType'>
+ <wsp:PolicyReference URI='#CustomBinding_Echo2_policy'/>
+ <soap:binding transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='EchoOp'>
+ <soap:operation soapAction='http://example.org/action/echoIn' style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <!--wsdl:binding name='CustomBinding_Echo3' type='i1:Echo'>
+ <wsp:PolicyReference URI='#CustomBinding_Echo3_policy'/>
+ <soap12:binding transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Echo'>
+ <soap12:operation soapAction='http://example.org/action/echoIn' style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding-->
+ <wsdl:binding name='CustomBinding_Echo4' type='i1:EchoPortType'>
+ <wsp:PolicyReference URI='#CustomBinding_Echo4_policy'/>
+ <soap:binding transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='EchoOp'>
+ <soap:operation soapAction='http://example.org/action/echoIn' style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <!--wsdl:binding name='CustomBinding_Echo5' type='i1:Echo'>
+ <wsp:PolicyReference URI='#CustomBinding_Echo5_policy'/>
+ <soap12:binding transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Echo'>
+ <soap12:operation soapAction='http://example.org/action/echoIn' style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding-->
+</wsdl:definitions>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl1.wsdl
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl2.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl2.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl2.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,21 @@
+<wsdl:definitions targetNamespace='http://example.org/echo' xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://example.org/echo' xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing' xmlns:wsa10='http://www.w3.org/2005/08/addressing' xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/08/addressing/policy' xmlns:wsaw='http://www.w3.org/2006/05/addressing/wsdl' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy' xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <wsdl:types>
+ <xsd:schema targetNamespace='http://example.org/echo/Imports'>
+ <xsd:import namespace='http://example.org/echo' schemaLocation='xsd2.xsd'/>
+ <xsd:import namespace='http://example.org/notify' schemaLocation='xsd0.xsd'/>
+ <xsd:import namespace='http://schemas.microsoft.com/2003/10/Serialization/' schemaLocation='xsd1.xsd'/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name='EchoInMessage'>
+ <wsdl:part element='tns:EchoInMessage' name='parameters'/>
+ </wsdl:message>
+ <wsdl:message name='EchoOutMessage'>
+ <wsdl:part element='tns:EchoOutMessage' name='parameters'/>
+ </wsdl:message>
+ <wsdl:portType name='EchoPortType'>
+ <wsdl:operation name='EchoOp'>
+ <wsdl:input message='tns:EchoInMessage' name='EchoInMessage' wsaw:Action='http://example.org/action/echoIn'/>
+ <wsdl:output message='tns:EchoOutMessage' name='EchoOutMessage' wsaw:Action='http://example.org/action/echoOut'/>
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/wsdl2.wsdl
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd0.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd0.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd0.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,9 @@
+<xs:schema elementFormDefault='qualified' targetNamespace='http://example.org/notify' xmlns:tns='http://example.org/notify' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='NotifyMessage'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='notify' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd0.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd1.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd1.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd1.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,39 @@
+<xs:schema attributeFormDefault='qualified' elementFormDefault='qualified' targetNamespace='http://schemas.microsoft.com/2003/10/Serialization/' xmlns:tns='http://schemas.microsoft.com/2003/10/Serialization/' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='anyType' nillable='true' type='xs:anyType'/>
+ <xs:element name='anyURI' nillable='true' type='xs:anyURI'/>
+ <xs:element name='base64Binary' nillable='true' type='xs:base64Binary'/>
+ <xs:element name='boolean' nillable='true' type='xs:boolean'/>
+ <xs:element name='byte' nillable='true' type='xs:byte'/>
+ <xs:element name='dateTime' nillable='true' type='xs:dateTime'/>
+ <xs:element name='decimal' nillable='true' type='xs:decimal'/>
+ <xs:element name='double' nillable='true' type='xs:double'/>
+ <xs:element name='float' nillable='true' type='xs:float'/>
+ <xs:element name='int' nillable='true' type='xs:int'/>
+ <xs:element name='long' nillable='true' type='xs:long'/>
+ <xs:element name='QName' nillable='true' type='xs:QName'/>
+ <xs:element name='short' nillable='true' type='xs:short'/>
+ <xs:element name='string' nillable='true' type='xs:string'/>
+ <xs:element name='unsignedByte' nillable='true' type='xs:unsignedByte'/>
+ <xs:element name='unsignedInt' nillable='true' type='xs:unsignedInt'/>
+ <xs:element name='unsignedLong' nillable='true' type='xs:unsignedLong'/>
+ <xs:element name='unsignedShort' nillable='true' type='xs:unsignedShort'/>
+ <xs:element name='char' nillable='true' type='tns:char'/>
+ <xs:simpleType name='char'>
+ <xs:restriction base='xs:int'/>
+ </xs:simpleType>
+ <xs:element name='duration' nillable='true' type='tns:duration'/>
+ <xs:simpleType name='duration'>
+ <xs:restriction base='xs:duration'>
+ <xs:pattern value='\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?'/>
+ <xs:minInclusive value='-P10675199DT2H48M5.4775808S'/>
+ <xs:maxInclusive value='P10675199DT2H48M5.4775807S'/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name='guid' nillable='true' type='tns:guid'/>
+ <xs:simpleType name='guid'>
+ <xs:restriction base='xs:string'>
+ <xs:pattern value='[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}'/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attribute name='FactoryType' type='xs:QName'/>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd1.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd2.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd2.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd2.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,16 @@
+<xs:schema elementFormDefault='qualified' targetNamespace='http://example.org/echo' xmlns:tns='http://example.org/echo' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='EchoInMessage'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoIn' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='EchoOutMessage'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoOut' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/xsd2.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/config.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/config.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!--
+ This file is used from the webservice/test subdirectory
+ therefore the resource references have to be relative to that base directory.
+ -->
+
+<configuration
+ xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
+ <wsdl
+ location="resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/service.wsdl"
+ packageName="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10">
+ <namespaceMappingRegistry>
+ <namespaceMapping namespace="http://example.org/" packageName="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10"/>
+ <namespaceMapping namespace="http://example.org/echo" packageName="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.echo"/>
+ <namespaceMapping namespace="http://example.org/echo/Imports" packageName="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.echo"/>
+ <namespaceMapping namespace="http://example.org/notify" packageName="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.notify"/>
+ <namespaceMapping namespace="http://example.org/notify/Imports" packageName="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10.notify"/>
+ </namespaceMappingRegistry>
+ </wsdl>
+</configuration>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/config.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/sep06/wsa10/wstools-config.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/wstools-config.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<configuration xmlns="http://www.jboss.org/jbossws-tools">
+ <global>
+ <package-namespace package="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10"
+ namespace="http://example.org/notify" />
+ <package-namespace package="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10"
+ namespace="http://example.org/echo"/>
+ <package-namespace package="org.jboss.test.ws.interop.microsoft.addressing.sep06.wsa10"
+ namespace="http://tempuri.org/"/>
+ </global>
+ <wsdl-java file="resources/interop/microsoft/addressing/sep06/wsa10/WEB-INF/wsdl/service.wsdl">
+ <mapping file="jaxrpc-mapping.xml" />
+ </wsdl-java>
+</configuration>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/sep06/wsa10/wstools-config.xml
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsa10/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/wsa10/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsa10/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsaTestService/README
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/wsaTestService/README 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsaTestService/README 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,5 @@
+This actually implements the W3C test suite endpoint.
+See http://www.w3.org/2002/ws/addr/testsuite/ for details.
+
+--
+Heiko
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsaTestService/README
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsaTestService/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/addressing/wsaTestService/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/addressing/wsaTestService/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/wsa10</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/mtomUTF8</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/application-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/application-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd">
+
+ <display-name>MTOM UTF8 test service</display-name>
+
+ <service-ref>
+ <service-ref-name>service/interop/MTOMUTF8Service_wsse</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/MtomUtf8.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+
+ <port-component-ref>
+ <service-endpoint-interface>
+ org.jboss.test.ws.interop.microsoft.mtom.utf8.IMtomTest
+ </service-endpoint-interface>
+ </port-component-ref>
+
+ </service-ref>
+</application-client>
+
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/application-client.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/interop/MTOMUTF8Service_wsse</service-ref-name>
+ <config-name>Standard WSSecurity Client</config-name>
+ </service-ref>
+
+</jboss-client>
+
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-wsse-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-wsse-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-wsse-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <sign type="x509v3" alias="1"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,12 @@
+<client-scenarios>
+ <scenario name="default" description="Testing local WSA endpoints">
+ <target-endpoint>http://localhost:8080/mtomUTF8_wsse/endpoint</target-endpoint>
+ </scenario>
+ <scenario name="debug-local" description="Testing local WSA endpoints">
+ <target-endpoint>http://localhost:8081/mtomUTF8_wsse/endpoint</target-endpoint>
+ <detour/>
+ </scenario>
+ <scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
+ <target-endpoint>http://131.107.72.15/MTOM_Service_Indigo/Soap11MtomUtf8.svc/MtomTest</target-endpoint>
+ </scenario>
+</client-scenarios>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/META-INF/scenarios.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/mtomUTF8_wsse</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-wsse-server.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-wsse-server.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-wsse-server.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,17 @@
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config
+ http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>WEB-INF/alice.jks</key-store-file>
+ <key-store-password>password</key-store-password>
+ <trust-store-file>WEB-INF/wsse10.truststore</trust-store-file>
+ <trust-store-password>password</trust-store-password>
+
+ <config>
+ <sign type="x509v3" alias="1"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+
+</jboss-ws-security>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>MTOM UTF8 App</display-name>
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard WSSecurity Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>ServiceServlet</servlet-name>
+ <servlet-class>org.jboss.test.ws.interop.microsoft.mtom.utf8.TestService</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ServiceServlet</servlet-name>
+ <url-pattern>/endpoint</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/mtom/utf8/wsse/WEB-INF/web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/root/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/interop</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/root/WEB-INF/web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>Interop Root App</display-name>
+
+</web-app>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/WEB-INF/web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/header_projecttitle.gif
===================================================================
(Binary files differ)
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/header_projecttitle.gif
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/index.html
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/root/index.html 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/index.html 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,39 @@
+<html>
+<head>
+ <link rel="stylesheet" href="./styles.css">
+</head>
+<body>
+<table border=0>
+ <tr valign=bottom>
+ <td><a href="http://jboss.org"><img src="logo.gif" border="0"></a></td>
+ <td><a href="/interop"><h2>JBossWS / WCF interop </h2></a></td>
+ </tr>
+ <tr valign=bottom>
+ <td></td>
+ <td> </td>
+ </tr>
+ <tr valign=top>
+ <td>
+ <ul>
+ <li><a href="soapwsdl.html">SOAP/WSDL</a></li>
+ <li><a href="wsa.html">WS-Addressing (2005/08)</a></li>
+ <li><a href="wsse.html">WS-Security 1.0</a></li>
+ <li><a href="mtom.html">MTOM/XOP</a></li>
+ </ul>
+ </td>
+ <td>
+
+ This is JBoss implementation of the WCF interop endpoints proposed by MSFT.
+ Detailed test scenario descriptions can be found at the
+ <a href="http://mssoapinterop.org/ilab/">interop plug-fest website</a>.
+ <p>
+ If you have any questions please post the to the <a href="http://www.jboss.org/index.html?module=bb&op=viewforum&f=200">
+ JBossWS user forum</a>
+ </p>
+ </td>
+ </tr>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/index.html
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/logo.gif
===================================================================
(Binary files differ)
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/logo.gif
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/mtom.html
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/root/mtom.html 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/mtom.html 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,34 @@
+<html>
+<head>
+ <link rel="stylesheet" href="./styles.css">
+</head>
+<body>
+<table border=0>
+ <tr valign=bottom>
+ <td><a href="http://jboss.org"><img src="logo.gif" border="0"></a></td>
+ <td><a href="/interop"><h2>JBossWS / WCF interop </h2></a></td>
+ </tr>
+ <tr valign=bottom>
+ <td></td>
+ <td> </td>
+ </tr>
+ <tr valign=top>
+ <td>
+ <ul>
+ <li><a href="soapwsdl.html">SOAP/WSDL</a></li>
+ <li><a href="wsa.html">WS-Addressing (2005/08)</a></li>
+ <li><a href="wsse.html">WS-Security 1.0</a></li>
+ <li><a href="mtom.html">MTOM/XOP</a></li>
+ </ul>
+ </td>
+ <td>
+ <h3>MTOM/XOP endpoints</h3>
+
+ Currently not available.
+ </td>
+ </tr>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/mtom.html
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/soapwsdl.html
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/root/soapwsdl.html 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/soapwsdl.html 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,68 @@
+<html>
+<head>
+ <link rel="stylesheet" href="./styles.css">
+</head>
+<body>
+<table border=0>
+ <tr valign=bottom>
+ <td><a href="http://jboss.org"><img src="logo.gif" border="0"></a></td>
+ <td><a href="/interop"><h2>JBossWS / WCF interop </h2></a></td>
+ </tr>
+ <tr valign=bottom>
+ <td></td>
+ <td> </td>
+ </tr>
+ <tr valign=top>
+ <td>
+ <ul>
+ <li><a href="soapwsdl.html">SOAP/WSDL</a></li>
+ <li><a href="wsa.html">WS-Addressing (2005/08)</a></li>
+ <li><a href="wsse.html">WS-Security 1.0</a></li>
+ <li><a href="mtom.html">MTOM/XOP</a></li>
+ </ul>
+ </td>
+ <td>
+
+ <h3>SOAP/WSDL endpoints</h3>
+
+ <table cellpadding=5>
+ <tr>
+ <td>Endpoint</td>
+ <td>WSDL</td>
+ </tr>
+ <tr>
+ <td><a href="/BaseDataTypesRpcLit_Service/endpoint">/BaseDataTypesRpcLit_Service/endpoint</a></td>
+ <td><a href="/BaseDataTypesRpcLit_Service/endpoint?wsdl">here</a></td>
+ </tr>
+ <tr>
+ <td><a href="/BaseDataTypesDocLitB_Service/endpoint">/BaseDataTypesDocLitB_Service/endpoint</a></td>
+ <td><a href="/BaseDataTypesDocLitB_Service/endpoint?wsdl">here</a></td>
+ </tr>
+ <tr>
+ <td><a href="/BaseDataTypesDocLitW_Service/endpoint">/BaseDataTypesDocLitW_Service/endpoint</a></td>
+ <td><a href="/BaseDataTypesDocLitW_Service/endpoint?wsdl">here</a></td>
+ </tr>
+
+
+ <tr>
+ <td><a href="/ComplexDataTypesRpcLit_Service/endpoint">/ComplexDataTypesRpcLit_Service/endpoint</a></td>
+ <td><a href="/ComplexDataTypesRpcLit_Service/endpoint?wsdl">here</a></td>
+ </tr>
+ <tr>
+ <td><a href="/ComplexDataTypesDocLitB_Service/endpoint">/ComplexDataTypesDocLitB_Service/endpoint</a></td>
+ <td><a href="/ComplexDataTypesDocLitB_Service/endpoint?wsdl">here</a></td>
+ </tr>
+ <tr>
+ <td><a href="/ComplexDataTypesDocLitW_Service/endpoint">/ComplexDataTypesDocLitW_Service/endpoint</a></td>
+ <td><a href="/ComplexDataTypesDocLitW_Service/endpoint?wsdl">here</a></td>
+ </tr>
+
+ </table>
+
+ </td>
+ </tr>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/soapwsdl.html
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/styles.css
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/root/styles.css 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/styles.css 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,158 @@
+
+/* table for list views */
+.table_list {
+}
+
+/* table for detail views */
+.table_form {
+}
+
+/* table row header */
+.list_tr_head {
+ font-family: Verdana;
+ font-size: 8pt;
+ font-weight: 600;
+ text-align: center;
+ background-color: #aaaadd;
+}
+
+/* table row list view */
+.list_tr {
+ font-family: Verdana;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #ffffff;
+}
+
+/* table row list view odd lines */
+.list_tr_even {
+ font-family: Verdana;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #ffffff;
+}
+
+/* table row list view even lines */
+.list_tr_odd {
+ font-family: Verdana;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #dddddd;
+}
+
+/* form label */
+.form_label {
+ font-family: Verdana;
+ font-weight: 500;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #dddddd;
+ padding-top: 2px;
+ padding-bottom: 2px;
+}
+
+/* form value */
+.form_value {
+ font-family: Verdana;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: baseline;
+}
+
+/* tiny writing */
+.tiny {
+ font-family: Verdana;
+ font-size: 8pt;
+ color: #666666;
+}
+
+/* required input fields */
+.inputmust {
+ background-color: #dddddd;
+}
+
+/* error message */
+.error {
+ font-family: Courier New;
+ color: #990000;
+}
+
+/* error message */
+.error_trace {
+ font-family: Courier New;
+}
+
+/* active tree node */
+.tree_active_label {
+ font-weight: bold;
+}
+
+body {
+ font-family: Verdana;
+ font-size: 8pt;
+ color: #000066;
+ background-color: #ffffff;
+}
+
+/* title style */
+h1 {
+ font-family: Verdana;
+ font-size: 14pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h2 {
+ font-family: Verdana;
+ font-size: 12pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h3 {
+ font-family: Verdana;
+ font-size: 10pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h4 {
+ font-family: Verdana;
+ font-size: 10pt;
+ font-weight: 500;
+ color: #000066;
+}
+
+/* table desk */
+td {
+ font-family: Verdana;
+ font-size: 8pt;
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+input, textarea, select, option {
+ font-family: Verdana;
+ font-size: 8pt;
+ color: #000066;
+}
+
+a {
+ font-family: Verdana;
+ color: #0000dd;
+ text-decoration: none;
+}
+
+a:hover{
+ font-family: Verdana;
+ color: #cc0000;
+ text-decoration: none;
+}
+
+pre {
+ background:#dddddd
+}
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/styles.css
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/wsa.html
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/root/wsa.html 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/wsa.html 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,68 @@
+<html>
+<head>
+ <link rel="stylesheet" href="./styles.css">
+</head>
+<body>
+<table border=0>
+ <tr valign=bottom>
+ <td><a href="http://jboss.org"><img src="logo.gif" border="0"></a></td>
+ <td><a href="/interop"><h2>JBossWS / WCF interop </h2></a></td>
+ </tr>
+ <tr valign=bottom>
+ <td></td>
+ <td> </td>
+ </tr>
+ <tr valign=top>
+ <td>
+ <ul>
+ <li><a href="soapwsdl.html">SOAP/WSDL</a></li>
+ <li><a href="wsa.html">WS-Addressing (2005/08)</a></li>
+ <li><a href="wsse.html">WS-Security 1.0</a></li>
+ <li><a href="mtom.html">MTOM/XOP</a></li>
+ </ul>
+ </td>
+ <td>
+
+ <h3>WS-Addressing (2005/08) endpoints</h3>
+ <table cellpadding=5>
+ <tr>
+ <td>Endpoint</td>
+ <td>WSDL</td>
+ </tr>
+ <tr>
+ <td><a href="/wsa10/wsaTestService">/wsa10/wsaTestService</a></td>
+ <td><a href="/wsa10/wsaTestService?wsdl">here</a></td>
+ </tr>
+ </table>
+
+ <p>
+ <b>NOTE:</b> Please make sure to send the test scenario name with each request.
+ I.e:
+<pre>
+
+ <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <env:Header xmlns:wsa='http://www.w3.org/2005/08/addressing'>
+ <wsa:To xmlns:wsa='http://www.w3.org/2005/08/addressing'>
+ http://example.org/node/B
+ </wsa:To>
+ <wsa:Action xmlns:wsa='http://www.w3.org/2005/08/addressing'>
+ http://example.org/action/notify
+ </wsa:Action>
+ </env:Header>
+ <env:Body>
+ <ns1:notify xmlns:ns1='http://example.org/notify'>
+ Message 1100
+ </ns1:notify>
+ </env:Body>
+ </env:Envelope>
+
+</pre>
+
+ </p>
+ </td>
+ </tr>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/wsa.html
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/wsse.html
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/root/wsse.html 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/wsse.html 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,49 @@
+<html>
+<head>
+ <link rel="stylesheet" href="./styles.css">
+</head>
+<body>
+<table border=0>
+ <tr valign=bottom>
+ <td><a href="http://jboss.org"><img src="logo.gif" border="0"></a></td>
+ <td><a href="/interop"><h2>JBossWS / WCF interop </h2></a></td>
+ </tr>
+ <tr valign=bottom>
+ <td></td>
+ <td> </td>
+ </tr>
+ <tr valign=top>
+ <td>
+ <ul>
+ <li><a href="soapwsdl.html">SOAP/WSDL</a></li>
+ <li><a href="wsa.html">WS-Addressing (2005/08)</a></li>
+ <li><a href="wsse.html">WS-Security 1.0</a></li>
+ <li><a href="mtom.html">MTOM/XOP</a></li>
+ </ul>
+ </td>
+ <td>
+
+ <h3>WS-Security 1.0 endpoints</h3>
+
+ <table cellpadding=5>
+ <tr>
+ <td>Endpoint</td>
+ <td>WSDL</td>
+ </tr>
+ <tr>
+ <td><a href="/wsse10Sign/endpoint">/wsse10Sign/endpoint</a></td>
+ <td><a href="/wsse10Sign/endpoint?wsdl">here</a></td>
+ </tr>
+ <tr>
+ <td><a href="/wsse10Encrypt/endpoint">/wsse10Encrypt/endpoint</a></td>
+ <td><a href="/wsse10Encrypt/endpoint?wsdl">here</a></td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/root/wsse.html
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/wsse10Sign_sep06</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-wsse-server.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-wsse-server.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-wsse-server.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,17 @@
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config
+ http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>WEB-INF/alice.jks</key-store-file>
+ <key-store-password>password</key-store-password>
+ <trust-store-file>WEB-INF/wsse10.truststore</trust-store-file>
+ <trust-store-password>password</trust-store-password>
+
+ <config>
+ <sign type="x509v3" alias="1"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+
+</jboss-ws-security>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>wsse10SignTestService App</display-name>
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard WSSecurity Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>ServiceServlet</servlet-name>
+ <servlet-class>org.jboss.test.ws.interop.microsoft.security.sep06.wsse10.TestService</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ServiceServlet</servlet-name>
+ <url-pattern>/endpoint</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/webservices.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/webservices.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/webservices.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:wsdl="http://tempuri.org/"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+
+ <webservice-description>
+
+ <webservice-description-name>wsse10SignTestService_sep06</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/WsSecurity10Sign.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+
+ <port-component>
+ <port-component-name>signPort</port-component-name>
+ <wsdl-port>wsdl:MutualCertificate10Sign_IPingServiceSign</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.security.sep06.wsse10.IPingServiceSign</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>ServiceServlet</servlet-link>
+ </service-impl-bean>
+ </port-component>
+
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/WsSecurity10Sign.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/WsSecurity10Sign.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/WsSecurity10Sign.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="PingService10Sign" targetNamespace="http://InteropBaseAddress/interop" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://InteropBaseAddress/interop" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://tempuri.org/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
+ <wsdl:import namespace="http://tempuri.org/" location="wsdl0.wsdl"/>
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://InteropBaseAddress/interop/Imports">
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://InteropBaseAddress/interop"/>
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://xmlsoap.org/Ping"/>
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd3.xsd"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="PingRequest">
+ <wsdl:part name="parameters" element="tns:PingRequest"/>
+ </wsdl:message>
+ <wsdl:message name="PingResponse">
+ <wsdl:part name="parameters" element="tns:PingResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IPingServiceSign_echo_InputMessage">
+ <wsdl:part name="parameters" element="tns:echo"/>
+ </wsdl:message>
+ <wsdl:message name="IPingServiceSign_echo_OutputMessage">
+ <wsdl:part name="parameters" element="tns:echoResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IPingServiceSign_echoXml_InputMessage">
+ <wsdl:part name="parameters" element="tns:echoXml"/>
+ </wsdl:message>
+ <wsdl:message name="IPingServiceSign_echoXml_OutputMessage">
+ <wsdl:part name="parameters" element="tns:echoXmlResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IPingServiceSign_echoDataSet_InputMessage">
+ <wsdl:part name="parameters" element="tns:echoDataSet"/>
+ </wsdl:message>
+ <wsdl:message name="IPingServiceSign_echoDataSet_OutputMessage">
+ <wsdl:part name="parameters" element="tns:echoDataSetResponse"/>
+ </wsdl:message>
+ <wsdl:portType name="IPingServiceSign">
+ <wsdl:operation name="Ping">
+ <wsdl:input wsaw:Action="http://xmlsoap.org/Ping" name="PingRequest" message="tns:PingRequest"/>
+ <wsdl:output wsaw:Action="http://xmlsoap.org/Ping" name="PingResponse" message="tns:PingResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="echo">
+ <wsdl:input wsaw:Action="http://InteropBaseAddress/interop/echo" message="tns:IPingServiceSign_echo_InputMessage"/>
+ <wsdl:output wsaw:Action="http://InteropBaseAddress/interop/echo" message="tns:IPingServiceSign_echo_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="echoXml">
+ <wsdl:input wsaw:Action="http://InteropBaseAddress/interop/echoXml" message="tns:IPingServiceSign_echoXml_InputMessage"/>
+ <wsdl:output wsaw:Action="http://InteropBaseAddress/interop/echoXml" message="tns:IPingServiceSign_echoXml_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="echoDataSet">
+ <wsdl:input wsaw:Action="http://InteropBaseAddress/interop/echoDataSet" message="tns:IPingServiceSign_echoDataSet_InputMessage"/>
+ <wsdl:output wsaw:Action="http://InteropBaseAddress/interop/echoDataSet" message="tns:IPingServiceSign_echoDataSet_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:service name="PingService10Sign">
+ <wsdl:port name="MutualCertificate10Sign_IPingServiceSign" binding="i0:MutualCertificate10Sign_IPingServiceSign">
+ <soap:address location="http://h4sfh81.b20.microsoftlab.net/Security_WsSecurity_Service_Indigo/WsSecurity10Sign.svc/MutualCertificate10Sign"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/WsSecurity10Sign.wsdl
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/wsdl0.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/wsdl0.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/wsdl0.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,519 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://InteropBaseAddress/interop" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic256/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:EncryptSignature/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingServiceSign_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:ProtectionToken>
+ <wsp:Policy>
+ <sp:KerberosToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Once">
+ <wsp:Policy>
+ <sp:WssGssKerberosV5ApReqToken11/>
+ </wsp:Policy>
+ </sp:KerberosToken>
+ </wsp:Policy>
+ </sp:ProtectionToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic128/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:SymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wsap:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KS10_IPingServiceSign_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:ProtectionToken>
+ <wsp:Policy>
+ <sp:KerberosToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Once">
+ <wsp:Policy>
+ <sp:RequireDerivedKeys/>
+ <sp:WssGssKerberosV5ApReqToken11/>
+ </wsp:Policy>
+ </sp:KerberosToken>
+ </wsp:Policy>
+ </sp:ProtectionToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic128/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:SymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wsap:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KSD10_IPingServiceSign_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <!-- wsdl:import namespace="http://InteropBaseAddress/interop" location="http://h4sfh81.b20.microsoftlab.net/Security_WsSecurity_Service_Indigo/WsSecurity10Sign.svc?wsdl"/ -->
+ <wsdl:types/>
+ <wsdl:binding name="MutualCertificate10Sign_IPingServiceSign" type="i0:IPingServiceSign">
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="Ping">
+ <soap:operation soapAction="http://xmlsoap.org/Ping" style="document"/>
+ <wsdl:input name="PingRequest">
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_Ping_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PingResponse">
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_Ping_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echo">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echo" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_echo_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_echo_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echoXml">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echoXml" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_echoXml_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_echoXml_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echoDataSet">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echoDataSet" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_echoDataSet_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingServiceSign_echoDataSet_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+</wsdl:definitions>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/wsdl0.wsdl
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd0.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd0.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd0.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,129 @@
+<xs:schema elementFormDefault='qualified' targetNamespace='http://InteropBaseAddress/interop' xmlns:tns='http://InteropBaseAddress/interop' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <!--xs:import namespace='http://xmlsoap.org/Ping' schemaLocation='xsd1.xsd'/-->
+ <xs:element name='PingRequest'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' ref='q1:Ping' xmlns:q1='http://xmlsoap.org/Ping'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='PingResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' ref='q2:PingResponse' xmlns:q2='http://xmlsoap.org/Ping'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echo'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='request' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoResult' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoXml'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='request' nillable='true'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any minOccurs='0' processContents='lax'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoXmlResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoXmlResult' nillable='true'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any minOccurs='0' processContents='lax'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoDataSet'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='request' nillable='true'>
+ <xs:complexType>
+ <xs:annotation>
+ <xs:appinfo>
+ <ActualType Name='DataSet' Namespace='http://schemas.datacontract.org/2004/07/System.Data' xmlns='http://schemas.microsoft.com/2003/10/Serialization/'/>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref='xs:schema'/>
+ <xs:any/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoDataSetResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoDataSetResult' nillable='true'>
+ <xs:complexType>
+ <xs:annotation>
+ <xs:appinfo>
+ <ActualType Name='DataSet' Namespace='http://schemas.datacontract.org/2004/07/System.Data' xmlns='http://schemas.microsoft.com/2003/10/Serialization/'/>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref='xs:schema'/>
+ <xs:any/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='header'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' name='request' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='CustomHeader' type='tns:CustomHeader'/>
+ <xs:complexType name='CustomHeader'>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' name='data' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name='headerResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' name='headerResult' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='fault'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='request' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='faultResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='faultResult' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd0.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd1.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd1.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd1.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,18 @@
+<xs:schema elementFormDefault='qualified' targetNamespace='http://xmlsoap.org/Ping' xmlns:tns='http://xmlsoap.org/Ping' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='Ping' type='tns:ping'/>
+ <xs:complexType name='ping'>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='1' name='scenario' nillable='true' type='xs:string'/>
+ <xs:element maxOccurs='1' minOccurs='1' name='origin' nillable='true' type='xs:string'/>
+ <xs:element maxOccurs='1' minOccurs='1' name='text' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name='PingResponse' type='tns:PingResponseBody'/>
+ <xs:complexType name='PingResponseBody'>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='1' name='scenario' nillable='true' type='xs:string'/>
+ <xs:element maxOccurs='1' minOccurs='1' name='origin' nillable='true' type='xs:string'/>
+ <xs:element maxOccurs='1' minOccurs='1' name='text' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd1.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd2.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd2.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd2.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,39 @@
+<xs:schema attributeFormDefault='qualified' elementFormDefault='qualified' targetNamespace='http://schemas.microsoft.com/2003/10/Serialization/' xmlns:tns='http://schemas.microsoft.com/2003/10/Serialization/' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='anyType' nillable='true' type='xs:anyType'/>
+ <xs:element name='anyURI' nillable='true' type='xs:anyURI'/>
+ <xs:element name='base64Binary' nillable='true' type='xs:base64Binary'/>
+ <xs:element name='boolean' nillable='true' type='xs:boolean'/>
+ <xs:element name='byte' nillable='true' type='xs:byte'/>
+ <xs:element name='dateTime' nillable='true' type='xs:dateTime'/>
+ <xs:element name='decimal' nillable='true' type='xs:decimal'/>
+ <xs:element name='double' nillable='true' type='xs:double'/>
+ <xs:element name='float' nillable='true' type='xs:float'/>
+ <xs:element name='int' nillable='true' type='xs:int'/>
+ <xs:element name='long' nillable='true' type='xs:long'/>
+ <xs:element name='QName' nillable='true' type='xs:QName'/>
+ <xs:element name='short' nillable='true' type='xs:short'/>
+ <xs:element name='string' nillable='true' type='xs:string'/>
+ <xs:element name='unsignedByte' nillable='true' type='xs:unsignedByte'/>
+ <xs:element name='unsignedInt' nillable='true' type='xs:unsignedInt'/>
+ <xs:element name='unsignedLong' nillable='true' type='xs:unsignedLong'/>
+ <xs:element name='unsignedShort' nillable='true' type='xs:unsignedShort'/>
+ <xs:element name='char' nillable='true' type='tns:char'/>
+ <xs:simpleType name='char'>
+ <xs:restriction base='xs:int'/>
+ </xs:simpleType>
+ <xs:element name='duration' nillable='true' type='tns:duration'/>
+ <xs:simpleType name='duration'>
+ <xs:restriction base='xs:duration'>
+ <xs:pattern value='\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?'/>
+ <xs:minInclusive value='-P10675199DT2H48M5.4775808S'/>
+ <xs:maxInclusive value='P10675199DT2H48M5.4775807S'/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name='guid' nillable='true' type='tns:guid'/>
+ <xs:simpleType name='guid'>
+ <xs:restriction base='xs:string'>
+ <xs:pattern value='[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}'/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attribute name='FactoryType' type='xs:QName'/>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd2.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd3.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd3.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd3.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,16 @@
+<xs:schema elementFormDefault='qualified' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='DataSet' nillable='true'>
+ <xs:complexType>
+ <xs:annotation>
+ <xs:appinfo>
+ <ActualType Name='DataSet' Namespace='http://schemas.datacontract.org/2004/07/System.Data'
+ xmlns='http://schemas.microsoft.com/2003/10/Serialization/'/>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref='xs:schema'/>
+ <xs:any/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/xsd3.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/config.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/config.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is used from the webservice/test subdirectory
+ therefore the resource references have to be relative to that base directory.
+-->
+<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
+ <wsdl location="resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/WsSecurity10Sign.wsdl"
+ packageName="org.jboss.test.ws.interop.microsoft.security.sep06.wsse10"/>
+</configuration>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/config.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10/wstools-config.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/wstools-config.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<configuration xmlns="http://www.jboss.org/jbossws-tools">
+ <global>
+ <package-namespace package="org.jboss.test.ws.interop.microsoft.security.sep06.wsse10"
+ namespace="http://InteropBaseAddress/interop/Imports" />
+ <package-namespace package="org.jboss.test.ws.interop.microsoft.security.sep06.wsse10"
+ namespace="http://InteropBaseAddress/interop"/>
+ </global>
+ <wsdl-java file="resources/interop/microsoft/security/sep06/wsse10/WEB-INF/wsdl/WsSecurity10Sign.wsdl">
+ <mapping file="jaxrpc-mapping.xml" />
+ </wsdl-java>
+</configuration>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10/wstools-config.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/application-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/application-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>HelloService</display-name>
+
+ <service-ref>
+ <service-ref-name>service/interop/IPingServiceSignEncrypt</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/WsSecurity10Encrypt.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.security.sep06.wsse10Encrypt.IPingService</service-endpoint-interface>
+ </port-component-ref>
+
+ </service-ref>
+
+</application-client>
+
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/application-client.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/interop/IPingServiceSignEncrypt</service-ref-name>
+ <config-name>Standard WSSecurity Client</config-name>
+ <!--wsdl-override>http://@jbosstest.host.name@:8080/jbossws-samples-wssecurity-sign?wsdl</wsdl-override-->
+ </service-ref>
+
+</jboss-client>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-wsse-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-wsse-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-wsse-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <sign type="x509v3" alias="1"/>
+ <encrypt type="x509v3" alias="1"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,11 @@
+<client-scenarios>
+ <scenario name="default" description="Testing local WSSE endpoints">
+ <target-endpoint>http://localhost:8080/wsse10Encrypt/endpoint</target-endpoint>
+ </scenario>
+ <scenario name="debug-local" decsription="Testing local WSSE endpoints through packet logger">
+ <target-endpoint>http://localhost:8081/wsse10Encrypt/endpoint</target-endpoint>
+ </scenario>
+ <scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
+ <target-endpoint>http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc/MutualCertificate10SignEncrypt</target-endpoint>
+ </scenario>
+</client-scenarios>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/META-INF/scenarios.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/wsse10Encrypt_sep06</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-wsse-server.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-wsse-server.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-wsse-server.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,19 @@
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config
+ http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>WEB-INF/alice.jks</key-store-file>
+ <key-store-password>password</key-store-password>
+ <trust-store-file>WEB-INF/wsse10.truststore</trust-store-file>
+ <trust-store-password>password</trust-store-password>
+
+ <config>
+ <sign type="x509v3" alias="1"/>
+ <encrypt type="x509v3" alias="1"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+
+</jboss-ws-security>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>wsse10EncryptTestService App</display-name>
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard WSSecurity Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>ServiceServlet</servlet-name>
+ <servlet-class>org.jboss.test.ws.interop.microsoft.security.wsse10Encrypt.TestService</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ServiceServlet</servlet-name>
+ <url-pattern>/endpoint</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/web.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/webservices.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/webservices.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/webservices.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:wsdl="http://tempuri.org/"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+
+ <webservice-description>
+
+ <webservice-description-name>wsse10EncryptTestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/WsSecurity10Encrypt.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+
+ <port-component>
+ <port-component-name>encryptPort</port-component-name>
+ <wsdl-port>wsdl:MutualCertificate10SignEncrypt_IPingService</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.interop.microsoft.security.sep06.wsse10Encrypt.IPingService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>ServiceServlet</servlet-link>
+ </service-impl-bean>
+ </port-component>
+
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/WsSecurity10Encrypt.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/WsSecurity10Encrypt.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/WsSecurity10Encrypt.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="PingService10" targetNamespace="http://InteropBaseAddress/interop" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://InteropBaseAddress/interop" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://tempuri.org/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
+ <wsdl:import namespace="http://tempuri.org/" location="wsdl0.wsdl"/>
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://InteropBaseAddress/interop/Imports">
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://InteropBaseAddress/interop"/>
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://xmlsoap.org/Ping"/>
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd3.xsd"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="PingRequest">
+ <wsdl:part name="parameters" element="tns:PingRequest"/>
+ </wsdl:message>
+ <wsdl:message name="PingResponse">
+ <wsdl:part name="parameters" element="tns:PingResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IPingService_echo_InputMessage">
+ <wsdl:part name="parameters" element="tns:echo"/>
+ </wsdl:message>
+ <wsdl:message name="IPingService_echo_OutputMessage">
+ <wsdl:part name="parameters" element="tns:echoResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IPingService_echoXml_InputMessage">
+ <wsdl:part name="parameters" element="tns:echoXml"/>
+ </wsdl:message>
+ <wsdl:message name="IPingService_echoXml_OutputMessage">
+ <wsdl:part name="parameters" element="tns:echoXmlResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IPingService_echoDataSet_InputMessage">
+ <wsdl:part name="parameters" element="tns:echoDataSet"/>
+ </wsdl:message>
+ <wsdl:message name="IPingService_echoDataSet_OutputMessage">
+ <wsdl:part name="parameters" element="tns:echoDataSetResponse"/>
+ </wsdl:message>
+ <wsdl:message name="headerRequest">
+ <wsdl:part name="parameters" element="tns:header"/>
+ </wsdl:message>
+ <wsdl:message name="headerRequest_Headers">
+ <wsdl:part name="CustomHeader" element="tns:CustomHeader"/>
+ </wsdl:message>
+ <wsdl:message name="headerResponse">
+ <wsdl:part name="parameters" element="tns:headerResponse"/>
+ </wsdl:message>
+ <wsdl:message name="headerResponse_Headers">
+ <wsdl:part name="CustomHeader" element="tns:CustomHeader"/>
+ </wsdl:message>
+ <wsdl:message name="IPingService_fault_InputMessage">
+ <wsdl:part name="parameters" element="tns:fault"/>
+ </wsdl:message>
+ <wsdl:message name="IPingService_fault_OutputMessage">
+ <wsdl:part name="parameters" element="tns:faultResponse"/>
+ </wsdl:message>
+ <wsdl:portType name="IPingService">
+ <wsdl:operation name="Ping">
+ <wsdl:input wsaw:Action="http://xmlsoap.org/Ping" name="PingRequest" message="tns:PingRequest"/>
+ <wsdl:output wsaw:Action="http://xmlsoap.org/Ping" name="PingResponse" message="tns:PingResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="echo">
+ <wsdl:input wsaw:Action="http://InteropBaseAddress/interop/echo" message="tns:IPingService_echo_InputMessage"/>
+ <wsdl:output wsaw:Action="http://InteropBaseAddress/interop/echo" message="tns:IPingService_echo_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="echoXml">
+ <wsdl:input wsaw:Action="http://InteropBaseAddress/interop/echoXml" message="tns:IPingService_echoXml_InputMessage"/>
+ <wsdl:output wsaw:Action="http://InteropBaseAddress/interop/echoXml" message="tns:IPingService_echoXml_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="echoDataSet">
+ <wsdl:input wsaw:Action="http://InteropBaseAddress/interop/echoDataSet" message="tns:IPingService_echoDataSet_InputMessage"/>
+ <wsdl:output wsaw:Action="http://InteropBaseAddress/interop/echoDataSet" message="tns:IPingService_echoDataSet_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="header">
+ <wsdl:input wsaw:Action="http://InteropBaseAddress/interop/header" name="headerRequest" message="tns:headerRequest"/>
+ <wsdl:output wsaw:Action="http://InteropBaseAddress/interop/headerResponse" name="headerResponse" message="tns:headerResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="fault">
+ <wsdl:input wsaw:Action="http://InteropBaseAddress/interop/fault" message="tns:IPingService_fault_InputMessage"/>
+ <wsdl:output wsaw:Action="http://InteropBaseAddress/interop/faultResponse" message="tns:IPingService_fault_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:service name="PingService10">
+ <wsdl:port name="MutualCertificate10SignEncrypt_IPingService" binding="i0:MutualCertificate10SignEncrypt_IPingService">
+ <soap:address location="http://h4sfh81.b20.microsoftlab.net/Security_WsSecurity_Service_Indigo/WsSecurity10.svc/MutualCertificate10SignEncrypt"/>
+ </wsdl:port>
+ <wsdl:port name="MutualCertificate10SignEncryptRsa15TripleDes_IPingService" binding="i0:MutualCertificate10SignEncryptRsa15TripleDes_IPingService">
+ <soap:address location="http://h4sfh81.b20.microsoftlab.net/Security_WsSecurity_Service_Indigo/WsSecurity10.svc/MutualCertificate10SignEncryptRsa15TripleDes"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/WsSecurity10Encrypt.wsdl
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,1653 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://InteropBaseAddress/interop" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic256/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:EncryptSignature/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_header_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_header_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_fault_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_fault_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:TripleDesRsa15/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:EncryptSignature/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_header_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_header_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_fault_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_fault_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic256/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wsap:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_header_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_header_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_fault_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10_IPingService_fault_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic256/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wsap:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_header_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_header_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_fault_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="X10-NoTimestamp_IPingService_fault_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:ProtectionToken>
+ <wsp:Policy>
+ <sp:KerberosToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Once">
+ <wsp:Policy>
+ <sp:WssGssKerberosV5ApReqToken11/>
+ </wsp:Policy>
+ </sp:KerberosToken>
+ </wsp:Policy>
+ </sp:ProtectionToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic128/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:SymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wsap:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_header_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_header_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_fault_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="K10_IPingService_fault_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:ProtectionToken>
+ <wsp:Policy>
+ <sp:KerberosToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Once">
+ <wsp:Policy>
+ <sp:RequireDerivedKeys/>
+ <sp:WssGssKerberosV5ApReqToken11/>
+ </wsp:Policy>
+ </sp:KerberosToken>
+ </wsp:Policy>
+ </sp:ProtectionToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic128/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Lax/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:SymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wsap:UsingAddressing/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_echo_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_echo_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_echoXml_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_echoXml_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_echoDataSet_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_echoDataSet_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_header_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_header_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="CustomHeader" Namespace="http://InteropBaseAddress/interop"/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_fault_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="KD10_IPingService_fault_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ <sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ <sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <!-- wsdl:import namespace="http://InteropBaseAddress/interop" location="http://h4sfh81.b20.microsoftlab.net/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl"/ -->
+ <wsdl:types/>
+ <wsdl:binding name="MutualCertificate10SignEncrypt_IPingService" type="i0:IPingService">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="Ping">
+ <soap:operation soapAction="http://xmlsoap.org/Ping" style="document"/>
+ <wsdl:input name="PingRequest">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_Ping_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PingResponse">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_Ping_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echo">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echo" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_echo_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_echo_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echoXml">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echoXml" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_echoXml_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_echoXml_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echoDataSet">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echoDataSet" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_echoDataSet_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_echoDataSet_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="header">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/header" style="document"/>
+ <wsdl:input name="headerRequest">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_header_Input_policy"/>
+ <soap:header message="i0:headerRequest_Headers" part="CustomHeader" use="literal"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="headerResponse">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_header_output_policy"/>
+ <soap:header message="i0:headerResponse_Headers" part="CustomHeader" use="literal"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="fault">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/fault" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_fault_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_fault_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MutualCertificate10SignEncryptRsa15TripleDes_IPingService" type="i0:IPingService">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="Ping">
+ <soap:operation soapAction="http://xmlsoap.org/Ping" style="document"/>
+ <wsdl:input name="PingRequest">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_Ping_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PingResponse">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_Ping_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echo">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echo" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echo_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echo_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echoXml">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echoXml" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echoXml_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echoXml_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="echoDataSet">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/echoDataSet" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echoDataSet_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_echoDataSet_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="header">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/header" style="document"/>
+ <wsdl:input name="headerRequest">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_header_Input_policy"/>
+ <soap:header message="i0:headerRequest_Headers" part="CustomHeader" use="literal"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="headerResponse">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_header_output_policy"/>
+ <soap:header message="i0:headerResponse_Headers" part="CustomHeader" use="literal"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="fault">
+ <soap:operation soapAction="http://InteropBaseAddress/interop/fault" style="document"/>
+ <wsdl:input>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_fault_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_fault_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+</wsdl:definitions>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd0.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd0.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd0.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,129 @@
+<xs:schema elementFormDefault='qualified' targetNamespace='http://InteropBaseAddress/interop' xmlns:tns='http://InteropBaseAddress/interop' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <!--xs:import namespace='http://xmlsoap.org/Ping' schemaLocation='xsd1.xsd'/-->
+ <xs:element name='PingRequest'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' ref='q1:Ping' xmlns:q1='http://xmlsoap.org/Ping'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='PingResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' ref='q2:PingResponse' xmlns:q2='http://xmlsoap.org/Ping'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echo'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='request' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoResult' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoXml'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='request' nillable='true'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any minOccurs='0' processContents='lax'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoXmlResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoXmlResult' nillable='true'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any minOccurs='0' processContents='lax'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoDataSet'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='request' nillable='true'>
+ <xs:complexType>
+ <xs:annotation>
+ <xs:appinfo>
+ <ActualType Name='DataSet' Namespace='http://schemas.datacontract.org/2004/07/System.Data' xmlns='http://schemas.microsoft.com/2003/10/Serialization/'/>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref='xs:schema'/>
+ <xs:any/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='echoDataSetResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoDataSetResult' nillable='true'>
+ <xs:complexType>
+ <xs:annotation>
+ <xs:appinfo>
+ <ActualType Name='DataSet' Namespace='http://schemas.datacontract.org/2004/07/System.Data' xmlns='http://schemas.microsoft.com/2003/10/Serialization/'/>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref='xs:schema'/>
+ <xs:any/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='header'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' name='request' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='CustomHeader' type='tns:CustomHeader'/>
+ <xs:complexType name='CustomHeader'>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' name='data' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name='headerResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='0' name='headerResult' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='fault'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='request' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='faultResponse'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='faultResult' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd0.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd1.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd1.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd1.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,18 @@
+<xs:schema elementFormDefault='qualified' targetNamespace='http://xmlsoap.org/Ping' xmlns:tns='http://xmlsoap.org/Ping' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='Ping' type='tns:ping'/>
+ <xs:complexType name='ping'>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='1' name='scenario' nillable='true' type='xs:string'/>
+ <xs:element maxOccurs='1' minOccurs='1' name='origin' nillable='true' type='xs:string'/>
+ <xs:element maxOccurs='1' minOccurs='1' name='text' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name='PingResponse' type='tns:PingResponseBody'/>
+ <xs:complexType name='PingResponseBody'>
+ <xs:sequence>
+ <xs:element maxOccurs='1' minOccurs='1' name='scenario' nillable='true' type='xs:string'/>
+ <xs:element maxOccurs='1' minOccurs='1' name='origin' nillable='true' type='xs:string'/>
+ <xs:element maxOccurs='1' minOccurs='1' name='text' nillable='true' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd1.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd2.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd2.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd2.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,39 @@
+<xs:schema attributeFormDefault='qualified' elementFormDefault='qualified' targetNamespace='http://schemas.microsoft.com/2003/10/Serialization/' xmlns:tns='http://schemas.microsoft.com/2003/10/Serialization/' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='anyType' nillable='true' type='xs:anyType'/>
+ <xs:element name='anyURI' nillable='true' type='xs:anyURI'/>
+ <xs:element name='base64Binary' nillable='true' type='xs:base64Binary'/>
+ <xs:element name='boolean' nillable='true' type='xs:boolean'/>
+ <xs:element name='byte' nillable='true' type='xs:byte'/>
+ <xs:element name='dateTime' nillable='true' type='xs:dateTime'/>
+ <xs:element name='decimal' nillable='true' type='xs:decimal'/>
+ <xs:element name='double' nillable='true' type='xs:double'/>
+ <xs:element name='float' nillable='true' type='xs:float'/>
+ <xs:element name='int' nillable='true' type='xs:int'/>
+ <xs:element name='long' nillable='true' type='xs:long'/>
+ <xs:element name='QName' nillable='true' type='xs:QName'/>
+ <xs:element name='short' nillable='true' type='xs:short'/>
+ <xs:element name='string' nillable='true' type='xs:string'/>
+ <xs:element name='unsignedByte' nillable='true' type='xs:unsignedByte'/>
+ <xs:element name='unsignedInt' nillable='true' type='xs:unsignedInt'/>
+ <xs:element name='unsignedLong' nillable='true' type='xs:unsignedLong'/>
+ <xs:element name='unsignedShort' nillable='true' type='xs:unsignedShort'/>
+ <xs:element name='char' nillable='true' type='tns:char'/>
+ <xs:simpleType name='char'>
+ <xs:restriction base='xs:int'/>
+ </xs:simpleType>
+ <xs:element name='duration' nillable='true' type='tns:duration'/>
+ <xs:simpleType name='duration'>
+ <xs:restriction base='xs:duration'>
+ <xs:pattern value='\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?'/>
+ <xs:minInclusive value='-P10675199DT2H48M5.4775808S'/>
+ <xs:maxInclusive value='P10675199DT2H48M5.4775807S'/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name='guid' nillable='true' type='tns:guid'/>
+ <xs:simpleType name='guid'>
+ <xs:restriction base='xs:string'>
+ <xs:pattern value='[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}'/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attribute name='FactoryType' type='xs:QName'/>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd2.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd3.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd3.xsd 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd3.xsd 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,15 @@
+<xs:schema elementFormDefault='qualified' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='DataSet' nillable='true'>
+ <xs:complexType>
+ <xs:annotation>
+ <xs:appinfo>
+ <ActualType Name='DataSet' Namespace='http://schemas.datacontract.org/2004/07/System.Data' xmlns='http://schemas.microsoft.com/2003/10/Serialization/'/>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref='xs:schema'/>
+ <xs:any/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/xsd3.xsd
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/wstools-config.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/wstools-config.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<configuration xmlns="http://www.jboss.org/jbossws-tools">
+ <global>
+ <package-namespace package="org.jboss.test.ws.interop.microsoft.security.sep06.wsse10Encrypt"
+ namespace="http://InteropBaseAddress/interop/Imports" />
+ <package-namespace package="org.jboss.test.ws.interop.microsoft.security.sep06.wsse10Encrypt"
+ namespace="http://InteropBaseAddress/interop"/>
+ </global>
+ <wsdl-java file="resources/interop/microsoft/security/sep06/wsse10Encrypt/WEB-INF/wsdl/WsSecurity10Encrypt.wsdl">
+ <mapping file="jaxrpc-mapping.xml" />
+ </wsdl-java>
+</configuration>
\ No newline at end of file
Property changes on: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/sep06/wsse10Encrypt/wstools-config.xml
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/wsse10/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/wsse10/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -8,7 +8,10 @@
<scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10Sign.svc/MutualCertificate10Sign</target-endpoint>
</scenario>
+ <scenario name="msft-private" decsription="Testing MSFT public interop endpoints">
+ <target-endpoint>http://10.10.32.186/Security_WsSecurity_Service_Indigo/WsSecurity10Sign.svc/MutualCertificate10Sign</target-endpoint>
+ </scenario>
<scenario name="msft-public-debug" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://localhost:8081/Security_WsSecurity_Service_Indigo/WsSecurity10Sign.svc/MutualCertificate10Sign</target-endpoint>
</scenario>
-</client-scenarios>
\ No newline at end of file
+</client-scenarios>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/wsse10/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/wsse10Sign</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/wsse10Encrypt/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/wsse10Encrypt/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -8,4 +8,7 @@
<scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc/MutualCertificate10SignEncrypt</target-endpoint>
</scenario>
-</client-scenarios>
\ No newline at end of file
+ <scenario name="msft-private" decsription="Testing MSFT public interop endpoints">
+ <target-endpoint>http://10.10.32.186/Security_WsSecurity_Service_Indigo/WsSecurity10.svc/MutualCertificate10SignEncrypt</target-endpoint>
+ </scenario>
+</client-scenarios>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/wsse10Encrypt/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/wsse10Encrypt</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/security/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Encrypt/WEB-INF/wsdl/wsdl0.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://InteropBaseAddress/interop"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsap10="http://www.w3.org/2005/08/addressing"
Copied: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/security/wsse10Shared/META-INF (from rev 1654, branches/jbossws-1.0/src/test/resources/interop/microsoft/security/wsse10Shared/META-INF)
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,4 +6,7 @@
<scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc</target-endpoint>
</scenario>
-</client-scenarios>
\ No newline at end of file
+ <scenario name="msft-private" decsription="Testing MSFT private interop endpoints">
+ <target-endpoint>http://10.10.32.186/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc</target-endpoint>
+ </scenario>
+</client-scenarios>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,9 +1,437 @@
<?xml version="1.0" encoding="utf-8"?>
-<wsdl:definitions name="BaseDataTypesDocLitBService" targetNamespace="http://tempuri.org/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
- xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:wsap10="http://www.w3.org/2005/08/addressing"
- xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
- xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
- xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd1.xsd" namespace="http://tempuri.org/"/><xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:schema></wsdl:types><wsdl:message name="RetBool_RequestMessage_Body"><wsdl:part name="inBool" element="tns:inBool"/></wsdl:message><wsdl:message name="RetBool_ResponseMessage_Body"><wsdl:part name="RetBoolResult" element="tns:RetBoolResult"/></wsdl:message><wsdl:message name="RetByte_RequestMessage_Body"><wsdl:part name="inByte" element="tns:inByt!
e"/></wsdl:message><wsdl:message name="RetByte_ResponseMessage_Body"><wsdl:part name="RetByteResult" element="tns:RetByteResult"/></wsdl:message><wsdl:message name="RetSByte_RequestMessage_Body"><wsdl:part name="inSByte" element="tns:inSByte"/></wsdl:message><wsdl:message name="RetSByte_ResponseMessage_Body"><wsdl:part name="RetSByteResult" element="tns:RetSByteResult"/></wsdl:message><wsdl:message name="RetByteArray_RequestMessage_Body"><wsdl:part name="inByteArray" element="tns:inByteArray"/></wsdl:message><wsdl:message name="RetByteArray_ResponseMessage_Body"><wsdl:part name="RetByteArrayResult" element="tns:RetByteArrayResult"/></wsdl:message><wsdl:message name="RetChar_RequestMessage_Body"><wsdl:part name="inChar" element="tns:inChar"/></wsdl:message><wsdl:message name="RetChar_ResponseMessage_Body"><wsdl:part name="RetCharResult" element="tns:RetCharResult"/></wsdl:message><wsdl:message name="RetDecimal_RequestMessage_Body"><wsdl:part name="inDecimal" element="tns:inD!
ecimal"/></wsdl:message><wsdl:message name="RetDecimal_ResponseMessage
_Body"><wsdl:part name="RetDecimalResult" element="tns:RetDecimalResult"/></wsdl:message><wsdl:message name="RetFloat_RequestMessage_Body"><wsdl:part name="inFloat" element="tns:inFloat"/></wsdl:message><wsdl:message name="RetFloat_ResponseMessage_Body"><wsdl:part name="RetFloatResult" element="tns:RetFloatResult"/></wsdl:message><wsdl:message name="RetDouble_RequestMessage_Body"><wsdl:part name="inDouble" element="tns:inDouble"/></wsdl:message><wsdl:message name="RetDouble_ResponseMessage_Body"><wsdl:part name="RetDoubleResult" element="tns:RetDoubleResult"/></wsdl:message><wsdl:message name="RetSingle_RequestMessage_Body"><wsdl:part name="inSingle" element="tns:inSingle"/></wsdl:message><wsdl:message name="RetSingle_ResponseMessage_Body"><wsdl:part name="RetSingleResult" element="tns:RetSingleResult"/></wsdl:message><wsdl:message name="RetInt_RequestMessage_Body"><wsdl:part name="inInt" element="tns:inInt"/></wsdl:message><wsdl:message name="RetInt_ResponseMessage_Body"><w!
sdl:part name="RetIntResult" element="tns:RetIntResult"/></wsdl:message><wsdl:message name="RetShort_RequestMessage_Body"><wsdl:part name="inShort" element="tns:inShort"/></wsdl:message><wsdl:message name="RetShort_ResponseMessage_Body"><wsdl:part name="RetShortResult" element="tns:RetShortResult"/></wsdl:message><wsdl:message name="RetLong_RequestMessage_Body"><wsdl:part name="inLong" element="tns:inLong"/></wsdl:message><wsdl:message name="RetLong_ResponseMessage_Body"><wsdl:part name="RetLongResult" element="tns:RetLongResult"/></wsdl:message><wsdl:message name="RetObject_RequestMessage_Body"><wsdl:part name="inObject" element="tns:inObject"/></wsdl:message><wsdl:message name="RetObject_ResponseMessage_Body"><wsdl:part name="RetObjectResult" element="tns:RetObjectResult"/></wsdl:message><wsdl:message name="RetUInt_RequestMessage_Body"><wsdl:part name="inUInt" element="tns:inUInt"/></wsdl:message><wsdl:message name="RetUInt_ResponseMessage_Body"><wsdl:part name="RetUIntRe!
sult" element="tns:RetUIntResult"/></wsdl:message><wsdl:message name="
RetUShort_RequestMessage_Body"><wsdl:part name="inUShort" element="tns:inUShort"/></wsdl:message><wsdl:message name="RetUShort_ResponseMessage_Body"><wsdl:part name="RetUShortResult" element="tns:RetUShortResult"/></wsdl:message><wsdl:message name="RetULong_RequestMessage_Body"><wsdl:part name="inULong" element="tns:inULong"/></wsdl:message><wsdl:message name="RetULong_ResponseMessage_Body"><wsdl:part name="RetULongResult" element="tns:RetULongResult"/></wsdl:message><wsdl:message name="RetString_RequestMessage_Body"><wsdl:part name="inString" element="tns:inString"/></wsdl:message><wsdl:message name="RetString_ResponseMessage_Body"><wsdl:part name="RetStringResult" element="tns:RetStringResult"/></wsdl:message><wsdl:message name="RetGuid_RequestMessage_Body"><wsdl:part name="inGuid" element="tns:inGuid"/></wsdl:message><wsdl:message name="RetGuid_ResponseMessage_Body"><wsdl:part name="RetGuidResult" element="tns:RetGuidResult"/></wsdl:message><wsdl:message name="RetUri_Requ!
estMessage_Body"><wsdl:part name="inUri" element="tns:inUri"/></wsdl:message><wsdl:message name="RetUri_ResponseMessage_Body"><wsdl:part name="RetUriResult" element="tns:RetUriResult"/></wsdl:message><wsdl:message name="RetDateTime_RequestMessage_Body"><wsdl:part name="inDateTime" element="tns:inDateTime"/></wsdl:message><wsdl:message name="RetDateTime_ResponseMessage_Body"><wsdl:part name="RetDateTimeResult" element="tns:RetDateTimeResult"/></wsdl:message><wsdl:message name="RetTimeSpan_RequestMessage_Body"><wsdl:part name="inTimeSpan" element="tns:inTimeSpan"/></wsdl:message><wsdl:message name="RetTimeSpan_ResponseMessage_Body"><wsdl:part name="RetTimeSpanResult" element="tns:RetTimeSpanResult"/></wsdl:message><wsdl:message name="RetQName_RequestMessage_Body"><wsdl:part name="inQName" element="tns:inQName"/></wsdl:message><wsdl:message name="RetQName_ResponseMessage_Body"><wsdl:part name="RetQNameResult" element="tns:RetQNameResult"/></wsdl:message><wsdl:portType name="IB!
aseDataTypesDocLitB"><wsdl:operation name="RetBool"><wsdl:input wsa:Ac
tion="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" name="RetBool_RequestMessage_Body" message="tns:RetBool_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetBoolResponse" name="RetBool_ResponseMessage_Body" message="tns:RetBool_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetByte"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" name="RetByte_RequestMessage_Body" message="tns:RetByte_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteResponse" name="RetByte_ResponseMessage_Body" message="tns:RetByte_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetSByte"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" name="RetSByte_RequestMessage_Body" message="tns:RetSByte_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByteResponse" name="RetSByte_ResponseMessage_Body" mess!
age="tns:RetSByte_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetByteArray"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" name="RetByteArray_RequestMessage_Body" message="tns:RetByteArray_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArrayResponse" name="RetByteArray_ResponseMessage_Body" message="tns:RetByteArray_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetChar"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" name="RetChar_RequestMessage_Body" message="tns:RetChar_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetCharResponse" name="RetChar_ResponseMessage_Body" message="tns:RetChar_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetDecimal"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" name="RetDecimal_RequestMessage_Body" message="tns:RetDeci!
mal_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/
IBaseDataTypesDocLitB/RetDecimalResponse" name="RetDecimal_ResponseMessage_Body" message="tns:RetDecimal_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetFloat"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" name="RetFloat_RequestMessage_Body" message="tns:RetFloat_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloatResponse" name="RetFloat_ResponseMessage_Body" message="tns:RetFloat_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetDouble"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" name="RetDouble_RequestMessage_Body" message="tns:RetDouble_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDoubleResponse" name="RetDouble_ResponseMessage_Body" message="tns:RetDouble_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetSingle"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB!
/RetSingle" name="RetSingle_RequestMessage_Body" message="tns:RetSingle_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSingleResponse" name="RetSingle_ResponseMessage_Body" message="tns:RetSingle_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetInt"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetInt" name="RetInt_RequestMessage_Body" message="tns:RetInt_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetIntResponse" name="RetInt_ResponseMessage_Body" message="tns:RetInt_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetShort"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" name="RetShort_RequestMessage_Body" message="tns:RetShort_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShortResponse" name="RetShort_ResponseMessage_Body" message="tns:RetShort_ResponseMessage_Body"/!
></wsdl:operation><wsdl:operation name="RetLong"><wsdl:input wsa:Actio
n="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" name="RetLong_RequestMessage_Body" message="tns:RetLong_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetLongResponse" name="RetLong_ResponseMessage_Body" message="tns:RetLong_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetObject"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObject" name="RetObject_RequestMessage_Body" message="tns:RetObject_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObjectResponse" name="RetObject_ResponseMessage_Body" message="tns:RetObject_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetUInt"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" name="RetUInt_RequestMessage_Body" message="tns:RetUInt_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUIntResponse" name="RetUInt_ResponseMessage_Body"!
message="tns:RetUInt_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetUShort"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort" name="RetUShort_RequestMessage_Body" message="tns:RetUShort_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShortResponse" name="RetUShort_ResponseMessage_Body" message="tns:RetUShort_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetULong"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULong" name="RetULong_RequestMessage_Body" message="tns:RetULong_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULongResponse" name="RetULong_ResponseMessage_Body" message="tns:RetULong_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetString"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetString" name="RetString_RequestMessage_Body" message="tns:RetString_RequestMes!
sage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypes
DocLitB/RetStringResponse" name="RetString_ResponseMessage_Body" message="tns:RetString_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetGuid"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" name="RetGuid_RequestMessage_Body" message="tns:RetGuid_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuidResponse" name="RetGuid_ResponseMessage_Body" message="tns:RetGuid_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetUri"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" name="RetUri_RequestMessage_Body" message="tns:RetUri_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUriResponse" name="RetUri_ResponseMessage_Body" message="tns:RetUri_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetDateTime"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" name="RetDateTime_RequestMess!
age_Body" message="tns:RetDateTime_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTimeResponse" name="RetDateTime_ResponseMessage_Body" message="tns:RetDateTime_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetTimeSpan"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" name="RetTimeSpan_RequestMessage_Body" message="tns:RetTimeSpan_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpanResponse" name="RetTimeSpan_ResponseMessage_Body" message="tns:RetTimeSpan_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetQName"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" name="RetQName_RequestMessage_Body" message="tns:RetQName_RequestMessage_Body"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQNameResponse" name="RetQName_ResponseMessage_Body" message="tns:RetQName_ResponseMessage_Bo!
dy"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBin
ding_IBaseDataTypesDocLitB" type="tns:IBaseDataTypesDocLitB"><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="RetBool"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" style="document"/><wsdl:input name="RetBool_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetBool_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" style="document"/><wsdl:input name="RetByte_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetByte_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" style="document"/><wsdl:input name="RetSByte_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:outp!
ut name="RetSByte_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetByteArray"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" style="document"/><wsdl:input name="RetByteArray_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetByteArray_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetChar"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" style="document"/><wsdl:input name="RetChar_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetChar_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDecimal"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" style="document"/><wsdl:input name="RetDecimal_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:outpu!
t name="RetDecimal_ResponseMessage_Body"><soap:body use="literal"/></w
sdl:output></wsdl:operation><wsdl:operation name="RetFloat"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" style="document"/><wsdl:input name="RetFloat_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetFloat_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDouble"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" style="document"/><wsdl:input name="RetDouble_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetDouble_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSingle"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle" style="document"/><wsdl:input name="RetSingle_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetSingle_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output><!
/wsdl:operation><wsdl:operation name="RetInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetInt" style="document"/><wsdl:input name="RetInt_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetInt_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" style="document"/><wsdl:input name="RetShort_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetShort_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetLong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" style="document"/><wsdl:input name="RetLong_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetLong_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation!
name="RetObject"><soap:operation soapAction="http://tempuri.org/IBase
DataTypesDocLitB/RetObject" style="document"/><wsdl:input name="RetObject_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetObject_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" style="document"/><wsdl:input name="RetUInt_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetUInt_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort" style="document"/><wsdl:input name="RetUShort_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetUShort_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetULong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/!
RetULong" style="document"/><wsdl:input name="RetULong_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetULong_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetString"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetString" style="document"/><wsdl:input name="RetString_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetString_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetGuid"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" style="document"/><wsdl:input name="RetGuid_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetGuid_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUri"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" style="docume!
nt"/><wsdl:input name="RetUri_RequestMessage_Body"><soap:body use="lit
eral"/></wsdl:input><wsdl:output name="RetUri_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDateTime"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" style="document"/><wsdl:input name="RetDateTime_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetDateTime_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetTimeSpan"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" style="document"/><wsdl:input name="RetTimeSpan_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetTimeSpan_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetQName"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" style="document"/><wsdl:input name="RetQName_RequestMessage_Body"><soap:body use="l!
iteral"/></wsdl:input><wsdl:output name="RetQName_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="BaseDataTypesDocLitBService"><wsdl:port name="BasicHttpBinding_IBaseDataTypesDocLitB" binding="tns:BasicHttpBinding_IBaseDataTypesDocLitB"><soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<wsdl:definitions name="BaseDataTypesDocLitBService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://tempuri.org/"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="RetBool_RequestMessage_Body">
+ <wsdl:part name="inBool" element="tns:inBool"/>
+ </wsdl:message>
+ <wsdl:message name="RetBool_ResponseMessage_Body">
+ <wsdl:part name="RetBoolResult" element="tns:RetBoolResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetByte_RequestMessage_Body">
+ <wsdl:part name="inByte" element="tns:inByte"/>
+ </wsdl:message>
+ <wsdl:message name="RetByte_ResponseMessage_Body">
+ <wsdl:part name="RetByteResult" element="tns:RetByteResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetSByte_RequestMessage_Body">
+ <wsdl:part name="inSByte" element="tns:inSByte"/>
+ </wsdl:message>
+ <wsdl:message name="RetSByte_ResponseMessage_Body">
+ <wsdl:part name="RetSByteResult" element="tns:RetSByteResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetByteArray_RequestMessage_Body">
+ <wsdl:part name="inByteArray" element="tns:inByteArray"/>
+ </wsdl:message>
+ <wsdl:message name="RetByteArray_ResponseMessage_Body">
+ <wsdl:part name="RetByteArrayResult" element="tns:RetByteArrayResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetChar_RequestMessage_Body">
+ <wsdl:part name="inChar" element="tns:inChar"/>
+ </wsdl:message>
+ <wsdl:message name="RetChar_ResponseMessage_Body">
+ <wsdl:part name="RetCharResult" element="tns:RetCharResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDecimal_RequestMessage_Body">
+ <wsdl:part name="inDecimal" element="tns:inDecimal"/>
+ </wsdl:message>
+ <wsdl:message name="RetDecimal_ResponseMessage_Body">
+ <wsdl:part name="RetDecimalResult" element="tns:RetDecimalResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetFloat_RequestMessage_Body">
+ <wsdl:part name="inFloat" element="tns:inFloat"/>
+ </wsdl:message>
+ <wsdl:message name="RetFloat_ResponseMessage_Body">
+ <wsdl:part name="RetFloatResult" element="tns:RetFloatResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDouble_RequestMessage_Body">
+ <wsdl:part name="inDouble" element="tns:inDouble"/>
+ </wsdl:message>
+ <wsdl:message name="RetDouble_ResponseMessage_Body">
+ <wsdl:part name="RetDoubleResult" element="tns:RetDoubleResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetSingle_RequestMessage_Body">
+ <wsdl:part name="inSingle" element="tns:inSingle"/>
+ </wsdl:message>
+ <wsdl:message name="RetSingle_ResponseMessage_Body">
+ <wsdl:part name="RetSingleResult" element="tns:RetSingleResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetInt_RequestMessage_Body">
+ <wsdl:part name="inInt" element="tns:inInt"/>
+ </wsdl:message>
+ <wsdl:message name="RetInt_ResponseMessage_Body">
+ <wsdl:part name="RetIntResult" element="tns:RetIntResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetShort_RequestMessage_Body">
+ <wsdl:part name="inShort" element="tns:inShort"/>
+ </wsdl:message>
+ <wsdl:message name="RetShort_ResponseMessage_Body">
+ <wsdl:part name="RetShortResult" element="tns:RetShortResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetLong_RequestMessage_Body">
+ <wsdl:part name="inLong" element="tns:inLong"/>
+ </wsdl:message>
+ <wsdl:message name="RetLong_ResponseMessage_Body">
+ <wsdl:part name="RetLongResult" element="tns:RetLongResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetObject_RequestMessage_Body">
+ <wsdl:part name="inObject" element="tns:inObject"/>
+ </wsdl:message>
+ <wsdl:message name="RetObject_ResponseMessage_Body">
+ <wsdl:part name="RetObjectResult" element="tns:RetObjectResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUInt_RequestMessage_Body">
+ <wsdl:part name="inUInt" element="tns:inUInt"/>
+ </wsdl:message>
+ <wsdl:message name="RetUInt_ResponseMessage_Body">
+ <wsdl:part name="RetUIntResult" element="tns:RetUIntResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUShort_RequestMessage_Body">
+ <wsdl:part name="inUShort" element="tns:inUShort"/>
+ </wsdl:message>
+ <wsdl:message name="RetUShort_ResponseMessage_Body">
+ <wsdl:part name="RetUShortResult" element="tns:RetUShortResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetULong_RequestMessage_Body">
+ <wsdl:part name="inULong" element="tns:inULong"/>
+ </wsdl:message>
+ <wsdl:message name="RetULong_ResponseMessage_Body">
+ <wsdl:part name="RetULongResult" element="tns:RetULongResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetString_RequestMessage_Body">
+ <wsdl:part name="inString" element="tns:inString"/>
+ </wsdl:message>
+ <wsdl:message name="RetString_ResponseMessage_Body">
+ <wsdl:part name="RetStringResult" element="tns:RetStringResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetGuid_RequestMessage_Body">
+ <wsdl:part name="inGuid" element="tns:inGuid"/>
+ </wsdl:message>
+ <wsdl:message name="RetGuid_ResponseMessage_Body">
+ <wsdl:part name="RetGuidResult" element="tns:RetGuidResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUri_RequestMessage_Body">
+ <wsdl:part name="inUri" element="tns:inUri"/>
+ </wsdl:message>
+ <wsdl:message name="RetUri_ResponseMessage_Body">
+ <wsdl:part name="RetUriResult" element="tns:RetUriResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDateTime_RequestMessage_Body">
+ <wsdl:part name="inDateTime" element="tns:inDateTime"/>
+ </wsdl:message>
+ <wsdl:message name="RetDateTime_ResponseMessage_Body">
+ <wsdl:part name="RetDateTimeResult" element="tns:RetDateTimeResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetTimeSpan_RequestMessage_Body">
+ <wsdl:part name="inTimeSpan" element="tns:inTimeSpan"/>
+ </wsdl:message>
+ <wsdl:message name="RetTimeSpan_ResponseMessage_Body">
+ <wsdl:part name="RetTimeSpanResult" element="tns:RetTimeSpanResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetQName_RequestMessage_Body">
+ <wsdl:part name="inQName" element="tns:inQName"/>
+ </wsdl:message>
+ <wsdl:message name="RetQName_ResponseMessage_Body">
+ <wsdl:part name="RetQNameResult" element="tns:RetQNameResult"/>
+ </wsdl:message>
+ <wsdl:portType name="IBaseDataTypesDocLitB">
+ <wsdl:operation name="RetBool">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" name="RetBool_RequestMessage_Body" message="tns:RetBool_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetBoolResponse" name="RetBool_ResponseMessage_Body" message="tns:RetBool_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" name="RetByte_RequestMessage_Body" message="tns:RetByte_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteResponse" name="RetByte_ResponseMessage_Body" message="tns:RetByte_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" name="RetSByte_RequestMessage_Body" message="tns:RetSByte_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByteResponse" name="RetSByte_ResponseMessage_Body" message="tns:RetSByte_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" name="RetByteArray_RequestMessage_Body" message="tns:RetByteArray_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArrayResponse" name="RetByteArray_ResponseMessage_Body" message="tns:RetByteArray_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" name="RetChar_RequestMessage_Body" message="tns:RetChar_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetCharResponse" name="RetChar_ResponseMessage_Body" message="tns:RetChar_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" name="RetDecimal_RequestMessage_Body" message="tns:RetDecimal_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimalResponse" name="RetDecimal_ResponseMessage_Body" message="tns:RetDecimal_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" name="RetFloat_RequestMessage_Body" message="tns:RetFloat_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloatResponse" name="RetFloat_ResponseMessage_Body" message="tns:RetFloat_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" name="RetDouble_RequestMessage_Body" message="tns:RetDouble_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDoubleResponse" name="RetDouble_ResponseMessage_Body" message="tns:RetDouble_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle" name="RetSingle_RequestMessage_Body" message="tns:RetSingle_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSingleResponse" name="RetSingle_ResponseMessage_Body" message="tns:RetSingle_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetInt" name="RetInt_RequestMessage_Body" message="tns:RetInt_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetIntResponse" name="RetInt_ResponseMessage_Body" message="tns:RetInt_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" name="RetShort_RequestMessage_Body" message="tns:RetShort_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShortResponse" name="RetShort_ResponseMessage_Body" message="tns:RetShort_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" name="RetLong_RequestMessage_Body" message="tns:RetLong_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetLongResponse" name="RetLong_ResponseMessage_Body" message="tns:RetLong_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObject" name="RetObject_RequestMessage_Body" message="tns:RetObject_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObjectResponse" name="RetObject_ResponseMessage_Body" message="tns:RetObject_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" name="RetUInt_RequestMessage_Body" message="tns:RetUInt_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUIntResponse" name="RetUInt_ResponseMessage_Body" message="tns:RetUInt_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort" name="RetUShort_RequestMessage_Body" message="tns:RetUShort_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShortResponse" name="RetUShort_ResponseMessage_Body" message="tns:RetUShort_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULong" name="RetULong_RequestMessage_Body" message="tns:RetULong_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULongResponse" name="RetULong_ResponseMessage_Body" message="tns:RetULong_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetString" name="RetString_RequestMessage_Body" message="tns:RetString_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetStringResponse" name="RetString_ResponseMessage_Body" message="tns:RetString_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" name="RetGuid_RequestMessage_Body" message="tns:RetGuid_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuidResponse" name="RetGuid_ResponseMessage_Body" message="tns:RetGuid_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" name="RetUri_RequestMessage_Body" message="tns:RetUri_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUriResponse" name="RetUri_ResponseMessage_Body" message="tns:RetUri_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" name="RetDateTime_RequestMessage_Body" message="tns:RetDateTime_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTimeResponse" name="RetDateTime_ResponseMessage_Body" message="tns:RetDateTime_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" name="RetTimeSpan_RequestMessage_Body" message="tns:RetTimeSpan_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpanResponse" name="RetTimeSpan_ResponseMessage_Body" message="tns:RetTimeSpan_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" name="RetQName_RequestMessage_Body" message="tns:RetQName_RequestMessage_Body"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQNameResponse" name="RetQName_ResponseMessage_Body" message="tns:RetQName_ResponseMessage_Body"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IBaseDataTypesDocLitB" type="tns:IBaseDataTypesDocLitB">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="RetBool">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" style="document"/>
+ <wsdl:input name="RetBool_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetBool_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" style="document"/>
+ <wsdl:input name="RetByte_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetByte_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" style="document"/>
+ <wsdl:input name="RetSByte_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetSByte_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" style="document"/>
+ <wsdl:input name="RetByteArray_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetByteArray_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" style="document"/>
+ <wsdl:input name="RetChar_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetChar_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" style="document"/>
+ <wsdl:input name="RetDecimal_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetDecimal_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" style="document"/>
+ <wsdl:input name="RetFloat_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetFloat_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" style="document"/>
+ <wsdl:input name="RetDouble_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetDouble_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle" style="document"/>
+ <wsdl:input name="RetSingle_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetSingle_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetInt" style="document"/>
+ <wsdl:input name="RetInt_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetInt_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" style="document"/>
+ <wsdl:input name="RetShort_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetShort_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" style="document"/>
+ <wsdl:input name="RetLong_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetLong_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetObject" style="document"/>
+ <wsdl:input name="RetObject_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetObject_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" style="document"/>
+ <wsdl:input name="RetUInt_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetUInt_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort" style="document"/>
+ <wsdl:input name="RetUShort_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetUShort_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetULong" style="document"/>
+ <wsdl:input name="RetULong_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetULong_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetString" style="document"/>
+ <wsdl:input name="RetString_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetString_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" style="document"/>
+ <wsdl:input name="RetGuid_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetGuid_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" style="document"/>
+ <wsdl:input name="RetUri_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetUri_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" style="document"/>
+ <wsdl:input name="RetDateTime_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetDateTime_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" style="document"/>
+ <wsdl:input name="RetTimeSpan_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetTimeSpan_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" style="document"/>
+ <wsdl:input name="RetQName_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetQName_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="BaseDataTypesDocLitBService">
+ <wsdl:port name="BasicHttpBinding_IBaseDataTypesDocLitB" binding="tns:BasicHttpBinding_IBaseDataTypesDocLitB">
+ <soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/BaseDataTypesDocLitB_Service</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitB_Service/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,438 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="BaseDataTypesDocLitBService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IBaseDataTypesDocLitB_policy">!
<wsp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd1.xsd" namespace="http://tempuri.org/"/><xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:schema></wsdl:types><wsdl:message name="RetBool_RequestMessage_Body"><wsdl:part name="inBool" element="tns:inBool"/></wsdl:message><wsdl:message name="RetBool_ResponseMessage_Body"><wsdl:part name="RetBoolResult" element="tns:RetBoolResult"/></wsdl:message><wsdl:message name="RetByte_RequestMessage_Body"><wsdl:part name="inByte" element="tns:inByte"/></wsdl:message><wsdl:message name="RetByte_ResponseMessage_Body"><wsdl:part name="RetByteResult" element="tns:RetByteResult"/></wsdl:message><wsdl:message name="RetSByte_RequestMessage_Body"><wsdl:part name="inSByte" el!
ement="tns:inSByte"/></wsdl:message><wsdl:message name="RetSByte_Respo
nseMessage_Body"><wsdl:part name="RetSByteResult" element="tns:RetSByteResult"/></wsdl:message><wsdl:message name="RetByteArray_RequestMessage_Body"><wsdl:part name="inByteArray" element="tns:inByteArray"/></wsdl:message><wsdl:message name="RetByteArray_ResponseMessage_Body"><wsdl:part name="RetByteArrayResult" element="tns:RetByteArrayResult"/></wsdl:message><wsdl:message name="RetChar_RequestMessage_Body"><wsdl:part name="inChar" element="tns:inChar"/></wsdl:message><wsdl:message name="RetChar_ResponseMessage_Body"><wsdl:part name="RetCharResult" element="tns:RetCharResult"/></wsdl:message><wsdl:message name="RetDecimal_RequestMessage_Body"><wsdl:part name="inDecimal" element="tns:inDecimal"/></wsdl:message><wsdl:message name="RetDecimal_ResponseMessage_Body"><wsdl:part name="RetDecimalResult" element="tns:RetDecimalResult"/></wsdl:message><wsdl:message name="RetFloat_RequestMessage_Body"><wsdl:part name="inFloat" element="tns:inFloat"/></wsdl:message><wsdl:message name="R!
etFloat_ResponseMessage_Body"><wsdl:part name="RetFloatResult" element="tns:RetFloatResult"/></wsdl:message><wsdl:message name="RetDouble_RequestMessage_Body"><wsdl:part name="inDouble" element="tns:inDouble"/></wsdl:message><wsdl:message name="RetDouble_ResponseMessage_Body"><wsdl:part name="RetDoubleResult" element="tns:RetDoubleResult"/></wsdl:message><wsdl:message name="RetSingle_RequestMessage_Body"><wsdl:part name="inSingle" element="tns:inSingle"/></wsdl:message><wsdl:message name="RetSingle_ResponseMessage_Body"><wsdl:part name="RetSingleResult" element="tns:RetSingleResult"/></wsdl:message><wsdl:message name="RetInt_RequestMessage_Body"><wsdl:part name="inInt" element="tns:inInt"/></wsdl:message><wsdl:message name="RetInt_ResponseMessage_Body"><wsdl:part name="RetIntResult" element="tns:RetIntResult"/></wsdl:message><wsdl:message name="RetShort_RequestMessage_Body"><wsdl:part name="inShort" element="tns:inShort"/></wsdl:message><wsdl:message name="RetShort_Response!
Message_Body"><wsdl:part name="RetShortResult" element="tns:RetShortRe
sult"/></wsdl:message><wsdl:message name="RetLong_RequestMessage_Body"><wsdl:part name="inLong" element="tns:inLong"/></wsdl:message><wsdl:message name="RetLong_ResponseMessage_Body"><wsdl:part name="RetLongResult" element="tns:RetLongResult"/></wsdl:message><wsdl:message name="RetObject_RequestMessage_Body"><wsdl:part name="inObject" element="tns:inObject"/></wsdl:message><wsdl:message name="RetObject_ResponseMessage_Body"><wsdl:part name="RetObjectResult" element="tns:RetObjectResult"/></wsdl:message><wsdl:message name="RetUInt_RequestMessage_Body"><wsdl:part name="inUInt" element="tns:inUInt"/></wsdl:message><wsdl:message name="RetUInt_ResponseMessage_Body"><wsdl:part name="RetUIntResult" element="tns:RetUIntResult"/></wsdl:message><wsdl:message name="RetUShort_RequestMessage_Body"><wsdl:part name="inUShort" element="tns:inUShort"/></wsdl:message><wsdl:message name="RetUShort_ResponseMessage_Body"><wsdl:part name="RetUShortResult" element="tns:RetUShortResult"/></wsdl:mes!
sage><wsdl:message name="RetULong_RequestMessage_Body"><wsdl:part name="inULong" element="tns:inULong"/></wsdl:message><wsdl:message name="RetULong_ResponseMessage_Body"><wsdl:part name="RetULongResult" element="tns:RetULongResult"/></wsdl:message><wsdl:message name="RetString_RequestMessage_Body"><wsdl:part name="inString" element="tns:inString"/></wsdl:message><wsdl:message name="RetString_ResponseMessage_Body"><wsdl:part name="RetStringResult" element="tns:RetStringResult"/></wsdl:message><wsdl:message name="RetGuid_RequestMessage_Body"><wsdl:part name="inGuid" element="tns:inGuid"/></wsdl:message><wsdl:message name="RetGuid_ResponseMessage_Body"><wsdl:part name="RetGuidResult" element="tns:RetGuidResult"/></wsdl:message><wsdl:message name="RetUri_RequestMessage_Body"><wsdl:part name="inUri" element="tns:inUri"/></wsdl:message><wsdl:message name="RetUri_ResponseMessage_Body"><wsdl:part name="RetUriResult" element="tns:RetUriResult"/></wsdl:message><wsdl:message name="Ret!
DateTime_RequestMessage_Body"><wsdl:part name="inDateTime" element="tn
s:inDateTime"/></wsdl:message><wsdl:message name="RetDateTime_ResponseMessage_Body"><wsdl:part name="RetDateTimeResult" element="tns:RetDateTimeResult"/></wsdl:message><wsdl:message name="RetTimeSpan_RequestMessage_Body"><wsdl:part name="inTimeSpan" element="tns:inTimeSpan"/></wsdl:message><wsdl:message name="RetTimeSpan_ResponseMessage_Body"><wsdl:part name="RetTimeSpanResult" element="tns:RetTimeSpanResult"/></wsdl:message><wsdl:message name="RetQName_RequestMessage_Body"><wsdl:part name="inQName" element="tns:inQName"/></wsdl:message><wsdl:message name="RetQName_ResponseMessage_Body"><wsdl:part name="RetQNameResult" element="tns:RetQNameResult"/></wsdl:message><wsdl:portType msc:usingSession="false" name="IBaseDataTypesDocLitB"><wsdl:operation name="RetBool"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" name="RetBool_RequestMessage_Body" message="tns:RetBool_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDoc!
LitB/RetBoolResponse" name="RetBool_ResponseMessage_Body" message="tns:RetBool_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetByte"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" name="RetByte_RequestMessage_Body" message="tns:RetByte_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteResponse" name="RetByte_ResponseMessage_Body" message="tns:RetByte_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetSByte"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" name="RetSByte_RequestMessage_Body" message="tns:RetSByte_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByteResponse" name="RetSByte_ResponseMessage_Body" message="tns:RetSByte_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetByteArray"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" name="RetBy!
teArray_RequestMessage_Body" message="tns:RetByteArray_RequestMessage_
Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArrayResponse" name="RetByteArray_ResponseMessage_Body" message="tns:RetByteArray_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetChar"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" name="RetChar_RequestMessage_Body" message="tns:RetChar_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetCharResponse" name="RetChar_ResponseMessage_Body" message="tns:RetChar_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetDecimal"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" name="RetDecimal_RequestMessage_Body" message="tns:RetDecimal_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimalResponse" name="RetDecimal_ResponseMessage_Body" message="tns:RetDecimal_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetFloat!
"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" name="RetFloat_RequestMessage_Body" message="tns:RetFloat_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloatResponse" name="RetFloat_ResponseMessage_Body" message="tns:RetFloat_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetDouble"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" name="RetDouble_RequestMessage_Body" message="tns:RetDouble_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDoubleResponse" name="RetDouble_ResponseMessage_Body" message="tns:RetDouble_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetSingle"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle" name="RetSingle_RequestMessage_Body" message="tns:RetSingle_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/Re!
tSingleResponse" name="RetSingle_ResponseMessage_Body" message="tns:Re
tSingle_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetInt"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetInt" name="RetInt_RequestMessage_Body" message="tns:RetInt_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetIntResponse" name="RetInt_ResponseMessage_Body" message="tns:RetInt_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetShort"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" name="RetShort_RequestMessage_Body" message="tns:RetShort_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShortResponse" name="RetShort_ResponseMessage_Body" message="tns:RetShort_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetLong"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" name="RetLong_RequestMessage_Body" message="tns:RetLong_RequestMessage_Body"/><wsdl:output wsa10:Act!
ion="http://tempuri.org/IBaseDataTypesDocLitB/RetLongResponse" name="RetLong_ResponseMessage_Body" message="tns:RetLong_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetObject"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObject" name="RetObject_RequestMessage_Body" message="tns:RetObject_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObjectResponse" name="RetObject_ResponseMessage_Body" message="tns:RetObject_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetUInt"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" name="RetUInt_RequestMessage_Body" message="tns:RetUInt_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUIntResponse" name="RetUInt_ResponseMessage_Body" message="tns:RetUInt_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetUShort"><wsdl:input wsa10:Action="http://tempuri.org/IB!
aseDataTypesDocLitB/RetUShort" name="RetUShort_RequestMessage_Body" me
ssage="tns:RetUShort_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShortResponse" name="RetUShort_ResponseMessage_Body" message="tns:RetUShort_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetULong"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULong" name="RetULong_RequestMessage_Body" message="tns:RetULong_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULongResponse" name="RetULong_ResponseMessage_Body" message="tns:RetULong_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetString"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetString" name="RetString_RequestMessage_Body" message="tns:RetString_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetStringResponse" name="RetString_ResponseMessage_Body" message="tns:RetString_ResponseMessage_Body"/></wsdl:operation><ws!
dl:operation name="RetGuid"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" name="RetGuid_RequestMessage_Body" message="tns:RetGuid_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuidResponse" name="RetGuid_ResponseMessage_Body" message="tns:RetGuid_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetUri"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" name="RetUri_RequestMessage_Body" message="tns:RetUri_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUriResponse" name="RetUri_ResponseMessage_Body" message="tns:RetUri_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetDateTime"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" name="RetDateTime_RequestMessage_Body" message="tns:RetDateTime_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDoc!
LitB/RetDateTimeResponse" name="RetDateTime_ResponseMessage_Body" mess
age="tns:RetDateTime_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetTimeSpan"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" name="RetTimeSpan_RequestMessage_Body" message="tns:RetTimeSpan_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpanResponse" name="RetTimeSpan_ResponseMessage_Body" message="tns:RetTimeSpan_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetQName"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" name="RetQName_RequestMessage_Body" message="tns:RetQName_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQNameResponse" name="RetQName_ResponseMessage_Body" message="tns:RetQName_ResponseMessage_Body"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IBaseDataTypesDocLitB" type="tns:IBaseDataTypesDocLitB"><wsp:PolicyReference URI="#BasicHttpBinding_IBaseD!
ataTypesDocLitB_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="RetBool"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" style="document"/><wsdl:input name="RetBool_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetBool_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" style="document"/><wsdl:input name="RetByte_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetByte_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" style="document"/><wsdl:input name="RetSByte_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetSByte_ResponseMessage_B!
ody"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:op
eration name="RetByteArray"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" style="document"/><wsdl:input name="RetByteArray_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetByteArray_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetChar"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" style="document"/><wsdl:input name="RetChar_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetChar_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDecimal"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" style="document"/><wsdl:input name="RetDecimal_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetDecimal_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:op!
eration name="RetFloat"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" style="document"/><wsdl:input name="RetFloat_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetFloat_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDouble"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" style="document"/><wsdl:input name="RetDouble_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetDouble_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSingle"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle" style="document"/><wsdl:input name="RetSingle_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetSingle_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation nam!
e="RetInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTyp
esDocLitB/RetInt" style="document"/><wsdl:input name="RetInt_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetInt_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" style="document"/><wsdl:input name="RetShort_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetShort_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetLong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" style="document"/><wsdl:input name="RetLong_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetLong_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetObject"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetObject" style="d!
ocument"/><wsdl:input name="RetObject_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetObject_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" style="document"/><wsdl:input name="RetUInt_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetUInt_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort" style="document"/><wsdl:input name="RetUShort_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetUShort_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetULong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetULong" style="document"/><wsdl:i!
nput name="RetULong_RequestMessage_Body"><soap:body use="literal"/></w
sdl:input><wsdl:output name="RetULong_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetString"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetString" style="document"/><wsdl:input name="RetString_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetString_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetGuid"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" style="document"/><wsdl:input name="RetGuid_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetGuid_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUri"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" style="document"/><wsdl:input name="RetUri_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output nam!
e="RetUri_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDateTime"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" style="document"/><wsdl:input name="RetDateTime_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetDateTime_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetTimeSpan"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" style="document"/><wsdl:input name="RetTimeSpan_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetTimeSpan_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetQName"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" style="document"/><wsdl:input name="RetQName_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output !
name="RetQName_ResponseMessage_Body"><soap:body use="literal"/></wsdl:
output></wsdl:operation></wsdl:binding><wsdl:service name="BaseDataTypesDocLitBService"><wsdl:port name="BasicHttpBinding_IBaseDataTypesDocLitB" binding="tns:BasicHttpBinding_IBaseDataTypesDocLitB"><soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="BaseDataTypesDocLitBService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://tempuri.org/"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="RetBool_RequestMessage_Body">
+ <wsdl:part name="inBool" element="tns:inBool"/>
+ </wsdl:message>
+ <wsdl:message name="RetBool_ResponseMessage_Body">
+ <wsdl:part name="RetBoolResult" element="tns:RetBoolResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetByte_RequestMessage_Body">
+ <wsdl:part name="inByte" element="tns:inByte"/>
+ </wsdl:message>
+ <wsdl:message name="RetByte_ResponseMessage_Body">
+ <wsdl:part name="RetByteResult" element="tns:RetByteResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetSByte_RequestMessage_Body">
+ <wsdl:part name="inSByte" element="tns:inSByte"/>
+ </wsdl:message>
+ <wsdl:message name="RetSByte_ResponseMessage_Body">
+ <wsdl:part name="RetSByteResult" element="tns:RetSByteResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetByteArray_RequestMessage_Body">
+ <wsdl:part name="inByteArray" element="tns:inByteArray"/>
+ </wsdl:message>
+ <wsdl:message name="RetByteArray_ResponseMessage_Body">
+ <wsdl:part name="RetByteArrayResult" element="tns:RetByteArrayResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetChar_RequestMessage_Body">
+ <wsdl:part name="inChar" element="tns:inChar"/>
+ </wsdl:message>
+ <wsdl:message name="RetChar_ResponseMessage_Body">
+ <wsdl:part name="RetCharResult" element="tns:RetCharResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDecimal_RequestMessage_Body">
+ <wsdl:part name="inDecimal" element="tns:inDecimal"/>
+ </wsdl:message>
+ <wsdl:message name="RetDecimal_ResponseMessage_Body">
+ <wsdl:part name="RetDecimalResult" element="tns:RetDecimalResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetFloat_RequestMessage_Body">
+ <wsdl:part name="inFloat" element="tns:inFloat"/>
+ </wsdl:message>
+ <wsdl:message name="RetFloat_ResponseMessage_Body">
+ <wsdl:part name="RetFloatResult" element="tns:RetFloatResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDouble_RequestMessage_Body">
+ <wsdl:part name="inDouble" element="tns:inDouble"/>
+ </wsdl:message>
+ <wsdl:message name="RetDouble_ResponseMessage_Body">
+ <wsdl:part name="RetDoubleResult" element="tns:RetDoubleResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetSingle_RequestMessage_Body">
+ <wsdl:part name="inSingle" element="tns:inSingle"/>
+ </wsdl:message>
+ <wsdl:message name="RetSingle_ResponseMessage_Body">
+ <wsdl:part name="RetSingleResult" element="tns:RetSingleResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetInt_RequestMessage_Body">
+ <wsdl:part name="inInt" element="tns:inInt"/>
+ </wsdl:message>
+ <wsdl:message name="RetInt_ResponseMessage_Body">
+ <wsdl:part name="RetIntResult" element="tns:RetIntResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetShort_RequestMessage_Body">
+ <wsdl:part name="inShort" element="tns:inShort"/>
+ </wsdl:message>
+ <wsdl:message name="RetShort_ResponseMessage_Body">
+ <wsdl:part name="RetShortResult" element="tns:RetShortResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetLong_RequestMessage_Body">
+ <wsdl:part name="inLong" element="tns:inLong"/>
+ </wsdl:message>
+ <wsdl:message name="RetLong_ResponseMessage_Body">
+ <wsdl:part name="RetLongResult" element="tns:RetLongResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetObject_RequestMessage_Body">
+ <wsdl:part name="inObject" element="tns:inObject"/>
+ </wsdl:message>
+ <wsdl:message name="RetObject_ResponseMessage_Body">
+ <wsdl:part name="RetObjectResult" element="tns:RetObjectResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUInt_RequestMessage_Body">
+ <wsdl:part name="inUInt" element="tns:inUInt"/>
+ </wsdl:message>
+ <wsdl:message name="RetUInt_ResponseMessage_Body">
+ <wsdl:part name="RetUIntResult" element="tns:RetUIntResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUShort_RequestMessage_Body">
+ <wsdl:part name="inUShort" element="tns:inUShort"/>
+ </wsdl:message>
+ <wsdl:message name="RetUShort_ResponseMessage_Body">
+ <wsdl:part name="RetUShortResult" element="tns:RetUShortResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetULong_RequestMessage_Body">
+ <wsdl:part name="inULong" element="tns:inULong"/>
+ </wsdl:message>
+ <wsdl:message name="RetULong_ResponseMessage_Body">
+ <wsdl:part name="RetULongResult" element="tns:RetULongResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetString_RequestMessage_Body">
+ <wsdl:part name="inString" element="tns:inString"/>
+ </wsdl:message>
+ <wsdl:message name="RetString_ResponseMessage_Body">
+ <wsdl:part name="RetStringResult" element="tns:RetStringResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetGuid_RequestMessage_Body">
+ <wsdl:part name="inGuid" element="tns:inGuid"/>
+ </wsdl:message>
+ <wsdl:message name="RetGuid_ResponseMessage_Body">
+ <wsdl:part name="RetGuidResult" element="tns:RetGuidResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUri_RequestMessage_Body">
+ <wsdl:part name="inUri" element="tns:inUri"/>
+ </wsdl:message>
+ <wsdl:message name="RetUri_ResponseMessage_Body">
+ <wsdl:part name="RetUriResult" element="tns:RetUriResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDateTime_RequestMessage_Body">
+ <wsdl:part name="inDateTime" element="tns:inDateTime"/>
+ </wsdl:message>
+ <wsdl:message name="RetDateTime_ResponseMessage_Body">
+ <wsdl:part name="RetDateTimeResult" element="tns:RetDateTimeResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetTimeSpan_RequestMessage_Body">
+ <wsdl:part name="inTimeSpan" element="tns:inTimeSpan"/>
+ </wsdl:message>
+ <wsdl:message name="RetTimeSpan_ResponseMessage_Body">
+ <wsdl:part name="RetTimeSpanResult" element="tns:RetTimeSpanResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetQName_RequestMessage_Body">
+ <wsdl:part name="inQName" element="tns:inQName"/>
+ </wsdl:message>
+ <wsdl:message name="RetQName_ResponseMessage_Body">
+ <wsdl:part name="RetQNameResult" element="tns:RetQNameResult"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IBaseDataTypesDocLitB">
+ <wsdl:operation name="RetBool">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" name="RetBool_RequestMessage_Body" message="tns:RetBool_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetBoolResponse" name="RetBool_ResponseMessage_Body" message="tns:RetBool_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" name="RetByte_RequestMessage_Body" message="tns:RetByte_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteResponse" name="RetByte_ResponseMessage_Body" message="tns:RetByte_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" name="RetSByte_RequestMessage_Body" message="tns:RetSByte_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByteResponse" name="RetSByte_ResponseMessage_Body" message="tns:RetSByte_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" name="RetByteArray_RequestMessage_Body" message="tns:RetByteArray_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArrayResponse" name="RetByteArray_ResponseMessage_Body" message="tns:RetByteArray_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" name="RetChar_RequestMessage_Body" message="tns:RetChar_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetCharResponse" name="RetChar_ResponseMessage_Body" message="tns:RetChar_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" name="RetDecimal_RequestMessage_Body" message="tns:RetDecimal_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimalResponse" name="RetDecimal_ResponseMessage_Body" message="tns:RetDecimal_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" name="RetFloat_RequestMessage_Body" message="tns:RetFloat_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloatResponse" name="RetFloat_ResponseMessage_Body" message="tns:RetFloat_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" name="RetDouble_RequestMessage_Body" message="tns:RetDouble_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDoubleResponse" name="RetDouble_ResponseMessage_Body" message="tns:RetDouble_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle" name="RetSingle_RequestMessage_Body" message="tns:RetSingle_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSingleResponse" name="RetSingle_ResponseMessage_Body" message="tns:RetSingle_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetInt" name="RetInt_RequestMessage_Body" message="tns:RetInt_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetIntResponse" name="RetInt_ResponseMessage_Body" message="tns:RetInt_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" name="RetShort_RequestMessage_Body" message="tns:RetShort_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShortResponse" name="RetShort_ResponseMessage_Body" message="tns:RetShort_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" name="RetLong_RequestMessage_Body" message="tns:RetLong_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetLongResponse" name="RetLong_ResponseMessage_Body" message="tns:RetLong_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObject" name="RetObject_RequestMessage_Body" message="tns:RetObject_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObjectResponse" name="RetObject_ResponseMessage_Body" message="tns:RetObject_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" name="RetUInt_RequestMessage_Body" message="tns:RetUInt_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUIntResponse" name="RetUInt_ResponseMessage_Body" message="tns:RetUInt_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort" name="RetUShort_RequestMessage_Body" message="tns:RetUShort_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShortResponse" name="RetUShort_ResponseMessage_Body" message="tns:RetUShort_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULong" name="RetULong_RequestMessage_Body" message="tns:RetULong_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULongResponse" name="RetULong_ResponseMessage_Body" message="tns:RetULong_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetString" name="RetString_RequestMessage_Body" message="tns:RetString_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetStringResponse" name="RetString_ResponseMessage_Body" message="tns:RetString_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" name="RetGuid_RequestMessage_Body" message="tns:RetGuid_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuidResponse" name="RetGuid_ResponseMessage_Body" message="tns:RetGuid_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" name="RetUri_RequestMessage_Body" message="tns:RetUri_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUriResponse" name="RetUri_ResponseMessage_Body" message="tns:RetUri_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" name="RetDateTime_RequestMessage_Body" message="tns:RetDateTime_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTimeResponse" name="RetDateTime_ResponseMessage_Body" message="tns:RetDateTime_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" name="RetTimeSpan_RequestMessage_Body" message="tns:RetTimeSpan_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpanResponse" name="RetTimeSpan_ResponseMessage_Body" message="tns:RetTimeSpan_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" name="RetQName_RequestMessage_Body" message="tns:RetQName_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQNameResponse" name="RetQName_ResponseMessage_Body" message="tns:RetQName_ResponseMessage_Body"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IBaseDataTypesDocLitB" type="tns:IBaseDataTypesDocLitB">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IBaseDataTypesDocLitB_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="RetBool">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" style="document"/>
+ <wsdl:input name="RetBool_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetBool_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" style="document"/>
+ <wsdl:input name="RetByte_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetByte_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" style="document"/>
+ <wsdl:input name="RetSByte_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetSByte_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" style="document"/>
+ <wsdl:input name="RetByteArray_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetByteArray_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" style="document"/>
+ <wsdl:input name="RetChar_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetChar_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" style="document"/>
+ <wsdl:input name="RetDecimal_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetDecimal_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" style="document"/>
+ <wsdl:input name="RetFloat_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetFloat_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" style="document"/>
+ <wsdl:input name="RetDouble_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetDouble_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle" style="document"/>
+ <wsdl:input name="RetSingle_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetSingle_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetInt" style="document"/>
+ <wsdl:input name="RetInt_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetInt_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" style="document"/>
+ <wsdl:input name="RetShort_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetShort_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" style="document"/>
+ <wsdl:input name="RetLong_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetLong_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetObject" style="document"/>
+ <wsdl:input name="RetObject_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetObject_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" style="document"/>
+ <wsdl:input name="RetUInt_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetUInt_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort" style="document"/>
+ <wsdl:input name="RetUShort_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetUShort_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetULong" style="document"/>
+ <wsdl:input name="RetULong_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetULong_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetString" style="document"/>
+ <wsdl:input name="RetString_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetString_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" style="document"/>
+ <wsdl:input name="RetGuid_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetGuid_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" style="document"/>
+ <wsdl:input name="RetUri_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetUri_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" style="document"/>
+ <wsdl:input name="RetDateTime_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetDateTime_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" style="document"/>
+ <wsdl:input name="RetTimeSpan_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetTimeSpan_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" style="document"/>
+ <wsdl:input name="RetQName_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetQName_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="BaseDataTypesDocLitBService">
+ <wsdl:port name="BasicHttpBinding_IBaseDataTypesDocLitB" binding="tns:BasicHttpBinding_IBaseDataTypesDocLitB">
+ <soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,4 +6,7 @@
<scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitW.svc</target-endpoint>
</scenario>
-</client-scenarios>
\ No newline at end of file
+ <scenario name="msft-private" decsription="Testing MSFT private interop endpoints">
+ <target-endpoint>http://10.10.32.186/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitW.svc</target-endpoint>
+ </scenario>
+</client-scenarios>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/BaseDataTypesDocLitW_Service</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesDocLitW_Service/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,438 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="BaseDataTypesDocLitWService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IBaseDataTypesDocLitW_policy">!
<wsp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd0.xsd" namespace="http://tempuri.org/"/><xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:schema></wsdl:types><wsdl:message name="IBaseDataTypesDocLitW_RetBool_InputMessage"><wsdl:part name="parameters" element="tns:RetBool"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetBool_OutputMessage"><wsdl:part name="parameters" element="tns:RetBoolResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetByte_InputMessage"><wsdl:part name="parameters" element="tns:RetByte"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetByte_OutputMessage"><wsdl:part name="parameters" element="tns:RetByteResponse"/></wsdl:message><wsdl:mess!
age name="IBaseDataTypesDocLitW_RetSByte_InputMessage"><wsdl:part name
="parameters" element="tns:RetSByte"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetSByte_OutputMessage"><wsdl:part name="parameters" element="tns:RetSByteResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetByteArray_InputMessage"><wsdl:part name="parameters" element="tns:RetByteArray"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetByteArray_OutputMessage"><wsdl:part name="parameters" element="tns:RetByteArrayResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetChar_InputMessage"><wsdl:part name="parameters" element="tns:RetChar"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetChar_OutputMessage"><wsdl:part name="parameters" element="tns:RetCharResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetDecimal_InputMessage"><wsdl:part name="parameters" element="tns:RetDecimal"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetDecimal_OutputMessage"><wsdl:part name="parameters!
" element="tns:RetDecimalResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetFloat_InputMessage"><wsdl:part name="parameters" element="tns:RetFloat"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetFloat_OutputMessage"><wsdl:part name="parameters" element="tns:RetFloatResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetDouble_InputMessage"><wsdl:part name="parameters" element="tns:RetDouble"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetDouble_OutputMessage"><wsdl:part name="parameters" element="tns:RetDoubleResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetSingle_InputMessage"><wsdl:part name="parameters" element="tns:RetSingle"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetSingle_OutputMessage"><wsdl:part name="parameters" element="tns:RetSingleResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetInt_InputMessage"><wsdl:part name="parameters" element="tns!
:RetInt"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_Ret
Int_OutputMessage"><wsdl:part name="parameters" element="tns:RetIntResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetShort_InputMessage"><wsdl:part name="parameters" element="tns:RetShort"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetShort_OutputMessage"><wsdl:part name="parameters" element="tns:RetShortResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetLong_InputMessage"><wsdl:part name="parameters" element="tns:RetLong"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetLong_OutputMessage"><wsdl:part name="parameters" element="tns:RetLongResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetObject_InputMessage"><wsdl:part name="parameters" element="tns:RetObject"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetObject_OutputMessage"><wsdl:part name="parameters" element="tns:RetObjectResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetUInt_InputMessage"><wsdl:p!
art name="parameters" element="tns:RetUInt"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetUInt_OutputMessage"><wsdl:part name="parameters" element="tns:RetUIntResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetUShort_InputMessage"><wsdl:part name="parameters" element="tns:RetUShort"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetUShort_OutputMessage"><wsdl:part name="parameters" element="tns:RetUShortResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetULong_InputMessage"><wsdl:part name="parameters" element="tns:RetULong"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetULong_OutputMessage"><wsdl:part name="parameters" element="tns:RetULongResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetString_InputMessage"><wsdl:part name="parameters" element="tns:RetString"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetString_OutputMessage"><wsdl:part name="parameters" ele!
ment="tns:RetStringResponse"/></wsdl:message><wsdl:message name="IBase
DataTypesDocLitW_RetGuid_InputMessage"><wsdl:part name="parameters" element="tns:RetGuid"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetGuid_OutputMessage"><wsdl:part name="parameters" element="tns:RetGuidResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetUri_InputMessage"><wsdl:part name="parameters" element="tns:RetUri"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetUri_OutputMessage"><wsdl:part name="parameters" element="tns:RetUriResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetDateTime_InputMessage"><wsdl:part name="parameters" element="tns:RetDateTime"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetDateTime_OutputMessage"><wsdl:part name="parameters" element="tns:RetDateTimeResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetTimeSpan_InputMessage"><wsdl:part name="parameters" element="tns:RetTimeSpan"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetTimeS!
pan_OutputMessage"><wsdl:part name="parameters" element="tns:RetTimeSpanResponse"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetQName_InputMessage"><wsdl:part name="parameters" element="tns:RetQName"/></wsdl:message><wsdl:message name="IBaseDataTypesDocLitW_RetQName_OutputMessage"><wsdl:part name="parameters" element="tns:RetQNameResponse"/></wsdl:message><wsdl:portType msc:usingSession="false" name="IBaseDataTypesDocLitW"><wsdl:operation name="RetBool"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetBool" message="tns:IBaseDataTypesDocLitW_RetBool_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetBoolResponse" message="tns:IBaseDataTypesDocLitW_RetBool_OutputMessage"/></wsdl:operation><wsdl:operation name="RetByte"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetByte" message="tns:IBaseDataTypesDocLitW_RetByte_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseData!
TypesDocLitW/RetByteResponse" message="tns:IBaseDataTypesDocLitW_RetBy
te_OutputMessage"/></wsdl:operation><wsdl:operation name="RetSByte"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetSByte" message="tns:IBaseDataTypesDocLitW_RetSByte_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetSByteResponse" message="tns:IBaseDataTypesDocLitW_RetSByte_OutputMessage"/></wsdl:operation><wsdl:operation name="RetByteArray"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetByteArray" message="tns:IBaseDataTypesDocLitW_RetByteArray_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetByteArrayResponse" message="tns:IBaseDataTypesDocLitW_RetByteArray_OutputMessage"/></wsdl:operation><wsdl:operation name="RetChar"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetChar" message="tns:IBaseDataTypesDocLitW_RetChar_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetCharResponse" message="tns:IBaseDat!
aTypesDocLitW_RetChar_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDecimal"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDecimal" message="tns:IBaseDataTypesDocLitW_RetDecimal_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDecimalResponse" message="tns:IBaseDataTypesDocLitW_RetDecimal_OutputMessage"/></wsdl:operation><wsdl:operation name="RetFloat"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetFloat" message="tns:IBaseDataTypesDocLitW_RetFloat_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetFloatResponse" message="tns:IBaseDataTypesDocLitW_RetFloat_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDouble"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDouble" message="tns:IBaseDataTypesDocLitW_RetDouble_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDoubleResponse" mes!
sage="tns:IBaseDataTypesDocLitW_RetDouble_OutputMessage"/></wsdl:opera
tion><wsdl:operation name="RetSingle"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetSingle" message="tns:IBaseDataTypesDocLitW_RetSingle_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetSingleResponse" message="tns:IBaseDataTypesDocLitW_RetSingle_OutputMessage"/></wsdl:operation><wsdl:operation name="RetInt"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetInt" message="tns:IBaseDataTypesDocLitW_RetInt_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetIntResponse" message="tns:IBaseDataTypesDocLitW_RetInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetShort"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetShort" message="tns:IBaseDataTypesDocLitW_RetShort_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetShortResponse" message="tns:IBaseDataTypesDocLitW_RetShort_OutputMessage"/></wsdl:operat!
ion><wsdl:operation name="RetLong"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetLong" message="tns:IBaseDataTypesDocLitW_RetLong_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetLongResponse" message="tns:IBaseDataTypesDocLitW_RetLong_OutputMessage"/></wsdl:operation><wsdl:operation name="RetObject"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetObject" message="tns:IBaseDataTypesDocLitW_RetObject_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetObjectResponse" message="tns:IBaseDataTypesDocLitW_RetObject_OutputMessage"/></wsdl:operation><wsdl:operation name="RetUInt"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUInt" message="tns:IBaseDataTypesDocLitW_RetUInt_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUIntResponse" message="tns:IBaseDataTypesDocLitW_RetUInt_OutputMessage"/></wsdl:operat!
ion><wsdl:operation name="RetUShort"><wsdl:input wsa10:Action="http://
tempuri.org/IBaseDataTypesDocLitW/RetUShort" message="tns:IBaseDataTypesDocLitW_RetUShort_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUShortResponse" message="tns:IBaseDataTypesDocLitW_RetUShort_OutputMessage"/></wsdl:operation><wsdl:operation name="RetULong"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetULong" message="tns:IBaseDataTypesDocLitW_RetULong_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetULongResponse" message="tns:IBaseDataTypesDocLitW_RetULong_OutputMessage"/></wsdl:operation><wsdl:operation name="RetString"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetString" message="tns:IBaseDataTypesDocLitW_RetString_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetStringResponse" message="tns:IBaseDataTypesDocLitW_RetString_OutputMessage"/></wsdl:operation><wsdl:operation name="RetGuid"><wsdl:input wsa10:Act!
ion="http://tempuri.org/IBaseDataTypesDocLitW/RetGuid" message="tns:IBaseDataTypesDocLitW_RetGuid_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetGuidResponse" message="tns:IBaseDataTypesDocLitW_RetGuid_OutputMessage"/></wsdl:operation><wsdl:operation name="RetUri"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUri" message="tns:IBaseDataTypesDocLitW_RetUri_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUriResponse" message="tns:IBaseDataTypesDocLitW_RetUri_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDateTime"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDateTime" message="tns:IBaseDataTypesDocLitW_RetDateTime_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDateTimeResponse" message="tns:IBaseDataTypesDocLitW_RetDateTime_OutputMessage"/></wsdl:operation><wsdl:operation name="RetTimeSpan"><wsdl:input !
wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetTimeSpan" me
ssage="tns:IBaseDataTypesDocLitW_RetTimeSpan_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetTimeSpanResponse" message="tns:IBaseDataTypesDocLitW_RetTimeSpan_OutputMessage"/></wsdl:operation><wsdl:operation name="RetQName"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetQName" message="tns:IBaseDataTypesDocLitW_RetQName_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetQNameResponse" message="tns:IBaseDataTypesDocLitW_RetQName_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IBaseDataTypesDocLitW" type="tns:IBaseDataTypesDocLitW"><wsp:PolicyReference URI="#BasicHttpBinding_IBaseDataTypesDocLitW_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="RetBool"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetBool" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><ws!
dl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetByte" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetSByte" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetByteArray"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetByteArray" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetChar"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetChar" style="document"/><wsdl:input><soap:body use="literal"/>!
</wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></ws
dl:operation><wsdl:operation name="RetDecimal"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetDecimal" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetFloat"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetFloat" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDouble"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetDouble" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSingle"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetSingle" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/!
></wsdl:output></wsdl:operation><wsdl:operation name="RetInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetInt" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetShort" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetLong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetLong" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetObject"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetObject" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="l!
iteral"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUInt"
><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetUInt" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetUShort" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetULong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetULong" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetString"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetString" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation n!
ame="RetGuid"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetGuid" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUri"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetUri" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDateTime"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetDateTime" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetTimeSpan"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetTimeSpan" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation!
><wsdl:operation name="RetQName"><soap:operation soapAction="http://te
mpuri.org/IBaseDataTypesDocLitW/RetQName" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="BaseDataTypesDocLitWService"><wsdl:port name="BasicHttpBinding_IBaseDataTypesDocLitW" binding="tns:BasicHttpBinding_IBaseDataTypesDocLitW"><soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitW.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="BaseDataTypesDocLitWService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://tempuri.org/"/>
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetBool_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetBool"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetBool_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetBoolResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetByte_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetByte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetByte_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetByteResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetSByte_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetSByte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetSByte_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetSByteResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetByteArray_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetByteArray"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetByteArray_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetByteArrayResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetChar_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetChar"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetChar_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetCharResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetDecimal_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetDecimal"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetDecimal_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetDecimalResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetFloat_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetFloat"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetFloat_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetFloatResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetDouble_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetDouble"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetDouble_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetDoubleResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetSingle_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetSingle"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetSingle_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetSingleResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetInt_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetInt"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetInt_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetIntResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetShort_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetShort"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetShort_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetShortResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetLong_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetLong"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetLong_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetLongResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetObject_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetObject"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetObject_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetObjectResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetUInt_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetUInt"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetUInt_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetUIntResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetUShort_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetUShort"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetUShort_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetUShortResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetULong_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetULong"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetULong_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetULongResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetString_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetString"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetString_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStringResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetGuid_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetGuid"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetGuid_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetGuidResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetUri_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetUri"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetUri_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetUriResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetDateTime_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetDateTime"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetDateTime_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetDateTimeResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetTimeSpan_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetTimeSpan"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetTimeSpan_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetTimeSpanResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetQName_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetQName"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesDocLitW_RetQName_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetQNameResponse"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IBaseDataTypesDocLitW">
+ <wsdl:operation name="RetBool">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetBool" message="tns:IBaseDataTypesDocLitW_RetBool_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetBoolResponse" message="tns:IBaseDataTypesDocLitW_RetBool_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetByte" message="tns:IBaseDataTypesDocLitW_RetByte_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetByteResponse" message="tns:IBaseDataTypesDocLitW_RetByte_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetSByte" message="tns:IBaseDataTypesDocLitW_RetSByte_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetSByteResponse" message="tns:IBaseDataTypesDocLitW_RetSByte_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetByteArray" message="tns:IBaseDataTypesDocLitW_RetByteArray_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetByteArrayResponse" message="tns:IBaseDataTypesDocLitW_RetByteArray_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetChar" message="tns:IBaseDataTypesDocLitW_RetChar_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetCharResponse" message="tns:IBaseDataTypesDocLitW_RetChar_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDecimal" message="tns:IBaseDataTypesDocLitW_RetDecimal_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDecimalResponse" message="tns:IBaseDataTypesDocLitW_RetDecimal_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetFloat" message="tns:IBaseDataTypesDocLitW_RetFloat_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetFloatResponse" message="tns:IBaseDataTypesDocLitW_RetFloat_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDouble" message="tns:IBaseDataTypesDocLitW_RetDouble_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDoubleResponse" message="tns:IBaseDataTypesDocLitW_RetDouble_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetSingle" message="tns:IBaseDataTypesDocLitW_RetSingle_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetSingleResponse" message="tns:IBaseDataTypesDocLitW_RetSingle_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetInt" message="tns:IBaseDataTypesDocLitW_RetInt_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetIntResponse" message="tns:IBaseDataTypesDocLitW_RetInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetShort" message="tns:IBaseDataTypesDocLitW_RetShort_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetShortResponse" message="tns:IBaseDataTypesDocLitW_RetShort_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetLong" message="tns:IBaseDataTypesDocLitW_RetLong_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetLongResponse" message="tns:IBaseDataTypesDocLitW_RetLong_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetObject" message="tns:IBaseDataTypesDocLitW_RetObject_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetObjectResponse" message="tns:IBaseDataTypesDocLitW_RetObject_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUInt" message="tns:IBaseDataTypesDocLitW_RetUInt_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUIntResponse" message="tns:IBaseDataTypesDocLitW_RetUInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUShort" message="tns:IBaseDataTypesDocLitW_RetUShort_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUShortResponse" message="tns:IBaseDataTypesDocLitW_RetUShort_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetULong" message="tns:IBaseDataTypesDocLitW_RetULong_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetULongResponse" message="tns:IBaseDataTypesDocLitW_RetULong_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetString" message="tns:IBaseDataTypesDocLitW_RetString_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetStringResponse" message="tns:IBaseDataTypesDocLitW_RetString_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetGuid" message="tns:IBaseDataTypesDocLitW_RetGuid_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetGuidResponse" message="tns:IBaseDataTypesDocLitW_RetGuid_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUri" message="tns:IBaseDataTypesDocLitW_RetUri_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetUriResponse" message="tns:IBaseDataTypesDocLitW_RetUri_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDateTime" message="tns:IBaseDataTypesDocLitW_RetDateTime_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetDateTimeResponse" message="tns:IBaseDataTypesDocLitW_RetDateTime_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetTimeSpan" message="tns:IBaseDataTypesDocLitW_RetTimeSpan_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetTimeSpanResponse" message="tns:IBaseDataTypesDocLitW_RetTimeSpan_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetQName" message="tns:IBaseDataTypesDocLitW_RetQName_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesDocLitW/RetQNameResponse" message="tns:IBaseDataTypesDocLitW_RetQName_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IBaseDataTypesDocLitW" type="tns:IBaseDataTypesDocLitW">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IBaseDataTypesDocLitW_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="RetBool">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetBool" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetByte" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetSByte" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetByteArray" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetChar" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetDecimal" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetFloat" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetDouble" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetSingle" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetInt" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetShort" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetLong" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetObject" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetUInt" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetUShort" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetULong" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetString" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetGuid" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetUri" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetDateTime" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetTimeSpan" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitW/RetQName" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="BaseDataTypesDocLitWService">
+ <wsdl:port name="BasicHttpBinding_IBaseDataTypesDocLitW" binding="tns:BasicHttpBinding_IBaseDataTypesDocLitW">
+ <soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitW.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,4 +6,7 @@
<scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc</target-endpoint>
</scenario>
-</client-scenarios>
\ No newline at end of file
+ <scenario name="msft-private" decsription="Testing MSFT private interop endpoints">
+ <target-endpoint>http://10.10.32.186/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc</target-endpoint>
+ </scenario>
+</client-scenarios>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,437 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="BaseDataTypesRpcLitService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"!
><xsd:import namespace="http://www.w3.org/2001/XMLSchema"/><xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:schema></wsdl:types><wsdl:message name="IBaseDataTypesRpcLit_RetBool_InputMessage"><wsdl:part name="inBool" type="xsd:boolean"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetBool_OutputMessage"><wsdl:part name="RetBoolResult" type="xsd:boolean"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetByte_InputMessage"><wsdl:part name="inByte" type="xsd:unsignedByte"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetByte_OutputMessage"><wsdl:part name="RetByteResult" type="xsd:unsignedByte"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetSByte_InputMessage"><wsdl:part name="inSByte" type="xsd:byte"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetSByte_OutputMessage"><wsdl:part name="RetSByteResult" type="xsd:byte"/></wsdl:message><wsdl:message name="IBaseDataT!
ypesRpcLit_RetByteArray_InputMessage"><wsdl:part name="inByteArray" ty
pe="xsd:base64Binary"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetByteArray_OutputMessage"><wsdl:part name="RetByteArrayResult" type="xsd:base64Binary"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetChar_InputMessage"><wsdl:part name="inChar" type="q1:char" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetChar_OutputMessage"><wsdl:part name="RetCharResult" type="q2:char" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_InputMessage"><wsdl:part name="inDecimal" type="xsd:decimal"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_OutputMessage"><wsdl:part name="RetDecimalResult" type="xsd:decimal"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetFloat_InputMessage"><wsdl:part name="inFloat" type="xsd:float"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_Ret!
Float_OutputMessage"><wsdl:part name="RetFloatResult" type="xsd:float"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDouble_InputMessage"><wsdl:part name="inDouble" type="xsd:double"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDouble_OutputMessage"><wsdl:part name="RetDoubleResult" type="xsd:double"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetSingle_InputMessage"><wsdl:part name="inSingle" type="xsd:float"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetSingle_OutputMessage"><wsdl:part name="RetSingleResult" type="xsd:float"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetInt_InputMessage"><wsdl:part name="inInt" type="xsd:int"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetInt_OutputMessage"><wsdl:part name="RetIntResult" type="xsd:int"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetShort_InputMessage"><wsdl:part name="inShort" type="xsd:short"/></wsdl:message><wsdl:message name!
="IBaseDataTypesRpcLit_RetShort_OutputMessage"><wsdl:part name="RetSho
rtResult" type="xsd:short"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetLong_InputMessage"><wsdl:part name="inLong" type="xsd:long"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetLong_OutputMessage"><wsdl:part name="RetLongResult" type="xsd:long"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetObject_InputMessage"><wsdl:part name="inObject" type="xsd:anyType"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetObject_OutputMessage"><wsdl:part name="RetObjectResult" type="xsd:anyType"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUInt_InputMessage"><wsdl:part name="inUInt" type="xsd:unsignedInt"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUInt_OutputMessage"><wsdl:part name="RetUIntResult" type="xsd:unsignedInt"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUShort_InputMessage"><wsdl:part name="inUShort" type="xsd:unsignedShort"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_!
RetUShort_OutputMessage"><wsdl:part name="RetUShortResult" type="xsd:unsignedShort"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetULong_InputMessage"><wsdl:part name="inULong" type="xsd:unsignedLong"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetULong_OutputMessage"><wsdl:part name="RetULongResult" type="xsd:unsignedLong"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetString_InputMessage"><wsdl:part name="inString" type="xsd:string"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetString_OutputMessage"><wsdl:part name="RetStringResult" type="xsd:string"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetGuid_InputMessage"><wsdl:part name="inGuid" type="q3:guid" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetGuid_OutputMessage"><wsdl:part name="RetGuidResult" type="q4:guid" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/"/></w!
sdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUri_InputMessa
ge"><wsdl:part name="inUri" type="xsd:anyURI"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUri_OutputMessage"><wsdl:part name="RetUriResult" type="xsd:anyURI"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_InputMessage"><wsdl:part name="inDateTime" type="xsd:dateTime"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_OutputMessage"><wsdl:part name="RetDateTimeResult" type="xsd:dateTime"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetTimeSpan_InputMessage"><wsdl:part name="inTimeSpan" type="q5:duration" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetTimeSpan_OutputMessage"><wsdl:part name="RetTimeSpanResult" type="q6:duration" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetQName_InputMessage"><wsdl:part name="inQName" type="xsd:QName"/></wsdl:message><wsdl:me!
ssage name="IBaseDataTypesRpcLit_RetQName_OutputMessage"><wsdl:part name="RetQNameResult" type="xsd:QName"/></wsdl:message><wsdl:portType name="IBaseDataTypesRpcLit"><wsdl:operation name="RetBool" parameterOrder="inBool"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBool" message="tns:IBaseDataTypesRpcLit_RetBool_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBoolResponse" message="tns:IBaseDataTypesRpcLit_RetBool_OutputMessage"/></wsdl:operation><wsdl:operation name="RetByte" parameterOrder="inByte"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByte" message="tns:IBaseDataTypesRpcLit_RetByte_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteResponse" message="tns:IBaseDataTypesRpcLit_RetByte_OutputMessage"/></wsdl:operation><wsdl:operation name="RetSByte" parameterOrder="inSByte"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSByte" message!
="tns:IBaseDataTypesRpcLit_RetSByte_InputMessage"/><wsdl:output wsa:Ac
tion="http://tempuri.org/IBaseDataTypesRpcLit/RetSByteResponse" message="tns:IBaseDataTypesRpcLit_RetSByte_OutputMessage"/></wsdl:operation><wsdl:operation name="RetByteArray" parameterOrder="inByteArray"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray" message="tns:IBaseDataTypesRpcLit_RetByteArray_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArrayResponse" message="tns:IBaseDataTypesRpcLit_RetByteArray_OutputMessage"/></wsdl:operation><wsdl:operation name="RetChar" parameterOrder="inChar"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetChar" message="tns:IBaseDataTypesRpcLit_RetChar_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetCharResponse" message="tns:IBaseDataTypesRpcLit_RetChar_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDecimal" parameterOrder="inDecimal"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal!
" message="tns:IBaseDataTypesRpcLit_RetDecimal_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimalResponse" message="tns:IBaseDataTypesRpcLit_RetDecimal_OutputMessage"/></wsdl:operation><wsdl:operation name="RetFloat" parameterOrder="inFloat"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat" message="tns:IBaseDataTypesRpcLit_RetFloat_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloatResponse" message="tns:IBaseDataTypesRpcLit_RetFloat_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDouble" parameterOrder="inDouble"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble" message="tns:IBaseDataTypesRpcLit_RetDouble_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDoubleResponse" message="tns:IBaseDataTypesRpcLit_RetDouble_OutputMessage"/></wsdl:operation><wsdl:operation name="RetSingle" parameterOrder="inSingle"><w!
sdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSingl
e" message="tns:IBaseDataTypesRpcLit_RetSingle_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSingleResponse" message="tns:IBaseDataTypesRpcLit_RetSingle_OutputMessage"/></wsdl:operation><wsdl:operation name="RetInt" parameterOrder="inInt"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetInt" message="tns:IBaseDataTypesRpcLit_RetInt_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetIntResponse" message="tns:IBaseDataTypesRpcLit_RetInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetShort" parameterOrder="inShort"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShort" message="tns:IBaseDataTypesRpcLit_RetShort_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShortResponse" message="tns:IBaseDataTypesRpcLit_RetShort_OutputMessage"/></wsdl:operation><wsdl:operation name="RetLong" parameterOrder="inLong"><wsdl:input wsa:Action="htt!
p://tempuri.org/IBaseDataTypesRpcLit/RetLong" message="tns:IBaseDataTypesRpcLit_RetLong_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetLongResponse" message="tns:IBaseDataTypesRpcLit_RetLong_OutputMessage"/></wsdl:operation><wsdl:operation name="RetObject" parameterOrder="inObject"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetObject" message="tns:IBaseDataTypesRpcLit_RetObject_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetObjectResponse" message="tns:IBaseDataTypesRpcLit_RetObject_OutputMessage"/></wsdl:operation><wsdl:operation name="RetUInt" parameterOrder="inUInt"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUInt" message="tns:IBaseDataTypesRpcLit_RetUInt_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUIntResponse" message="tns:IBaseDataTypesRpcLit_RetUInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetUShort"!
parameterOrder="inUShort"><wsdl:input wsa:Action="http://tempuri.org/
IBaseDataTypesRpcLit/RetUShort" message="tns:IBaseDataTypesRpcLit_RetUShort_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUShortResponse" message="tns:IBaseDataTypesRpcLit_RetUShort_OutputMessage"/></wsdl:operation><wsdl:operation name="RetULong" parameterOrder="inULong"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetULong" message="tns:IBaseDataTypesRpcLit_RetULong_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetULongResponse" message="tns:IBaseDataTypesRpcLit_RetULong_OutputMessage"/></wsdl:operation><wsdl:operation name="RetString" parameterOrder="inString"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetString" message="tns:IBaseDataTypesRpcLit_RetString_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetStringResponse" message="tns:IBaseDataTypesRpcLit_RetString_OutputMessage"/></wsdl:operation><wsdl:operation name="RetGuid" para!
meterOrder="inGuid"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetGuid" message="tns:IBaseDataTypesRpcLit_RetGuid_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetGuidResponse" message="tns:IBaseDataTypesRpcLit_RetGuid_OutputMessage"/></wsdl:operation><wsdl:operation name="RetUri" parameterOrder="inUri"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUri" message="tns:IBaseDataTypesRpcLit_RetUri_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUriResponse" message="tns:IBaseDataTypesRpcLit_RetUri_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDateTime" parameterOrder="inDateTime"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime" message="tns:IBaseDataTypesRpcLit_RetDateTime_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTimeResponse" message="tns:IBaseDataTypesRpcLit_RetDateTime_OutputMessag!
e"/></wsdl:operation><wsdl:operation name="RetTimeSpan" parameterOrder
="inTimeSpan"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan" message="tns:IBaseDataTypesRpcLit_RetTimeSpan_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpanResponse" message="tns:IBaseDataTypesRpcLit_RetTimeSpan_OutputMessage"/></wsdl:operation><wsdl:operation name="RetQName" parameterOrder="inQName"><wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQName" message="tns:IBaseDataTypesRpcLit_RetQName_InputMessage"/><wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQNameResponse" message="tns:IBaseDataTypesRpcLit_RetQName_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IBaseDataTypesRpcLit" type="tns:IBaseDataTypesRpcLit"><soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/><wsdl:operation name="RetBool"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetBool" style="rpc"/><wsdl:input><soap:bo!
dy use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByte" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetSByte" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetByteArray"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:i!
nput><wsdl:output><soap:body use="literal" namespace="http://tempuri.o
rg/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetChar"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetChar" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDecimal"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetFloat"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetD!
ouble"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSingle"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetSingle" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetInt" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTy!
pesRpcLit/RetShort" style="rpc"/><wsdl:input><soap:body use="literal"
namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetLong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetLong" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetObject"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetObject" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUInt" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:bo!
dy use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUShort" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetULong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetULong" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetString"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetString" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:out!
put></wsdl:operation><wsdl:operation name="RetGuid"><soap:operation so
apAction="http://tempuri.org/IBaseDataTypesRpcLit/RetGuid" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUri"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUri" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDateTime"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetTimeSpan"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan!
" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetQName"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetQName" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="BaseDataTypesRpcLitService"><wsdl:port name="BasicHttpBinding_IBaseDataTypesRpcLit" binding="tns:BasicHttpBinding_IBaseDataTypesRpcLit"><soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="BaseDataTypesRpcLitService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import namespace="http://www.w3.org/2001/XMLSchema"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetBool_InputMessage">
+ <wsdl:part name="inBool" type="xsd:boolean"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetBool_OutputMessage">
+ <wsdl:part name="RetBoolResult" type="xsd:boolean"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByte_InputMessage">
+ <wsdl:part name="inByte" type="xsd:unsignedByte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByte_OutputMessage">
+ <wsdl:part name="RetByteResult" type="xsd:unsignedByte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetSByte_InputMessage">
+ <wsdl:part name="inSByte" type="xsd:byte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetSByte_OutputMessage">
+ <wsdl:part name="RetSByteResult" type="xsd:byte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByteArray_InputMessage">
+ <wsdl:part name="inByteArray" type="xsd:base64Binary"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByteArray_OutputMessage">
+ <wsdl:part name="RetByteArrayResult" type="xsd:base64Binary"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetChar_InputMessage">
+ <wsdl:part name="inChar" type="q1:char" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetChar_OutputMessage">
+ <wsdl:part name="RetCharResult" type="q2:char" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_InputMessage">
+ <wsdl:part name="inDecimal" type="xsd:decimal"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_OutputMessage">
+ <wsdl:part name="RetDecimalResult" type="xsd:decimal"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetFloat_InputMessage">
+ <wsdl:part name="inFloat" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetFloat_OutputMessage">
+ <wsdl:part name="RetFloatResult" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDouble_InputMessage">
+ <wsdl:part name="inDouble" type="xsd:double"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDouble_OutputMessage">
+ <wsdl:part name="RetDoubleResult" type="xsd:double"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetSingle_InputMessage">
+ <wsdl:part name="inSingle" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetSingle_OutputMessage">
+ <wsdl:part name="RetSingleResult" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetInt_InputMessage">
+ <wsdl:part name="inInt" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetInt_OutputMessage">
+ <wsdl:part name="RetIntResult" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetShort_InputMessage">
+ <wsdl:part name="inShort" type="xsd:short"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetShort_OutputMessage">
+ <wsdl:part name="RetShortResult" type="xsd:short"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetLong_InputMessage">
+ <wsdl:part name="inLong" type="xsd:long"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetLong_OutputMessage">
+ <wsdl:part name="RetLongResult" type="xsd:long"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetObject_InputMessage">
+ <wsdl:part name="inObject" type="xsd:anyType"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetObject_OutputMessage">
+ <wsdl:part name="RetObjectResult" type="xsd:anyType"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUInt_InputMessage">
+ <wsdl:part name="inUInt" type="xsd:unsignedInt"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUInt_OutputMessage">
+ <wsdl:part name="RetUIntResult" type="xsd:unsignedInt"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUShort_InputMessage">
+ <wsdl:part name="inUShort" type="xsd:unsignedShort"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUShort_OutputMessage">
+ <wsdl:part name="RetUShortResult" type="xsd:unsignedShort"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetULong_InputMessage">
+ <wsdl:part name="inULong" type="xsd:unsignedLong"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetULong_OutputMessage">
+ <wsdl:part name="RetULongResult" type="xsd:unsignedLong"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetString_InputMessage">
+ <wsdl:part name="inString" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetString_OutputMessage">
+ <wsdl:part name="RetStringResult" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetGuid_InputMessage">
+ <wsdl:part name="inGuid" type="q3:guid" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetGuid_OutputMessage">
+ <wsdl:part name="RetGuidResult" type="q4:guid" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUri_InputMessage">
+ <wsdl:part name="inUri" type="xsd:anyURI"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUri_OutputMessage">
+ <wsdl:part name="RetUriResult" type="xsd:anyURI"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_InputMessage">
+ <wsdl:part name="inDateTime" type="xsd:dateTime"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_OutputMessage">
+ <wsdl:part name="RetDateTimeResult" type="xsd:dateTime"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetTimeSpan_InputMessage">
+ <wsdl:part name="inTimeSpan" type="q5:duration" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetTimeSpan_OutputMessage">
+ <wsdl:part name="RetTimeSpanResult" type="q6:duration" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetQName_InputMessage">
+ <wsdl:part name="inQName" type="xsd:QName"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetQName_OutputMessage">
+ <wsdl:part name="RetQNameResult" type="xsd:QName"/>
+ </wsdl:message>
+ <wsdl:portType name="IBaseDataTypesRpcLit">
+ <wsdl:operation name="RetBool" parameterOrder="inBool">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBool" message="tns:IBaseDataTypesRpcLit_RetBool_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBoolResponse" message="tns:IBaseDataTypesRpcLit_RetBool_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte" parameterOrder="inByte">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByte" message="tns:IBaseDataTypesRpcLit_RetByte_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteResponse" message="tns:IBaseDataTypesRpcLit_RetByte_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte" parameterOrder="inSByte">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSByte" message="tns:IBaseDataTypesRpcLit_RetSByte_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSByteResponse" message="tns:IBaseDataTypesRpcLit_RetSByte_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray" parameterOrder="inByteArray">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray" message="tns:IBaseDataTypesRpcLit_RetByteArray_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArrayResponse" message="tns:IBaseDataTypesRpcLit_RetByteArray_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar" parameterOrder="inChar">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetChar" message="tns:IBaseDataTypesRpcLit_RetChar_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetCharResponse" message="tns:IBaseDataTypesRpcLit_RetChar_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal" parameterOrder="inDecimal">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal" message="tns:IBaseDataTypesRpcLit_RetDecimal_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimalResponse" message="tns:IBaseDataTypesRpcLit_RetDecimal_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat" parameterOrder="inFloat">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat" message="tns:IBaseDataTypesRpcLit_RetFloat_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloatResponse" message="tns:IBaseDataTypesRpcLit_RetFloat_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble" parameterOrder="inDouble">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble" message="tns:IBaseDataTypesRpcLit_RetDouble_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDoubleResponse" message="tns:IBaseDataTypesRpcLit_RetDouble_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle" parameterOrder="inSingle">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSingle" message="tns:IBaseDataTypesRpcLit_RetSingle_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSingleResponse" message="tns:IBaseDataTypesRpcLit_RetSingle_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt" parameterOrder="inInt">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetInt" message="tns:IBaseDataTypesRpcLit_RetInt_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetIntResponse" message="tns:IBaseDataTypesRpcLit_RetInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort" parameterOrder="inShort">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShort" message="tns:IBaseDataTypesRpcLit_RetShort_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShortResponse" message="tns:IBaseDataTypesRpcLit_RetShort_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong" parameterOrder="inLong">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetLong" message="tns:IBaseDataTypesRpcLit_RetLong_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetLongResponse" message="tns:IBaseDataTypesRpcLit_RetLong_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject" parameterOrder="inObject">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetObject" message="tns:IBaseDataTypesRpcLit_RetObject_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetObjectResponse" message="tns:IBaseDataTypesRpcLit_RetObject_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt" parameterOrder="inUInt">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUInt" message="tns:IBaseDataTypesRpcLit_RetUInt_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUIntResponse" message="tns:IBaseDataTypesRpcLit_RetUInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort" parameterOrder="inUShort">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUShort" message="tns:IBaseDataTypesRpcLit_RetUShort_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUShortResponse" message="tns:IBaseDataTypesRpcLit_RetUShort_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong" parameterOrder="inULong">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetULong" message="tns:IBaseDataTypesRpcLit_RetULong_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetULongResponse" message="tns:IBaseDataTypesRpcLit_RetULong_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetString" parameterOrder="inString">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetString" message="tns:IBaseDataTypesRpcLit_RetString_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetStringResponse" message="tns:IBaseDataTypesRpcLit_RetString_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid" parameterOrder="inGuid">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetGuid" message="tns:IBaseDataTypesRpcLit_RetGuid_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetGuidResponse" message="tns:IBaseDataTypesRpcLit_RetGuid_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri" parameterOrder="inUri">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUri" message="tns:IBaseDataTypesRpcLit_RetUri_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUriResponse" message="tns:IBaseDataTypesRpcLit_RetUri_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime" parameterOrder="inDateTime">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime" message="tns:IBaseDataTypesRpcLit_RetDateTime_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTimeResponse" message="tns:IBaseDataTypesRpcLit_RetDateTime_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan" parameterOrder="inTimeSpan">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan" message="tns:IBaseDataTypesRpcLit_RetTimeSpan_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpanResponse" message="tns:IBaseDataTypesRpcLit_RetTimeSpan_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName" parameterOrder="inQName">
+ <wsdl:input wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQName" message="tns:IBaseDataTypesRpcLit_RetQName_InputMessage"/>
+ <wsdl:output wsa:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQNameResponse" message="tns:IBaseDataTypesRpcLit_RetQName_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IBaseDataTypesRpcLit" type="tns:IBaseDataTypesRpcLit">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <wsdl:operation name="RetBool">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetBool" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByte" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetSByte" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetChar" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetSingle" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetInt" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetShort" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetLong" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetObject" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUInt" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUShort" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetULong" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetString" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetGuid" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUri" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetQName" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="BaseDataTypesRpcLitService">
+ <wsdl:port name="BasicHttpBinding_IBaseDataTypesRpcLit" binding="tns:BasicHttpBinding_IBaseDataTypesRpcLit">
+ <soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/BaseDataTypesRpcLit_Service</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/BaseDataTypesRpcLit_Service/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,438 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="BaseDataTypesRpcLitService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IBaseDataTypesRpcLit_policy"><w!
sp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import namespace="http://www.w3.org/2001/XMLSchema"/><xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:schema></wsdl:types><wsdl:message name="IBaseDataTypesRpcLit_RetBool_InputMessage"><wsdl:part name="inBool" type="xsd:boolean"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetBool_OutputMessage"><wsdl:part name="RetBoolResult" type="xsd:boolean"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetByte_InputMessage"><wsdl:part name="inByte" type="xsd:unsignedByte"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetByte_OutputMessage"><wsdl:part name="RetByteResult" type="xsd:unsignedByte"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetSByte!
_InputMessage"><wsdl:part name="inSByte" type="xsd:byte"/></wsdl:messa
ge><wsdl:message name="IBaseDataTypesRpcLit_RetSByte_OutputMessage"><wsdl:part name="RetSByteResult" type="xsd:byte"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetByteArray_InputMessage"><wsdl:part name="inByteArray" type="xsd:base64Binary"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetByteArray_OutputMessage"><wsdl:part name="RetByteArrayResult" type="xsd:base64Binary"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetChar_InputMessage"><wsdl:part name="inChar" type="q1:char" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetChar_OutputMessage"><wsdl:part name="RetCharResult" type="q2:char" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_InputMessage"><wsdl:part name="inDecimal" type="xsd:decimal"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_OutputMessage"><wsd!
l:part name="RetDecimalResult" type="xsd:decimal"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetFloat_InputMessage"><wsdl:part name="inFloat" type="xsd:float"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetFloat_OutputMessage"><wsdl:part name="RetFloatResult" type="xsd:float"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDouble_InputMessage"><wsdl:part name="inDouble" type="xsd:double"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDouble_OutputMessage"><wsdl:part name="RetDoubleResult" type="xsd:double"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetSingle_InputMessage"><wsdl:part name="inSingle" type="xsd:float"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetSingle_OutputMessage"><wsdl:part name="RetSingleResult" type="xsd:float"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetInt_InputMessage"><wsdl:part name="inInt" type="xsd:int"/></wsdl:message><wsdl:message name="IBaseDataType!
sRpcLit_RetInt_OutputMessage"><wsdl:part name="RetIntResult" type="xsd
:int"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetShort_InputMessage"><wsdl:part name="inShort" type="xsd:short"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetShort_OutputMessage"><wsdl:part name="RetShortResult" type="xsd:short"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetLong_InputMessage"><wsdl:part name="inLong" type="xsd:long"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetLong_OutputMessage"><wsdl:part name="RetLongResult" type="xsd:long"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetObject_InputMessage"><wsdl:part name="inObject" type="xsd:anyType"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetObject_OutputMessage"><wsdl:part name="RetObjectResult" type="xsd:anyType"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUInt_InputMessage"><wsdl:part name="inUInt" type="xsd:unsignedInt"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUInt_OutputMessage"><wsdl:part n!
ame="RetUIntResult" type="xsd:unsignedInt"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUShort_InputMessage"><wsdl:part name="inUShort" type="xsd:unsignedShort"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUShort_OutputMessage"><wsdl:part name="RetUShortResult" type="xsd:unsignedShort"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetULong_InputMessage"><wsdl:part name="inULong" type="xsd:unsignedLong"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetULong_OutputMessage"><wsdl:part name="RetULongResult" type="xsd:unsignedLong"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetString_InputMessage"><wsdl:part name="inString" type="xsd:string"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetString_OutputMessage"><wsdl:part name="RetStringResult" type="xsd:string"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetGuid_InputMessage"><wsdl:part name="inGuid" type="q3:guid" xmlns:q3="http://schemas!
.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message n
ame="IBaseDataTypesRpcLit_RetGuid_OutputMessage"><wsdl:part name="RetGuidResult" type="q4:guid" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUri_InputMessage"><wsdl:part name="inUri" type="xsd:anyURI"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetUri_OutputMessage"><wsdl:part name="RetUriResult" type="xsd:anyURI"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_InputMessage"><wsdl:part name="inDateTime" type="xsd:dateTime"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_OutputMessage"><wsdl:part name="RetDateTimeResult" type="xsd:dateTime"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetTimeSpan_InputMessage"><wsdl:part name="inTimeSpan" type="q5:duration" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetTimeSpan_OutputMessage"><wsdl:part name="RetTimeSpanResu!
lt" type="q6:duration" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetQName_InputMessage"><wsdl:part name="inQName" type="xsd:QName"/></wsdl:message><wsdl:message name="IBaseDataTypesRpcLit_RetQName_OutputMessage"><wsdl:part name="RetQNameResult" type="xsd:QName"/></wsdl:message><wsdl:portType msc:usingSession="false" name="IBaseDataTypesRpcLit"><wsdl:operation name="RetBool"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBool" message="tns:IBaseDataTypesRpcLit_RetBool_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBoolResponse" message="tns:IBaseDataTypesRpcLit_RetBool_OutputMessage"/></wsdl:operation><wsdl:operation name="RetByte"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByte" message="tns:IBaseDataTypesRpcLit_RetByte_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteRespo!
nse" message="tns:IBaseDataTypesRpcLit_RetByte_OutputMessage"/></wsdl:
operation><wsdl:operation name="RetSByte"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSByte" message="tns:IBaseDataTypesRpcLit_RetSByte_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSByteResponse" message="tns:IBaseDataTypesRpcLit_RetSByte_OutputMessage"/></wsdl:operation><wsdl:operation name="RetByteArray"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray" message="tns:IBaseDataTypesRpcLit_RetByteArray_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArrayResponse" message="tns:IBaseDataTypesRpcLit_RetByteArray_OutputMessage"/></wsdl:operation><wsdl:operation name="RetChar"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetChar" message="tns:IBaseDataTypesRpcLit_RetChar_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetCharResponse" message="tns:IBaseDataTypesRpcLit_RetChar_OutputMessage"/>!
</wsdl:operation><wsdl:operation name="RetDecimal"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal" message="tns:IBaseDataTypesRpcLit_RetDecimal_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimalResponse" message="tns:IBaseDataTypesRpcLit_RetDecimal_OutputMessage"/></wsdl:operation><wsdl:operation name="RetFloat"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat" message="tns:IBaseDataTypesRpcLit_RetFloat_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloatResponse" message="tns:IBaseDataTypesRpcLit_RetFloat_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDouble"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble" message="tns:IBaseDataTypesRpcLit_RetDouble_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDoubleResponse" message="tns:IBaseDataTypesRpcLit_RetDouble_OutputMe!
ssage"/></wsdl:operation><wsdl:operation name="RetSingle"><wsdl:input
wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSingle" message="tns:IBaseDataTypesRpcLit_RetSingle_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSingleResponse" message="tns:IBaseDataTypesRpcLit_RetSingle_OutputMessage"/></wsdl:operation><wsdl:operation name="RetInt"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetInt" message="tns:IBaseDataTypesRpcLit_RetInt_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetIntResponse" message="tns:IBaseDataTypesRpcLit_RetInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetShort"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShort" message="tns:IBaseDataTypesRpcLit_RetShort_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShortResponse" message="tns:IBaseDataTypesRpcLit_RetShort_OutputMessage"/></wsdl:operation><wsdl:operation name="RetLong"><wsdl:input wsa10:Action="h!
ttp://tempuri.org/IBaseDataTypesRpcLit/RetLong" message="tns:IBaseDataTypesRpcLit_RetLong_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetLongResponse" message="tns:IBaseDataTypesRpcLit_RetLong_OutputMessage"/></wsdl:operation><wsdl:operation name="RetObject"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetObject" message="tns:IBaseDataTypesRpcLit_RetObject_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetObjectResponse" message="tns:IBaseDataTypesRpcLit_RetObject_OutputMessage"/></wsdl:operation><wsdl:operation name="RetUInt"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUInt" message="tns:IBaseDataTypesRpcLit_RetUInt_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUIntResponse" message="tns:IBaseDataTypesRpcLit_RetUInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetUShort"><wsdl:input wsa10:Action="http://temp!
uri.org/IBaseDataTypesRpcLit/RetUShort" message="tns:IBaseDataTypesRpc
Lit_RetUShort_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUShortResponse" message="tns:IBaseDataTypesRpcLit_RetUShort_OutputMessage"/></wsdl:operation><wsdl:operation name="RetULong"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetULong" message="tns:IBaseDataTypesRpcLit_RetULong_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetULongResponse" message="tns:IBaseDataTypesRpcLit_RetULong_OutputMessage"/></wsdl:operation><wsdl:operation name="RetString"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetString" message="tns:IBaseDataTypesRpcLit_RetString_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetStringResponse" message="tns:IBaseDataTypesRpcLit_RetString_OutputMessage"/></wsdl:operation><wsdl:operation name="RetGuid"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetGuid" message="tns:IBaseDataTypesRpcLi!
t_RetGuid_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetGuidResponse" message="tns:IBaseDataTypesRpcLit_RetGuid_OutputMessage"/></wsdl:operation><wsdl:operation name="RetUri"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUri" message="tns:IBaseDataTypesRpcLit_RetUri_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUriResponse" message="tns:IBaseDataTypesRpcLit_RetUri_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDateTime"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime" message="tns:IBaseDataTypesRpcLit_RetDateTime_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTimeResponse" message="tns:IBaseDataTypesRpcLit_RetDateTime_OutputMessage"/></wsdl:operation><wsdl:operation name="RetTimeSpan"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan" message="tns:IBaseDataTypesRpcL!
it_RetTimeSpan_InputMessage"/><wsdl:output wsa10:Action="http://tempur
i.org/IBaseDataTypesRpcLit/RetTimeSpanResponse" message="tns:IBaseDataTypesRpcLit_RetTimeSpan_OutputMessage"/></wsdl:operation><wsdl:operation name="RetQName"><wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQName" message="tns:IBaseDataTypesRpcLit_RetQName_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQNameResponse" message="tns:IBaseDataTypesRpcLit_RetQName_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IBaseDataTypesRpcLit" type="tns:IBaseDataTypesRpcLit"><wsp:PolicyReference URI="#BasicHttpBinding_IBaseDataTypesRpcLit_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/><wsdl:operation name="RetBool"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetBool" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></w!
sdl:output></wsdl:operation><wsdl:operation name="RetByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByte" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSByte"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetSByte" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetByteArray"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetChar"!
><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/R
etChar" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDecimal"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetFloat"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDouble"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble" style="rpc"/><wsdl:input><soap:body use="literal" n!
amespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetSingle"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetSingle" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetInt" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetShort"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetShort" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:bo!
dy use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl
:operation><wsdl:operation name="RetLong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetLong" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetObject"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetObject" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUInt"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUInt" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUShort"><soap:operation soapAct!
ion="http://tempuri.org/IBaseDataTypesRpcLit/RetUShort" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetULong"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetULong" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetString"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetString" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetGuid"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetGuid" style="r!
pc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.or
g/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetUri"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUri" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDateTime"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetTimeSpan"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" n!
amespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetQName"><soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetQName" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="BaseDataTypesRpcLitService"><wsdl:port name="BasicHttpBinding_IBaseDataTypesRpcLit" binding="tns:BasicHttpBinding_IBaseDataTypesRpcLit"><soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="BaseDataTypesRpcLitService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import namespace="http://www.w3.org/2001/XMLSchema"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetBool_InputMessage">
+ <wsdl:part name="inBool" type="xsd:boolean"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetBool_OutputMessage">
+ <wsdl:part name="RetBoolResult" type="xsd:boolean"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByte_InputMessage">
+ <wsdl:part name="inByte" type="xsd:unsignedByte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByte_OutputMessage">
+ <wsdl:part name="RetByteResult" type="xsd:unsignedByte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetSByte_InputMessage">
+ <wsdl:part name="inSByte" type="xsd:byte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetSByte_OutputMessage">
+ <wsdl:part name="RetSByteResult" type="xsd:byte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByteArray_InputMessage">
+ <wsdl:part name="inByteArray" type="xsd:base64Binary"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByteArray_OutputMessage">
+ <wsdl:part name="RetByteArrayResult" type="xsd:base64Binary"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetChar_InputMessage">
+ <wsdl:part name="inChar" type="q1:char" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetChar_OutputMessage">
+ <wsdl:part name="RetCharResult" type="q2:char" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_InputMessage">
+ <wsdl:part name="inDecimal" type="xsd:decimal"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_OutputMessage">
+ <wsdl:part name="RetDecimalResult" type="xsd:decimal"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetFloat_InputMessage">
+ <wsdl:part name="inFloat" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetFloat_OutputMessage">
+ <wsdl:part name="RetFloatResult" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDouble_InputMessage">
+ <wsdl:part name="inDouble" type="xsd:double"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDouble_OutputMessage">
+ <wsdl:part name="RetDoubleResult" type="xsd:double"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetSingle_InputMessage">
+ <wsdl:part name="inSingle" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetSingle_OutputMessage">
+ <wsdl:part name="RetSingleResult" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetInt_InputMessage">
+ <wsdl:part name="inInt" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetInt_OutputMessage">
+ <wsdl:part name="RetIntResult" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetShort_InputMessage">
+ <wsdl:part name="inShort" type="xsd:short"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetShort_OutputMessage">
+ <wsdl:part name="RetShortResult" type="xsd:short"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetLong_InputMessage">
+ <wsdl:part name="inLong" type="xsd:long"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetLong_OutputMessage">
+ <wsdl:part name="RetLongResult" type="xsd:long"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetObject_InputMessage">
+ <wsdl:part name="inObject" type="xsd:anyType"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetObject_OutputMessage">
+ <wsdl:part name="RetObjectResult" type="xsd:anyType"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUInt_InputMessage">
+ <wsdl:part name="inUInt" type="xsd:unsignedInt"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUInt_OutputMessage">
+ <wsdl:part name="RetUIntResult" type="xsd:unsignedInt"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUShort_InputMessage">
+ <wsdl:part name="inUShort" type="xsd:unsignedShort"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUShort_OutputMessage">
+ <wsdl:part name="RetUShortResult" type="xsd:unsignedShort"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetULong_InputMessage">
+ <wsdl:part name="inULong" type="xsd:unsignedLong"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetULong_OutputMessage">
+ <wsdl:part name="RetULongResult" type="xsd:unsignedLong"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetString_InputMessage">
+ <wsdl:part name="inString" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetString_OutputMessage">
+ <wsdl:part name="RetStringResult" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetGuid_InputMessage">
+ <wsdl:part name="inGuid" type="q3:guid" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetGuid_OutputMessage">
+ <wsdl:part name="RetGuidResult" type="q4:guid" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUri_InputMessage">
+ <wsdl:part name="inUri" type="xsd:anyURI"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUri_OutputMessage">
+ <wsdl:part name="RetUriResult" type="xsd:anyURI"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_InputMessage">
+ <wsdl:part name="inDateTime" type="xsd:dateTime"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_OutputMessage">
+ <wsdl:part name="RetDateTimeResult" type="xsd:dateTime"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetTimeSpan_InputMessage">
+ <wsdl:part name="inTimeSpan" type="q5:duration" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetTimeSpan_OutputMessage">
+ <wsdl:part name="RetTimeSpanResult" type="q6:duration" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetQName_InputMessage">
+ <wsdl:part name="inQName" type="xsd:QName"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetQName_OutputMessage">
+ <wsdl:part name="RetQNameResult" type="xsd:QName"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IBaseDataTypesRpcLit">
+ <wsdl:operation name="RetBool">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBool" message="tns:IBaseDataTypesRpcLit_RetBool_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBoolResponse" message="tns:IBaseDataTypesRpcLit_RetBool_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByte" message="tns:IBaseDataTypesRpcLit_RetByte_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteResponse" message="tns:IBaseDataTypesRpcLit_RetByte_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSByte" message="tns:IBaseDataTypesRpcLit_RetSByte_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSByteResponse" message="tns:IBaseDataTypesRpcLit_RetSByte_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray" message="tns:IBaseDataTypesRpcLit_RetByteArray_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArrayResponse" message="tns:IBaseDataTypesRpcLit_RetByteArray_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetChar" message="tns:IBaseDataTypesRpcLit_RetChar_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetCharResponse" message="tns:IBaseDataTypesRpcLit_RetChar_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal" message="tns:IBaseDataTypesRpcLit_RetDecimal_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimalResponse" message="tns:IBaseDataTypesRpcLit_RetDecimal_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat" message="tns:IBaseDataTypesRpcLit_RetFloat_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloatResponse" message="tns:IBaseDataTypesRpcLit_RetFloat_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble" message="tns:IBaseDataTypesRpcLit_RetDouble_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDoubleResponse" message="tns:IBaseDataTypesRpcLit_RetDouble_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSingle" message="tns:IBaseDataTypesRpcLit_RetSingle_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetSingleResponse" message="tns:IBaseDataTypesRpcLit_RetSingle_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetInt" message="tns:IBaseDataTypesRpcLit_RetInt_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetIntResponse" message="tns:IBaseDataTypesRpcLit_RetInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShort" message="tns:IBaseDataTypesRpcLit_RetShort_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShortResponse" message="tns:IBaseDataTypesRpcLit_RetShort_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetLong" message="tns:IBaseDataTypesRpcLit_RetLong_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetLongResponse" message="tns:IBaseDataTypesRpcLit_RetLong_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetObject" message="tns:IBaseDataTypesRpcLit_RetObject_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetObjectResponse" message="tns:IBaseDataTypesRpcLit_RetObject_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUInt" message="tns:IBaseDataTypesRpcLit_RetUInt_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUIntResponse" message="tns:IBaseDataTypesRpcLit_RetUInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUShort" message="tns:IBaseDataTypesRpcLit_RetUShort_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUShortResponse" message="tns:IBaseDataTypesRpcLit_RetUShort_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetULong" message="tns:IBaseDataTypesRpcLit_RetULong_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetULongResponse" message="tns:IBaseDataTypesRpcLit_RetULong_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetString" message="tns:IBaseDataTypesRpcLit_RetString_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetStringResponse" message="tns:IBaseDataTypesRpcLit_RetString_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetGuid" message="tns:IBaseDataTypesRpcLit_RetGuid_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetGuidResponse" message="tns:IBaseDataTypesRpcLit_RetGuid_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUri" message="tns:IBaseDataTypesRpcLit_RetUri_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUriResponse" message="tns:IBaseDataTypesRpcLit_RetUri_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime" message="tns:IBaseDataTypesRpcLit_RetDateTime_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTimeResponse" message="tns:IBaseDataTypesRpcLit_RetDateTime_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan" message="tns:IBaseDataTypesRpcLit_RetTimeSpan_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpanResponse" message="tns:IBaseDataTypesRpcLit_RetTimeSpan_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <wsdl:input wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQName" message="tns:IBaseDataTypesRpcLit_RetQName_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQNameResponse" message="tns:IBaseDataTypesRpcLit_RetQName_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IBaseDataTypesRpcLit" type="tns:IBaseDataTypesRpcLit">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IBaseDataTypesRpcLit_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <wsdl:operation name="RetBool">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetBool" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByte" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetSByte" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByteArray" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetChar" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetSingle" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetInt" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetShort" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetLong" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetObject" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUInt" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUShort" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetULong" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetString" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetGuid" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUri" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetTimeSpan" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetQName" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="BaseDataTypesRpcLitService">
+ <wsdl:port name="BasicHttpBinding_IBaseDataTypesRpcLit" binding="tns:BasicHttpBinding_IBaseDataTypesRpcLit">
+ <soap:address location="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesRpcLit.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,4 +6,7 @@
<scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc</target-endpoint>
</scenario>
-</client-scenarios>
\ No newline at end of file
+ <scenario name="msft-private" decsription="Testing MSFT private interop endpoints">
+ <target-endpoint>http://10.10.32.186/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc</target-endpoint>
+ </scenario>
+</client-scenarios>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,296 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="ComplexDataTypesDocLitBService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesDocLitB_po!
licy"><wsp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd2.xsd" namespace="http://tempuri.org/"/><xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/><xsd:import schemaLocation="xsd4.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></xsd:schema></wsdl:types><wsdl:message name="RetArrayString1D_RequestMessage_Body"><wsdl:part name="inArrayString1D" element="tns:inArrayString1D"/></wsdl:message><wsdl:message name="RetArrayString1D_Response!
Message_Body"><wsdl:part name="RetArrayString1DResult" element="tns:Re
tArrayString1DResult"/></wsdl:message><wsdl:message name="RetArrayInt1D_RequestMessage_Body"><wsdl:part name="inArrayInt1D" element="tns:inArrayInt1D"/></wsdl:message><wsdl:message name="RetArrayInt1D_ResponseMessage_Body"><wsdl:part name="RetArrayInt1DResult" element="tns:RetArrayInt1DResult"/></wsdl:message><wsdl:message name="RetArrayDecimal1D_RequestMessage_Body"><wsdl:part name="inArrayDecimal1D" element="tns:inArrayDecimal1D"/></wsdl:message><wsdl:message name="RetArrayDecimal1D_ResponseMessage_Body"><wsdl:part name="RetArrayDecimal1DResult" element="tns:RetArrayDecimal1DResult"/></wsdl:message><wsdl:message name="RetArrayDateTime1D_RequestMessage_Body"><wsdl:part name="inArrayDateTime1D" element="tns:inArrayDateTime1D"/></wsdl:message><wsdl:message name="RetArrayDateTime1D_ResponseMessage_Body"><wsdl:part name="RetArrayDateTime1DResult" element="tns:RetArrayDateTime1DResult"/></wsdl:message><wsdl:message name="RetArrayString2D_RequestMessage_Body"><wsdl:part name="inA!
rrayString2D" element="tns:inArrayString2D"/></wsdl:message><wsdl:message name="RetArrayString2D_ResponseMessage_Body"><wsdl:part name="RetArrayString2DResult" element="tns:RetArrayString2DResult"/></wsdl:message><wsdl:message name="RetArray1D_SN_RequestMessage_Body"><wsdl:part name="inArray1D_SN" element="tns:inArray1D_SN"/></wsdl:message><wsdl:message name="RetArray1D_SN_ResponseMessage_Body"><wsdl:part name="RetArray1D_SNResult" element="tns:RetArray1D_SNResult"/></wsdl:message><wsdl:message name="RetArrayAnyType1D_RequestMessage_Body"><wsdl:part name="inArrayAnyType1D" element="tns:inArrayAnyType1D"/></wsdl:message><wsdl:message name="RetArrayAnyType1D_ResponseMessage_Body"><wsdl:part name="RetArrayAnyType1DResult" element="tns:RetArrayAnyType1DResult"/></wsdl:message><wsdl:message name="RetStructS1_RequestMessage_Body"><wsdl:part name="inStructS1" element="tns:inStructS1"/></wsdl:message><wsdl:message name="RetStructS1_ResponseMessage_Body"><wsdl:part name="RetStructS1!
Result" element="tns:RetStructS1Result"/></wsdl:message><wsdl:message
name="RetStructSN_RequestMessage_Body"><wsdl:part name="inStructSN" element="tns:inStructSN"/></wsdl:message><wsdl:message name="RetStructSN_ResponseMessage_Body"><wsdl:part name="RetStructSNResult" element="tns:RetStructSNResult"/></wsdl:message><wsdl:message name="RetStructSNSA_RequestMessage_Body"><wsdl:part name="inStructSNSA" element="tns:inStructSNSA"/></wsdl:message><wsdl:message name="RetStructSNSA_ResponseMessage_Body"><wsdl:part name="RetStructSNSAResult" element="tns:RetStructSNSAResult"/></wsdl:message><wsdl:message name="RetStructSNSAS_RequestMessage_Body"><wsdl:part name="inStructSNSAS" element="tns:inStructSNSAS"/></wsdl:message><wsdl:message name="RetStructSNSAS_ResponseMessage_Body"><wsdl:part name="RetStructSNSASResult" element="tns:RetStructSNSASResult"/></wsdl:message><wsdl:message name="RetEnumString_RequestMessage_Body"><wsdl:part name="inEnumString" element="tns:inEnumString"/></wsdl:message><wsdl:message name="RetEnumString_ResponseMessage_Body"><wsdl!
:part name="RetEnumStringResult" element="tns:RetEnumStringResult"/></wsdl:message><wsdl:message name="RetEnumInt_RequestMessage_Body"><wsdl:part name="inEnumInt" element="tns:inEnumInt"/></wsdl:message><wsdl:message name="RetEnumInt_ResponseMessage_Body"><wsdl:part name="RetEnumIntResult" element="tns:RetEnumIntResult"/></wsdl:message><wsdl:message name="RetDerivedClass_RequestMessage_Body"><wsdl:part name="inDerivedClass" element="tns:inDerivedClass"/></wsdl:message><wsdl:message name="RetDerivedClass_ResponseMessage_Body"><wsdl:part name="RetDerivedClassResult" element="tns:RetDerivedClassResult"/></wsdl:message><wsdl:portType msc:usingSession="false" name="IComplexDataTypesDocLitB"><wsdl:operation name="RetArrayString1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D" name="RetArrayString1D_RequestMessage_Body" message="tns:RetArrayString1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLit!
B/RetArrayString1DResponse" name="RetArrayString1D_ResponseMessage_Bod
y" message="tns:RetArrayString1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayInt1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D" name="RetArrayInt1D_RequestMessage_Body" message="tns:RetArrayInt1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1DResponse" name="RetArrayInt1D_ResponseMessage_Body" message="tns:RetArrayInt1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D" name="RetArrayDecimal1D_RequestMessage_Body" message="tns:RetArrayDecimal1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1DResponse" name="RetArrayDecimal1D_ResponseMessage_Body" message="tns:RetArrayDecimal1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><wsdl:input wsa1!
0:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D" name="RetArrayDateTime1D_RequestMessage_Body" message="tns:RetArrayDateTime1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1DResponse" name="RetArrayDateTime1D_ResponseMessage_Body" message="tns:RetArrayDateTime1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayString2D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D" name="RetArrayString2D_RequestMessage_Body" message="tns:RetArrayString2D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2DResponse" name="RetArrayString2D_ResponseMessage_Body" message="tns:RetArrayString2D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArray1D_SN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN" name="RetArray1D_SN_RequestMessage_Bod!
y" message="tns:RetArray1D_SN_RequestMessage_Body"/><wsdl:output wsa10
:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SNResponse" name="RetArray1D_SN_ResponseMessage_Body" message="tns:RetArray1D_SN_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D" name="RetArrayAnyType1D_RequestMessage_Body" message="tns:RetArrayAnyType1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1DResponse" name="RetArrayAnyType1D_ResponseMessage_Body" message="tns:RetArrayAnyType1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetStructS1"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1" name="RetStructS1_RequestMessage_Body" message="tns:RetStructS1_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1Response" name="RetStructS1_ResponseMessage_Body" message="tns:RetStructS1_!
ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetStructSN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN" name="RetStructSN_RequestMessage_Body" message="tns:RetStructSN_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNResponse" name="RetStructSN_ResponseMessage_Body" message="tns:RetStructSN_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetStructSNSA"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA" name="RetStructSNSA_RequestMessage_Body" message="tns:RetStructSNSA_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAResponse" name="RetStructSNSA_ResponseMessage_Body" message="tns:RetStructSNSA_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetStructSNSAS"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS" name="Re!
tStructSNSAS_RequestMessage_Body" message="tns:RetStructSNSAS_RequestM
essage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSASResponse" name="RetStructSNSAS_ResponseMessage_Body" message="tns:RetStructSNSAS_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetEnumString"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString" name="RetEnumString_RequestMessage_Body" message="tns:RetEnumString_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumStringResponse" name="RetEnumString_ResponseMessage_Body" message="tns:RetEnumString_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetEnumInt"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt" name="RetEnumInt_RequestMessage_Body" message="tns:RetEnumInt_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumIntResponse" name="RetEnumInt_ResponseMessage_Body" message="tns:RetEnumInt_!
ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetDerivedClass"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass" name="RetDerivedClass_RequestMessage_Body" message="tns:RetDerivedClass_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClassResponse" name="RetDerivedClass_ResponseMessage_Body" message="tns:RetDerivedClass_ResponseMessage_Body"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IComplexDataTypesDocLitB" type="tns:IComplexDataTypesDocLitB"><wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesDocLitB_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="RetArrayString1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D" style="document"/><wsdl:input name="RetArrayString1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="!
RetArrayString1D_ResponseMessage_Body"><soap:body use="literal"/></wsd
l:output></wsdl:operation><wsdl:operation name="RetArrayInt1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D" style="document"/><wsdl:input name="RetArrayInt1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetArrayInt1D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D" style="document"/><wsdl:input name="RetArrayDecimal1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetArrayDecimal1D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D" style="document"/><wsdl:input name="RetArrayDateTime1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:!
output name="RetArrayDateTime1D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayString2D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D" style="document"/><wsdl:input name="RetArrayString2D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetArrayString2D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArray1D_SN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN" style="document"/><wsdl:input name="RetArray1D_SN_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetArray1D_SN_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D" style="document"/><wsdl:input name="RetAr!
rayAnyType1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:inp
ut><wsdl:output name="RetArrayAnyType1D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructS1"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1" style="document"/><wsdl:input name="RetStructS1_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetStructS1_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN" style="document"/><wsdl:input name="RetStructSN_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetStructSN_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSA"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA" style="document"/><wsdl:input name="RetStructSNSA_RequestMessage_Body"!
><soap:body use="literal"/></wsdl:input><wsdl:output name="RetStructSNSA_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSAS"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS" style="document"/><wsdl:input name="RetStructSNSAS_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetStructSNSAS_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumString"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString" style="document"/><wsdl:input name="RetEnumString_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetEnumString_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumInt"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt" style="document"/><wsd!
l:input name="RetEnumInt_RequestMessage_Body"><soap:body use="literal"
/></wsdl:input><wsdl:output name="RetEnumInt_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDerivedClass"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass" style="document"/><wsdl:input name="RetDerivedClass_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetDerivedClass_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="ComplexDataTypesDocLitBService"><wsdl:port name="BasicHttpBinding_IComplexDataTypesDocLitB" binding="tns:BasicHttpBinding_IComplexDataTypesDocLitB"><soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="ComplexDataTypesDocLitBService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesDocLitB_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://tempuri.org/"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ <xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/>
+ <xsd:import schemaLocation="xsd4.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="RetArrayString1D_RequestMessage_Body">
+ <wsdl:part name="inArrayString1D" element="tns:inArrayString1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayString1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayString1DResult" element="tns:RetArrayString1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayInt1D_RequestMessage_Body">
+ <wsdl:part name="inArrayInt1D" element="tns:inArrayInt1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayInt1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayInt1DResult" element="tns:RetArrayInt1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayDecimal1D_RequestMessage_Body">
+ <wsdl:part name="inArrayDecimal1D" element="tns:inArrayDecimal1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayDecimal1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayDecimal1DResult" element="tns:RetArrayDecimal1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayDateTime1D_RequestMessage_Body">
+ <wsdl:part name="inArrayDateTime1D" element="tns:inArrayDateTime1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayDateTime1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayDateTime1DResult" element="tns:RetArrayDateTime1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayString2D_RequestMessage_Body">
+ <wsdl:part name="inArrayString2D" element="tns:inArrayString2D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayString2D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayString2DResult" element="tns:RetArrayString2DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArray1D_SN_RequestMessage_Body">
+ <wsdl:part name="inArray1D_SN" element="tns:inArray1D_SN"/>
+ </wsdl:message>
+ <wsdl:message name="RetArray1D_SN_ResponseMessage_Body">
+ <wsdl:part name="RetArray1D_SNResult" element="tns:RetArray1D_SNResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayAnyType1D_RequestMessage_Body">
+ <wsdl:part name="inArrayAnyType1D" element="tns:inArrayAnyType1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayAnyType1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayAnyType1DResult" element="tns:RetArrayAnyType1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructS1_RequestMessage_Body">
+ <wsdl:part name="inStructS1" element="tns:inStructS1"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructS1_ResponseMessage_Body">
+ <wsdl:part name="RetStructS1Result" element="tns:RetStructS1Result"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSN_RequestMessage_Body">
+ <wsdl:part name="inStructSN" element="tns:inStructSN"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSN_ResponseMessage_Body">
+ <wsdl:part name="RetStructSNResult" element="tns:RetStructSNResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSNSA_RequestMessage_Body">
+ <wsdl:part name="inStructSNSA" element="tns:inStructSNSA"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSNSA_ResponseMessage_Body">
+ <wsdl:part name="RetStructSNSAResult" element="tns:RetStructSNSAResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSNSAS_RequestMessage_Body">
+ <wsdl:part name="inStructSNSAS" element="tns:inStructSNSAS"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSNSAS_ResponseMessage_Body">
+ <wsdl:part name="RetStructSNSASResult" element="tns:RetStructSNSASResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetEnumString_RequestMessage_Body">
+ <wsdl:part name="inEnumString" element="tns:inEnumString"/>
+ </wsdl:message>
+ <wsdl:message name="RetEnumString_ResponseMessage_Body">
+ <wsdl:part name="RetEnumStringResult" element="tns:RetEnumStringResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetEnumInt_RequestMessage_Body">
+ <wsdl:part name="inEnumInt" element="tns:inEnumInt"/>
+ </wsdl:message>
+ <wsdl:message name="RetEnumInt_ResponseMessage_Body">
+ <wsdl:part name="RetEnumIntResult" element="tns:RetEnumIntResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDerivedClass_RequestMessage_Body">
+ <wsdl:part name="inDerivedClass" element="tns:inDerivedClass"/>
+ </wsdl:message>
+ <wsdl:message name="RetDerivedClass_ResponseMessage_Body">
+ <wsdl:part name="RetDerivedClassResult" element="tns:RetDerivedClassResult"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IComplexDataTypesDocLitB">
+ <wsdl:operation name="RetArrayString1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D" name="RetArrayString1D_RequestMessage_Body" message="tns:RetArrayString1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1DResponse" name="RetArrayString1D_ResponseMessage_Body" message="tns:RetArrayString1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D" name="RetArrayInt1D_RequestMessage_Body" message="tns:RetArrayInt1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1DResponse" name="RetArrayInt1D_ResponseMessage_Body" message="tns:RetArrayInt1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D" name="RetArrayDecimal1D_RequestMessage_Body" message="tns:RetArrayDecimal1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1DResponse" name="RetArrayDecimal1D_ResponseMessage_Body" message="tns:RetArrayDecimal1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D" name="RetArrayDateTime1D_RequestMessage_Body" message="tns:RetArrayDateTime1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1DResponse" name="RetArrayDateTime1D_ResponseMessage_Body" message="tns:RetArrayDateTime1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D" name="RetArrayString2D_RequestMessage_Body" message="tns:RetArrayString2D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2DResponse" name="RetArrayString2D_ResponseMessage_Body" message="tns:RetArrayString2D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN" name="RetArray1D_SN_RequestMessage_Body" message="tns:RetArray1D_SN_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SNResponse" name="RetArray1D_SN_ResponseMessage_Body" message="tns:RetArray1D_SN_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D" name="RetArrayAnyType1D_RequestMessage_Body" message="tns:RetArrayAnyType1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1DResponse" name="RetArrayAnyType1D_ResponseMessage_Body" message="tns:RetArrayAnyType1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1" name="RetStructS1_RequestMessage_Body" message="tns:RetStructS1_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1Response" name="RetStructS1_ResponseMessage_Body" message="tns:RetStructS1_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN" name="RetStructSN_RequestMessage_Body" message="tns:RetStructSN_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNResponse" name="RetStructSN_ResponseMessage_Body" message="tns:RetStructSN_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA" name="RetStructSNSA_RequestMessage_Body" message="tns:RetStructSNSA_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAResponse" name="RetStructSNSA_ResponseMessage_Body" message="tns:RetStructSNSA_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS" name="RetStructSNSAS_RequestMessage_Body" message="tns:RetStructSNSAS_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSASResponse" name="RetStructSNSAS_ResponseMessage_Body" message="tns:RetStructSNSAS_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString" name="RetEnumString_RequestMessage_Body" message="tns:RetEnumString_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumStringResponse" name="RetEnumString_ResponseMessage_Body" message="tns:RetEnumString_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt" name="RetEnumInt_RequestMessage_Body" message="tns:RetEnumInt_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumIntResponse" name="RetEnumInt_ResponseMessage_Body" message="tns:RetEnumInt_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass" name="RetDerivedClass_RequestMessage_Body" message="tns:RetDerivedClass_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClassResponse" name="RetDerivedClass_ResponseMessage_Body" message="tns:RetDerivedClass_ResponseMessage_Body"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IComplexDataTypesDocLitB" type="tns:IComplexDataTypesDocLitB">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesDocLitB_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="RetArrayString1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D" style="document"/>
+ <wsdl:input name="RetArrayString1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayString1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D" style="document"/>
+ <wsdl:input name="RetArrayInt1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayInt1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D" style="document"/>
+ <wsdl:input name="RetArrayDecimal1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayDecimal1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D" style="document"/>
+ <wsdl:input name="RetArrayDateTime1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayDateTime1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D" style="document"/>
+ <wsdl:input name="RetArrayString2D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayString2D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN" style="document"/>
+ <wsdl:input name="RetArray1D_SN_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArray1D_SN_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D" style="document"/>
+ <wsdl:input name="RetArrayAnyType1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayAnyType1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1" style="document"/>
+ <wsdl:input name="RetStructS1_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetStructS1_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN" style="document"/>
+ <wsdl:input name="RetStructSN_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetStructSN_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA" style="document"/>
+ <wsdl:input name="RetStructSNSA_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetStructSNSA_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS" style="document"/>
+ <wsdl:input name="RetStructSNSAS_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetStructSNSAS_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString" style="document"/>
+ <wsdl:input name="RetEnumString_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetEnumString_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt" style="document"/>
+ <wsdl:input name="RetEnumInt_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetEnumInt_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass" style="document"/>
+ <wsdl:input name="RetDerivedClass_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetDerivedClass_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="ComplexDataTypesDocLitBService">
+ <wsdl:port name="BasicHttpBinding_IComplexDataTypesDocLitB" binding="tns:BasicHttpBinding_IComplexDataTypesDocLitB">
+ <soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/ComplexDataTypesDocLitB_Service</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitB_Service/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,289 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="ComplexDataTypesDocLitBService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesDocLitB_po!
licy"><wsp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd2.xsd" namespace="http://tempuri.org/"/><xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/><xsd:import schemaLocation="xsd4.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></xsd:schema></wsdl:types><wsdl:message name="RetArrayString1D_RequestMessage_Body"><wsdl:part name="inArrayString1D" element="tns:inArrayString1D"/></wsdl:message><wsdl:message name="RetArrayString1D_Response!
Message_Body"><wsdl:part name="RetArrayString1DResult" element="tns:Re
tArrayString1DResult"/></wsdl:message><wsdl:message name="RetArrayInt1D_RequestMessage_Body"><wsdl:part name="inArrayInt1D" element="tns:inArrayInt1D"/></wsdl:message><wsdl:message name="RetArrayInt1D_ResponseMessage_Body"><wsdl:part name="RetArrayInt1DResult" element="tns:RetArrayInt1DResult"/></wsdl:message><wsdl:message name="RetArrayDecimal1D_RequestMessage_Body"><wsdl:part name="inArrayDecimal1D" element="tns:inArrayDecimal1D"/></wsdl:message><wsdl:message name="RetArrayDecimal1D_ResponseMessage_Body"><wsdl:part name="RetArrayDecimal1DResult" element="tns:RetArrayDecimal1DResult"/></wsdl:message><wsdl:message name="RetArrayDateTime1D_RequestMessage_Body"><wsdl:part name="inArrayDateTime1D" element="tns:inArrayDateTime1D"/></wsdl:message><wsdl:message name="RetArrayDateTime1D_ResponseMessage_Body"><wsdl:part name="RetArrayDateTime1DResult" element="tns:RetArrayDateTime1DResult"/></wsdl:message><wsdl:message name="RetArrayString2D_RequestMessage_Body"><wsdl:part name="inA!
rrayString2D" element="tns:inArrayString2D"/></wsdl:message><wsdl:message name="RetArrayString2D_ResponseMessage_Body"><wsdl:part name="RetArrayString2DResult" element="tns:RetArrayString2DResult"/></wsdl:message><wsdl:message name="RetArray1D_SN_RequestMessage_Body"><wsdl:part name="inArray1D_SN" element="tns:inArray1D_SN"/></wsdl:message><wsdl:message name="RetArray1D_SN_ResponseMessage_Body"><wsdl:part name="RetArray1D_SNResult" element="tns:RetArray1D_SNResult"/></wsdl:message><wsdl:message name="RetArrayAnyType1D_RequestMessage_Body"><wsdl:part name="inArrayAnyType1D" element="tns:inArrayAnyType1D"/></wsdl:message><wsdl:message name="RetArrayAnyType1D_ResponseMessage_Body"><wsdl:part name="RetArrayAnyType1DResult" element="tns:RetArrayAnyType1DResult"/></wsdl:message><wsdl:message name="RetStructS1_RequestMessage_Body"><wsdl:part name="inStructS1" element="tns:inStructS1"/></wsdl:message><wsdl:message name="RetStructS1_ResponseMessage_Body"><wsdl:part name="RetStructS1!
Result" element="tns:RetStructS1Result"/></wsdl:message><wsdl:message
name="RetStructSN_RequestMessage_Body"><wsdl:part name="inStructSN" element="tns:inStructSN"/></wsdl:message><wsdl:message name="RetStructSN_ResponseMessage_Body"><wsdl:part name="RetStructSNResult" element="tns:RetStructSNResult"/></wsdl:message><wsdl:message name="RetStructSNSA_RequestMessage_Body"><wsdl:part name="inStructSNSA" element="tns:inStructSNSA"/></wsdl:message><wsdl:message name="RetStructSNSA_ResponseMessage_Body"><wsdl:part name="RetStructSNSAResult" element="tns:RetStructSNSAResult"/></wsdl:message><wsdl:message name="RetStructSNSAS_RequestMessage_Body"><wsdl:part name="inStructSNSAS" element="tns:inStructSNSAS"/></wsdl:message><wsdl:message name="RetStructSNSAS_ResponseMessage_Body"><wsdl:part name="RetStructSNSASResult" element="tns:RetStructSNSASResult"/></wsdl:message><wsdl:message name="RetEnumString_RequestMessage_Body"><wsdl:part name="inEnumString" element="tns:inEnumString"/></wsdl:message><wsdl:message name="RetEnumString_ResponseMessage_Body"><wsdl!
:part name="RetEnumStringResult" element="tns:RetEnumStringResult"/></wsdl:message><wsdl:message name="RetEnumInt_RequestMessage_Body"><wsdl:part name="inEnumInt" element="tns:inEnumInt"/></wsdl:message><wsdl:message name="RetEnumInt_ResponseMessage_Body"><wsdl:part name="RetEnumIntResult" element="tns:RetEnumIntResult"/></wsdl:message><wsdl:message name="RetDerivedClass_RequestMessage_Body"><wsdl:part name="inDerivedClass" element="tns:inDerivedClass"/></wsdl:message><wsdl:message name="RetDerivedClass_ResponseMessage_Body"><wsdl:part name="RetDerivedClassResult" element="tns:RetDerivedClassResult"/></wsdl:message><wsdl:portType msc:usingSession="false" name="IComplexDataTypesDocLitB"><wsdl:operation name="RetArrayString1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D" name="RetArrayString1D_RequestMessage_Body" message="tns:RetArrayString1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLit!
B/RetArrayString1DResponse" name="RetArrayString1D_ResponseMessage_Bod
y" message="tns:RetArrayString1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayInt1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D" name="RetArrayInt1D_RequestMessage_Body" message="tns:RetArrayInt1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1DResponse" name="RetArrayInt1D_ResponseMessage_Body" message="tns:RetArrayInt1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D" name="RetArrayDecimal1D_RequestMessage_Body" message="tns:RetArrayDecimal1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1DResponse" name="RetArrayDecimal1D_ResponseMessage_Body" message="tns:RetArrayDecimal1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><wsdl:input wsa1!
0:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D" name="RetArrayDateTime1D_RequestMessage_Body" message="tns:RetArrayDateTime1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1DResponse" name="RetArrayDateTime1D_ResponseMessage_Body" message="tns:RetArrayDateTime1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayString2D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D" name="RetArrayString2D_RequestMessage_Body" message="tns:RetArrayString2D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2DResponse" name="RetArrayString2D_ResponseMessage_Body" message="tns:RetArrayString2D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArray1D_SN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN" name="RetArray1D_SN_RequestMessage_Bod!
y" message="tns:RetArray1D_SN_RequestMessage_Body"/><wsdl:output wsa10
:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SNResponse" name="RetArray1D_SN_ResponseMessage_Body" message="tns:RetArray1D_SN_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D" name="RetArrayAnyType1D_RequestMessage_Body" message="tns:RetArrayAnyType1D_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1DResponse" name="RetArrayAnyType1D_ResponseMessage_Body" message="tns:RetArrayAnyType1D_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetStructS1"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1" name="RetStructS1_RequestMessage_Body" message="tns:RetStructS1_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1Response" name="RetStructS1_ResponseMessage_Body" message="tns:RetStructS1_!
ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetStructSN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN" name="RetStructSN_RequestMessage_Body" message="tns:RetStructSN_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNResponse" name="RetStructSN_ResponseMessage_Body" message="tns:RetStructSN_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetStructSNSA"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA" name="RetStructSNSA_RequestMessage_Body" message="tns:RetStructSNSA_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAResponse" name="RetStructSNSA_ResponseMessage_Body" message="tns:RetStructSNSA_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetStructSNSAS"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS" name="Re!
tStructSNSAS_RequestMessage_Body" message="tns:RetStructSNSAS_RequestM
essage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSASResponse" name="RetStructSNSAS_ResponseMessage_Body" message="tns:RetStructSNSAS_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetEnumString"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString" name="RetEnumString_RequestMessage_Body" message="tns:RetEnumString_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumStringResponse" name="RetEnumString_ResponseMessage_Body" message="tns:RetEnumString_ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetEnumInt"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt" name="RetEnumInt_RequestMessage_Body" message="tns:RetEnumInt_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumIntResponse" name="RetEnumInt_ResponseMessage_Body" message="tns:RetEnumInt_!
ResponseMessage_Body"/></wsdl:operation><wsdl:operation name="RetDerivedClass"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass" name="RetDerivedClass_RequestMessage_Body" message="tns:RetDerivedClass_RequestMessage_Body"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClassResponse" name="RetDerivedClass_ResponseMessage_Body" message="tns:RetDerivedClass_ResponseMessage_Body"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IComplexDataTypesDocLitB" type="tns:IComplexDataTypesDocLitB"><wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesDocLitB_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="RetArrayString1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D" style="document"/><wsdl:input name="RetArrayString1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="!
RetArrayString1D_ResponseMessage_Body"><soap:body use="literal"/></wsd
l:output></wsdl:operation><wsdl:operation name="RetArrayInt1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D" style="document"/><wsdl:input name="RetArrayInt1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetArrayInt1D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D" style="document"/><wsdl:input name="RetArrayDecimal1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetArrayDecimal1D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D" style="document"/><wsdl:input name="RetArrayDateTime1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:!
output name="RetArrayDateTime1D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayString2D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D" style="document"/><wsdl:input name="RetArrayString2D_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetArrayString2D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArray1D_SN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN" style="document"/><wsdl:input name="RetArray1D_SN_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetArray1D_SN_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D" style="document"/><wsdl:input name="RetAr!
rayAnyType1D_RequestMessage_Body"><soap:body use="literal"/></wsdl:inp
ut><wsdl:output name="RetArrayAnyType1D_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructS1"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1" style="document"/><wsdl:input name="RetStructS1_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetStructS1_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN" style="document"/><wsdl:input name="RetStructSN_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetStructSN_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSA"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA" style="document"/><wsdl:input name="RetStructSNSA_RequestMessage_Body"!
><soap:body use="literal"/></wsdl:input><wsdl:output name="RetStructSNSA_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSAS"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS" style="document"/><wsdl:input name="RetStructSNSAS_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetStructSNSAS_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumString"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString" style="document"/><wsdl:input name="RetEnumString_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetEnumString_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumInt"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt" style="document"/><wsd!
l:input name="RetEnumInt_RequestMessage_Body"><soap:body use="literal"
/></wsdl:input><wsdl:output name="RetEnumInt_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDerivedClass"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass" style="document"/><wsdl:input name="RetDerivedClass_RequestMessage_Body"><soap:body use="literal"/></wsdl:input><wsdl:output name="RetDerivedClass_ResponseMessage_Body"><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="ComplexDataTypesDocLitBService"><wsdl:port name="BasicHttpBinding_IComplexDataTypesDocLitB" binding="tns:BasicHttpBinding_IComplexDataTypesDocLitB"><soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="ComplexDataTypesDocLitBService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://tempuri.org/"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ <xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/>
+ <xsd:import schemaLocation="xsd4.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="RetArrayString1D_RequestMessage_Body">
+ <wsdl:part name="inArrayString1D" element="tns:inArrayString1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayString1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayString1DResult" element="tns:RetArrayString1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayInt1D_RequestMessage_Body">
+ <wsdl:part name="inArrayInt1D" element="tns:inArrayInt1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayInt1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayInt1DResult" element="tns:RetArrayInt1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayDecimal1D_RequestMessage_Body">
+ <wsdl:part name="inArrayDecimal1D" element="tns:inArrayDecimal1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayDecimal1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayDecimal1DResult" element="tns:RetArrayDecimal1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayDateTime1D_RequestMessage_Body">
+ <wsdl:part name="inArrayDateTime1D" element="tns:inArrayDateTime1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayDateTime1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayDateTime1DResult" element="tns:RetArrayDateTime1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayString2D_RequestMessage_Body">
+ <wsdl:part name="inArrayString2D" element="tns:inArrayString2D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayString2D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayString2DResult" element="tns:RetArrayString2DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArray1D_SN_RequestMessage_Body">
+ <wsdl:part name="inArray1D_SN" element="tns:inArray1D_SN"/>
+ </wsdl:message>
+ <wsdl:message name="RetArray1D_SN_ResponseMessage_Body">
+ <wsdl:part name="RetArray1D_SNResult" element="tns:RetArray1D_SNResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayAnyType1D_RequestMessage_Body">
+ <wsdl:part name="inArrayAnyType1D" element="tns:inArrayAnyType1D"/>
+ </wsdl:message>
+ <wsdl:message name="RetArrayAnyType1D_ResponseMessage_Body">
+ <wsdl:part name="RetArrayAnyType1DResult" element="tns:RetArrayAnyType1DResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructS1_RequestMessage_Body">
+ <wsdl:part name="inStructS1" element="tns:inStructS1"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructS1_ResponseMessage_Body">
+ <wsdl:part name="RetStructS1Result" element="tns:RetStructS1Result"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSN_RequestMessage_Body">
+ <wsdl:part name="inStructSN" element="tns:inStructSN"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSN_ResponseMessage_Body">
+ <wsdl:part name="RetStructSNResult" element="tns:RetStructSNResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSNSA_RequestMessage_Body">
+ <wsdl:part name="inStructSNSA" element="tns:inStructSNSA"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSNSA_ResponseMessage_Body">
+ <wsdl:part name="RetStructSNSAResult" element="tns:RetStructSNSAResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSNSAS_RequestMessage_Body">
+ <wsdl:part name="inStructSNSAS" element="tns:inStructSNSAS"/>
+ </wsdl:message>
+ <wsdl:message name="RetStructSNSAS_ResponseMessage_Body">
+ <wsdl:part name="RetStructSNSASResult" element="tns:RetStructSNSASResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetEnumString_RequestMessage_Body">
+ <wsdl:part name="inEnumString" element="tns:inEnumString"/>
+ </wsdl:message>
+ <wsdl:message name="RetEnumString_ResponseMessage_Body">
+ <wsdl:part name="RetEnumStringResult" element="tns:RetEnumStringResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetEnumInt_RequestMessage_Body">
+ <wsdl:part name="inEnumInt" element="tns:inEnumInt"/>
+ </wsdl:message>
+ <wsdl:message name="RetEnumInt_ResponseMessage_Body">
+ <wsdl:part name="RetEnumIntResult" element="tns:RetEnumIntResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDerivedClass_RequestMessage_Body">
+ <wsdl:part name="inDerivedClass" element="tns:inDerivedClass"/>
+ </wsdl:message>
+ <wsdl:message name="RetDerivedClass_ResponseMessage_Body">
+ <wsdl:part name="RetDerivedClassResult" element="tns:RetDerivedClassResult"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IComplexDataTypesDocLitB">
+ <wsdl:operation name="RetArrayString1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D" name="RetArrayString1D_RequestMessage_Body" message="tns:RetArrayString1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1DResponse" name="RetArrayString1D_ResponseMessage_Body" message="tns:RetArrayString1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D" name="RetArrayInt1D_RequestMessage_Body" message="tns:RetArrayInt1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1DResponse" name="RetArrayInt1D_ResponseMessage_Body" message="tns:RetArrayInt1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D" name="RetArrayDecimal1D_RequestMessage_Body" message="tns:RetArrayDecimal1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1DResponse" name="RetArrayDecimal1D_ResponseMessage_Body" message="tns:RetArrayDecimal1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D" name="RetArrayDateTime1D_RequestMessage_Body" message="tns:RetArrayDateTime1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1DResponse" name="RetArrayDateTime1D_ResponseMessage_Body" message="tns:RetArrayDateTime1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D" name="RetArrayString2D_RequestMessage_Body" message="tns:RetArrayString2D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2DResponse" name="RetArrayString2D_ResponseMessage_Body" message="tns:RetArrayString2D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN" name="RetArray1D_SN_RequestMessage_Body" message="tns:RetArray1D_SN_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SNResponse" name="RetArray1D_SN_ResponseMessage_Body" message="tns:RetArray1D_SN_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D" name="RetArrayAnyType1D_RequestMessage_Body" message="tns:RetArrayAnyType1D_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1DResponse" name="RetArrayAnyType1D_ResponseMessage_Body" message="tns:RetArrayAnyType1D_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1" name="RetStructS1_RequestMessage_Body" message="tns:RetStructS1_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1Response" name="RetStructS1_ResponseMessage_Body" message="tns:RetStructS1_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN" name="RetStructSN_RequestMessage_Body" message="tns:RetStructSN_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNResponse" name="RetStructSN_ResponseMessage_Body" message="tns:RetStructSN_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA" name="RetStructSNSA_RequestMessage_Body" message="tns:RetStructSNSA_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAResponse" name="RetStructSNSA_ResponseMessage_Body" message="tns:RetStructSNSA_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS" name="RetStructSNSAS_RequestMessage_Body" message="tns:RetStructSNSAS_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSASResponse" name="RetStructSNSAS_ResponseMessage_Body" message="tns:RetStructSNSAS_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString" name="RetEnumString_RequestMessage_Body" message="tns:RetEnumString_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumStringResponse" name="RetEnumString_ResponseMessage_Body" message="tns:RetEnumString_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt" name="RetEnumInt_RequestMessage_Body" message="tns:RetEnumInt_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumIntResponse" name="RetEnumInt_ResponseMessage_Body" message="tns:RetEnumInt_ResponseMessage_Body"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass" name="RetDerivedClass_RequestMessage_Body" message="tns:RetDerivedClass_RequestMessage_Body"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClassResponse" name="RetDerivedClass_ResponseMessage_Body" message="tns:RetDerivedClass_ResponseMessage_Body"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IComplexDataTypesDocLitB" type="tns:IComplexDataTypesDocLitB">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesDocLitB_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="RetArrayString1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString1D" style="document"/>
+ <wsdl:input name="RetArrayString1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayString1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayInt1D" style="document"/>
+ <wsdl:input name="RetArrayInt1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayInt1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDecimal1D" style="document"/>
+ <wsdl:input name="RetArrayDecimal1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayDecimal1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayDateTime1D" style="document"/>
+ <wsdl:input name="RetArrayDateTime1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayDateTime1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayString2D" style="document"/>
+ <wsdl:input name="RetArrayString2D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayString2D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArray1D_SN" style="document"/>
+ <wsdl:input name="RetArray1D_SN_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArray1D_SN_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetArrayAnyType1D" style="document"/>
+ <wsdl:input name="RetArrayAnyType1D_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetArrayAnyType1D_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructS1" style="document"/>
+ <wsdl:input name="RetStructS1_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetStructS1_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSN" style="document"/>
+ <wsdl:input name="RetStructSN_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetStructSN_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSA" style="document"/>
+ <wsdl:input name="RetStructSNSA_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetStructSNSA_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetStructSNSAS" style="document"/>
+ <wsdl:input name="RetStructSNSAS_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetStructSNSAS_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumString" style="document"/>
+ <wsdl:input name="RetEnumString_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetEnumString_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetEnumInt" style="document"/>
+ <wsdl:input name="RetEnumInt_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetEnumInt_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitB/RetDerivedClass" style="document"/>
+ <wsdl:input name="RetDerivedClass_RequestMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="RetDerivedClass_ResponseMessage_Body">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="ComplexDataTypesDocLitBService">
+ <wsdl:port name="BasicHttpBinding_IComplexDataTypesDocLitB" binding="tns:BasicHttpBinding_IComplexDataTypesDocLitB">
+ <soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,4 +6,7 @@
<scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc</target-endpoint>
</scenario>
-</client-scenarios>
\ No newline at end of file
+ <scenario name="msft-private" decsription="Testing MSFT public interop endpoints">
+ <target-endpoint>http://10.10.32.186/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc</target-endpoint>
+ </scenario>
+</client-scenarios>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,296 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="ComplexDataTypesDocLitWService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesDocLitW_po!
licy"><wsp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd0.xsd" namespace="http://tempuri.org/"/><xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/><xsd:import schemaLocation="xsd4.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></xsd:schema></wsdl:types><wsdl:message name="IComplexDataTypesDocLitW_RetArrayString1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayString1D"/></wsdl:message><wsdl:message name="IComplexDat!
aTypesDocLitW_RetArrayString1D_OutputMessage"><wsdl:part name="paramet
ers" element="tns:RetArrayString1DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayInt1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayInt1D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayInt1D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayInt1DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayDecimal1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayDecimal1D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayDecimal1D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayDecimal1DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayDateTime1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayDateTime1D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayDateTime1D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayDateTime1DResponse"/></wsd!
l:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayString2D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayString2D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayString2D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayString2DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArray1D_SN_InputMessage"><wsdl:part name="parameters" element="tns:RetArray1D_SN"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArray1D_SN_OutputMessage"><wsdl:part name="parameters" element="tns:RetArray1D_SNResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayAnyType1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayAnyType1D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayAnyType1D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayAnyType1DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_Re!
tStructS1_InputMessage"><wsdl:part name="parameters" element="tns:RetS
tructS1"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructS1_OutputMessage"><wsdl:part name="parameters" element="tns:RetStructS1Response"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSN_InputMessage"><wsdl:part name="parameters" element="tns:RetStructSN"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSN_OutputMessage"><wsdl:part name="parameters" element="tns:RetStructSNResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSA_InputMessage"><wsdl:part name="parameters" element="tns:RetStructSNSA"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSA_OutputMessage"><wsdl:part name="parameters" element="tns:RetStructSNSAResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSAS_InputMessage"><wsdl:part name="parameters" element="tns:RetStructSNSAS"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSAS_OutputMessa!
ge"><wsdl:part name="parameters" element="tns:RetStructSNSASResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetEnumString_InputMessage"><wsdl:part name="parameters" element="tns:RetEnumString"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetEnumString_OutputMessage"><wsdl:part name="parameters" element="tns:RetEnumStringResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetEnumInt_InputMessage"><wsdl:part name="parameters" element="tns:RetEnumInt"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetEnumInt_OutputMessage"><wsdl:part name="parameters" element="tns:RetEnumIntResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetDerivedClass_InputMessage"><wsdl:part name="parameters" element="tns:RetDerivedClass"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetDerivedClass_OutputMessage"><wsdl:part name="parameters" element="tns:RetDerivedClassResponse"/></wsdl:message><ws!
dl:portType msc:usingSession="false" name="IComplexDataTypesDocLitW"><
wsdl:operation name="RetArrayString1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D" message="tns:IComplexDataTypesDocLitW_RetArrayString1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayString1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayInt1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D" message="tns:IComplexDataTypesDocLitW_RetArrayInt1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayInt1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1D" message="tns:IComplexDataTypesDocLitW_RetArrayDecimal1D_InputMessage"/><wsdl:output wsa10:Action="http://temp!
uri.org/IComplexDataTypesDocLitW/RetArrayDecimal1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayDecimal1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D" message="tns:IComplexDataTypesDocLitW_RetArrayDateTime1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayDateTime1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayString2D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D" message="tns:IComplexDataTypesDocLitW_RetArrayString2D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayString2D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArray1D_SN"><wsdl:input wsa10:Action="!
http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN" message="tn
s:IComplexDataTypesDocLitW_RetArray1D_SN_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SNResponse" message="tns:IComplexDataTypesDocLitW_RetArray1D_SN_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D" message="tns:IComplexDataTypesDocLitW_RetArrayAnyType1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayAnyType1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructS1"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1" message="tns:IComplexDataTypesDocLitW_RetStructS1_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1Response" message="tns:IComplexDataTypesDocLitW_RetStructS1_OutputMessage"/></wsdl:operation><wsdl:op!
eration name="RetStructSN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN" message="tns:IComplexDataTypesDocLitW_RetStructSN_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNResponse" message="tns:IComplexDataTypesDocLitW_RetStructSN_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSNSA"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA" message="tns:IComplexDataTypesDocLitW_RetStructSNSA_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAResponse" message="tns:IComplexDataTypesDocLitW_RetStructSNSA_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSNSAS"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS" message="tns:IComplexDataTypesDocLitW_RetStructSNSAS_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStru!
ctSNSASResponse" message="tns:IComplexDataTypesDocLitW_RetStructSNSAS_
OutputMessage"/></wsdl:operation><wsdl:operation name="RetEnumString"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString" message="tns:IComplexDataTypesDocLitW_RetEnumString_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumStringResponse" message="tns:IComplexDataTypesDocLitW_RetEnumString_OutputMessage"/></wsdl:operation><wsdl:operation name="RetEnumInt"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt" message="tns:IComplexDataTypesDocLitW_RetEnumInt_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumIntResponse" message="tns:IComplexDataTypesDocLitW_RetEnumInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDerivedClass"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass" message="tns:IComplexDataTypesDocLitW_RetDerivedClass_InputMessage"/><wsdl:output wsa10:Action="http://tempur!
i.org/IComplexDataTypesDocLitW/RetDerivedClassResponse" message="tns:IComplexDataTypesDocLitW_RetDerivedClass_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IComplexDataTypesDocLitW" type="tns:IComplexDataTypesDocLitW"><wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesDocLitW_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="RetArrayString1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayInt1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><soap:operation!
soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecim
al1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayString2D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArray1D_SN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayAnyType1D!
"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructS1"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSA"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl!
:output></wsdl:operation><wsdl:operation name="RetStructSNSAS"><soap:o
peration soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumString"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumInt"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDerivedClass"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output!
></wsdl:operation></wsdl:binding><wsdl:service name="ComplexDataTypesDocLitWService"><wsdl:port name="BasicHttpBinding_IComplexDataTypesDocLitW" binding="tns:BasicHttpBinding_IComplexDataTypesDocLitW"><soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="ComplexDataTypesDocLitWService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesDocLitW_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://tempuri.org/"/>
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ <xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/>
+ <xsd:import schemaLocation="xsd4.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayString1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayString1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayString1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayString1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayInt1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayInt1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayInt1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayInt1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayDecimal1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayDecimal1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayDecimal1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayDecimal1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayDateTime1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayDateTime1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayDateTime1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayDateTime1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayString2D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayString2D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayString2D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayString2DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArray1D_SN_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArray1D_SN"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArray1D_SN_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArray1D_SNResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayAnyType1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayAnyType1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayAnyType1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayAnyType1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructS1_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructS1"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructS1_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructS1Response"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSN_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSN"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSN_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSA_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNSA"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSA_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNSAResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSAS_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNSAS"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSAS_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNSASResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetEnumString_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetEnumString"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetEnumString_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetEnumStringResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetEnumInt_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetEnumInt"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetEnumInt_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetEnumIntResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetDerivedClass_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetDerivedClass"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetDerivedClass_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetDerivedClassResponse"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IComplexDataTypesDocLitW">
+ <wsdl:operation name="RetArrayString1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D" message="tns:IComplexDataTypesDocLitW_RetArrayString1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayString1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D" message="tns:IComplexDataTypesDocLitW_RetArrayInt1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayInt1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1D" message="tns:IComplexDataTypesDocLitW_RetArrayDecimal1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayDecimal1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D" message="tns:IComplexDataTypesDocLitW_RetArrayDateTime1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayDateTime1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D" message="tns:IComplexDataTypesDocLitW_RetArrayString2D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayString2D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN" message="tns:IComplexDataTypesDocLitW_RetArray1D_SN_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SNResponse" message="tns:IComplexDataTypesDocLitW_RetArray1D_SN_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D" message="tns:IComplexDataTypesDocLitW_RetArrayAnyType1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayAnyType1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1" message="tns:IComplexDataTypesDocLitW_RetStructS1_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1Response" message="tns:IComplexDataTypesDocLitW_RetStructS1_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN" message="tns:IComplexDataTypesDocLitW_RetStructSN_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNResponse" message="tns:IComplexDataTypesDocLitW_RetStructSN_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA" message="tns:IComplexDataTypesDocLitW_RetStructSNSA_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAResponse" message="tns:IComplexDataTypesDocLitW_RetStructSNSA_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS" message="tns:IComplexDataTypesDocLitW_RetStructSNSAS_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSASResponse" message="tns:IComplexDataTypesDocLitW_RetStructSNSAS_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString" message="tns:IComplexDataTypesDocLitW_RetEnumString_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumStringResponse" message="tns:IComplexDataTypesDocLitW_RetEnumString_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt" message="tns:IComplexDataTypesDocLitW_RetEnumInt_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumIntResponse" message="tns:IComplexDataTypesDocLitW_RetEnumInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass" message="tns:IComplexDataTypesDocLitW_RetDerivedClass_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClassResponse" message="tns:IComplexDataTypesDocLitW_RetDerivedClass_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IComplexDataTypesDocLitW" type="tns:IComplexDataTypesDocLitW">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesDocLitW_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="RetArrayString1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="ComplexDataTypesDocLitWService">
+ <wsdl:port name="BasicHttpBinding_IComplexDataTypesDocLitW" binding="tns:BasicHttpBinding_IComplexDataTypesDocLitW">
+ <soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/ComplexDataTypesDocLitW_Service</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesDocLitW_Service/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,289 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="ComplexDataTypesDocLitWService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesDocLitW_po!
licy"><wsp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd0.xsd" namespace="http://tempuri.org/"/><xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/><xsd:import schemaLocation="xsd4.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></xsd:schema></wsdl:types><wsdl:message name="IComplexDataTypesDocLitW_RetArrayString1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayString1D"/></wsdl:message><wsdl:message name="IComplexDat!
aTypesDocLitW_RetArrayString1D_OutputMessage"><wsdl:part name="paramet
ers" element="tns:RetArrayString1DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayInt1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayInt1D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayInt1D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayInt1DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayDecimal1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayDecimal1D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayDecimal1D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayDecimal1DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayDateTime1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayDateTime1D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayDateTime1D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayDateTime1DResponse"/></wsd!
l:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayString2D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayString2D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayString2D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayString2DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArray1D_SN_InputMessage"><wsdl:part name="parameters" element="tns:RetArray1D_SN"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArray1D_SN_OutputMessage"><wsdl:part name="parameters" element="tns:RetArray1D_SNResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayAnyType1D_InputMessage"><wsdl:part name="parameters" element="tns:RetArrayAnyType1D"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetArrayAnyType1D_OutputMessage"><wsdl:part name="parameters" element="tns:RetArrayAnyType1DResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_Re!
tStructS1_InputMessage"><wsdl:part name="parameters" element="tns:RetS
tructS1"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructS1_OutputMessage"><wsdl:part name="parameters" element="tns:RetStructS1Response"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSN_InputMessage"><wsdl:part name="parameters" element="tns:RetStructSN"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSN_OutputMessage"><wsdl:part name="parameters" element="tns:RetStructSNResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSA_InputMessage"><wsdl:part name="parameters" element="tns:RetStructSNSA"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSA_OutputMessage"><wsdl:part name="parameters" element="tns:RetStructSNSAResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSAS_InputMessage"><wsdl:part name="parameters" element="tns:RetStructSNSAS"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSAS_OutputMessa!
ge"><wsdl:part name="parameters" element="tns:RetStructSNSASResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetEnumString_InputMessage"><wsdl:part name="parameters" element="tns:RetEnumString"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetEnumString_OutputMessage"><wsdl:part name="parameters" element="tns:RetEnumStringResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetEnumInt_InputMessage"><wsdl:part name="parameters" element="tns:RetEnumInt"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetEnumInt_OutputMessage"><wsdl:part name="parameters" element="tns:RetEnumIntResponse"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetDerivedClass_InputMessage"><wsdl:part name="parameters" element="tns:RetDerivedClass"/></wsdl:message><wsdl:message name="IComplexDataTypesDocLitW_RetDerivedClass_OutputMessage"><wsdl:part name="parameters" element="tns:RetDerivedClassResponse"/></wsdl:message><ws!
dl:portType msc:usingSession="false" name="IComplexDataTypesDocLitW"><
wsdl:operation name="RetArrayString1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D" message="tns:IComplexDataTypesDocLitW_RetArrayString1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayString1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayInt1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D" message="tns:IComplexDataTypesDocLitW_RetArrayInt1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayInt1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1D" message="tns:IComplexDataTypesDocLitW_RetArrayDecimal1D_InputMessage"/><wsdl:output wsa10:Action="http://temp!
uri.org/IComplexDataTypesDocLitW/RetArrayDecimal1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayDecimal1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D" message="tns:IComplexDataTypesDocLitW_RetArrayDateTime1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayDateTime1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayString2D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D" message="tns:IComplexDataTypesDocLitW_RetArrayString2D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayString2D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArray1D_SN"><wsdl:input wsa10:Action="!
http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN" message="tn
s:IComplexDataTypesDocLitW_RetArray1D_SN_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SNResponse" message="tns:IComplexDataTypesDocLitW_RetArray1D_SN_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D" message="tns:IComplexDataTypesDocLitW_RetArrayAnyType1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayAnyType1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructS1"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1" message="tns:IComplexDataTypesDocLitW_RetStructS1_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1Response" message="tns:IComplexDataTypesDocLitW_RetStructS1_OutputMessage"/></wsdl:operation><wsdl:op!
eration name="RetStructSN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN" message="tns:IComplexDataTypesDocLitW_RetStructSN_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNResponse" message="tns:IComplexDataTypesDocLitW_RetStructSN_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSNSA"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA" message="tns:IComplexDataTypesDocLitW_RetStructSNSA_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAResponse" message="tns:IComplexDataTypesDocLitW_RetStructSNSA_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSNSAS"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS" message="tns:IComplexDataTypesDocLitW_RetStructSNSAS_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStru!
ctSNSASResponse" message="tns:IComplexDataTypesDocLitW_RetStructSNSAS_
OutputMessage"/></wsdl:operation><wsdl:operation name="RetEnumString"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString" message="tns:IComplexDataTypesDocLitW_RetEnumString_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumStringResponse" message="tns:IComplexDataTypesDocLitW_RetEnumString_OutputMessage"/></wsdl:operation><wsdl:operation name="RetEnumInt"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt" message="tns:IComplexDataTypesDocLitW_RetEnumInt_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumIntResponse" message="tns:IComplexDataTypesDocLitW_RetEnumInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDerivedClass"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass" message="tns:IComplexDataTypesDocLitW_RetDerivedClass_InputMessage"/><wsdl:output wsa10:Action="http://tempur!
i.org/IComplexDataTypesDocLitW/RetDerivedClassResponse" message="tns:IComplexDataTypesDocLitW_RetDerivedClass_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IComplexDataTypesDocLitW" type="tns:IComplexDataTypesDocLitW"><wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesDocLitW_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="RetArrayString1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayInt1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><soap:operation!
soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecim
al1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayString2D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArray1D_SN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayAnyType1D!
"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructS1"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSA"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl!
:output></wsdl:operation><wsdl:operation name="RetStructSNSAS"><soap:o
peration soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumString"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumInt"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDerivedClass"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output!
></wsdl:operation></wsdl:binding><wsdl:service name="ComplexDataTypesDocLitWService"><wsdl:port name="BasicHttpBinding_IComplexDataTypesDocLitW" binding="tns:BasicHttpBinding_IComplexDataTypesDocLitW"><soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="ComplexDataTypesDocLitWService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://tempuri.org/"/>
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ <xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/>
+ <xsd:import schemaLocation="xsd4.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayString1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayString1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayString1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayString1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayInt1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayInt1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayInt1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayInt1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayDecimal1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayDecimal1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayDecimal1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayDecimal1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayDateTime1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayDateTime1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayDateTime1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayDateTime1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayString2D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayString2D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayString2D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayString2DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArray1D_SN_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArray1D_SN"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArray1D_SN_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArray1D_SNResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayAnyType1D_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayAnyType1D"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetArrayAnyType1D_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetArrayAnyType1DResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructS1_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructS1"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructS1_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructS1Response"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSN_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSN"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSN_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSA_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNSA"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSA_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNSAResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSAS_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNSAS"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetStructSNSAS_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetStructSNSASResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetEnumString_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetEnumString"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetEnumString_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetEnumStringResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetEnumInt_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetEnumInt"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetEnumInt_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetEnumIntResponse"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetDerivedClass_InputMessage">
+ <wsdl:part name="parameters" element="tns:RetDerivedClass"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesDocLitW_RetDerivedClass_OutputMessage">
+ <wsdl:part name="parameters" element="tns:RetDerivedClassResponse"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IComplexDataTypesDocLitW">
+ <wsdl:operation name="RetArrayString1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D" message="tns:IComplexDataTypesDocLitW_RetArrayString1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayString1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D" message="tns:IComplexDataTypesDocLitW_RetArrayInt1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayInt1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1D" message="tns:IComplexDataTypesDocLitW_RetArrayDecimal1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayDecimal1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D" message="tns:IComplexDataTypesDocLitW_RetArrayDateTime1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayDateTime1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D" message="tns:IComplexDataTypesDocLitW_RetArrayString2D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayString2D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN" message="tns:IComplexDataTypesDocLitW_RetArray1D_SN_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SNResponse" message="tns:IComplexDataTypesDocLitW_RetArray1D_SN_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D" message="tns:IComplexDataTypesDocLitW_RetArrayAnyType1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1DResponse" message="tns:IComplexDataTypesDocLitW_RetArrayAnyType1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1" message="tns:IComplexDataTypesDocLitW_RetStructS1_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1Response" message="tns:IComplexDataTypesDocLitW_RetStructS1_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN" message="tns:IComplexDataTypesDocLitW_RetStructSN_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNResponse" message="tns:IComplexDataTypesDocLitW_RetStructSN_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA" message="tns:IComplexDataTypesDocLitW_RetStructSNSA_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAResponse" message="tns:IComplexDataTypesDocLitW_RetStructSNSA_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS" message="tns:IComplexDataTypesDocLitW_RetStructSNSAS_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSASResponse" message="tns:IComplexDataTypesDocLitW_RetStructSNSAS_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString" message="tns:IComplexDataTypesDocLitW_RetEnumString_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumStringResponse" message="tns:IComplexDataTypesDocLitW_RetEnumString_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt" message="tns:IComplexDataTypesDocLitW_RetEnumInt_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumIntResponse" message="tns:IComplexDataTypesDocLitW_RetEnumInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass" message="tns:IComplexDataTypesDocLitW_RetDerivedClass_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClassResponse" message="tns:IComplexDataTypesDocLitW_RetDerivedClass_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IComplexDataTypesDocLitW" type="tns:IComplexDataTypesDocLitW">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesDocLitW_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="RetArrayString1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayInt1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDecimal1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayDateTime1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayString2D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArray1D_SN" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetArrayAnyType1D" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructS1" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSN" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSA" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetStructSNSAS" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumString" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetEnumInt" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesDocLitW/RetDerivedClass" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="ComplexDataTypesDocLitWService">
+ <wsdl:port name="BasicHttpBinding_IComplexDataTypesDocLitW" binding="tns:BasicHttpBinding_IComplexDataTypesDocLitW">
+ <soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/META-INF/scenarios.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/META-INF/scenarios.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/META-INF/scenarios.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -6,4 +6,7 @@
<scenario name="msft-public" decsription="Testing MSFT public interop endpoints">
<target-endpoint>http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc</target-endpoint>
</scenario>
-</client-scenarios>
\ No newline at end of file
+ <scenario name="msft-private" decsription="Testing MSFT public interop endpoints">
+ <target-endpoint>http://10.10.32.186/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc</target-endpoint>
+ </scenario>
+</client-scenarios>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,295 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="ComplexDataTypesRpcLitService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesRpcLit_poli!
cy"><wsp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/><xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></xsd:schema></wsdl:types><wsdl:message name="IComplexDataTypesRpcLit_RetArrayString1D_InputMessage"><wsdl:part name="inArrayString1D" type="q1:ArrayOfstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesR!
pcLit_RetArrayString1D_OutputMessage"><wsdl:part name="RetArrayString1
DResult" type="q2:ArrayOfstring" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayInt1D_InputMessage"><wsdl:part name="inArrayInt1D" type="q3:ArrayOfint" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayInt1D_OutputMessage"><wsdl:part name="RetArrayInt1DResult" type="q4:ArrayOfint" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayDecimal1D_InputMessage"><wsdl:part name="inArrayDecimal1D" type="q5:ArrayOfNullableOfdecimal" xmlns:q5="http://schemas.datacontract.org/2004/07/System"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayDecimal1D_OutputMessage"><wsdl:part name="RetArrayDecimal1DResult" type="q6:ArrayOfNullableOfdecimal" xmlns:q6="http://schemas.datacontract.org/2004/07/System"/></wsdl:messa!
ge><wsdl:message name="IComplexDataTypesRpcLit_RetArrayDateTime1D_InputMessage"><wsdl:part name="inArrayDateTime1D" type="q7:ArrayOfNullableOfdateTime" xmlns:q7="http://schemas.datacontract.org/2004/07/System"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayDateTime1D_OutputMessage"><wsdl:part name="RetArrayDateTime1DResult" type="q8:ArrayOfNullableOfdateTime" xmlns:q8="http://schemas.datacontract.org/2004/07/System"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayString2D_InputMessage"><wsdl:part name="inArrayString2D" type="q9:ArrayOfArrayOfstring" xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayString2D_OutputMessage"><wsdl:part name="RetArrayString2DResult" type="q10:ArrayOfArrayOfstring" xmlns:q10="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArray1D_SN_InputMessage"!
><wsdl:part name="inArray1D_SN" type="q11:ArrayOfPerson" xmlns:q11="ht
tp://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArray1D_SN_OutputMessage"><wsdl:part name="RetArray1D_SNResult" type="q12:ArrayOfPerson" xmlns:q12="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayAnyType1D_InputMessage"><wsdl:part name="inArrayAnyType1D" type="q13:ArrayOfanyType" xmlns:q13="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayAnyType1D_OutputMessage"><wsdl:part name="RetArrayAnyType1DResult" type="q14:ArrayOfanyType" xmlns:q14="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructS1_InputMessage"><wsdl:part name="inStructS1" type="q15:Name" xmlns:q15="http://schemas.datac!
ontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructS1_OutputMessage"><wsdl:part name="RetStructS1Result" type="q16:Name" xmlns:q16="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSN_InputMessage"><wsdl:part name="inStructSN" type="q17:Person" xmlns:q17="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSN_OutputMessage"><wsdl:part name="RetStructSNResult" type="q18:Person" xmlns:q18="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSA_InputMessage"><wsdl:part name="inStructSNSA" type="q19:Employee"!
xmlns:q19="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsd
l.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSA_OutputMessage"><wsdl:part name="RetStructSNSAResult" type="q20:Employee" xmlns:q20="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSAS_InputMessage"><wsdl:part name="inStructSNSAS" type="q21:Group" xmlns:q21="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSAS_OutputMessage"><wsdl:part name="RetStructSNSASResult" type="q22:Group" xmlns:q22="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetEnumString_InputMessage"><wsdl:part name="inEnumString" type="q23:BitMask" xmlns:q23="http://sch!
emas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetEnumString_OutputMessage"><wsdl:part name="RetEnumStringResult" type="q24:BitMask" xmlns:q24="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetEnumInt_InputMessage"><wsdl:part name="inEnumInt" type="q25:IntSet" xmlns:q25="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetEnumInt_OutputMessage"><wsdl:part name="RetEnumIntResult" type="q26:IntSet" xmlns:q26="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetDerivedClass_InputMessage"><wsdl:part name="inDerivedClass" ty!
pe="q27:Table" xmlns:q27="http://schemas.datacontract.org/2004/07/XwsI
nterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetDerivedClass_OutputMessage"><wsdl:part name="RetDerivedClassResult" type="q28:Table" xmlns:q28="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:portType msc:usingSession="false" name="IComplexDataTypesRpcLit"><wsdl:operation name="RetArrayString1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D" message="tns:IComplexDataTypesRpcLit_RetArrayString1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayString1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayInt1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D" message="tns:IComplexDataTypesRpcLit_RetArrayInt1D_InputMessage"/><wsdl:out!
put wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayInt1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D" message="tns:IComplexDataTypesRpcLit_RetArrayDecimal1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayDecimal1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D" message="tns:IComplexDataTypesRpcLit_RetArrayDateTime1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayDateTime1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayString2D"><wsdl:i!
nput wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray
String2D" message="tns:IComplexDataTypesRpcLit_RetArrayString2D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayString2D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArray1D_SN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN" message="tns:IComplexDataTypesRpcLit_RetArray1D_SN_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SNResponse" message="tns:IComplexDataTypesRpcLit_RetArray1D_SN_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D" message="tns:IComplexDataTypesRpcLit_RetArrayAnyType1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayAnyType1D_OutputMessag!
e"/></wsdl:operation><wsdl:operation name="RetStructS1"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1" message="tns:IComplexDataTypesRpcLit_RetStructS1_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1Response" message="tns:IComplexDataTypesRpcLit_RetStructS1_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN" message="tns:IComplexDataTypesRpcLit_RetStructSN_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNResponse" message="tns:IComplexDataTypesRpcLit_RetStructSN_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSNSA"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA" message="tns:IComplexDataTypesRpcLit_RetStructSNSA_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/Re!
tStructSNSAResponse" message="tns:IComplexDataTypesRpcLit_RetStructSNS
A_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSNSAS"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAS" message="tns:IComplexDataTypesRpcLit_RetStructSNSAS_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSASResponse" message="tns:IComplexDataTypesRpcLit_RetStructSNSAS_OutputMessage"/></wsdl:operation><wsdl:operation name="RetEnumString"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString" message="tns:IComplexDataTypesRpcLit_RetEnumString_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumStringResponse" message="tns:IComplexDataTypesRpcLit_RetEnumString_OutputMessage"/></wsdl:operation><wsdl:operation name="RetEnumInt"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt" message="tns:IComplexDataTypesRpcLit_RetEnumInt_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.o!
rg/IComplexDataTypesRpcLit/RetEnumIntResponse" message="tns:IComplexDataTypesRpcLit_RetEnumInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDerivedClass"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClass" message="tns:IComplexDataTypesRpcLit_RetDerivedClass_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClassResponse" message="tns:IComplexDataTypesRpcLit_RetDerivedClass_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IComplexDataTypesRpcLit" type="tns:IComplexDataTypesRpcLit"><wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesRpcLit_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/><wsdl:operation name="RetArrayString1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:i!
nput><wsdl:output><soap:body use="literal" namespace="http://tempuri.o
rg/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayInt1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></!
wsdl:output></wsdl:operation><wsdl:operation name="RetArrayString2D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArray1D_SN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output!
></wsdl:operation><wsdl:operation name="RetStructS1"><soap:operation s
oapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSA"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSAS"><soap:operation soapAction="http://tempuri.org/I!
ComplexDataTypesRpcLit/RetStructSNSAS" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumString"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumInt"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDerivedClass"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetDe!
rivedClass" style="rpc"/><wsdl:input><soap:body use="literal" namespac
e="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="ComplexDataTypesRpcLitService"><wsdl:port name="BasicHttpBinding_IComplexDataTypesRpcLit" binding="tns:BasicHttpBinding_IComplexDataTypesRpcLit"><soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="ComplexDataTypesRpcLitService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesRpcLit_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/>
+ <xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayString1D_InputMessage">
+ <wsdl:part name="inArrayString1D" type="q1:ArrayOfstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayString1D_OutputMessage">
+ <wsdl:part name="RetArrayString1DResult" type="q2:ArrayOfstring" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayInt1D_InputMessage">
+ <wsdl:part name="inArrayInt1D" type="q3:ArrayOfint" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayInt1D_OutputMessage">
+ <wsdl:part name="RetArrayInt1DResult" type="q4:ArrayOfint" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayDecimal1D_InputMessage">
+ <wsdl:part name="inArrayDecimal1D" type="q5:ArrayOfNullableOfdecimal" xmlns:q5="http://schemas.datacontract.org/2004/07/System"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayDecimal1D_OutputMessage">
+ <wsdl:part name="RetArrayDecimal1DResult" type="q6:ArrayOfNullableOfdecimal" xmlns:q6="http://schemas.datacontract.org/2004/07/System"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayDateTime1D_InputMessage">
+ <wsdl:part name="inArrayDateTime1D" type="q7:ArrayOfNullableOfdateTime" xmlns:q7="http://schemas.datacontract.org/2004/07/System"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayDateTime1D_OutputMessage">
+ <wsdl:part name="RetArrayDateTime1DResult" type="q8:ArrayOfNullableOfdateTime" xmlns:q8="http://schemas.datacontract.org/2004/07/System"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayString2D_InputMessage">
+ <wsdl:part name="inArrayString2D" type="q9:ArrayOfArrayOfstring" xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayString2D_OutputMessage">
+ <wsdl:part name="RetArrayString2DResult" type="q10:ArrayOfArrayOfstring" xmlns:q10="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArray1D_SN_InputMessage">
+ <wsdl:part name="inArray1D_SN" type="q11:ArrayOfPerson" xmlns:q11="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArray1D_SN_OutputMessage">
+ <wsdl:part name="RetArray1D_SNResult" type="q12:ArrayOfPerson" xmlns:q12="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayAnyType1D_InputMessage">
+ <wsdl:part name="inArrayAnyType1D" type="q13:ArrayOfanyType" xmlns:q13="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayAnyType1D_OutputMessage">
+ <wsdl:part name="RetArrayAnyType1DResult" type="q14:ArrayOfanyType" xmlns:q14="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructS1_InputMessage">
+ <wsdl:part name="inStructS1" type="q15:Name" xmlns:q15="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructS1_OutputMessage">
+ <wsdl:part name="RetStructS1Result" type="q16:Name" xmlns:q16="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSN_InputMessage">
+ <wsdl:part name="inStructSN" type="q17:Person" xmlns:q17="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSN_OutputMessage">
+ <wsdl:part name="RetStructSNResult" type="q18:Person" xmlns:q18="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSA_InputMessage">
+ <wsdl:part name="inStructSNSA" type="q19:Employee" xmlns:q19="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSA_OutputMessage">
+ <wsdl:part name="RetStructSNSAResult" type="q20:Employee" xmlns:q20="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSAS_InputMessage">
+ <wsdl:part name="inStructSNSAS" type="q21:Group" xmlns:q21="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSAS_OutputMessage">
+ <wsdl:part name="RetStructSNSASResult" type="q22:Group" xmlns:q22="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetEnumString_InputMessage">
+ <wsdl:part name="inEnumString" type="q23:BitMask" xmlns:q23="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetEnumString_OutputMessage">
+ <wsdl:part name="RetEnumStringResult" type="q24:BitMask" xmlns:q24="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetEnumInt_InputMessage">
+ <wsdl:part name="inEnumInt" type="q25:IntSet" xmlns:q25="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetEnumInt_OutputMessage">
+ <wsdl:part name="RetEnumIntResult" type="q26:IntSet" xmlns:q26="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetDerivedClass_InputMessage">
+ <wsdl:part name="inDerivedClass" type="q27:Table" xmlns:q27="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetDerivedClass_OutputMessage">
+ <wsdl:part name="RetDerivedClassResult" type="q28:Table" xmlns:q28="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IComplexDataTypesRpcLit">
+ <wsdl:operation name="RetArrayString1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D" message="tns:IComplexDataTypesRpcLit_RetArrayString1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayString1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D" message="tns:IComplexDataTypesRpcLit_RetArrayInt1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayInt1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D" message="tns:IComplexDataTypesRpcLit_RetArrayDecimal1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayDecimal1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D" message="tns:IComplexDataTypesRpcLit_RetArrayDateTime1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayDateTime1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2D" message="tns:IComplexDataTypesRpcLit_RetArrayString2D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayString2D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN" message="tns:IComplexDataTypesRpcLit_RetArray1D_SN_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SNResponse" message="tns:IComplexDataTypesRpcLit_RetArray1D_SN_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D" message="tns:IComplexDataTypesRpcLit_RetArrayAnyType1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayAnyType1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1" message="tns:IComplexDataTypesRpcLit_RetStructS1_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1Response" message="tns:IComplexDataTypesRpcLit_RetStructS1_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN" message="tns:IComplexDataTypesRpcLit_RetStructSN_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNResponse" message="tns:IComplexDataTypesRpcLit_RetStructSN_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA" message="tns:IComplexDataTypesRpcLit_RetStructSNSA_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAResponse" message="tns:IComplexDataTypesRpcLit_RetStructSNSA_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAS" message="tns:IComplexDataTypesRpcLit_RetStructSNSAS_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSASResponse" message="tns:IComplexDataTypesRpcLit_RetStructSNSAS_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString" message="tns:IComplexDataTypesRpcLit_RetEnumString_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumStringResponse" message="tns:IComplexDataTypesRpcLit_RetEnumString_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt" message="tns:IComplexDataTypesRpcLit_RetEnumInt_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumIntResponse" message="tns:IComplexDataTypesRpcLit_RetEnumInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClass" message="tns:IComplexDataTypesRpcLit_RetDerivedClass_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClassResponse" message="tns:IComplexDataTypesRpcLit_RetDerivedClass_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IComplexDataTypesRpcLit" type="tns:IComplexDataTypesRpcLit">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesRpcLit_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <wsdl:operation name="RetArrayString1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAS" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClass" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="ComplexDataTypesRpcLitService">
+ <wsdl:port name="BasicHttpBinding_IComplexDataTypesRpcLit" binding="tns:BasicHttpBinding_IComplexDataTypesRpcLit">
+ <soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/ComplexDataTypesRpcLit_Service</context-root>
<depends>jboss.ws:service=WebServiceDeployerJSE</depends>
Modified: branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/WEB-INF/wsdl/service.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/WEB-INF/wsdl/service.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/interop/microsoft/soapwsdl/ComplexDataTypesRpcLit_Service/WEB-INF/wsdl/service.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1 +1,288 @@
-<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="ComplexDataTypesRpcLitService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="BasicHttpBinding_IComplexDataTypesRpcLit_poli!
cy"><wsp:ExactlyOne><wsp:All><wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/><xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></xsd:schema></wsdl:types><wsdl:message name="IComplexDataTypesRpcLit_RetArrayString1D_InputMessage"><wsdl:part name="inArrayString1D" type="q1:ArrayOfstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesR!
pcLit_RetArrayString1D_OutputMessage"><wsdl:part name="RetArrayString1
DResult" type="q2:ArrayOfstring" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayInt1D_InputMessage"><wsdl:part name="inArrayInt1D" type="q3:ArrayOfint" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayInt1D_OutputMessage"><wsdl:part name="RetArrayInt1DResult" type="q4:ArrayOfint" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayDecimal1D_InputMessage"><wsdl:part name="inArrayDecimal1D" type="q5:ArrayOfNullableOfdecimal" xmlns:q5="http://schemas.datacontract.org/2004/07/System"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayDecimal1D_OutputMessage"><wsdl:part name="RetArrayDecimal1DResult" type="q6:ArrayOfNullableOfdecimal" xmlns:q6="http://schemas.datacontract.org/2004/07/System"/></wsdl:messa!
ge><wsdl:message name="IComplexDataTypesRpcLit_RetArrayDateTime1D_InputMessage"><wsdl:part name="inArrayDateTime1D" type="q7:ArrayOfNullableOfdateTime" xmlns:q7="http://schemas.datacontract.org/2004/07/System"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayDateTime1D_OutputMessage"><wsdl:part name="RetArrayDateTime1DResult" type="q8:ArrayOfNullableOfdateTime" xmlns:q8="http://schemas.datacontract.org/2004/07/System"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayString2D_InputMessage"><wsdl:part name="inArrayString2D" type="q9:ArrayOfArrayOfstring" xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayString2D_OutputMessage"><wsdl:part name="RetArrayString2DResult" type="q10:ArrayOfArrayOfstring" xmlns:q10="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArray1D_SN_InputMessage"!
><wsdl:part name="inArray1D_SN" type="q11:ArrayOfPerson" xmlns:q11="ht
tp://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArray1D_SN_OutputMessage"><wsdl:part name="RetArray1D_SNResult" type="q12:ArrayOfPerson" xmlns:q12="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayAnyType1D_InputMessage"><wsdl:part name="inArrayAnyType1D" type="q13:ArrayOfanyType" xmlns:q13="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetArrayAnyType1D_OutputMessage"><wsdl:part name="RetArrayAnyType1DResult" type="q14:ArrayOfanyType" xmlns:q14="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructS1_InputMessage"><wsdl:part name="inStructS1" type="q15:Name" xmlns:q15="http://schemas.datac!
ontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructS1_OutputMessage"><wsdl:part name="RetStructS1Result" type="q16:Name" xmlns:q16="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSN_InputMessage"><wsdl:part name="inStructSN" type="q17:Person" xmlns:q17="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSN_OutputMessage"><wsdl:part name="RetStructSNResult" type="q18:Person" xmlns:q18="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSA_InputMessage"><wsdl:part name="inStructSNSA" type="q19:Employee"!
xmlns:q19="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsd
l.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSA_OutputMessage"><wsdl:part name="RetStructSNSAResult" type="q20:Employee" xmlns:q20="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSAS_InputMessage"><wsdl:part name="inStructSNSAS" type="q21:Group" xmlns:q21="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSAS_OutputMessage"><wsdl:part name="RetStructSNSASResult" type="q22:Group" xmlns:q22="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetEnumString_InputMessage"><wsdl:part name="inEnumString" type="q23:BitMask" xmlns:q23="http://sch!
emas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetEnumString_OutputMessage"><wsdl:part name="RetEnumStringResult" type="q24:BitMask" xmlns:q24="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetEnumInt_InputMessage"><wsdl:part name="inEnumInt" type="q25:IntSet" xmlns:q25="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetEnumInt_OutputMessage"><wsdl:part name="RetEnumIntResult" type="q26:IntSet" xmlns:q26="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetDerivedClass_InputMessage"><wsdl:part name="inDerivedClass" ty!
pe="q27:Table" xmlns:q27="http://schemas.datacontract.org/2004/07/XwsI
nterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:message name="IComplexDataTypesRpcLit_RetDerivedClass_OutputMessage"><wsdl:part name="RetDerivedClassResult" type="q28:Table" xmlns:q28="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/></wsdl:message><wsdl:portType msc:usingSession="false" name="IComplexDataTypesRpcLit"><wsdl:operation name="RetArrayString1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D" message="tns:IComplexDataTypesRpcLit_RetArrayString1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayString1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayInt1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D" message="tns:IComplexDataTypesRpcLit_RetArrayInt1D_InputMessage"/><wsdl:out!
put wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayInt1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D" message="tns:IComplexDataTypesRpcLit_RetArrayDecimal1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayDecimal1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D" message="tns:IComplexDataTypesRpcLit_RetArrayDateTime1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayDateTime1D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayString2D"><wsdl:i!
nput wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray
String2D" message="tns:IComplexDataTypesRpcLit_RetArrayString2D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayString2D_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArray1D_SN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN" message="tns:IComplexDataTypesRpcLit_RetArray1D_SN_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SNResponse" message="tns:IComplexDataTypesRpcLit_RetArray1D_SN_OutputMessage"/></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D" message="tns:IComplexDataTypesRpcLit_RetArrayAnyType1D_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayAnyType1D_OutputMessag!
e"/></wsdl:operation><wsdl:operation name="RetStructS1"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1" message="tns:IComplexDataTypesRpcLit_RetStructS1_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1Response" message="tns:IComplexDataTypesRpcLit_RetStructS1_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSN"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN" message="tns:IComplexDataTypesRpcLit_RetStructSN_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNResponse" message="tns:IComplexDataTypesRpcLit_RetStructSN_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSNSA"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA" message="tns:IComplexDataTypesRpcLit_RetStructSNSA_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/Re!
tStructSNSAResponse" message="tns:IComplexDataTypesRpcLit_RetStructSNS
A_OutputMessage"/></wsdl:operation><wsdl:operation name="RetStructSNSAS"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAS" message="tns:IComplexDataTypesRpcLit_RetStructSNSAS_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSASResponse" message="tns:IComplexDataTypesRpcLit_RetStructSNSAS_OutputMessage"/></wsdl:operation><wsdl:operation name="RetEnumString"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString" message="tns:IComplexDataTypesRpcLit_RetEnumString_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumStringResponse" message="tns:IComplexDataTypesRpcLit_RetEnumString_OutputMessage"/></wsdl:operation><wsdl:operation name="RetEnumInt"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt" message="tns:IComplexDataTypesRpcLit_RetEnumInt_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.o!
rg/IComplexDataTypesRpcLit/RetEnumIntResponse" message="tns:IComplexDataTypesRpcLit_RetEnumInt_OutputMessage"/></wsdl:operation><wsdl:operation name="RetDerivedClass"><wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClass" message="tns:IComplexDataTypesRpcLit_RetDerivedClass_InputMessage"/><wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClassResponse" message="tns:IComplexDataTypesRpcLit_RetDerivedClass_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IComplexDataTypesRpcLit" type="tns:IComplexDataTypesRpcLit"><wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesRpcLit_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/><wsdl:operation name="RetArrayString1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:i!
nput><wsdl:output><soap:body use="literal" namespace="http://tempuri.o
rg/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayInt1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDecimal1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayDateTime1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></!
wsdl:output></wsdl:operation><wsdl:operation name="RetArrayString2D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArray1D_SN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetArrayAnyType1D"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output!
></wsdl:operation><wsdl:operation name="RetStructS1"><soap:operation s
oapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSN"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSA"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetStructSNSAS"><soap:operation soapAction="http://tempuri.org/I!
ComplexDataTypesRpcLit/RetStructSNSAS" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumString"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetEnumInt"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt" style="rpc"/><wsdl:input><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation><wsdl:operation name="RetDerivedClass"><soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetDe!
rivedClass" style="rpc"/><wsdl:input><soap:body use="literal" namespac
e="http://tempuri.org/"/></wsdl:input><wsdl:output><soap:body use="literal" namespace="http://tempuri.org/"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="ComplexDataTypesRpcLitService"><wsdl:port name="BasicHttpBinding_IComplexDataTypesRpcLit" binding="tns:BasicHttpBinding_IComplexDataTypesRpcLit"><soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="ComplexDataTypesRpcLitService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsap10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/>
+ <xsd:import schemaLocation="xsd3.xsd" namespace="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayString1D_InputMessage">
+ <wsdl:part name="inArrayString1D" type="q1:ArrayOfstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayString1D_OutputMessage">
+ <wsdl:part name="RetArrayString1DResult" type="q2:ArrayOfstring" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayInt1D_InputMessage">
+ <wsdl:part name="inArrayInt1D" type="q3:ArrayOfint" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayInt1D_OutputMessage">
+ <wsdl:part name="RetArrayInt1DResult" type="q4:ArrayOfint" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayDecimal1D_InputMessage">
+ <wsdl:part name="inArrayDecimal1D" type="q5:ArrayOfNullableOfdecimal" xmlns:q5="http://schemas.datacontract.org/2004/07/System"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayDecimal1D_OutputMessage">
+ <wsdl:part name="RetArrayDecimal1DResult" type="q6:ArrayOfNullableOfdecimal" xmlns:q6="http://schemas.datacontract.org/2004/07/System"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayDateTime1D_InputMessage">
+ <wsdl:part name="inArrayDateTime1D" type="q7:ArrayOfNullableOfdateTime" xmlns:q7="http://schemas.datacontract.org/2004/07/System"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayDateTime1D_OutputMessage">
+ <wsdl:part name="RetArrayDateTime1DResult" type="q8:ArrayOfNullableOfdateTime" xmlns:q8="http://schemas.datacontract.org/2004/07/System"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayString2D_InputMessage">
+ <wsdl:part name="inArrayString2D" type="q9:ArrayOfArrayOfstring" xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayString2D_OutputMessage">
+ <wsdl:part name="RetArrayString2DResult" type="q10:ArrayOfArrayOfstring" xmlns:q10="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArray1D_SN_InputMessage">
+ <wsdl:part name="inArray1D_SN" type="q11:ArrayOfPerson" xmlns:q11="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArray1D_SN_OutputMessage">
+ <wsdl:part name="RetArray1D_SNResult" type="q12:ArrayOfPerson" xmlns:q12="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayAnyType1D_InputMessage">
+ <wsdl:part name="inArrayAnyType1D" type="q13:ArrayOfanyType" xmlns:q13="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetArrayAnyType1D_OutputMessage">
+ <wsdl:part name="RetArrayAnyType1DResult" type="q14:ArrayOfanyType" xmlns:q14="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructS1_InputMessage">
+ <wsdl:part name="inStructS1" type="q15:Name" xmlns:q15="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructS1_OutputMessage">
+ <wsdl:part name="RetStructS1Result" type="q16:Name" xmlns:q16="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSN_InputMessage">
+ <wsdl:part name="inStructSN" type="q17:Person" xmlns:q17="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSN_OutputMessage">
+ <wsdl:part name="RetStructSNResult" type="q18:Person" xmlns:q18="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSA_InputMessage">
+ <wsdl:part name="inStructSNSA" type="q19:Employee" xmlns:q19="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSA_OutputMessage">
+ <wsdl:part name="RetStructSNSAResult" type="q20:Employee" xmlns:q20="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSAS_InputMessage">
+ <wsdl:part name="inStructSNSAS" type="q21:Group" xmlns:q21="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetStructSNSAS_OutputMessage">
+ <wsdl:part name="RetStructSNSASResult" type="q22:Group" xmlns:q22="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetEnumString_InputMessage">
+ <wsdl:part name="inEnumString" type="q23:BitMask" xmlns:q23="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetEnumString_OutputMessage">
+ <wsdl:part name="RetEnumStringResult" type="q24:BitMask" xmlns:q24="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetEnumInt_InputMessage">
+ <wsdl:part name="inEnumInt" type="q25:IntSet" xmlns:q25="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetEnumInt_OutputMessage">
+ <wsdl:part name="RetEnumIntResult" type="q26:IntSet" xmlns:q26="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetDerivedClass_InputMessage">
+ <wsdl:part name="inDerivedClass" type="q27:Table" xmlns:q27="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:message name="IComplexDataTypesRpcLit_RetDerivedClass_OutputMessage">
+ <wsdl:part name="RetDerivedClassResult" type="q28:Table" xmlns:q28="http://schemas.datacontract.org/2004/07/XwsInterop.SoapWsdl.ComplexDataTypes.XmlFormatter.Service.Indigo"/>
+ </wsdl:message>
+ <wsdl:portType msc:usingSession="false" name="IComplexDataTypesRpcLit">
+ <wsdl:operation name="RetArrayString1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D" message="tns:IComplexDataTypesRpcLit_RetArrayString1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayString1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D" message="tns:IComplexDataTypesRpcLit_RetArrayInt1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayInt1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D" message="tns:IComplexDataTypesRpcLit_RetArrayDecimal1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayDecimal1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D" message="tns:IComplexDataTypesRpcLit_RetArrayDateTime1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayDateTime1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2D" message="tns:IComplexDataTypesRpcLit_RetArrayString2D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayString2D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN" message="tns:IComplexDataTypesRpcLit_RetArray1D_SN_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SNResponse" message="tns:IComplexDataTypesRpcLit_RetArray1D_SN_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D" message="tns:IComplexDataTypesRpcLit_RetArrayAnyType1D_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1DResponse" message="tns:IComplexDataTypesRpcLit_RetArrayAnyType1D_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1" message="tns:IComplexDataTypesRpcLit_RetStructS1_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1Response" message="tns:IComplexDataTypesRpcLit_RetStructS1_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN" message="tns:IComplexDataTypesRpcLit_RetStructSN_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNResponse" message="tns:IComplexDataTypesRpcLit_RetStructSN_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA" message="tns:IComplexDataTypesRpcLit_RetStructSNSA_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAResponse" message="tns:IComplexDataTypesRpcLit_RetStructSNSA_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAS" message="tns:IComplexDataTypesRpcLit_RetStructSNSAS_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSASResponse" message="tns:IComplexDataTypesRpcLit_RetStructSNSAS_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString" message="tns:IComplexDataTypesRpcLit_RetEnumString_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumStringResponse" message="tns:IComplexDataTypesRpcLit_RetEnumString_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt" message="tns:IComplexDataTypesRpcLit_RetEnumInt_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumIntResponse" message="tns:IComplexDataTypesRpcLit_RetEnumInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <wsdl:input wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClass" message="tns:IComplexDataTypesRpcLit_RetDerivedClass_InputMessage"/>
+ <wsdl:output wsa10:Action="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClassResponse" message="tns:IComplexDataTypesRpcLit_RetDerivedClass_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IComplexDataTypesRpcLit" type="tns:IComplexDataTypesRpcLit">
+ <wsp:PolicyReference URI="#BasicHttpBinding_IComplexDataTypesRpcLit_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <wsdl:operation name="RetArrayString1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayInt1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayInt1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDecimal1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDecimal1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayDateTime1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayDateTime1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayString2D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayString2D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArray1D_SN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArray1D_SN" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetArrayAnyType1D">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetArrayAnyType1D" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructS1">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructS1" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSN">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSN" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSA">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSA" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetStructSNSAS">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetStructSNSAS" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumString">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumString" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetEnumInt">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetEnumInt" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDerivedClass">
+ <soap:operation soapAction="http://tempuri.org/IComplexDataTypesRpcLit/RetDerivedClass" style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="ComplexDataTypesRpcLitService">
+ <wsdl:port name="BasicHttpBinding_IComplexDataTypesRpcLit" binding="tns:BasicHttpBinding_IComplexDataTypesRpcLit">
+ <soap:address location="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesRpcLit.svc"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/anonymous/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/anonymous/WEB-INF/jaxrpc-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/anonymous/WEB-INF/jaxrpc-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -94,24 +94,6 @@
<wsdl-port-type xmlns:portTypeNS="http://org.jboss.ws/anonymous">portTypeNS:AnonymousTestService</wsdl-port-type>
<wsdl-binding xmlns:bindingNS="http://org.jboss.ws/anonymous">bindingNS:AnonymousTestServiceBinding</wsdl-binding>
<service-endpoint-method-mapping>
- <java-method-name>testComplexTypeRoot</java-method-name>
- <wsdl-operation>testComplexTypeRoot</wsdl-operation>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>org.jboss.test.ws.jaxrpc.anonymous.ComplexTypeRoot</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/anonymous">wsdlMsgNS:AnonymousTestService_testComplexTypeRoot</wsdl-message>
- <wsdl-message-part-name>ComplexTypeRoot_1</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>org.jboss.test.ws.jaxrpc.anonymous.ComplexTypeRoot</method-return-value>
- <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/anonymous">wsdlMsgNS:AnonymousTestService_testComplexTypeRootResponse</wsdl-message>
- <wsdl-message-part-name>result</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- <service-endpoint-method-mapping>
<java-method-name>testElementSomeOtherElement</java-method-name>
<wsdl-operation>testElementSomeOtherElement</wsdl-operation>
<method-param-parts-mapping>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/anonymous/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/anonymous/WEB-INF/wsdl/TestService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/anonymous/WEB-INF/wsdl/TestService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -27,12 +27,6 @@
<element name="someOtherElement" type="xsd:int"/>
</schema>
</types>
- <message name="AnonymousTestService_testComplexTypeRoot">
- <part name="ComplexTypeRoot_1" type="ns2:root"/>
- </message>
- <message name="AnonymousTestService_testComplexTypeRootResponse">
- <part name="result" type="ns2:root"/>
- </message>
<message name="AnonymousTestService_testElementSomeOtherElement">
<part name="int_1" element="ns2:someOtherElement"/>
</message>
@@ -46,10 +40,6 @@
<part name="result" element="ns2:root"/>
</message>
<portType name="AnonymousTestService">
- <operation name="testComplexTypeRoot">
- <input message="tns:AnonymousTestService_testComplexTypeRoot"/>
- <output message="tns:AnonymousTestService_testComplexTypeRootResponse"/>
- </operation>
<operation name="testElementSomeOtherElement">
<input message="tns:AnonymousTestService_testElementSomeOtherElement"/>
<output message="tns:AnonymousTestService_testElementSomeOtherElementResponse"/>
@@ -60,32 +50,23 @@
</operation>
</portType>
<binding name="AnonymousTestServiceBinding" type="tns:AnonymousTestService">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
- <operation name="testComplexTypeRoot">
- <soap:operation soapAction=""/>
- <input>
- <soap:body use="literal" namespace="http://org.jboss.ws/anonymous"/>
- </input>
- <output>
- <soap:body use="literal" namespace="http://org.jboss.ws/anonymous"/>
- </output>
- </operation>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="testElementSomeOtherElement">
<soap:operation soapAction=""/>
<input>
- <soap:body use="literal" namespace="http://org.jboss.ws/anonymous"/>
+ <soap:body use="literal"/>
</input>
<output>
- <soap:body use="literal" namespace="http://org.jboss.ws/anonymous"/>
+ <soap:body use="literal"/>
</output>
</operation>
<operation name="testElementTypeRoot">
<soap:operation soapAction=""/>
<input>
- <soap:body use="literal" namespace="http://org.jboss.ws/anonymous"/>
+ <soap:body use="literal"/>
</input>
<output>
- <soap:body use="literal" namespace="http://org.jboss.ws/anonymous"/>
+ <soap:body use="literal"/>
</output>
</operation>
</binding>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/benchmark/doclit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/benchmark/doclit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/benchmark/doclit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>benchmark-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/benchmark/rpclit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/benchmark/rpclit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/benchmark/rpclit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>benchmark-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/encoded/marshalltest/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,15 +1,12 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
<service-ref>
<service-ref-name>service/TestService</service-ref-name>
- <config-name>Standard MTOM disabled client</config-name>
<wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-encoded-marshalltest/MarshallTest?wsdl</wsdl-override>
</service-ref>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/encoded/marshalltest/WEB-INF/web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/WEB-INF/web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -2,12 +2,7 @@
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
-
- <context-param>
- <param-name>jbossws-config-name</param-name>
- <param-value>Standard MTOM disabled endpoint</param-value>
- </context-param>
-
+
<servlet>
<servlet-name>MarshallTest</servlet-name>
<servlet-class>org.jboss.test.ws.jaxrpc.encoded.marshalltest.MarshallTestImpl</servlet-class>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/WEB-INF/wsdl/MarshallTestService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/encoded/marshalltest/WEB-INF/wsdl/MarshallTestService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/marshalltest/WEB-INF/wsdl/MarshallTestService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -307,6 +307,7 @@
</restriction>
</complexContent>
</complexType>
+ <element name="MyServiceException" type="tns:MyServiceException"/>
</schema>
</types>
<message name="MarshallTest_bigDecimalArrayTest">
@@ -492,7 +493,7 @@
<message name="MarshallTest_myServiceExceptionTest"/>
<message name="MarshallTest_myServiceExceptionTestResponse"/>
<message name="MyServiceException">
- <part name="MyServiceException" type="ns3:MyServiceException"/>
+ <part name="MyServiceException" element="ns3:MyServiceException"/>
</message>
<message name="MarshallTest_shortArrayTest">
<part name="arrayOfshort_1" type="ns3:ArrayOfshort"/>
@@ -1230,4 +1231,4 @@
<soap:address location="http://@jbosstest.host.name@:8080/J2WMT/jaxrpc/MarshallTest"/>
</port>
</service>
-</definitions>
\ No newline at end of file
+</definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/parametermode/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/encoded/parametermode/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/encoded/parametermode/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/enventry/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/enventry/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/enventry/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1010/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1010/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1010/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1011/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1011/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1011/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1107/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1107/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1107/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1121/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1121/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1121/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1124/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1124/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1124/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1124/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1124/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1124/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<class-loading>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1125/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1125/WEB-INF/jaxrpc-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/WEB-INF/jaxrpc-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -3,34 +3,6 @@
<package-type>org.jboss.test.ws.jaxrpc.jbws1125</package-type>
<namespaceURI>http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types</namespaceURI>
</package-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jaxrpc.jbws1125.TestEndpoint_noParamPart_RequestStruct</java-type>
- <root-type-qname xmlns:typeNS='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types'>typeNS:noParamPart</root-type-qname>
- <qname-scope>complexType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jaxrpc.jbws1125.TestEndpoint_noParamPart_ResponseStruct</java-type>
- <root-type-qname xmlns:typeNS='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types'>typeNS:noParamPartResponse</root-type-qname>
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>result</java-variable-name>
- <xml-element-name>result</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jaxrpc.jbws1125.TestEndpoint_noReturnPart_RequestStruct</java-type>
- <root-type-qname xmlns:typeNS='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types'>typeNS:noReturnPart</root-type-qname>
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>string_1</java-variable-name>
- <xml-element-name>String_1</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jaxrpc.jbws1125.TestEndpoint_noReturnPart_ResponseStruct</java-type>
- <root-type-qname xmlns:typeNS='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types'>typeNS:noReturnPartResponse</root-type-qname>
- <qname-scope>complexType</qname-scope>
- </java-xml-type-mapping>
<service-interface-mapping>
<service-interface>org.jboss.test.ws.jaxrpc.jbws1125.TestService</service-interface>
<wsdl-service-name xmlns:serviceNS='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws'>serviceNS:TestService</wsdl-service-name>
@@ -46,23 +18,21 @@
<service-endpoint-method-mapping>
<java-method-name>noParamPart</java-method-name>
<wsdl-operation>noParamPart</wsdl-operation>
- <wrapped-element/>
<wsdl-return-value-mapping>
<method-return-value>java.lang.String</method-return-value>
<wsdl-message xmlns:wsdlMsgNS='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws'>wsdlMsgNS:TestEndpoint_noParamPartResponse</wsdl-message>
- <wsdl-message-part-name>result</wsdl-message-part-name>
+ <wsdl-message-part-name>noParamPartResponse</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
<service-endpoint-method-mapping>
<java-method-name>noReturnPart</java-method-name>
<wsdl-operation>noReturnPart</wsdl-operation>
- <wrapped-element/>
<method-param-parts-mapping>
<param-position>0</param-position>
<param-type>java.lang.String</param-type>
<wsdl-message-mapping>
<wsdl-message xmlns:wsdlMsgNS='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws'>wsdlMsgNS:TestEndpoint_noReturnPart</wsdl-message>
- <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <wsdl-message-part-name>noReturnPart</wsdl-message-part-name>
<parameter-mode>IN</parameter-mode>
</wsdl-message-mapping>
</method-param-parts-mapping>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1125/WEB-INF/wsdl/TestService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/WEB-INF/wsdl/TestService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -2,54 +2,24 @@
<definitions name='TestService' targetNamespace='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types>
<schema targetNamespace='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
- <complexType name='noParamPart'>
- <sequence/>
- </complexType>
- <complexType name='noParamPartResponse'>
- <sequence>
- <element name='result' nillable='true' type='string'/>
- </sequence>
- </complexType>
- <complexType name='noReturnPart'>
- <sequence>
- <element name='String_1' nillable='true' type='string'/>
- </sequence>
- </complexType>
- <complexType name='noReturnPartResponse'>
- <sequence/>
- </complexType>
- <element name='noParamPart' type='tns:noParamPart'/>
- <element name='noParamPartResponse' type='tns:noParamPartResponse'/>
- <element name='noReturnPart' type='tns:noReturnPart'/>
- <element name='noReturnPartResponse' type='tns:noReturnPartResponse'/>
+ <element name='noParamPartResponse' type='string'/>
+ <element name='noReturnPart' type='string'/>
</schema>
</types>
-
- <!--
- BP-1.0 5.3.1 Bindings and Parts
- Use of wsdl:message elements with zero parts is permitted in Document styles to permit operations
- that can send or receive messages with empty soap:Bodys.
- -->
- <message name='TestEndpoint_noParamPart'>
- <!-- part element='ns1:noParamPart' name='parameters'/ -->
- </message>
+ <message name='TestEndpoint_noParamPart'/>
<message name='TestEndpoint_noParamPartResponse'>
- <part element='ns1:noParamPartResponse' name='result'/>
+ <part element='ns1:noParamPartResponse' name='noParamPartResponse'/>
</message>
-
<message name='TestEndpoint_noReturnPart'>
- <part element='ns1:noReturnPart' name='parameters'/>
+ <part element='ns1:noReturnPart' name='noReturnPart'/>
</message>
- <message name='TestEndpoint_noReturnPartResponse'>
- <!-- part element='ns1:noReturnPartResponse' name='result'/ -->
- </message>
-
+ <message name='TestEndpoint_noReturnPartResponse'/>
<portType name='TestEndpoint'>
<operation name='noParamPart'>
<input message='tns:TestEndpoint_noParamPart'/>
<output message='tns:TestEndpoint_noParamPartResponse'/>
</operation>
- <operation name='noReturnPart'>
+ <operation name='noReturnPart' parameterOrder='noReturnPart'>
<input message='tns:TestEndpoint_noReturnPart'/>
<output message='tns:TestEndpoint_noReturnPartResponse'/>
</operation>
@@ -80,4 +50,4 @@
<soap:address location='REPLACE_WITH_ACTUAL_URL'/>
</port>
</service>
-</definitions>
\ No newline at end of file
+</definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1125/wstools-config.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1125/wstools-config.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -7,7 +7,7 @@
<configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
<java-wsdl>
- <service name="TestService" endpoint="org.jboss.test.ws.jaxrpc.jbws1125.TestEndpoint" style="document">
+ <service name="TestService" endpoint="org.jboss.test.ws.jaxrpc.jbws1125.TestEndpoint" style="document" parameter-style="bare">
</service>
<namespaces target-namespace="http://jbws1125.jaxrpc.ws.test.jboss.org/jaws" type-namespace="http://jbws1125.jaxrpc.ws.test.jboss.org/jaws/types"/>
<mapping file="jaxrpc-mapping.xml"/>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1190/WEB-INF/wsdl/ConfidentialService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1190/WEB-INF/wsdl/ConfidentialService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1190/WEB-INF/wsdl/ConfidentialService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name='ConfidentialService' targetNamespace='http://org.jboss.test.ws/jbws1190' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.test.ws/jbws1190' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types/>
- <message name='ConfidentialEndpoint_helloWorld'>
- <part name='String_1' type='xsd:string'/>
- </message>
- <message name='ConfidentialEndpoint_helloWorldResponse'>
- <part name='result' type='xsd:string'/>
- </message>
- <portType name='ConfidentialEndpoint'>
- <operation name='helloWorld' parameterOrder='String_1'>
- <input message='tns:ConfidentialEndpoint_helloWorld'/>
- <output message='tns:ConfidentialEndpoint_helloWorldResponse'/>
- </operation>
- </portType>
- <binding name='ConfidentialEndpointBinding' type='tns:ConfidentialEndpoint'>
- <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='helloWorld'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body namespace='http://org.jboss.test.ws/jbws1190' use='literal'/>
- </input>
- <output>
- <soap:body namespace='http://org.jboss.test.ws/jbws1190' use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='ConfidentialService'>
- <port binding='tns:ConfidentialEndpointBinding' name='ConfidentialEndpointPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
+ <types/>
+ <message name='ConfidentialEndpoint_helloWorld'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='ConfidentialEndpoint_helloWorldResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='ConfidentialEndpoint'>
+ <operation name='helloWorld' parameterOrder='String_1'>
+ <input message='tns:ConfidentialEndpoint_helloWorld'/>
+ <output message='tns:ConfidentialEndpoint_helloWorldResponse'/>
+ </operation>
+ </portType>
+ <binding name='ConfidentialEndpointBinding' type='tns:ConfidentialEndpoint'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='helloWorld'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.test.ws/jbws1190' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.test.ws/jbws1190' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='ConfidentialService'>
+ <port binding='tns:ConfidentialEndpointBinding' name='ConfidentialEndpointPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
</definitions>
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1190/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1190/WEB-INF/wsdl/TestService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1190/WEB-INF/wsdl/TestService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,34 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name='TestService' targetNamespace='http://org.jboss.test.ws/jbws1190' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.test.ws/jbws1190' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types/>
- <message name='TestEndpoint_testAddress'>
- <part name='String_1' type='xsd:string'/>
- <part name='String_2' type='xsd:string'/>
- <part name='String_3' type='xsd:string'/>
- <part name='String_4' type='xsd:string'/>
- </message>
- <message name='TestEndpoint_testAddressResponse'/>
- <portType name='TestEndpoint'>
- <operation name='testAddress' parameterOrder='String_1 String_2 String_3 String_4'>
- <input message='tns:TestEndpoint_testAddress'/>
- <output message='tns:TestEndpoint_testAddressResponse'/>
- </operation>
- </portType>
- <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
- <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='testAddress'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body namespace='http://org.jboss.test.ws/jbws1190' use='literal'/>
- </input>
- <output>
- <soap:body namespace='http://org.jboss.test.ws/jbws1190' use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='TestService'>
- <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
+ <types/>
+ <message name='TestEndpoint_testAddress'>
+ <part name='String_1' type='xsd:string'/>
+ <part name='String_2' type='xsd:string'/>
+ <part name='String_3' type='xsd:string'/>
+ <part name='String_4' type='xsd:string'/>
+ </message>
+ <message name='TestEndpoint_testAddressResponse'/>
+ <portType name='TestEndpoint'>
+ <operation name='testAddress' parameterOrder='String_1 String_2 String_3 String_4'>
+ <input message='tns:TestEndpoint_testAddress'/>
+ <output message='tns:TestEndpoint_testAddressResponse'/>
+ </operation>
+ </portType>
+ <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='testAddress'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.test.ws/jbws1190' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.test.ws/jbws1190' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
</definitions>
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1205/Client/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1205/Client/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1205/Client/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1205/TestEndpoint/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1205/TestEndpoint/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1205/TestEndpoint/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,7 +1,7 @@
-<!DOCTYPE jboss-web PUBLIC
- "-//JBoss//DTD Web Application 2.4//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<service-ref>
Deleted: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1303/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws1303/wstools-config.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws1303/wstools-config.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools
- http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
-
- <global>
- <package-namespace package="org.jboss.test.ws.jaxrpc.jbws1303" namespace="http://netid.msu.edu:8080/lastmod.pl"/>
- </global>
-
- <wsdl-java location="resources/jaxrpc/jbws1303/WEB-INF/wsdl/lastmodified.wsdl" parameter-style="bare">
- <mapping file="jaxrpc-mapping.xml" />
- </wsdl-java>
-
-</configuration>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws231/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws231/WEB-INF/jaxrpc-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/WEB-INF/jaxrpc-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -12,12 +12,6 @@
<qname-scope>simpleType</qname-scope>
</java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jaxrpc.jbws231.EyeColorType</java-type>
- <anonymous-type-qname xmlns:typeNS='http://org.jboss.test.ws/jbws231/types'>typeNS:>EyeColor</anonymous-type-qname>
- <qname-scope>simpleType</qname-scope>
- </java-xml-type-mapping>
-
<service-interface-mapping>
<service-interface>org.jboss.test.ws.jaxrpc.jbws231.TestService</service-interface>
<wsdl-service-name xmlns:serviceNS='http://org.jboss.test.ws/jbws231'>serviceNS:TestService</wsdl-service-name>
@@ -48,23 +42,5 @@
<wsdl-message-part-name>result</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
- <service-endpoint-method-mapping>
- <java-method-name>echoAnonymous</java-method-name>
- <wsdl-operation>echoAnonymous</wsdl-operation>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>org.jboss.test.ws.jaxrpc.jbws231.EyeColorType</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws231'>wsdlMsgNS:TestEndpoint_echoAnonymous</wsdl-message>
- <wsdl-message-part-name>EyeColorType_1</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>org.jboss.test.ws.jaxrpc.jbws231.EyeColorType</method-return-value>
- <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws231'>wsdlMsgNS:TestEndpoint_echoAnonymousResponse</wsdl-message>
- <wsdl-message-part-name>result</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
</service-endpoint-interface-mapping>
-</java-wsdl-mapping>
\ No newline at end of file
+</java-wsdl-mapping>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws231/WEB-INF/wsdl/TestService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws231/WEB-INF/wsdl/TestService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -12,23 +12,8 @@
</restriction>
</simpleType>
- <element name="EyeColor">
- <simpleType>
- <restriction base="xsd:string">
- <enumeration value="green"/>
- <enumeration value="blue"/>
- </restriction>
- </simpleType>
- </element>
-
</schema>
</types>
- <message name='TestEndpoint_echoAnonymous'>
- <part name='EyeColorType_1' element='ns1:EyeColor'/>
- </message>
- <message name='TestEndpoint_echoAnonymousResponse'>
- <part name='result' type='ns1:EyeColorType'/>
- </message>
<message name='TestEndpoint_echoSimple'>
<part name='EyeColorType_1' type='ns1:EyeColorType'/>
</message>
@@ -36,14 +21,6 @@
<part name='result' type='ns1:EyeColorType'/>
</message>
<portType name='TestEndpoint'>
- <!--
- wscompile error: "EyeColorType_1" specified in the parameterOrder attribute of message "echoAnonymous" is not a valid part of the message.
- <operation name='echoAnonymous' parameterOrder='EyeColorType_1'>
- -->
- <operation name='echoAnonymous'>
- <input message='tns:TestEndpoint_echoAnonymous'/>
- <output message='tns:TestEndpoint_echoAnonymousResponse'/>
- </operation>
<operation name='echoSimple' parameterOrder='EyeColorType_1'>
<input message='tns:TestEndpoint_echoSimple'/>
<output message='tns:TestEndpoint_echoSimpleResponse'/>
@@ -51,15 +28,6 @@
</portType>
<binding name='TestEndpointBinding' type='tns:TestEndpoint'>
<soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='echoAnonymous'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body namespace='http://org.jboss.test.ws/jbws231' use='literal'/>
- </input>
- <output>
- <soap:body namespace='http://org.jboss.test.ws/jbws231' use='literal'/>
- </output>
- </operation>
<operation name='echoSimple'>
<soap:operation soapAction=''/>
<input>
@@ -75,4 +43,4 @@
<soap:address location='REPLACE_WITH_ACTUAL_URL'/>
</port>
</service>
-</definitions>
\ No newline at end of file
+</definitions>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws434/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws434/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws434/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws434/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws434/WEB-INF/wsdl/TestService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws434/WEB-INF/wsdl/TestService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -28,10 +28,6 @@
</complexType>
</schema>
-
- <schema targetNamespace="http://somens" xmlns:tns="http://somens" xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="knownWildcard" type="string"/>
- </schema>
</types>
<message name="TestService_echo">
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws718/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws718/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws718/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws720/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws720/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws720/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws732/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws732/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws732/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,7 +1,7 @@
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws775/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws775/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws775/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws807/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws807/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws807/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws812/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/jbws812/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/jbws812/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-doclit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/marshall-doclit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-doclit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,14 +1,12 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
<service-ref>
- <service-ref-name>service/StandardTypes</service-ref-name>
+ <service-ref-name>service/StandardTypes</service-ref-name>
<wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-marshall-doclit?wsdl</wsdl-override>
</service-ref>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-rpclit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/marshall-rpclit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-rpclit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,14 +1,13 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
<service-ref>
- <service-ref-name>service/StandardTypes</service-ref-name>
+ <service-ref-name>service/StandardTypes</service-ref-name>
+ <config-name>Standard MTOM disabled client</config-name>
<wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-marshall-rpclit?wsdl</wsdl-override>
</service-ref>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-rpclit/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/marshall-rpclit/WEB-INF/web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/marshall-rpclit/WEB-INF/web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -5,6 +5,11 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard MTOM disabled endpoint</param-value>
+ </context-param>
+
<servlet>
<servlet-name>StandardTypes</servlet-name>
<servlet-class>org.jboss.test.ws.jaxrpc.marshall.StandardTypesBean</servlet-class>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/overloaded/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/overloaded/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/overloaded/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<jboss>
<enterprise-beans>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<jboss>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wsbpel/hello/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/wsbpel/hello/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wsbpel/hello/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,6 +1,7 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
<jboss-client>
<!-- JNDI name of client environment context -->
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/wseventing/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/wseventing/WEB-INF/jaxrpc-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/WEB-INF/jaxrpc-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -3,7 +3,7 @@
version="1.1"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
<package-mapping>
- <package-type>org.jboss.ws.eventing</package-type>
+ <package-type>org.jboss.ws.extensions.eventing</package-type>
<namespaceURI>http://schemas.xmlsoap.org/ws/2004/08/eventing</namespaceURI>
</package-mapping>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/wseventing/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wseventing/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/jaxrpc-samples-wseventing</context-root>
</jboss-web>
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/webserviceref/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/webserviceref/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/webserviceref/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -3,7 +3,7 @@
version="1.1"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
<package-mapping>
- <package-type>org.jboss.ws.eventing</package-type>
+ <package-type>org.jboss.ws.extensions.eventing</package-type>
<namespaceURI>http://schemas.xmlsoap.org/ws/2004/08/eventing</namespaceURI>
</package-mapping>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
<jboss-web>
<context-root>/jbossws-test-eventing</context-root>
</jboss-web>
\ No newline at end of file
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -21,7 +21,7 @@
</service-impl-bean>
<handler>
- <handler-name>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</handler-name>
+ <handler-name>WSAddressingServerHandler</handler-name>
<handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</handler-class>
</handler>
@@ -35,7 +35,7 @@
<servlet-link>EventSourceServlet</servlet-link>
</service-impl-bean>
<handler>
- <handler-name>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</handler-name>
+ <handler-name>WSAddressingServerHandler</handler-name>
<handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</handler-class>
</handler>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/account-signup/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsse/account-signup/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/account-signup/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/rpc/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsse/rpc/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/rpc/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-wsse-server.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-wsse-server.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-wsse-server.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,3 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>META-INF/wsse.keystore</key-store-file>
+ <key-store-type>jks</key-store-type>
+ <key-store-password>jbossws</key-store-password>
+ <trust-store-file>META-INF/wsse.truststore</trust-store-file>
+ <trust-store-type>jks</trust-store-type>
+ <trust-store-password>jbossws</trust-store-password>
</jboss-ws-security>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxrpc/xop/rpclit/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/xop/rpclit/WEB-INF/jaxrpc-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxrpc/xop/rpclit/WEB-INF/jaxrpc-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -156,7 +156,7 @@
</method-param-parts-mapping>
<method-param-parts-mapping>
<param-position>1</param-position>
- <param-type>java.lang.Object</param-type>
+ <param-type>byte[]</param-type>
<wsdl-message-mapping>
<wsdl-message xmlns:wsdlMsgNS='http://jboss.org/test/ws/xop'>wsdlMsgNS:OctetsIn</wsdl-message>
<wsdl-message-part-name>xopContent</wsdl-message-part-name>
@@ -164,7 +164,7 @@
</wsdl-message-mapping>
</method-param-parts-mapping>
<wsdl-return-value-mapping>
- <method-return-value>java.lang.Object</method-return-value>
+ <method-return-value>byte[]</method-return-value>
<wsdl-message xmlns:wsdlMsgNS='http://jboss.org/test/ws/xop'>wsdlMsgNS:OctetsOut</wsdl-message>
<wsdl-message-part-name>result</wsdl-message-part-name>
</wsdl-return-value-mapping>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxws/jsr181/complex/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/jsr181/complex/jaxrpc-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxws/jsr181/complex/jaxrpc-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -104,10 +104,6 @@
<java-variable-name>registeredIDs</java-variable-name>
<xml-element-name>RegisteredIDs</xml-element-name>
</variable-mapping>
- <variable-mapping>
- <java-variable-name>result</java-variable-name>
- <xml-element-name>result</xml-element-name>
- </variable-mapping>
</java-xml-type-mapping>
<java-xml-type-mapping>
<java-type>org.jboss.test.ws.jaxws.jsr181.complex.client.AlreadyRegisteredException</java-type>
@@ -152,10 +148,6 @@
<java-variable-name>statistics</java-variable-name>
<xml-element-name>Statistics</xml-element-name>
</variable-mapping>
- <variable-mapping>
- <java-variable-name>result</java-variable-name>
- <xml-element-name>result</xml-element-name>
- </variable-mapping>
</java-xml-type-mapping>
<java-xml-type-mapping>
<java-type>org.jboss.test.ws.jaxws.jsr181.complex.client.Statistics</java-type>
@@ -191,10 +183,6 @@
<java-variable-name>registeredID</java-variable-name>
<xml-element-name>RegisteredID</xml-element-name>
</variable-mapping>
- <variable-mapping>
- <java-variable-name>result</java-variable-name>
- <xml-element-name>result</xml-element-name>
- </variable-mapping>
</java-xml-type-mapping>
<java-xml-type-mapping>
<java-type>org.jboss.test.ws.jaxws.jsr181.complex.client.RegisterForInvoice</java-type>
@@ -242,10 +230,6 @@
<java-variable-name>done</java-variable-name>
<xml-element-name>done</xml-element-name>
</variable-mapping>
- <variable-mapping>
- <java-variable-name>result</java-variable-name>
- <xml-element-name>result</xml-element-name>
- </variable-mapping>
</java-xml-type-mapping>
<exception-mapping>
<exception-type>org.jboss.test.ws.jaxws.jsr181.complex.client.AlreadyRegisteredException</exception-type>
@@ -386,4 +370,4 @@
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
</service-endpoint-interface-mapping>
-</java-wsdl-mapping>
\ No newline at end of file
+</java-wsdl-mapping>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxws/jsr181/soapbinding/wrapped-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/jsr181/soapbinding/wrapped-mapping.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxws/jsr181/soapbinding/wrapped-mapping.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -33,10 +33,6 @@
<java-variable-name>namespacedPurchaseOrderAck</java-variable-name>
<xml-element-name>NamespacedPurchaseOrderAck</xml-element-name>
</variable-mapping>
- <variable-mapping>
- <java-variable-name>result</java-variable-name>
- <xml-element-name>result</xml-element-name>
- </variable-mapping>
</java-xml-type-mapping>
<java-xml-type-mapping>
<java-type>org.jboss.test.ws.jaxws.jsr181.soapbinding.PurchaseOrderAck</java-type>
@@ -64,10 +60,6 @@
<java-variable-name>purchaseOrderAck</java-variable-name>
<xml-element-name>PurchaseOrderAck</xml-element-name>
</variable-mapping>
- <variable-mapping>
- <java-variable-name>result</java-variable-name>
- <xml-element-name>result</xml-element-name>
- </variable-mapping>
</java-xml-type-mapping>
<service-interface-mapping>
<service-interface>org.jboss.test.ws.jaxws.jsr181.soapbinding.DocWrappedService</service-interface>
@@ -129,4 +121,4 @@
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
</service-endpoint-interface-mapping>
-</java-wsdl-mapping>
\ No newline at end of file
+</java-wsdl-mapping>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxws/samples/jsr181ejb/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/samples/jsr181ejb/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxws/samples/jsr181ejb/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxws/samples/jsr181pojo/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/samples/jsr181pojo/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxws/samples/jsr181pojo/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxws/samples/wsaddressing/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/samples/wsaddressing/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxws/samples/wsaddressing/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/action/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/wsaddressing/action/META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/action/META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>wsarpc-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/replyto/Initial-META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/wsaddressing/replyto/Initial-META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/replyto/Initial-META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>initial-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxws/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/jaxws/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,8 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC
- "-//JBoss//DTD Application Client 4.0//EN"
- "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>replyto-client</jndi-name>
Modified: branches/dead-jsr181-backport/src/test/resources/tools/holders/java/org/jboss/test/HoldersServiceInterface.java
===================================================================
--- branches/jbossws-1.0/src/test/resources/tools/holders/java/org/jboss/test/HoldersServiceInterface.java 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/tools/holders/java/org/jboss/test/HoldersServiceInterface.java 2007-01-08 15:41:34 UTC (rev 1865)
@@ -23,6 +23,6 @@
public interface HoldersServiceInterface extends java.rmi.Remote
{
- public javax.xml.rpc.holders.FloatHolder processHolder( javax.xml.rpc.holders.CalendarHolder id,
+ public float processHolder( javax.xml.rpc.holders.CalendarHolder id,
javax.xml.rpc.holders.IntHolder amount) throws java.rmi.RemoteException;
}
Modified: branches/dead-jsr181-backport/src/test/resources/tools/jbws-211/wsdlFixture/OneWay/OneWayService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/tools/jbws-211/wsdlFixture/OneWay/OneWayService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/tools/jbws-211/wsdlFixture/OneWay/OneWayService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -9,11 +9,9 @@
<message name="TestOneWaySEI_oneWayOperation">
<part name="String_1" type="xsd:string" />
</message>
- <!-- Manually remove the output response -->
<portType name="TestOneWaySEI">
<operation name="oneWayOperation" parameterOrder="String_1">
<input message="tns:TestOneWaySEI_oneWayOperation" />
- <!-- Manually remove the output message -->
</operation>
</portType>
<binding name="TestOneWaySEIBinding" type="tns:TestOneWaySEI">
@@ -25,10 +23,6 @@
<soap:body use="literal"
namespace="http://org.jboss.ws" />
</input>
- <output>
- <soap:body use="literal"
- namespace="http://org.jboss.ws" />
- </output>
</operation>
</binding>
<service name="OneWayService">
Modified: branches/dead-jsr181-backport/src/test/resources/tools/jbws818/CrossPackageInheritenceService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/tools/jbws818/CrossPackageInheritenceService.wsdl 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/src/test/resources/tools/jbws818/CrossPackageInheritenceService.wsdl 2007-01-08 15:41:34 UTC (rev 1865)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='CrossPackageInheritenceService' targetNamespace='http://org.jboss.ws/jbws818' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/jbws818/types' xmlns:ns2='http://two.jbws818.tools.ws.test.jboss.org/jaws' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/jbws818' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+<definitions name='CrossPackageInheritenceService' targetNamespace='http://org.jboss.ws/jbws818' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/jbws818/types' xmlns:ns2='http://two.jbws818.tools.ws.test.jboss.org/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/jbws818' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types>
- <schema targetNamespace='http://two.jbws818.tools.ws.test.jboss.org/jaws' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns2='http://org.jboss.ws/jbws818/types' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://two.jbws818.tools.ws.test.jboss.org/jaws' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <schema targetNamespace='http://two.jbws818.tools.ws.test.jboss.org/' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns2='http://org.jboss.ws/jbws818/types' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://two.jbws818.tools.ws.test.jboss.org/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<import namespace='http://org.jboss.ws/jbws818/types'/>
<complexType name='Parent'>
<sequence>
@@ -10,8 +10,8 @@
</sequence>
</complexType>
</schema>
- <schema targetNamespace='http://org.jboss.ws/jbws818/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns1='http://two.jbws818.tools.ws.test.jboss.org/jaws' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/jbws818/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
- <import namespace='http://two.jbws818.tools.ws.test.jboss.org/jaws'/>
+ <schema targetNamespace='http://org.jboss.ws/jbws818/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns1='http://two.jbws818.tools.ws.test.jboss.org/' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/jbws818/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <import namespace='http://two.jbws818.tools.ws.test.jboss.org/'/>
<complexType name='Child'>
<complexContent>
<extension base='ns1:Parent'>
Modified: branches/dead-jsr181-backport/version.properties
===================================================================
--- branches/jbossws-1.0/version.properties 2006-12-12 13:17:22 UTC (rev 1632)
+++ branches/dead-jsr181-backport/version.properties 2007-01-08 15:41:34 UTC (rev 1865)
@@ -20,7 +20,7 @@
jboss-common=1.0.0.GA
jboss-jbossxb=1.0.0.CR7
jboss-microcontainer=1.0.2
-jboss-remoting=1.4.3.GA
+jboss-remoting=1.4.5.GA
# thirdparty library versions
apache-ant=1.6.5
More information about the jbossws-commits
mailing list