That web service is old-fashioned rpc/encoded. CXF and Metro use the incompatible doc/lit or rpc/lit--our wsdl2java can't work with it. Axis 1 (not Axis 2) may help you.
(Although I think there was an effort in the past for CXF to handle rpc/encoded--I don't know what if anything became of it.) Glen stlecho wrote: > > Hi, > > I'm trying to generate an webservice client for the Jira webservices with > CXF v2.0.4. The WSDL I'm using can be found here: > http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl. > > When generating the client with the following Ant target: "<java > classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="true"><arg > value="-client"/><arg value="-d"/><arg value="src"/><arg value="-p"/><arg > value="com.notary.app.capa.cxf"/><arg > value="wsdl/jira.wsdl"/><classpath><path > refid="cxf.classpath"/></classpath></java>" an error message is generated: > "Exception in thread "main" org.apache.cxf.tools.common.ToolException: > Tools plugin provider jaxb context init failed". > > The JARs referenced through "cxf.classpath" are: cxf-2.0.4-incubator.jar > and jaxb-api-2.0.jar. > > Any help with this issue is highly appreciated ;o). > > Regards, Stefan Lecho. > -- View this message in context: http://www.nabble.com/Generating-client-for-Jira-webservice-tp16131696p16133653.html Sent from the cxf-user mailing list archive at Nabble.com.
