servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] Updated: (SMXCOMP-655) CXF-BC can't display the proxied WSDL
Date Sun, 06 Feb 2011 09:51:33 GMT

     [ https://issues.apache.org/jira/browse/SMXCOMP-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated SMXCOMP-655:
-----------------------------------------

    Fix Version/s:     (was: 2011.01)
                   2011.02

> CXF-BC can't display the proxied WSDL
> -------------------------------------
>
>                 Key: SMXCOMP-655
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-655
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-cxf-bc
>    Affects Versions: servicemix-cxf-bc-2009.01
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2011.02
>
>
> I have a CXF-SE endpoint exposing a WSDL. This endpoint is exposed using a CXF-BC endpoint
with the following xbean.xml:
>     <cxfbc:consumer service="nanthrax:Echo" endpoint="cxfbc"
>         targetService="nanthrax:Echo"
>         targetEndpoint="EchoImplPort"
>         locationURI="http://0.0.0.0:8193/nanthrax/echo/"/>
> I try to display the WSDL by accessing to the following URL:
> http://localhost:8193/nanthrax/echo/?wsdl
> But it fails on the CXF-BC component with the following stack trace:
> WARN  - JettyHTTPDestination           - writeResponse failed:
> org.apache.cxf.transport.http.WSDLQueryException: Exception occurred while trying to
process http://localhost:8193/nanthrax/echo/?wsdl
>         at org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:215)
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:236)
>         at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>         at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>         at org.mortbay.jetty.Server.handle(Server.java:324)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
> Caused by: 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.
>         at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source)
>         at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source)
>         at com.ibm.wsdl.extensions.soap.SOAPBindingSerializer.marshall(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLWriterImpl.printExtensibilityElements(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLWriterImpl.printBindings(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
>         at org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:172)
>         ... 14 more

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message