You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/03/22 04:20:32 UTC

[jira] Created: (CXF-484) restful sample client failing

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.


[jira] Commented: (CXF-484) restful sample client failing

Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Closed: (CXF-484) restful sample client failing

Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bozhong Lin closed CXF-484.
---------------------------

    Resolution: Fixed

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