Hi Sebastien,

I haven't tried using JiBX/WS on Android, but it should be possible without much change. It would be great to list this as a feature, so if you want to try it out I'll support you with any problems you encounter.

The current implementation works either with your existing classes using standard JiBX mappings or with JiBX code generation from XML schema. You do need to extract your schema definitions from the WSDL for this to work. It'd be fairly easy to extend the code to work directly with WSDLs.

Don's Android example of the OTA travel app (blog.tourgeek.com) doesn't use JiBX/WS, instead just communicating directly with the RESTful server. That's a great approach for a REST implementation of OTA, since the OTA services each define a single request/response pair of XML messages. if you need SOAP, JiBX/WS is probably the way to go.

Regards,

  - Dennis

Dennis M. Sosnoski
Java SOA and Web Services Consulting <http://www.sosnoski.com/consult.html>
CXF and Web Services Security Training <http://www.sosnoski.com/training.html>
Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html>

On 03/14/2013 12:32 AM, Sebastien JACHYM wrote:
Hy,
can we use jibxws on Android (as WS consumer) ?
In my case, I already have a webservice server (SOAP CXF), and WSDL file for 
each services.

* How to : convert WSDL to java file (compatible for jibxws) ?
* How to use java file as WS android client calling remote Java EE server ?

Your demo link is dead :
http://www.youtube.com/watch?v=E1m9YQVGoNE

I also try to understand this links :

http://blog.tourgeek.com/2011_12_01_archive.html

http://blog.tourgeek.com/search/label/android
    http://blog.tourgeek.com/2012/09/opentravel-mobile-android-app.html

http://jibx.sourceforge.net/
http://jibx.sourceforge.net/jibxws/index.html
http://jibx.sourceforge.net/jibxws/client.html
http://sourceforge.net/projects/jibx

https://github.com/jibx/jibxws
https://github.com/jibx/schema-library/blob/master/schema-utilities/examples/android/org.jibx.android.demo.touractivity/src/org/jibx/android/demo/touractivity/MainActivity.java

http://comments.gmane.org/gmane.comp.java.jibx.users/3170
http://search.gmane.org/?author=Don+Corley&sort=date

http://mail-archives.apache.org/mod_mbox/cxf-dev/201106.mbox/%3cbanlktiknv1f12_pfnwt85qxvdqxao6a...@mail.gmail.com%3E
    
http://mail-archives.apache.org/mod_mbox/cxf-dev/201106.mbox/%3c4e0416b2.2030...@sosnoski.com%3E

Thanks,
Sébastien
------------------------------------
Sebastien JACHYM
Service R&D - Développeur
------------------------------------
Navista
567 rue Félix Trombe
66100 Perpignan FR

Tél : +33 (0)4 68 68 69 75
Fax : +33 (0)4 68 68 69 76
------------------------------------
www.navista.fr
------------------------------------
Ce message et les pièces jointes sont confidentiels et établis à l’intention 
exclusive de ses destinataires. Si vous recevez ce message par erreur merci de 
le détruire. La société NAVISTA décline toute responsabilité au titre de ce 
message s’il a été modifié, altéré, déformé ou falsifié. Nous vous recommandons 
de prendre les mesures permettant d'assurer la non-introduction de virus dans 
votre système informatique.

This email message and attachments are confidential and intended only for the 
recipient(s) indicated. If you are not an intended recipient, please delete it. 
We recommend that you take your own measures to prevent viruses from entering 
your computer system.
------------------------------------------------------------------------------Everyone
 hates slow websites. So do we.Make yourr web apps faster with 
AppDynamicsDownload AppDynamics Lite for free 
today:http://p.sf.net/sfu/appdyn_d2d_mar_______________________________________________jibx-users
 mailing 
listjibx-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jibx-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to