External Bindings from gen-ws ant task doesn't seem to work
-----------------------------------------------------------
Key: XFIRE-1074
URL: http://jira.codehaus.org/browse/XFIRE-1074
Project: XFire
Issue Type: Bug
Components: JAX-WS
Affects Versions: 1.2.6
Environment: Windows, ant1.7
Reporter: Nathan Fisher
Assignee: Dan Diephouse
Passing jaxws bindings as external file from ant doesn't appear to work.
I am trying to customise the output package for wsdl types but i keep running
into the same error
ant file:
<xfire-wsgen
externalBindings="bindings.xjb"
outputDirectory="src"
wsdl="Availability.wsdl"
package="com.bt.defaultpackage"
profile="org.codehaus.xfire.jaxws.gen.JAXWSProfile" />
bindings.xjb file:
<bindings
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
wsdlLocation="Availability.wsdl"
xmlns="http://java.sun.com/xml/ns/jaxws">
<bindings node="wsdl:definitions">
<package name="com.bt.defaultpackage.types"/>
</bindings>
</bindings>
All i get back from running the task is:
BUILD FAILED
d:\svn\jaxb\build.xml:17: org.codehaus.xfire.gen.GenerationException: Error
generating JAXB model.
When removing the externalBindings from the ant target it generates fine
(although into the wrong package)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email