NYCPHP Meetup

NYPHP.org

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

Donald Organ dorgan at donaldorgan.com
Tue Jun 11 12:49:03 EDT 2013


Thats probably becaus ethats not the URL to the WSDL, can you go to that
url in a browser, generally you can and then there is a link that will
bring you to the WSDL.


On Tue, Jun 11, 2013 at 12:02 PM, David Roth <davidalanroth at gmail.com>wrote:

> 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
>
>
>
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show-participation
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20130611/553989d7/attachment.html>


More information about the talk mailing list