Dear Admin,
I've been trying to connect to the Accounts webservice. Within this service is an operation named getMemberAccounts. I have been trying to invoke this method but then I get a blank response. This is what I've done so far:
1.I've created the webservice client
2.I've created a channel
3.I've linked the two
Now on request, I need the webservice to display a list of all accounts by a given member. I don't understand why I'm getting a blank response.
My code looks like this:
<?php
$url = 'http://project.mobicashonline.com:8080/ ... count?WSDL'; //my WSDL
$client = new SoapClient($url);
//$xmlr = new SimpleXMLElement("<getMemberAccounts></getMemberAccounts>");
/*$xmlr->addChild('sedah', $USER);
$xmlr->addChild('12345678', $CARD);
$xmlr->addChild('dicapello@gmail.com', $EMAIL);
$xmlr->addChild('', $CUSTOM_FIELD);*/
$params = new stdClass();
//$params->xml = $xmlr->asXML();
$params->principalType = 'USER';
$params->principal = 'sedah';
$result = $client->getMemberAccounts($params);
//
?>
Please advise??
Elvis.
CYCLOS WEBSERVICE EXTERNAL ACCESS
Moderators: alexandre, hugo, rmvanarkel
-
josecelano
- Posts: 2
- Joined: Wed Apr 23, 2014 9:03 am
Re: CYCLOS WEBSERVICE EXTERNAL ACCESS
Did you find a solution, I have the same problem?