cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Mao <james....@iona.com>
Subject Re: service ok, client not...
Date Mon, 25 Jun 2007 05:11:08 GMT
I don't think we fully pass the tests on JDK6, it might be the problem, 
can you try JDK5?
If you run the demo in the cxf under the jdk6, you will get the error 
message like this
"Apache CXF requires Java version 1.5 or higher. You are currently using 
Java version 1.6."

James

> hi!
>
> i'm trying hard to get cxf up'n running, but always run in more or less the same
> errors:
>
> ---8<---
> [10:07:39.019] Creating Service
> {http://silberlicht.de/ConfigService}IConfigServiceService from class
> de.silberlicht.services.config
> .IConfigService
> 10:07:39.198 DEBUG [de.silberlicht.wsl.test.HelloWorld           ] - Error
> getting client
> javax.xml.ws.WebServiceException: java.lang.RuntimeException: Could not find
> destination factory for transport http://schemas.xmlsoa
> p.org/soap/http
>         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
> ---8<---
>
> the service is created ok, but when trying to get a client running, it throws
> the above exception... :-(
>
> any ideas on that? i found something about this on the mailing-list-archive, but
> that only stated that on the service-side something should be changed. this
> doesn't seem to apply here, since i'm using CXFServlet.
>
> environment:
>
> cxf-2.0-incubator-RC.jar
> linux
> jdk-1.6.0-u1
> resin 3.1.1
>
> xml in resin is changed to xerces/xalan, else i get a nullpointerexception on
> the server-side which states:
>
> ---8<---
> [10:01:40.385] Interceptor has thrown exception, unwinding now
> [10:01:40.385] java.lang.NullPointerException: charsetName
> [10:01:40.385]  at java.io.InputStreamReader.<init>(InputStreamReader.java:82)
> [10:01:40.385]  at
> com.caucho.xml.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:149)
> [10:01:40.385]  at
> org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:65)
> [10:01:40.385]  at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:148)
> [10:01:40.385]  at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:347)
> [10:01:40.385]  at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1757)
> [10:01:40.385]  at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:1640)
> [10:01:40.385]  at
> org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:114)
> ---8<---
>
> any ideas/help?
>
> best regards, --- jan.
>
>   

Mime
View raw message