From: Stu B. <stu...@gm...> - 2008-11-25 20:21:23
|
Will do. Thanks! Any plans or work started to support SOAP encoding? Stu On Mon, Nov 24, 2008 at 11:20 PM, Willem de Jong <w.a...@gm...> wrote: > Hi Stu, > > Your WSDL uses SOAP encoding. This is not supported at the moment. The > WSDL is obviously just a test, so you might try to do a test that uses > 'document/literal' style. > > Good luck, > Willem > > On Tue, Nov 25, 2008 at 7:03 AM, Stu Bailey <stu...@gm...> wrote: >> I'm starting to play with the SOAP support in Yaws. I have erlsom >> installed; however I am not able to initModel a simple WSDL file. I >> got the same error on a more complicated WSDL file; so I switched to >> trying to get something simple to work. >> >> Any help is very appreciated. >> >> >> Here is the output: >> >> 5> Wsdl = yaws_soap_lib:initModel( "hello.wsdl"). >> ** exception error: no function clause matching >> yaws_soap_lib:makeImportList(undefined,[]) >> in function yaws_soap_lib:parseWsdls/5 >> in call from yaws_soap_lib:initModel2/5 >> >> >> Here is the WSDL: >> >> <?xml version="1.0" encoding="UTF-8"?> >> <definitions name="HelloService" >> targetNamespace="http://www.ecerami.com/wsdl/HelloService.wsdl" >> xmlns="http://schemas.xmlsoap.org/wsdl/" >> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >> xmlns:tns="http://www.ecerami.com/wsdl/HelloService.wsdl" >> xmlns:xsd="http://www.w3.org/2001/XMLSchema"> >> >> <message name="SayHelloRequest"> >> <part name="firstName" type="xsd:string"/> >> </message> >> <message name="SayHelloResponse"> >> <part name="greeting" type="xsd:string"/> >> </message> >> >> <portType name="Hello_PortType"> >> <operation name="sayHello"> >> <input message="tns:SayHelloRequest"/> >> <output message="tns:SayHelloResponse"/> >> </operation> >> </portType> >> >> <binding name="Hello_Binding" type="tns:Hello_PortType"> >> <soap:binding style="rpc" >> transport="http://schemas.xmlsoap.org/soap/http"/> >> <operation name="sayHello"> >> <soap:operation soapAction="sayHello"/> >> <input> >> <soap:body >> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >> namespace="urn:examples:helloservice" >> use="encoded"/> >> </input> >> <output> >> <soap:body >> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >> namespace="urn:examples:helloservice" >> use="encoded"/> >> </output> >> </operation> >> </binding> >> >> <service name="Hello_Service"> >> <documentation>WSDL File for HelloService</documentation> >> <port binding="tns:Hello_Binding" name="Hello_Port"> >> <soap:address >> location="http://localhost:8080/soap/servlet/rpcrouter"/> >> </port> >> </service> >> </definitions> >> >> Stu >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Erlyaws-list mailing list >> Erl...@li... >> https://lists.sourceforge.net/lists/listinfo/erlyaws-list >> > |