[WSDL]SOAP-ERROR using PHP5.2.5 and ext/soap
Posted: Thu Jan 17, 2008 11:07 pm
Howdy,
I'm new to PHP (obviously) and I'm trying to hit a web service internally in our company intranet. When I use a browser to view the WSDL on the host server there are no problems. When I use SOAPScope using the same URL, I get a list of all of the exposed functions from that server. But, using this simple client:
I get the following error:
[WSDL]SOAP-ERROR Parsing Schema extension has no ''base' attribute.
This has nothing to do with the __getFunction() call because I comment out that block in my code to isolate the problem. I've run a network trace on the request/response and the wsdl is being returned from the server - I have no idea why the data is causing this problem.
I did, however, run a 'validation' on the schema in SOAPScope and it basically said that the it was bad (5 failures), but how does the SOAPScope tool get it to work?
The WSDL is from a vendor so I don't have much room to move around there so I just need to figure out how to get around this for now until they can fix the problem.
Any help is greatly appreciated.
The Dude Abides, man.
I'm new to PHP (obviously) and I'm trying to hit a web service internally in our company intranet. When I use a browser to view the WSDL on the host server there are no problems. When I use SOAPScope using the same URL, I get a list of all of the exposed functions from that server. But, using this simple client:
Code: Select all
<?php
$wsdl = 'http://internal.host:9494/services/SomeService?wsdl';
$client = new soapclient($wsdl);
if($func = $client->__getFunctions())
{...}
?>[WSDL]SOAP-ERROR Parsing Schema extension has no ''base' attribute.
This has nothing to do with the __getFunction() call because I comment out that block in my code to isolate the problem. I've run a network trace on the request/response and the wsdl is being returned from the server - I have no idea why the data is causing this problem.
I did, however, run a 'validation' on the schema in SOAPScope and it basically said that the it was bad (5 failures), but how does the SOAPScope tool get it to work?
The WSDL is from a vendor so I don't have much room to move around there so I just need to figure out how to get around this for now until they can fix the problem.
Any help is greatly appreciated.
The Dude Abides, man.