Re: WSDL Newbie question

Dan Van Derveer <[email protected]> Sun, 4 Jan 2004 23:25:02 -0500
Newsgroups gmane.comp.windows.devel.soap.general
Message-ID <1073276701.15370.13.camel@neo>
Thanks Simon. That helped me with that part however i've collided with
another issue. The validator is saying:
Error: Unable to import binding 'testingsoap' from namespace
'http://web.njit.edu/~djv3/links/testing.wsdl'.
- Unable to import operation 'hello_soap'.
- Specified cast is not valid.

Any pointers on debugging wsdl files? I've always had no problem with
procedural languages but this is a whole different animal.
Thanks,
Dan

The latest copy of my wsdl file looks as follows:
<?xml version="1.0"?>
<definitions name="Test Response Service"
          targetNamespace="http://web.njit.edu/~djv3/links/testing.wsdl"
          xmlns:tns="http://web.njit.edu/~djv3/links/testing.wsdl"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
          xmlns="http://schemas.xmlsoap.org/wsdl/">
<message name="incomingMessage">
        <part name="message" type="xsd:string"/>
</message>
<message name="outputMessage">
        <part name="retval" type="xsd:int"/>
</message>
<portType name="hello_soap">
        <operation name="hello_soap">
                <input message="tns:incomingMessage"/>
                <output message="tns:outputMessage"/>
        </operation>
</portType>
<binding type="tns:hello_soap" name="testingsoap">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="hello_soap">
                <soap:operation
soapAction="http://web.njit.edu/~djv3/links/testing.php"/>
                <input>
                        <soap:body use="literal"/>
                </input>
                <output>
                        <soap:body use="literal"/>
                </output>
        </operation>
</binding>
<service name="Test Response Service">
        <documentation>This is a WSDL file for my service</documentation>
        <port name="hellosoapport" binding="tns:testingsoap">
          <soap:address
location="http://web.njit.edu/~djv3/links/testing.php"/>
        </port>
</service>
</definitions>