Since you are using RPC/Encoded, your message part definition must include a type reference, not an element reference:
<message name="helloWorldRequest">
<part name="Request" type="tns:FILEType"/>
</message>
<message name="helloWorldResponse">
<part name="helloWorldResult" type="tns:FILEType"/>
</message>Anne
At 10:54 PM 10/9/2003 -0400, you wrote:
I have just started using apache axis and am having trouble fixing this wsdl file. Can anyone help...
Thanks,
DJK
<?xml version="1.0" encoding="utf-8"?> <definitions xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="uri:diy" targetNamespace="uri:diy" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> <xsd:complexType name="FILEType"> <xsd:sequence> <xsd:element name="ZZZ" type="xsd:string"/> <xsd:element name="YYY" type="xsd:string"/> <xsd:element name="XXX" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </types> <message name="helloWorldRequest"> <part name="Request" element="tns:FILEType"/> </message> <message name="helloWorldResponse"> <part name="helloWorldResult" element="tns:FILEType"/> </message> <portType name="tutorialPort"> <operation name="helloWorld"> <input message="tns:helloWorldRequest"/> <output message="tns:helloWorldResponse"/> </operation> </portType> <binding name="HelloBinding" type="tns:Hello"> <operation name="Request"> <input> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://hello.jaxrpc.samples/" /> </input>
<output> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://hello.jaxrpc.samples/" /> </output>
<soap:operation soapAction="" /> </operation>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> </binding>
<service name="HelloWorld"> <port name="HelloPort" binding="tns:HelloBinding"> <soap:address location="http://localhost:8080/axis/Hello" /> </port> </service>
</definitions>
Douglas J. Kunzman 3FH - 506C 3201 Jermantown Rd. Fairfax, VA 703-293-4704
