NYCPHP Meetup

NYPHP.org

[nycphp-talk] SOAP/PHP: Soapclient usage with asmx and wsdl?

David Roth davidalanroth at gmail.com
Tue Jun 11 12:02:08 EDT 2013


There is a server which supports SOAP, that ends in .asmx such as
http://example.com/foo.asmx. I'm getting these kind of PHP error messages:

PHP Fatal error:  SOAP-ERROR: Parsing WSDL: Couldn't load from '
http://example.com:8090/foo.asmx' : Premature end of data in tag html line 3
 in /home/www/html/foo.php on line 5
PHP Fatal error:  Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL: Couldn't load from 'http://example.com:8090/foo.asmx' : Premature end
of data in tag html line 3

Could this possibly mean that the server is not serving WSDL? I've seen
mention of non-WSDL, but I'm not aware of what needs to be done differently
for the SOAP requests. Thanks!

David Roth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20130611/d37815e9/attachment.html>


More information about the talk mailing list