[PHP-SOAP-DEV] Re: bug with WSDL: missing operation namespace in the soap request
Status: Alpha
Brought to you by:
rodif_bl
From: brad l. <rod...@ya...> - 2002-04-29 21:12:21
|
Sweet.. first bug! :) I thought i got rid of thoes damn temps... I'll commit a fix tonite. Are you using windows or linux? if you are using linux then you can just get the cvs otherwise ill have to give you a bindary to keep on testing with. - Brad --- phpsurf <ph...@if...> wrote: > hi > > I'm testing the client with a wsdl ... > case sensitivity and parameter names seem to work fine with the wsdl :) good > point. > > but I got a bug with the following WSDL : > > ---------------------------------------------------------------------------- > -- > <?xml version="1.0"?> > > <definitions name="BabelFishService" > xmlns:tns="http://www.xmethods.net/sd/BabelFishService.wsdl" > targetNamespace="http://www.xmethods.net/sd/BabelFishService.wsdl" > xmlns:xsd="http://www.w3.org/1999/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns="http://schemas.xmlsoap.org/wsdl/"> > > <message name="BabelFishRequest"> > <part name="translationmode" type="xsd:string"/> > <part name="sourcedata" type="xsd:string"/> > </message> > > <message name="BabelFishResponse"> > <part name="return" type="xsd:string"/> > </message> > > <portType name="BabelFishPortType"> > <operation name="BabelFish"> > <input message="tns:BabelFishRequest" name="BabelFish"/> > <output message="tns:BabelFishResponse" name="BabelFishResponse"/> > </operation> > </portType> > > <binding name="BabelFishBinding" type="tns:BabelFishPortType"> > <soap:binding style="rpc" > transport="http://schemas.xmlsoap.org/soap/http"/> > <operation name="BabelFish"> > <soap:operation soapAction="urn:xmethodsBabelFish#BabelFish"/> > <input> > <soap:body use="encoded" namespace="urn:xmethodsBabelFish" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> > </input> > <output> > <soap:body use="encoded" namespace="urn:xmethodsBabelFish" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> > </output> > </operation> > </binding> > > <service name="BabelFish"> > <documentation>Translates text of up to 5k in length, between a variety of > languages.</documentation> > <port name="BabelFishPort" binding="tns:BabelFishBinding"> > <soap:address > location="http://services.xmethods.net:80/perl/soaplite.cgi"/> > </port> > </service> > > </definitions> > ---------------------------------------------------------------------------- > -- > > the message received by the server is : > see the ***FIXME*** ! > > ---------------------------------------------------------------------------- > -- > <?xml version="1.0" encoding="UTF-8"?> > <SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > <SOAP-ENV:Body> > <BabelFish xmlns="***FIXME***"> > <translationmode xsi:type="xsd:string">en_fr</translationmode> > <sourcedata xsi:type="xsd:string">some pretty text to translate > !</sourcedata> > </BabelFish> > </SOAP-ENV:Body> > > </SOAP-ENV:Envelope> > ---------------------------------------------------------------------------- > -- > > > > ______________________________________________________________________________ > ifrance.com, l'email gratuit le plus complet de l'Internet ! > vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... > http://www.ifrance.com/_reloc/email.emailif > > __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com |