Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 54899 invoked from network); 23 Apr 2007 07:03:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2007 07:03:36 -0000 Received: (qmail 26658 invoked by uid 500); 23 Apr 2007 07:03:43 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 26640 invoked by uid 500); 23 Apr 2007 07:03:43 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 26631 invoked by uid 99); 23 Apr 2007 07:03:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 00:03:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 00:03:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D0BA7714071 for ; Mon, 23 Apr 2007 00:03:15 -0700 (PDT) Message-ID: <24619076.1177311795852.JavaMail.jira@brutus> Date: Mon, 23 Apr 2007 00:03:15 -0700 (PDT) From: "Jervis Liu (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Resolved: (CXF-578) Exception occured when run the sample restful_dispatch client In-Reply-To: <17702239.1177305915887.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jervis Liu resolved CXF-578. ---------------------------- Resolution: Fixed It appears to me that JAX-WS Dispatch is not appropriate for HTTP GET, the demo is fixed by not calling Dispatch for HTTP GET. > 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 > Assigned To: Jervis Liu > > Buildfile: build.xml > maybe.generate.code: > compile: > build: > client > : > [java] Invoking server through HTTP GET to query all customer info > [java] **** Response ****** > [java] > [java] > [java] 1234 > [java] > [java] > [java] 1235 > [java] > [java] > [java] 1236 > [java] > [java] > [java] Invoking server through HTTP GET to query customer info > [java] **** Response ****** > [java] > [java] John > [java] 123456 > [java] > [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.