Exception occured when run the sample restful_dispatch client
-------------------------------------------------------------

                 Key: CXF-578
                 URL: https://issues.apache.org/jira/browse/CXF-578
             Project: CXF
          Issue Type: Sub-task
            Reporter: jimma


Buildfile: build.xml

maybe.generate.code:

compile:

build:

client
:
     [java] Invoking server through HTTP GET to query all customer info
     [java] **** Response ******
     [java] <Customers>
     [java]   <Customer 
href="http://localhost/customerservice/customer?id=1234";>
     [java]       <id>1234</id>
     [java]       </Customer>
     [java]   <Customer 
href="http://localhost/customerservice/customer?id=1235";>
     [java]       <id>1235</id>
     [java]       </Customer>
     [java]   <Customer 
href="http://localhost/customerservice/customer?id=1236";>
     [java]       <id>1236</id>
     [java]       </Customer>
     [java]   </Customers>

     [java] Invoking server through HTTP GET to query customer info
     [java] **** Response ******
     [java] <Customer>
     [java]   <name>John</name>
     [java]   <id>123456</id>
     [java]   </Customer>

     [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 p
assed 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


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

Reply via email to