[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PHP SOAP WSDL rookie needs help



Can I get you to post a snippet of code that shows you connecting to the object and then calling a function if you have it ?

Usually it goes something like:

$client = new SoapClient(URL_TO_WSDL);

$results = $client->myFunction(MyVar);

That would be a very simplistic form. Do you have something like that already ?

Jonathan Pitcher

On Dec 22, 2010, at 1:46 PM, Mariaxx wrote:


I'm new to SOAP. I need to pass information via form to wsdl service.

I'm unable to understand few things:

1) Do I need to write <soapenv: Envelope... kind of tags, or do I just get
them by using PHP functions such as $a = new SoapClient() ?

2) Do I still need to pass normal HTTP header with XML definition plus SOAP
header + SOAP body with PHP

I get response from the server saying that my Header is missing.
Also what does this mean: "Uncaught SoapFault exception: [soap:Client]
Fault: java.lang.NullPointerException "

I'd really appreciate your help. I shouldn't have taken this job : |
--
View this message in context: http://old.nabble.com/PHP-SOAP-WSDL-rookie-needs-help-tp30516854p30516854.html
Sent from the Php - Soap mailing list archive at Nabble.com.


--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux