The wsdl might contain something like this: <types> <schema targetNamespace="ns" elementFormDefault="qualified" ... xmlns="http://www.w3.org/2001/XMLSchema"> <element name="echo2"> <complexType> <sequence> <element name="s1" type="string"/> <element name="s2" type="string"/> </sequence> </complexType> </element> <element name="echo2Response" type="string"/> </schema> </types> <message name="echo2Request"> <part name="parameters" element="echo2"/> </message> <message name="echo2Response"> <part name="return" element="echo2Response"/> </message> <portType name="echo2PT"> <operation name="echo2"> <input message="tns:echo2Request"/> <output message="tns:echo2Response"/> </operation> </portType> <binding name="echo2Binding" type="tns:echo2PT" > <soap:binding style="document" transport=...> <operation name="echo2"> <soap:operation soapAction=...> <input> <soap:body use="literal" .../> <input> <output> <soap:body use="literal" .../> </output> </operation> </binding> ...
and the deployment file contains: <service name="echo2Svc" provider="java:RPC" style="wrapped" use="literal"> ... parameters and namespaces ... <parameter name="className" value="my.Echo2Impl"/> <parameter name="allowedMethods" value="echo2"/> <operation name="echo2" qname="ens:echo2" returnQName="ens:echo2Response"> <parameter qname="ns:s1" type="xsd:string"/> <parameter qname="ns:s2" type="xsd:string"/> </operation> ... </service> This presumes there is a class called my.Echo2Impl which implements the method String echo2(String s1, String s2) I just typed this in incomplete form without testing or validating. The key points are that -- the operation's messages in the wsdl are defined in terms of elements, -- the request message has one part which is a document containing the rest -- the service is declared to have the "wrapped" style -- the implementation method takes as parameters the contents of the request wrapper document, each subelement assigned to one parameter of the method and appropriately deserialized. Jeff ----- Original Message ----- From: "Henry Lu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 29, 2004 5:08 AM Subject: Re: Axis 1.2 RC2 released > Could you send me a smaple wsdl and deploy files for this example? > > -Henry