cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oisin Hurley (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-631) Regression in simple front end WSDL auto-generation
Date Thu, 03 May 2007 13:43:15 GMT
Regression in simple front end WSDL auto-generation
---------------------------------------------------

                 Key: CXF-631
                 URL: https://issues.apache.org/jira/browse/CXF-631
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 2.0-RC
         Environment: Windows XP
            Reporter: Oisin Hurley


since rev 532926 it is not possible to generate the wsdl at runtime anymore.

I start the server with 

JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
factory.setServiceClass(JaxWsService.class);
factory.setAddress("http://localhost:9001/jaxwstest");
factory.setServiceBean(service);
Server server = factory.create();

The JaxWsService is a JAX-WS annotated class. With rev 532895 and below I can get the wsdl
with
http://localhost:9001/jaxwstest?wsdl

Now, the error message is

java.lang.ClassCastException: org.xmlsoap.schemas.wsdl.http.AddressType cannot be cast to
javax.wsdl.extensions.http.HTTPAddress
        at com.ibm.wsdl.extensions.http.HTTPAddressSerializer.marshall(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printExtensibilityElements(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printPorts(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printServices(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:139)
        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:152)
        at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:690)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:285)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:751)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message