Re: [SOAP] To set soap client argument for nested request parameters

[email protected] (Aziz Saleh) Tue, 6 May 2014 10:53:29 -0400
Newsgroups php.soap
Message-ID <CAPJtNhUQo7rJSk=bqX024t=HSD28MtBDKsh88gx9vGY2y9G13g@mail.gmail.com>
--f46d0435c00432502d04f8bc69d9
Content-Type: text/plain; charset=UTF-8

On Mon, May 5, 2014 at 8:21 PM, Lington <[email protected]> wrote:

> Hello, I would appreciate assistance towards solving this problem. I need
> to
> get a response from a web service that has a soap request as described
> below
> among others:                                       I used the code below
> for another action (which does not need any request fields) of the same web
> service, and I got the correct response:   $client = new
> SoapClient($wsdl,array('trace' => $trace, 'exceptions' => $exceptions));
> $response = $client->GetBillerCategories();var_dump($response);However the
> problem I have is that for the GetBillers request shown at the top, I used
> the same code (with the addition of arguments) as I did for the successful
> GetBillerCategories, but could not get an appropriate response. The
> modified
> code is shown below:$xml_array['TerminalId'] = '4pbl0001';
> $xml_array['CategoryId'] = 4;  $client = new SoapClient($wsdl,array('trace'
> => $trace, 'exceptions' => $exceptions));$response =
> $client->GetBillers($xml_array);var_dump($response);The response I got
> was:object(stdClass)#36 (1) { ["GetBillersResult"]=> string(144)
> "100018464014" } instead of a long string of names, Ids, products and other
> details of the billers of CategoryId 4.What do I need to do to get the full
> GetBillers response?Your assistance would be highly appreciated.
>
>
>
> --
> View this message in context:
> http://php-soap.996275.n3.nabble.com/To-set-soap-client-argument-for-nested-request-parameters-tp1455.html
> Sent from the Php Soap mailing list archive at Nabble.com.


It would be awesome if you can format your question with newlines. Very
hard to follow.

--f46d0435c00432502d04f8bc69d9--