Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 33935 invoked from network); 27 Jun 2008 07:46:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 07:46:07 -0000 Received: (qmail 5221 invoked by uid 500); 27 Jun 2008 07:46:08 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 5208 invoked by uid 500); 27 Jun 2008 07:46:08 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 5197 invoked by uid 99); 27 Jun 2008 07:46:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 00:46:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Fri, 27 Jun 2008 07:45:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BB7EC234C14E for ; Fri, 27 Jun 2008 00:45:45 -0700 (PDT) Message-ID: <1636230399.1214552745766.JavaMail.jira@brutus> Date: Fri, 27 Jun 2008 00:45:45 -0700 (PDT) From: "Supun Kamburugamuva (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2C-1124) SOAP action not parsed correctly when it is contained in the content type from a MTOM message In-Reply-To: <93296089.1209568315592.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/AXIS2C-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Supun Kamburugamuva reassigned AXIS2C-1124: ------------------------------------------- Assignee: Supun Kamburugamuva > SOAP action not parsed correctly when it is contained in the content type from a MTOM message > --------------------------------------------------------------------------------------------- > > Key: AXIS2C-1124 > URL: https://issues.apache.org/jira/browse/AXIS2C-1124 > Project: Axis2-C > Issue Type: Bug > Components: core/transport, mtom > Affects Versions: 1.3.0 > Reporter: Tommy Odom > Assignee: Supun Kamburugamuva > > I'm using soapui to communicate with WSO2 WSF PHP which uses axis2c (ChangeLog indicates version 1.3.1) as the engine and communication works fine when not using MTOM but as soon as I attempt to send a multi-part message, the operation is no longer found. I traced it down to a problem in axis2c that is returning the string: \"OperationName\" instead of: OperationName. I found that in the core/transport/http/util/http_transport_utils.c file, there is a method named axis2_http_transport_utils_get_value_from_content_type which is looking for values that start with a double quote to strip that off, but it isn't looking for an escaped double quote to strip the escaped double quote off. > As you can see from the sample message below, the action is included in the content-type and is escaped with a backslash before the double quote. I'm by no means an expert, but I believe from looking at the examples on ws3's XOP specification that soapui is doing the correct behavior. > Example content-type from w3's XOP TR: > Content-Type: application/xop+xml; > charset=UTF-8; > type="application/soap+xml; action=\"ProcessData\"" > Sample message: > POST /services/order/order_service.php HTTP/1.1[\r][\n] > Content-Type: multipart/related; type="application/xop+xml"; start=""; start-info="application/soap+xml; action=\"NewOrder\""; boundary="----=_Part_17_13936350.1209567095547"[\r][\n] > MIME-Version: 1.0[\r][\n] > User-Agent: Jakarta Commons-HttpClient/3.0.1[\r][\n] > Host: localhost[\r][\n] > Content-Length: 3371[\r][\n] > [\r][\n] > [\r][\n] > ------=_Part_17_13936350.1209567095547[\r][\n] > Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml; action=\"NewOrder\""[\r][\n] > Content-Transfer-Encoding: 8bit[\r][\n] > Content-ID: [\r][\n] > [\r][\n] > [\n] > [\n] > [\n] > ... > [\n] > [\r][\n] > ------=_Part_17_13936350.1209567095547[\r][\n] > Content-Type: application/octet-stream[\r][\n] > Content-Transfer-Encoding: binary[\r][\n] > Content-ID: <123334421>[\r][\n] > [\r][\n] > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org