You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Петр Богданов <bp...@ukr.net> on 2009/11/03 11:09:39 UTC
Re[2]: SOAP: Cannot locate service by name
--- Исходное сообщение ---
От кого: Beula <jb...@gmail.com>
Кому: user@ofbiz.apache.org
Дата: Nov 03, 2009 12:02:23
Тема: Re: SOAP: Cannot locate service by name
> 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.
>
>