*
The moose likes Web Services and the fly likes Jibx Binding File Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Jibx Binding File Query" Watch "Jibx Binding File Query" New topic
Author

Jibx Binding File Query

Lee Miller
Greenhorn

Joined: May 23, 2008
Posts: 5
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.
 
Consider Paul's rocket mass heater.
 
subject: Jibx Binding File Query
 
Similar Threads
invoking a Axis2/Soap webservice
Getting problem while creating Java client from command prompt
jax-ws client different between axis2 eclipse and wsimport.
How to generate Java annotations using Apache Axis
Axis2 - wsdl2java - services.xml