Search product via web services?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Search product via web services?

plm_uwe
Hello,

maybe I'm looking at the wrong documentations, but I cannot find a clue on how to search for ofBIZ products via web services. I've tried to call webtools/control/SOAPService/FindProductsByIdentification and webtools/control/SOAPService/FindProducts via SOAPUI, but cannot figure out how to specify search parameters to get sensible results (result is either empty (no product) or contains products totally unrelated to the search parameters).
I want to implement a search similar to the keyword search in the catalog manager of the Web interface.
Could someone please help me or point me to some documentation on this?

Thanks,
Uwe.
Reply | Threaded
Open this post in threaded view
|

Re: Search product via web services?

Mansour
You can read the paramaters refrence through webtools -> Service Engine
or from services.xml that defines that service.


On Wed Feb 23,2011 04:36 am, plm_uwe wrote:

>
> Hello,
>
> maybe I'm looking at the wrong documentations, but I cannot find a clue on
> how to search for ofBIZ products via web services. I've tried to call
> webtools/control/SOAPService/FindProductsByIdentification and
> webtools/control/SOAPService/FindProducts via SOAPUI, but cannot figure out
> how to specify search parameters to get sensible results (result is either
> empty (no product) or contains products totally unrelated to the search
> parameters).
> I want to implement a search similar to the keyword search in the catalog
> manager of the Web interface.
> Could someone please help me or point me to some documentation on this?
>
> Thanks,
> Uwe.
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Search-product-via-web-services-tp3320927p3320927.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Solved: Search product via web services?

plm_uwe
I was not searching for the description if a web service but for a web service that searches e.g. Products.
And in the meantime I found what I need: It is the service performFindList (others do similar things). It was a bit complicated to find out how the payload should look and required "Patching" the service description to allow the parameter listSize to be optional. But now I can use this web service to do my Product search.
Reply | Threaded
Open this post in threaded view
|

Re: Solved: Search product via web services?

arini.rusda
Hi, i also want to search via web service.
Can you explain more about how to do it, what should i do with the performFindList service?
is it just change the export="true" and the listSize="optional"?
how to use it as a web service for retrieving query result from database?

Thank you in advance.
Best Regards,
Arini Rusda
Informatics Department, Sepuluh Nopember Institute of Technology