Did you look into FAQ ?
Jacques
From: "Pardeep Ruhil" <pardeep.ru...@lntinfotech.com>
Hi David,
Thanks for showing me the right way.
Also David, Is there any example of demo SOAP client in Java written for
accessing OFBiz web service, will be highly
appreciated, actually the ExampleRemoteClient is using RMI. But I want to
access it via SOAP.
Thanks & Regards
Pradeep Ruhil
-----Original Message-----
From: David E Jones [mailto:d...@me.com]
Sent: Tuesday, January 19, 2010 9:56 AM
To: user@ofbiz.apache.org
Subject: Re: Doubt regarding 'GenericValue' support provided in OFBiz web
services.
If your client application is written in Java, then check out the ExampleRemoteClient.java file in OFBiz (there are comments there
about how to use it).
If you have to use SOAP (and if so, I'm sorry for your pain, there are so many better alternatives) then the easiest way is to
write a custom SOAP service that lives in an OFBiz component and calls the OFBiz service when it is called, and returns the result
you want in whatever flavour of SOAP you require.
-David
On Jan 18, 2010, at 10:21 PM, Pardeep Ruhil wrote:
Hi,
I have a doubt regarding the support of data types provided in OFBiz for web services. I have a web application which uses
services defined in OFBiz to access and retrieve data from database.
Now the service defined in OFBiz has 'GenericValue' as a OUT parameter. As currently OFBiz provide support for custom and complex
object parameter support, so I will get this object on the client side I.e. my web application.
Now in the client side how will I process this 'GenericValue' object as this class is specific to OFBiz. So I will not be able to
typecast that to GenericValue.
So do I need to create a jar file of "GenericValue" class and then set into my web application classpth ? And If I am doing this
then it's like just copy pasting the OFBiz framework into my web application.
My second doubt is :
How to write the client to access the OFBiz web service in my web application ?
Do I need to write that the same way as code written in 'SoapClientEngine.java' file like serialize the input parameters and
then send them.
Because otherwise If I am using axis to call the OFBiz web service , I am getting 'Not able to deserialize the 'inputMap'
parameter.
Kindly help me to clear my doubts.
Thanks & Regards
Pradeep Ruhil
________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended
recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
______________________________________________________________________
______________________________________________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended
recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
______________________________________________________________________