Have you had a look at http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Soap ?

Jacques

From: "Roberto Cosenza" <[EMAIL PROTECTED]>
Hello.
I'm trying to run a simple webservice test using a php client.
The method I want to run is "getOrderStatus" but i get

"Request SOAPService caused an error with the following message: Error
calling event: org.ofbiz.webapp.event.EventHandlerException: Cannot
locate service by name (orderId) (Cannot locate service by name
(orderId))"
which is strange since the name of the service is "getOrderStatus" and
not "orderId"....

This is the calling code:

<?
require_once('SOAP/Client.php');

$wsdlurl = "http://10.6.1.74:8080/webtools/control/SOAPService/getOrderStatus?WS
$wsdl = new SOAP_WSDL( $wsdlurl);
$proxy = $wsdl->getProxy();

$params = array('orderId' => "1");
$resp = $proxy->getOrderStatus($params);
?>

/roberto


Reply via email to