1 Reply Latest reply on Jul 5, 2013 10:10 AM by ffang

    Error while exposing web service in cxf

    tganesh5

      Hi all,

       

      we are deploying successfully.but we get error while triggering wsdl.

       

      In soap below error showing:

      WSDLException (at /soap:Envelope): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.

       

      In Log file showing error details below:

       

      javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://schemas.xmlsoap.org/wsdl/soap/'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.

       

      Could you please let me know the solution.

       

      Advance Thanks,

       

      Thejaswi