SOAP-Lite - Debuging WSDL

Posted on Thu Oct 18 20:28:07 2007 by hembreed
Debuging WSDL
I wrote a wsdl document, based upon the wishlist.wsdl example in "Web Services Progamming With Perl" . Of course, it doesn't work. I tried putting it into Eclipse, as suggested by another poster. It show no errors. I tried the Xmethods site it gives no usefull error message, just says there's no services. Stubmaker.pl generates a boilerplate module, with no methods. I simplified the wsdl to just one operation, but still can't generate a method. Perhaps someone with a keener eye than me can spot the problem?
<?xml version="1.0"?> <definitions name="DynaToolBar" targetNamespace="urn:DynaToolBar" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:DynaToolBar" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <message name="userVote"> <part name="rating" type="xsd:string" /> <part name="userID" type="xsd:string" /> </message> <message name="ackVote"> <part name="ack" type="xsd:boolean" /> </message> <portType name="DynaToolBarPort"> <operation name="placeVote"> <input message="tns:userVote" /> <output message="tns:ackVote" /> </operation> </portType> <binding name="soapI" type="tns:DynaToolBarPort"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> <operation name="placeVote"> <soap:operation soapAction= "urn:/DynaToolBar#placeVote" /> <input> <soap:body use="encoded" parts="rating" namespace="urn:DynaToolBar" encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/" /> <soap:header use="encoded" part="userID" message="tns:userVote" wsdl:required="0" namespace="urn:DynaToolBar" encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/" /> </input> <output> <soap:body use="encoded" namespace="urn:DynaToolBar" encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/" /> </output> </operation> </binding> <service name="DynaToolBar"> <port name="DynaToolBarPort" binding="tns:soapI"> <soap:address location="http://www.cyberdefender.com/dynatoolbar/DynaToolBar" /> </port> </service> </definitions>
Direct Responses: 6376 | Write a response