Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 5462 invoked from network); 21 Dec 2010 16:07:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Dec 2010 16:07:33 -0000 Received: (qmail 51565 invoked by uid 500); 21 Dec 2010 16:07:29 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 51389 invoked by uid 500); 21 Dec 2010 16:07:28 -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 51376 invoked by uid 99); 21 Dec 2010 16:07:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 16:07:28 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 16:07:26 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBLG75cf021337 for ; Tue, 21 Dec 2010 16:07:05 GMT Message-ID: <23785790.242961292947625497.JavaMail.jira@thor> Date: Tue, 21 Dec 2010 11:07:05 -0500 (EST) From: "Srinath Perera (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Reopened: (AXIS2-2531) Make the outgoing SOAPEnvelope available to the service 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-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srinath Perera reopened AXIS2-2531: ----------------------------------- > Make the outgoing SOAPEnvelope available to the service > -------------------------------------------------------- > > Key: AXIS2-2531 > URL: https://issues.apache.org/jira/browse/AXIS2-2531 > Project: Axis2 > Issue Type: Improvement > Reporter: Thilina Gunarathne > Assignee: Deepal Jayasinghe > Priority: Critical > > Currently service authors cannot set headers to the outgoing envelope from the service.. The reason is that in the InOut message receivers, we create the outgoing SoapEnvelope after invoking the business logic.. > OMElement result = (OMElement) method.invoke( > obj, new Object[]{msgContext.getEnvelope().getBody().getFirstElement()}); > SOAPFactory fac = getSOAPFactory(msgContext); > SOAPEnvelope envelope = fac.getDefaultEnvelope(); > if (result != null) { > envelope.getBody().addChild(result); > } > newmsgContext.setEnvelope(envelope); > It would be great if we can make the envelope available to the service by moving the newmsgContext.setEnvelope(envelope); and the related code to some where before the method.invoke... -- 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: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org