ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Cosenza <roberto.cosenza+of...@infoflexconnect.se>
Subject SOAP: Cannot locate service by name
Date Tue, 01 Apr 2008 13:29:39 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message