This content has been marked as final. Show 8 replies
can anyone please help me out in this..
The code generated by the JDeveloper Web service Proxy functionality uses JDK 1.6 so it won't run in the ADF Mobile JVM which uses JME 1.4.1 person found this helpful
Instead you'll work through creating a web service data control that maps to your web service, and then either invoking it directly or call it from your Java code.
See these two sample :
Thank you Shay.
I choosed Webservice proxy client because the method which I need to invoke is more complex and complicated. It passes nested objects as an input and moreover I need to perform business logic over this method output, before showing it to the UI. Which is not possible through Webservice DataControl.
Initially I develepod "Browser based mobile application" using "Webservice proxy client", now I need to develop the same application in "On-Device mobile application". Now I cannot use webservice proxy client or webservice datacontrol in my ADF mobile application, then Please tell me the alternative option to implement the same??
Edited by: 887680 on Dec 7, 2012 11:29 PM
I read only Webservice data control is used only for "*Simple Webservices*".
Where did you read that you can't use complex types with the Web Service data control? Which version was that referring to.
You should be able to use the Web Service data control with complex types.
Can you try it out and let us know if you run into specific problems?
I read it in a blog about that.
Anyways thank you Shay, sure will try as you said using Webservice datacontrol and let you know if I am facing any problem.
To user 887680,
you need to put quotes into context: "I read only Webservice data control is used only for "Simple Webservices"
If you have a choice then for complex services use JAX WS proxy client for many reasons, one of which is pre- and post-processing options for the data you query or send. For ADF mobile, there is no JAX-WS client (as Shay explains) so the WS Data Control is what works and what should be used
Thank you Frank ..