Hi Jags, Do you have faults in your WSDL definition? This is not currently handled by the WSDL2Java code for JiBX, and I think this kind of error could result.
- Dennis Dennis M. Sosnoski SOA, Web Services, and XML Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117 jags reddy wrote: > > > */jags reddy <[EMAIL PROTECTED]>/* wrote: > > Hi, > > Has any body come across this problem .Developers of the API stack > Please let me know if this is a bug. > > Iam not clear whether it is WSDL2java tool is not generating the > JIBX binding for the the interface org.apache.axiom.om.OMElement > or is it JIBX binding generator issue. > > Do we need to explicitly specify binding definitions for the axis > API and generate binding for the classes > > My binding xml does not contain binding definitions for AXIS2 > AXIOM API > > IT would be great if the WSDL2java tool generates these bindings > for AXIOM API and only programmers need to give binding > definitions for there classes. > > > I have generated the code according to the documentation given for > Axis2-JIBx code generation' > > I have included the jibx-run.jar , jibx-bind.jar and > axis2-jibx.jar for generating the client code using WSDL2.java > > when i am calling the stub in my client iam getting the following > error > > > > PointerException > [java] java.lang.RuntimeException: Could not find JiBX > binding information > for org.apache.axiom.om.OMElement, JiBX binding unusable > [java] at > org.apache.axis2.MessageSenderWebServiceServiceStub.toOM(Mess > ageSenderWebServiceServiceStub.java:339) > [java] at > org.apache.axis2.MessageSenderWebServiceServiceStub.toEnvelop > e(MessageSenderWebServiceServiceStub.java:356) > [java] at > org.apache.axis2.MessageSenderWebServiceServiceStub.sendMessa > ge(MessageSenderWebServiceServiceStub.java:138) > [java] at test.Test.main(Test.java:25) > > I have also posted the error in AXIS2 Mailing lists > > Thanks & Regards > Jaggsreddy > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users