[jibx-users] JIBX Clients
Hello, is it possible to generate JIBX Client stubs easily without a mapping file. We have an architecture where we are evaluating using JIBX as the binding for services. For the sake of consistency we would like to use it also for the SOAP clients , however it seems the client generation is not possible without a mapping file. Is it possible? br, Toni -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Collection namespace
Does anyone know how can I add a namespace to a collection element? I have a collection similar to this but i can not get the namespace added into the main tag which i called Cars in this example? collection field=cars name=Cars usage=optional create-type=java.util.ArrayList structure name=car type=com.asdasd.sadasd.VO usage=optional flexible=true ordered=false value name=field type=java.lang.String get-method=getField set-method=setField/ /structure /collection Toni -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Collections JIBX
Hello , i have a problem mapping Collections with JIBX. I have made the following mappings: mapping name=Uusi_LELIlmoitusVastaus class=com.meridea.yht.ws.Lel_ilmoitus_vastaus flexible=true ordered=false extends=com.meridea.yht.ws.SoapBaseVastaus namespace uri=***secret*** default=elements/ structure field=vastausLovo/ /mapping This mapping then extends the following mapping: mapping name=SoapBaseVastaus class=com.meridea.yht.ws.SoapBaseVastaus value name=palvelutunnus style=attribute field=palvelutunnus / value name=sanomaversio style=attribute field=sanomaversio / structure field=vakiosaVO/ collection field=poikkeustiedot name=Poikkeustiedot structure name=Poikkeus type=com.meridea.yht.ws.yleisettyypit.SoapPoikkeustiedot_PoikkeusVO value name=Taso type=java.lang.String get-method=getTaso set-method=setTaso/ value name=Koodi type=java.lang.String get-method=getKoodi set-method=setKoodi/ value name=Selite type=java.lang.String get-method=getSelite set-method=setSelite/ value name=Kohdetype=java.lang.String get-method=getKohde set-method=setKohde/ /structure /collection /mapping When i run the JIBX compilation everything is ok, but then when I run the Axis2 SOAP service im using this mapping for the Collection does not work at all. Nothing is in the output XML file! In the class all i have defined is the ArrayList im using: private ArrayList poikkeustiedot; and an add method: public void addPoikkeusTieto(SoapPoikkeustiedot_PoikkeusVO poikkeus){ if(poikkeustiedot==null)poikkeustiedot= new ArrayList(); poikkeustiedot.add(poikkeus); } Can anyone help what is wrong?? Im using the add method to add stuff to the collection but i get XML without anything from the collection??? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users