FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » problem with web service
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: problem with web service [message #172716 is a reply to message #172715] Sun, 27 February 2011 11:21 Go to previous message
Jonathan Stein is currently offline  Jonathan Stein
Messages: 43
Registered: September 2010
Karma:
Member
Den 27-02-2011 11:43, parviz a skrev:

> $client = new SoapClient( 'http://192.168.0.94:8080/DecisionService/ws/
> test111ruleapp/4.0/test111/1.0?WSDL');

When debugging SOAP, you can set 'trace' to 1:
$client = new SoapClient(
' http://192.168.0.94:8080/DecisionService/ws/test111ruleapp/4.0/test111/1.0? WSDL',
array('trace' => 1));

Then you can echo the result of these functions after the method call:
SoapClient->__getLastRequest(), SoapClient->__getLastRequestHeaders(),
SoapClient->__getLastResponse() and SoapClient->__getLastResponseHeaders()

This will probably reveal a more or less usable error message from the
server.

> $result=(array)$client->__SoapCall('executeDecisionService', $params);

I think you should be able to call the method as:
$client->executeDecisionService(1, $card);

Maybe $card should be stdObject instead of array:
$card = new stdClass;
$card->creditCeilings = 45;

Regards

Jonathan
[Message index]
 
Read Message
Read Message
Previous Topic: require/include a file inside a function
Next Topic: PHP and DB2 on an IIS Server
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 15:25:09 GMT 2024

Total time taken to generate the page: 0.04033 seconds