Recently i started to develop ADF on-device mobile application. Is it possible to use ADF webservice proxy client with on-device mobile application? I read it in a document that, ADF mobile wont support "*WebService Java Proxy"* and supports only "*ADF webservice datacontrol*"
If ADF webservice proxy client is not supported in ADF mobile, then how can i integrate ADF with EBS?
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.
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 :
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??
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?
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