There are three Axis2 options for this, which are clearly explained in this article:
http://www.ibm.com/developerworks/webservices/library/ws-java3/ Note that you would probably want to use these in place of JAXB, not in addition to it. If you want to use JAXB, you should probably stick with a pure JAX-WS solution and skip the Axis data binding. kushal12 wrote: > > Hi, > > Can somebody tell me if, there is a way by which you can convert the > incoming XML to a java object using Axis ?? > > I am trying to call a webservice and the client for which has been written > in Axis. > > Now Client in turn gets the input data to be passsed to the service in the > form of XML. > > If I use Jaxb to unmarshal the incoming data, Jaxb generates its own set > of java classes for the xml, which are different in names, as those > generated by axis, as a part of wsdl2java tool. > > Is there any way by which I can driectly copy the java object returned by > JAXB into the one generated by Axis ? > > Have tried beanutils, but it expects all the property names in the source > and destination object to be same ? > > Regards > Kushal > -- View this message in context: http://www.nabble.com/XML-Unmarshalling--Data-Binding-tp22580923p22581245.html Sent from the Axis - User mailing list archive at Nabble.com.
