cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bozhong Lin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-484) restful sample client failing
Date Thu, 19 Apr 2007 10:12:15 GMT

    [ https://issues.apache.org/jira/browse/CXF-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489985
] 

Bozhong Lin commented on CXF-484:
---------------------------------

this sample now is moved to restful_dispatch directory. With latest package, the error message
from client is as following:
     [java] Invoking through HTTP GET to query customer using JAX-WS Dispatch
     [java] Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault:
Null object passed into Dispatch marshalling
     [java]     at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:147)
     [java]     at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:102)
     [java]     at demo.restful.client.Client.main(Client.java:89)
     [java] Caused by: org.apache.cxf.interceptor.Fault: Null object passed into Dispatch
marshalling
     [java]     at org.apache.cxf.jaxws.interceptors.DispatchOutInterceptor.handleMessage(DispatchOutInterceptor.java:67)
     [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:148)
     [java]     at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:142)
     [java]     ... 2 more
     [java] Java Result: 1


> restful sample client failing
> -----------------------------
>
>                 Key: CXF-484
>                 URL: https://issues.apache.org/jira/browse/CXF-484
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: Bozhong Lin
>         Assigned To: Jervis Liu
>            Priority: Minor
>             Fix For: 2.0-RC
>
>
> with following error from client:
> client:
>      [java] Invoking server through HTTP GET to query all customer info
>      [java] Exception in thread "main" java.io.IOException: Server returned HTTP response
code: 500 for URL: http://localhost:9000/customerservice/customer
>      [java]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1153)
>      [java]     at java.net.URL.openStream(URL.java:1007)
>      [java]     at demo.restful.client.Client.main(Client.java:61)
>      [java] Java Result: 1

-- 
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