Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 13854 invoked from network); 7 May 2009 19:05:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 May 2009 19:05:20 -0000 Received: (qmail 3009 invoked by uid 500); 7 May 2009 19:05:18 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 2930 invoked by uid 500); 7 May 2009 19:05:18 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 2851 invoked by uid 99); 7 May 2009 19:05:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 19:05:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 19:05:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 30298234C045 for ; Thu, 7 May 2009 12:04:47 -0700 (PDT) Message-ID: <406331023.1241723087196.JavaMail.jira@brutus> Date: Thu, 7 May 2009 12:04:47 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2190) Invalid message sent using Dispatch In-Reply-To: <382635183.1240833450309.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-2190. ------------------------------ Resolution: Fixed Fix Version/s: 2.2.2 Assignee: Daniel Kulp > Invalid message sent using Dispatch > ----------------------------------- > > Key: CXF-2190 > URL: https://issues.apache.org/jira/browse/CXF-2190 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 2.2.1 > Reporter: Alessio Soldano > Assignee: Daniel Kulp > Fix For: 2.2.2 > > > We're running this Dispatch client using CXF 2.2.1: > URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws1611?wsdl"); > QName serviceName = new QName(targetNS, "PingEndpointService"); > QName portName = new QName(targetNS, "PingEndpointPort"); > Service service = Service.create(wsdlURL, serviceName); > Dispatch dispatch = service.createDispatch(portName, Source.class, Mode.PAYLOAD); > dispatch.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY, true); > dispatch.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY, "uri:placeBuyOrder"); > String payload = ""; > Source retObj = (Source)dispatch.invoke(new StreamSource(new StringReader(payload))); > and we get this exception on server side: > org.apache.cxf.interceptor.Fault: Message part {http://cxf.apache.org/jaxws/dispatch}Invoke was not recognized. (Does it exist in service WSDL?) > at org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInterceptor.java:133) > at org.apache.cxf.binding.soap.interceptor.RPCInInterceptor.handleMessage(RPCInInterceptor.java:111) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) > at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89) > at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99) > at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:357) > at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:160) > at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:61) > at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:134) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > [...] > Capturing the message on the wire reveals the following message being sent: > > which contains the ns1:Invoke element causing the issue on server side. > The WSDL of the service is: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Please note this is happening starting from CXF 2.2.1 (no issue with 2.2) and the wsdl is RPC/Lit while all tests with Dispatch in the systests seem to be with DOC/Lit contract services. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.