You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by to...@beerintime.com on 2013/09/09 10:53:04 UTC

Webservice to return the orders

 

Hi,

 I want to call a web service that is able to show the
information of the result of the "find orders screen".
(ordermgr/control/searchorders)
 There is a webservice that is called
findOrders, however this service is not returning all the fields on the
result of the "find orders screen". (E.g the web service is not
returning the customer / the supplier)
 Do I need to create a new
webservice for this, or am I looking at the wrong webservice ?
 If I
need to create a new webservice, what would be the best way of doing it
?

 Any help appreciated.

 Kind regards

 Tore

 

Re: Webservice to return the orders

Posted by Tore Van Grembergen <to...@beerintime.com>.
Dear Jacques,


I will check the request map.
Thanks for the info

your answer  in HTML was received without any issues.
The coloring was still present.

Kind regards

Tore


On 09/09/13 13:58, Jacques Le Roux wrote:
> Hi,
> To find what you want you should follow the flow which generates this 
> page. It starts with this request-map in order controller
>
> <request-mapuri="searchorders">
>
> Then you will discover how are grabed the customer, supplier and what 
> not. And you should be able to create your own service based on findOrders
> HTH
> Jacques
> PS: I was very suprised that your email in HTML format went trough wih 
> an image included. Let see if my answer in HTML format does the same
>
>     ----- Original Message -----
>     *From:* torevg@beerintime.com <ma...@beerintime.com>
>     *To:* user@ofbiz.apache.org <ma...@ofbiz.apache.org>
>     *Sent:* Monday, September 09, 2013 10:53 AM
>     *Subject:* Webservice to return the orders
>
>     Hi,
>
>     I want to call a web service that is able to show the information
>     of the result of the "find orders screen".
>     (ordermgr/control/searchorders)
>     There is a webservice that is called findOrders, however this
>     service is not returning all the fields on the result of the "find
>     orders screen". (E.g the web service is not returning the customer
>     / the supplier)
>     Do I need to create a new webservice for this, or am I looking at
>     the wrong webservice ?
>     If I need to create a new webservice, what would be the best way
>     of doing it ?
>
>     Any help appreciated.
>
>     Kind regards
>
>     Tore
>
>
>
>


Re: Webservice to return the orders

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi,

To find what you want you should follow the flow which generates this page. It starts with this request-map in order controller
<request-map uri="searchorders">

Then you will discover how are grabed the customer, supplier and what not. And you should be able to create your own service based on findOrders

HTH

Jacques
PS: I was very suprised that your email in HTML format went trough wih an image included. Let see if my answer in HTML format does the same

  ----- Original Message ----- 
  From: torevg@beerintime.com 
  To: user@ofbiz.apache.org 
  Sent: Monday, September 09, 2013 10:53 AM
  Subject: Webservice to return the orders


  Hi,

  I want to call a web service that is able to show the information of the result of the "find orders screen". (ordermgr/control/searchorders)
  There is a webservice that is called findOrders, however this service is not returning all the fields on the result of the "find orders screen". (E.g the web service is not returning the customer / the supplier)
  Do I need to create a new webservice for this, or am I looking at the wrong webservice ?
  If I need to create a new webservice, what would be the best way of doing it ?

  Any help appreciated.

  Kind regards

  Tore