|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
SOAP-ERROR: Parsing WSDLHello,
I am trying to connect to a webservice with WSDL but get the following error-message: SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension 'http://schemas.xmlsoap.org/wsdl/soap/' This is how I try to instanciate the Client: $client=new SoapClient('http://api.rkd.reuters.com/schemas/wsdl/Charts_1_HttpAndRKDToken.wsdl'); I am new to webservices and therefore have no idea what is the problem and what might be a solution to this. Could anyone help me? Thank you! Harald -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: SOAP-ERROR: Parsing WSDLOn 28.07.2009, at 13:34, Harald Amelung wrote:
> Hello, > > I am trying to connect to a webservice with WSDL but get the > following error-message: > > SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension 'http://schemas.xmlsoap.org/wsdl/soap/' > > This is how I try to instanciate the Client: > > $client=new SoapClient('http://api.rkd.reuters.com/schemas/wsdl/Charts_1_HttpAndRKDToken.wsdl') > ; > > I am new to webservices and therefore have no idea what is the > problem and what might be a solution to this. Could anyone help me? everywhere except for the defined headers. Search and replace all occurences of <soap: with <soap12: and it will work. I'm leaning towards saying that this is a bug in the WSDL, not in SoapClient, as the entire service is declared as a "soap12" (http://schemas.xmlsoap.org/wsdl/soap12/ ) service, but then those headers are declared in a different protocol version (http://schemas.xmlsoap.org/wsdl/soap/) which has no corresponding binding. - David |
|
|
Re: SOAP-ERROR: Parsing WSDLHi David,
David Zülke schrieb: > The WSDL seems odd. It uses the soap12: prefix (and namespace) > everywhere except for the defined headers. > > Search and replace all occurences of > <soap: > with > <soap12: > > and it will work. > > I'm leaning towards saying that this is a bug in the WSDL, not in > SoapClient, as the entire service is declared as a "soap12" > (http://schemas.xmlsoap.org/wsdl/soap12/) service, but then those > headers are declared in a different protocol version > (http://schemas.xmlsoap.org/wsdl/soap/) which has no corresponding binding. Thank you very much. I made a local copy of the WSDL and changed it corresponding to your suggestion and now it works. Harald -- Coworking-Space Stuttgart http://coworking0711.wordpress.com -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: SOAP-ERROR: Parsing WSDLHello ha75,
If you go to the URL listed in the new SoapClient call you make in your web browser you will get an error message from that web server saying that URL does not exist. That is your problem. Ciao, Andrew
|
| Free embeddable forum powered by Nabble | Forum Help |