Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88F8B9A90 for ; Thu, 1 Mar 2012 15:58:20 +0000 (UTC) Received: (qmail 62032 invoked by uid 500); 1 Mar 2012 15:58:19 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 61865 invoked by uid 500); 1 Mar 2012 15:58:19 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 61856 invoked by uid 99); 1 Mar 2012 15:58:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 15:58:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 15:58:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 378D332EB for ; Thu, 1 Mar 2012 15:57:58 +0000 (UTC) Date: Thu, 1 Mar 2012 15:57:58 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: java-dev@axis.apache.org Message-ID: <1158354366.7540.1330617478229.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1732488123.22770.1330341708819.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-5253) WSDL HTTP binding should define "application/xml" as the MIME content type for it's messages. 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/AXIS2-5253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220115#comment-13220115 ] Hudson commented on AXIS2-5253: ------------------------------- Integrated in axis2-1.6 #249 (See [https://builds.apache.org/job/axis2-1.6/249/]) AXIS2-5253 - Fixed ComplexDataTypesTest. (Revision 1295540) Result = ABORTED sagara : Files : * /axis/axis2/java/core/branches/1_6/modules/integration/test-resources/ComplexDataTypes/ComplexDataTypes.wsdl > WSDL HTTP binding should define "application/xml" as the MIME content type for it's messages. > ----------------------------------------------------------------------------------------------- > > Key: AXIS2-5253 > URL: https://issues.apache.org/jira/browse/AXIS2-5253 > Project: Axis2 > Issue Type: Bug > Components: kernel > Affects Versions: 1.6.1 > Reporter: Sagara Gunathunga > Assignee: Sagara Gunathunga > Fix For: 1.6.2, 1.7.0 > > > Axis2 runtime WSDL generation define "text/xml" as the MIME content type for messages. The default behavior of a client generated from above WSDL ( with -ap option) is send SOAP messages instead of pure XML messages and following exception when receiving the response message. > org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement {http://schemas.xmlsoap.org/soap/envelope/}Body > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > Adding following line is a workaround for this issue but it's required to fix this properly. > Options options = stub._getServiceClient().getOptions(); > options.setProperty(Constants.Configuration.MESSAGE_TYPE, "application/xml"); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org