|
From: <jbo...@li...> - 2006-06-29 12:40:32
|
Author: hei...@jb...
Date: 2006-06-29 08:40:17 -0400 (Thu, 29 Jun 2006)
New Revision: 516
Added:
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/ArrayOfAny2.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TypeOfAny3.java
Modified:
branches/jbossws-1.0/src/test/ant/build-jars.xml
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/JBWS434TestCase.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TestServiceEndpoint.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TestServiceEndpointImpl.java
branches/jbossws-1.0/src/test/resources/jbws434/WEB-INF/jaxrpc-mapping.xml
branches/jbossws-1.0/src/test/resources/jbws434/WEB-INF/wsdl/TestService.wsdl
Log:
extended testcase
Modified: branches/jbossws-1.0/src/test/ant/build-jars.xml
===================================================================
--- branches/jbossws-1.0/src/test/ant/build-jars.xml 2006-06-29 12:35:16 UTC (rev 515)
+++ branches/jbossws-1.0/src/test/ant/build-jars.xml 2006-06-29 12:40:17 UTC (rev 516)
@@ -350,7 +350,8 @@
<classes dir="${build.test.dir}/classes">
<include name="org/jboss/test/ws/jbws434/TestServiceEndpoint.class"/>
<include name="org/jboss/test/ws/jbws434/TestServiceEndpointImpl.class"/>
- <include name="org/jboss/test/ws/jbws434/ArrayOfAny.class"/>
+ <include name="org/jboss/test/ws/jbws434/ArrayOfAny*.class"/>
+ <include name="org/jboss/test/ws/jbws434/TypeOfAny*.class"/>
</classes>
<webinf dir="${build.test.dir}/resources/jbws434/WEB-INF">
<include name="jaxrpc-mapping.xml"/>
@@ -361,7 +362,8 @@
<jar destfile="${build.test.dir}/libs/jbossws-jbws434-client.jar">
<fileset dir="${build.test.dir}/classes">
<include name="org/jboss/test/ws/jbws434/TestServiceEndpoint.class"/>
- <include name="org/jboss/test/ws/jbws434/ArrayOfAny.class"/>
+ <include name="org/jboss/test/ws/jbws434/ArrayOfAny*.class"/>
+ <include name="org/jboss/test/ws/jbws434/TypeOfAny*.class"/>
</fileset>
<metainf dir="${build.test.dir}/resources/jbws434/META-INF">
<include name="application-client.xml"/>
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/ArrayOfAny2.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/ArrayOfAny2.java 2006-06-29 12:35:16 UTC (rev 515)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/ArrayOfAny2.java 2006-06-29 12:40:17 UTC (rev 516)
@@ -0,0 +1,44 @@
+/*
+ * 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.jbws434;
+
+import javax.xml.soap.SOAPElement;
+
+
+public class ArrayOfAny2 {
+ protected SOAPElement[] _any;
+
+ public ArrayOfAny2() {
+ }
+
+ public ArrayOfAny2(SOAPElement[] _any) {
+ this._any = _any;
+ }
+
+ public SOAPElement[] get_any() {
+ return _any;
+ }
+
+ public void set_any(SOAPElement[] _any) {
+ this._any = _any;
+ }
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/ArrayOfAny2.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/JBWS434TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/JBWS434TestCase.java 2006-06-29 12:35:16 UTC (rev 515)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/JBWS434TestCase.java 2006-06-29 12:40:17 UTC (rev 516)
@@ -65,7 +65,7 @@
}
}
- public void testArrayOfAny() throws Exception
+ public void testWildCardArrayWithOtherNS() throws Exception
{
SOAPFactory factory = SOAPFactory.newInstance();
@@ -89,6 +89,49 @@
}
}
+ public void testWildCardArrayWithAnyNS() throws Exception
+ {
+ SOAPFactory factory = SOAPFactory.newInstance();
+
+ SOAPElement el1 = factory.createElement("name", "ns1", "http://somens");
+ el1.setValue("Kermmit");
+ SOAPElement el2 = factory.createElement("product", "ns1", "http://somens");
+ el2.setValue("Ferrari");
+
+ ArrayOfAny2 inObj = new ArrayOfAny2(new SOAPElement[] { el1, el2 });
+ ArrayOfAny2 retObj = port.echo2(inObj);
+
+ assertNotNull(retObj);
+ assertNotNull(retObj._any);
+ assertEquals(inObj._any.length, retObj._any.length);
+
+ for(int i = 0; i < inObj._any.length; ++i)
+ {
+ SOAPElement inE = inObj._any[i];
+ SOAPElement retE = retObj._any[i];
+ assertEquals(inE, retE);
+ }
+ }
+
+ public void testWildCardArrayWithMaxOccurance() throws Exception
+ {
+ SOAPFactory factory = SOAPFactory.newInstance();
+
+ SOAPElement el1 = factory.createElement("name", "ns1", "http://somens");
+ el1.setValue("Kermmit");
+
+ TypeOfAny3 inObj = new TypeOfAny3(el1);
+ TypeOfAny3 retObj = port.echo3(inObj);
+
+ assertNotNull(retObj);
+ assertNotNull(retObj._any);
+
+ SOAPElement inE = inObj._any;
+ SOAPElement retE = retObj._any;
+ assertEquals(inE, retE);
+
+ }
+
private static void assertEquals(SOAPElement myE, SOAPElement otherE)
{
assertEquals(otherE.getLocalName(), myE.getLocalName());
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TestServiceEndpoint.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TestServiceEndpoint.java 2006-06-29 12:35:16 UTC (rev 515)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TestServiceEndpoint.java 2006-06-29 12:40:17 UTC (rev 516)
@@ -27,4 +27,6 @@
public interface TestServiceEndpoint extends Remote
{
ArrayOfAny echo(ArrayOfAny param1) throws RemoteException;
+ ArrayOfAny2 echo2(ArrayOfAny2 param1) throws RemoteException;
+ TypeOfAny3 echo3(TypeOfAny3 param1) throws RemoteException;
}
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TestServiceEndpointImpl.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TestServiceEndpointImpl.java 2006-06-29 12:35:16 UTC (rev 515)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TestServiceEndpointImpl.java 2006-06-29 12:40:17 UTC (rev 516)
@@ -23,6 +23,8 @@
import org.jboss.logging.Logger;
+import java.rmi.RemoteException;
+
public class TestServiceEndpointImpl implements TestServiceEndpoint
{
// Provide logging
@@ -33,4 +35,14 @@
log.info("echo: " + param1);
return param1;
}
+
+ public ArrayOfAny2 echo2(ArrayOfAny2 param1) throws RemoteException {
+ log.info("echo: " + param1);
+ return param1;
+ }
+
+ public TypeOfAny3 echo3(TypeOfAny3 param1) throws RemoteException {
+ log.info("echo: " + param1);
+ return param1;
+ }
}
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TypeOfAny3.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TypeOfAny3.java 2006-06-29 12:35:16 UTC (rev 515)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TypeOfAny3.java 2006-06-29 12:40:17 UTC (rev 516)
@@ -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.jbws434;
+
+import javax.xml.soap.SOAPElement;
+
+
+public class TypeOfAny3 {
+
+ protected SOAPElement _any;
+
+ public TypeOfAny3() {
+ }
+
+ public TypeOfAny3(SOAPElement _any) {
+ this._any = _any;
+ }
+
+ public SOAPElement get_any() {
+ return _any;
+ }
+
+ public void set_any(SOAPElement _any) {
+ this._any = _any;
+ }
+}
+
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws434/TypeOfAny3.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: branches/jbossws-1.0/src/test/resources/jbws434/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jbws434/WEB-INF/jaxrpc-mapping.xml 2006-06-29 12:35:16 UTC (rev 515)
+++ branches/jbossws-1.0/src/test/resources/jbws434/WEB-INF/jaxrpc-mapping.xml 2006-06-29 12:40:17 UTC (rev 516)
@@ -1,44 +1,103 @@
<?xml version="1.0" encoding="UTF-8"?>
<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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.test.ws.jbws434</package-type>
- <namespaceURI>http://org.jboss.ws/jbws434</namespaceURI>
- </package-mapping>
- <package-mapping>
- <package-type>org.jboss.test.ws.jbws434</package-type>
- <namespaceURI>http://org.jboss.ws/jbws434/types</namespaceURI>
- </package-mapping>
- <java-xml-type-mapping>
- <java-type>org.jboss.test.ws.jbws434.ArrayOfAny</java-type>
- <root-type-qname xmlns:typeNS="http://org.jboss.ws/jbws434/types">typeNS:ArrayOfAny</root-type-qname>
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>_any</java-variable-name>
- <xml-wildcard/>
- </variable-mapping>
- </java-xml-type-mapping>
- <service-endpoint-interface-mapping>
- <service-endpoint-interface>org.jboss.test.ws.jbws434.TestServiceEndpoint</service-endpoint-interface>
- <wsdl-port-type xmlns:portTypeNS="http://org.jboss.ws/jbws434">portTypeNS:TestService</wsdl-port-type>
- <wsdl-binding xmlns:bindingNS="http://org.jboss.ws/jbws434">bindingNS:TestServiceBinding</wsdl-binding>
- <service-endpoint-method-mapping>
- <java-method-name>echo</java-method-name>
- <wsdl-operation>echo</wsdl-operation>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>org.jboss.test.ws.jbws434.ArrayOfAny</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/jbws434">wsdlMsgNS:TestService_echo</wsdl-message>
- <wsdl-message-part-name>param1</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.jbws434.ArrayOfAny</method-return-value>
- <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/jbws434">wsdlMsgNS:TestService_echoResponse</wsdl-message>
- <wsdl-message-part-name>result</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- </service-endpoint-interface-mapping>
+ 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.jbws434</package-type>
+ <namespaceURI>http://org.jboss.ws/jbws434</namespaceURI>
+ </package-mapping>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jbws434</package-type>
+ <namespaceURI>http://org.jboss.ws/jbws434/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws434.ArrayOfAny</java-type>
+ <root-type-qname xmlns:typeNS="http://org.jboss.ws/jbws434/types">typeNS:ArrayOfAny</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws434.ArrayOfAny2</java-type>
+ <root-type-qname xmlns:typeNS="http://org.jboss.ws/jbws434/types">typeNS:ArrayOfAny2</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jbws434.TypeOfAny3</java-type>
+ <root-type-qname xmlns:typeNS="http://org.jboss.ws/jbws434/types">typeNS:TypeOfAny3</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jbws434.TestServiceEndpoint</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS="http://org.jboss.ws/jbws434">portTypeNS:TestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS="http://org.jboss.ws/jbws434">bindingNS:TestServiceBinding</wsdl-binding>
+
+ <service-endpoint-method-mapping>
+ <java-method-name>echo</java-method-name>
+ <wsdl-operation>echo</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jbws434.ArrayOfAny</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/jbws434">wsdlMsgNS:TestService_echo</wsdl-message>
+ <wsdl-message-part-name>param1</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.jbws434.ArrayOfAny</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/jbws434">wsdlMsgNS:TestService_echoResponse</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>echo2</java-method-name>
+ <wsdl-operation>echo2</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jbws434.ArrayOfAny2</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/jbws434">wsdlMsgNS:TestService_echo2</wsdl-message>
+ <wsdl-message-part-name>param1</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.jbws434.ArrayOfAny2</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/jbws434">wsdlMsgNS:TestService_echoResponse2</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>echo3</java-method-name>
+ <wsdl-operation>echo3</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jbws434.TypeOfAny3</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/jbws434">wsdlMsgNS:TestService_echo3</wsdl-message>
+ <wsdl-message-part-name>param1</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.jbws434.TypeOfAny3</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/jbws434">wsdlMsgNS:TestService_echoResponse3</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
Modified: branches/jbossws-1.0/src/test/resources/jbws434/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jbws434/WEB-INF/wsdl/TestService.wsdl 2006-06-29 12:35:16 UTC (rev 515)
+++ branches/jbossws-1.0/src/test/resources/jbws434/WEB-INF/wsdl/TestService.wsdl 2006-06-29 12:40:17 UTC (rev 516)
@@ -1,45 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
-<definitions name="TestService" targetNamespace="http://org.jboss.ws/jbws434" xmlns:tns="http://org.jboss.ws/jbws434" xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://org.jboss.ws/jbws434/types"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
- <types>
- <schema targetNamespace="http://org.jboss.ws/jbws434/types" xmlns:tns="http://org.jboss.ws/jbws434/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
- <complexType name="ArrayOfAny">
- <xsd:sequence>
- <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:sequence>
- </complexType>
- </schema>
- </types>
- <message name="TestService_echo">
- <part name="param1" type="ns1:ArrayOfAny"/>
- </message>
- <message name="TestService_echoResponse">
- <part name="result" type="ns1:ArrayOfAny"/>
- </message>
- <portType name="TestService">
- <operation name="echo" parameterOrder="param1">
- <input message="tns:TestService_echo"/>
- <output message="tns:TestService_echoResponse"/>
- </operation>
- </portType>
- <binding name="TestServiceBinding" type="tns:TestService">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
- <operation name="echo">
- <soap:operation soapAction=""/>
- <input>
- <soap:body use="literal" namespace="http://org.jboss.ws/jbws434"/>
- </input>
- <output>
- <soap:body use="literal" namespace="http://org.jboss.ws/jbws434"/>
- </output>
- </operation>
- </binding>
- <service name="TestService">
- <port name="TestServicePort" binding="tns:TestServiceBinding">
- <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
- </port>
- </service>
+<definitions name="TestService" targetNamespace="http://org.jboss.ws/jbws434"
+ xmlns:tns="http://org.jboss.ws/jbws434" xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://org.jboss.ws/jbws434/types"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <types>
+ <schema targetNamespace="http://org.jboss.ws/jbws434/types" xmlns:tns="http://org.jboss.ws/jbws434/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
+
+ <complexType name="ArrayOfAny">
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </complexType>
+
+ <complexType name="ArrayOfAny2">
+ <xsd:sequence>
+ <xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </complexType>
+
+ <complexType name="TypeOfAny3">
+ <xsd:sequence>
+ <xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </complexType>
+
+ </schema>
+ </types>
+
+ <message name="TestService_echo">
+ <part name="param1" type="ns1:ArrayOfAny"/>
+ </message>
+ <message name="TestService_echoResponse">
+ <part name="result" type="ns1:ArrayOfAny"/>
+ </message>
+
+ <message name="TestService_echo2">
+ <part name="param1" type="ns1:ArrayOfAny2"/>
+ </message>
+ <message name="TestService_echoResponse2">
+ <part name="result" type="ns1:ArrayOfAny2"/>
+ </message>
+
+ <message name="TestService_echo3">
+ <part name="param1" type="ns1:TypeOfAny3"/>
+ </message>
+ <message name="TestService_echoResponse3">
+ <part name="result" type="ns1:TypeOfAny3"/>
+ </message>
+
+ <portType name="TestService">
+ <operation name="echo">
+ <input message="tns:TestService_echo"/>
+ <output message="tns:TestService_echoResponse"/>
+ </operation>
+ <operation name="echo2">
+ <input message="tns:TestService_echo2"/>
+ <output message="tns:TestService_echoResponse2"/>
+ </operation>
+ <operation name="echo3">
+ <input message="tns:TestService_echo3"/>
+ <output message="tns:TestService_echoResponse3"/>
+ </operation>
+ </portType>
+
+ <binding name="TestServiceBinding" type="tns:TestService">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+
+ <operation name="echo">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://org.jboss.ws/jbws434"/>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/jbws434"/>
+ </output>
+ </operation>
+
+ <operation name="echo2">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://org.jboss.ws/jbws434"/>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/jbws434"/>
+ </output>
+ </operation>
+
+ <operation name="echo3">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://org.jboss.ws/jbws434"/>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/jbws434"/>
+ </output>
+ </operation>
+
+ </binding>
+
+ <service name="TestService">
+ <port name="TestServicePort" binding="tns:TestServiceBinding">
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+ </port>
+ </service>
+
</definitions>
\ No newline at end of file
|