Hi Roberto,

I am facing the same problem when I run the service using a PHP client.  It
cannot locate the service name. Instead of that it is taking the parameter
(in my case personId) as servicename.

You might got a solution. Kindly help me.

Thanks.



Roberto Cosenza-5 wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://n4.nabble.com/SOAP-Cannot-locate-service-by-name-tp152137p360954.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to