Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jibx Binding File Query

 
Lee Miller
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to create a web service using Axis2 and Jibx for data binding. I want to be able to run the codegen ant task in order to create the code. I can run this successfully from the command line, but I need to integrate with ant. I am having difficulties with the ant condegen config though.

The documentation confirms that I can set data binding to jibx via the databindingName attribute. However I cannot see how I can specify the location of the binding file (-Ebindingfile when using the command line). When I try to run the task without the binding file I get an error, asking me to specify one.

I am sure I am missing something obvious. Any ideas?

FYI - the documentation I am using can be found at -

http://ws.apache.org/axis2/tools/1_4_1/CodegenToolReference.html

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic