Re: WSDL Newbie question
Simon Fell <[email protected]> Sun, 4 Jan 2004 20:41:25 -0800
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Organization | pocketsoap.com |
| Message-ID | <[email protected]> |
You have a portType and an operation named hello_soap, i can't remeber if this is valid or not, but could well be causing a problem. Cheers Simon On Sun, 4 Jan 2004 23:25:02 -0500, in soap you wrote: >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=3D"1.0"?> ><definitions name=3D"Test Response Service" > = targetNamespace=3D"http://web.njit.edu/~djv3/links/testing.wsdl" > xmlns:tns=3D"http://web.njit.edu/~djv3/links/testing.wsdl" > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" > xmlns:soap=3D"http://schemas.xmlsoap.org/wsdl/soap/" > xmlns=3D"http://schemas.xmlsoap.org/wsdl/"> ><message name=3D"incomingMessage"> > <part name=3D"message" type=3D"xsd:string"/> ></message> ><message name=3D"outputMessage"> > <part name=3D"retval" type=3D"xsd:int"/> ></message> ><portType name=3D"hello_soap"> > <operation name=3D"hello_soap"> > <input message=3D"tns:incomingMessage"/> > <output message=3D"tns:outputMessage"/> > </operation> ></portType> ><binding type=3D"tns:hello_soap" name=3D"testingsoap"> > <soap:binding style=3D"document" >transport=3D"http://schemas.xmlsoap.org/soap/http"/> > <operation name=3D"hello_soap"> > <soap:operation >soapAction=3D"http://web.njit.edu/~djv3/links/testing.php"/> > <input> > <soap:body use=3D"literal"/> > </input> > <output> > <soap:body use=3D"literal"/> > </output> > </operation> ></binding> ><service name=3D"Test Response Service"> > <documentation>This is a WSDL file for my = service</documentation> > <port name=3D"hellosoapport" binding=3D"tns:testingsoap"> > <soap:address >location=3D"http://web.njit.edu/~djv3/links/testing.php"/> > </port> ></service> ></definitions>