Forum Discussion

jdaly's avatar
16 years ago

Problems generating Apache-CXF or Xfire clients

Need a bit of help using the code generation tools of soapUI.

In a nutshell, I've attempted to use both apache-cxf and xfire code generation tools for a project and in both cases the tools generate a very similar exception:

javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:import[2]/wsdl:definitions/wsdl:types/xs:schema/xs:schema/xs:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'http://www.w3.org/2001/xml.xsd', relative to 'file:/D:/svn/Source/HP/Mfp/App/Web/Services/Schemas/http__schemas.xmlsoap.org_ws_2004_08_eventing/Eventing.xsd'.: java.net.ConnectException: Connection timed out: connect
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)

I've set up my proxy host and port properly as I have successfully used both of these tools to generate client code for the Amazon web service @ 'http://webservices.amazon.com/AWSECommerceService/
AWSECommerceService.wsdl
'

Also, in the case of Apache-cxf I've created a 'cxf.xml' file containing the proper proxy host and port as directed here 'http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-support.html' and utilized soapUI Apache-CXF Custom-Agrs/Java Args field set to '-Dcxf.config.file=D:\projects\jedi-web-services\cxf.xml'

Any tips or pointers?

Thanks![url]][url]][url][url]
No RepliesBe the first to reply