Title: Still do not have it.

XMLSpy says "Message part 'String_1' (in message sayHello) - parameter FileType not defined!

I just don't see it, though I am far from an expert on namespaces.  I am trying to use the default namespace xsd.
This is my WSDL

<definitions xmlns:tns="http://hello.jaxrpc.samples/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://hello.jaxrpc.samples/" name="HelloWorld">

        <xsd:complexType name="FILEType">
        <xsd:sequence>
                <xsd:element name="ZZZ"   type="string"/>
                <xsd:element name="YYY"  type="string"/>
                <xsd:element name="XXX"   type="string"/>
        </xsd:sequence>
     </xsd:complexType>
        <message name="sayHello">
                <part name="String_1" element="xsd:FileType"/>
        </message>
        <message name="sayHelloResponse">
                <part name="result" type="xsd:string"/>
        </message>
        <portType name="Hello">
                <operation name="sayHello" parameterOrder="String_1">
                        <input message="tns:sayHello"/>
                        <output message="tns:sayHelloResponse"/>
                </operation>
        </portType>
        <binding name="HelloBinding" type="tns:Hello">
                <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
                <operation name="sayHello">
                        <input>
                                <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://hello.jaxrpc.samples/"/>

                        </input>
                        <output>
                                <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://hello.jaxrpc.samples/"/>

                        </output>
                        <soap:operation/>
                </operation>
        </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

Reply via email to