Thanks for posting good, working code. On Thu, May 10, 2018 at 9:34 PM, Rajesh Mallah <mallah.raj...@gmail.com> wrote:
> Hello All , > > Finally it was possible to consume the JSON document > > https://pastebin.com/ZReF5bqg containing the order spec > > into the newly created Java Service > > https://pastebin.com/anCAxqiN > > > regds > mallah. > > > > > > On Thu, May 10, 2018 at 3:32 PM, Rajesh Mallah <mallah.raj...@gmail.com> > wrote: > > > > > I was able to create the order using Webservices . I just > > created a copy of testCreateSalesOrder and modified a bit. > > > > I am now experimenting to use JSON to send the order information > > from my non-java application and utilize org.json.* to retrieve the info > > in the Java land. > > > > thanks for the hint again. > > > > regds > > mallah. > > > > > > > > > > > > On Wed, May 9, 2018 at 11:28 PM, Rajesh Mallah <mallah.raj...@gmail.com> > > wrote: > > > >> Looks promising thanks a ton Mr Pradeep ! > >> > >> On Wed, May 9, 2018 at 11:01 PM, S K Pradeep Kumar < > >> s.k.pradeepku...@gmail.com> wrote: > >> > >>> Check this > >>> > >>> org\ofbiz\order\test\SalesOrderTest.java > >>> > >>> > >>> > >>> With regards, > >>> S K Pradeep Kumar, > >>> 9035009495 > >>> > >>> On Wed, May 9, 2018 at 9:41 PM, Rajesh Mallah <mallah.raj...@gmail.com > > > >>> wrote: > >>> > >>> > Hi , > >>> > > >>> > I am working on an custom application that interacts with OFBiz > >>> > using webservices solely. I am able to do quite a lot using this > >>> approach > >>> > and now its time to create the orders in OFBiz system. > >>> > > >>> > I am able to create the orders using the OOTB interface and using the > >>> > resources that are created using the Webservices interface. > >>> > > >>> > Since order creation is a relatively complex process affecting too > many > >>> > entities and too many UI screens on OOTB i am bit lost about the > >>> > proper approach. > >>> > > >>> > Since the custom UI that i am creating for the enduser has limited > >>> > flexibility the parameters for order creation are in strict control , > >>> hence > >>> > i am looking for at least one pathway that shall lead to a successful > >>> > order creation. Eg there is only one payment choice and only one > >>> > shipping method to simplify the process. > >>> > > >>> > suggestions are solicited. > >>> > > >>> > regds > >>> > mallah. > >>> > > >>> > >> > >> > > >