Are you localizing the WSDL/XSD files with the generated artifacts?  If I
understand correctly, you might look at this thread:

http://www.java.net/forum/topic/glassfish/metro-and-jaxb/jax-ws-clients#comment-824522

The principles apply whether you are using CXF or Metro tools.

Mark
 On Jul 16, 2012 8:42 AM, "Ganesh" <[email protected]> wrote:

> Hi All,
>
> When we try create a stub classes from WSDL getting below errors,
>
> *C:\apache-cxf-2.6.1\bin>wsdl2java -frontend jaxws21 -client -d Client2_1
> TestLib.wsdl*
>
> WSDLToJava Error: org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to
> create
> wsdl definition from : file:/C:/apache-cxf-2.6.1/bin/TestLib.wsdl
> Caused by : WSDLException (at
> /wsdl:definitions/wsdl:types/xs:schema/xs:schema): faultCode=PARSER_ERROR:
> Problem parsing 'http://schemas.xmlsoap.org/soap/envelope/'.:
> java.net.SocketException: Connection reset
>
> Is any one faced the same issue? Or do we need to configure proxy in CXF?
>
> Please help us to resolve this issue.
>
> Regards,
> Ganesh.
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/WSDLException-faultCode-PARSER-ERROR-Connection-reset-tp5711085.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to