cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Mao <james....@iona.com>
Subject Provider/Dispath demo not working now
Date Wed, 27 Sep 2006 10:21:20 GMT
Hi Dan,

I realized that you changed the code of dispatch/provider, and i found 
that the demo not working now, Can you please take a look at this.

Thanks in advance.
James.

Error message from dispatch_provider sample server:
     [java] Exception in thread "main" java.lang.NullPointerException: 
Could not find endpoint GreeterDOMSourceMessageProviderPort in Service.
     [java]     at 
org.apache.cxf.jaxws.EndpointImpl.<init>(EndpointImpl.java:95)
     [java]     at 
org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(ProviderImpl.java:57)
     [java]     at 
org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:66) 

     [java]     at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
     [java]     at demo.hwDispatch.server.Server.<init>(Server.java:36)
     [java]     at demo.hwDispatch.server.Server.main(Server.java:45)

Error message from dispatch_provider sample client:
 [java] Invoking server through Dispatch interface using DOMSource in 
MESSAGE Mode
     [java] Sep 27, 2006 4:51:18 PM 
com.sun.xml.messaging.saaj.soap.SOAPPartImpl lookForEnvelope
     [java] SEVERE: SAAJ0514: Unable to create envelope from given 
source because the root element is not named Envelope
     [java] Sep 27, 2006 4:51:18 PM 
com.sun.xml.messaging.saaj.soap.EnvelopeFactory createEnvelope
     [java] SEVERE: SAAJ0511: Unable to create envelope from given source
     [java] Response from server:

     [java] Error 404 /SoapContext/SoapPort2 Not Found


     [java] HTTP ERROR: 404/SoapContext/SoapPort2 Not Found
     [java] RequestURI=/SoapContext/SoapPort2
     [java] Powered by Jetty://




Mime
View raw message