Looking at the WSDL2Java docs[1] it looks like the "-E" option would be your best bet to try to pass parameters to JAXB. CXF[2] (-xjc) and Metro[3] (-B) also have JAXB parameter-passing options.
Glen [1] http://ws.apache.org/axis2/1_5_1/reference.html [2] http://cxf.apache.org/docs/wsdl-to-java.html [3] https://metro.dev.java.net/nonav/1.3/docs/wsimport.html Håkon Sagehaug-3 wrote: > > Hi all, > > I use a schema in my web service that uses the MathML xsd, and the only > binding I 've been able to compile it with is jaxb, but for that to happen > I > need to give some additional parameters as explained here[1]. So my > question > is, when I want to use jaxb as binding when using wsdl2java(axis2 1.5), is > there anyway of giving this parameter to the tool, or in some other way > use the generated code with my service. One solution is to maybe have the > service accepts raw string as input and marshall it into java object on > the > in service implementation, and do something similar on the client. > > Any other good suggestions? > > cheers, Håkon > > > [1]http://weblogs.java.net/blog/kohsuke/archive/2006/03/simple_and_bett.html > > -- > Håkon Sagehaug, Scientific Programmer > Parallab, Bergen Center for Computational Science(BCCS) > Uni BCCS/Uni Research > [email protected], phone +47 55584125 > > -- View this message in context: http://old.nabble.com/Need-to-give-additional-parameters%2C-when-using-jaxb-as-binding-tp26526840p26569983.html Sent from the Axis - User mailing list archive at Nabble.com.
