NYCPHP Meetup

NYPHP.org

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

Justin Dearing zippy1981 at gmail.com
Tue Jun 11 13:12:44 EDT 2013


That is a non-WCF ASP.NET service. It should be foo.asmx?wsdl for the wsdl.
you can use fiddler or Charles to inspect the SOAP packets if you continue
to have troubles
On Jun 11, 2013 12:49 PM, "Donald Organ" <dorgan at donaldorgan.com> wrote:

> 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
>>
>
>
> _______________________________________________
> 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/ba0a0d86/attachment.html>


More information about the talk mailing list