Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 73872 invoked from network); 13 Jun 2009 00:23:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jun 2009 00:23:52 -0000 Received: (qmail 65265 invoked by uid 500); 13 Jun 2009 00:11:32 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 65216 invoked by uid 500); 13 Jun 2009 00:11:32 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 65207 invoked by uid 99); 13 Jun 2009 00:11:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2009 00:11:32 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2009 00:11:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6094C234C04C for ; Fri, 12 Jun 2009 17:11:07 -0700 (PDT) Message-ID: <333419858.1244851867394.JavaMail.jira@brutus> Date: Fri, 12 Jun 2009 17:11:07 -0700 (PDT) From: "Deepal Jayasinghe (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-2710) throws when OutflowSecurity is on In-Reply-To: <29634282.1180037416198.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/AXIS2-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepal Jayasinghe resolved AXIS2-2710. -------------------------------------- Resolution: Won't Fix Wont belong here, it is Rampart > throws when OutflowSecurity is on > ------------------------------------------ > > Key: AXIS2-2710 > URL: https://issues.apache.org/jira/browse/AXIS2-2710 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Environment: Axis 1.1.1, out of the box. Slightly modified axis2.xml is enclosed. > Reporter: Rich Adili > Assignee: Ruchith Udayanga Fernando > Priority: Critical > Attachments: xsanybug.zip > > > One of my methods takes, among other things, an bit of generic xml. Can't make heads or tails of this exception. Only clue I've found is that the exception does not fire if I create the stub using one of the ctors that does not take a ConfigurationContext The only unusual thing in my config is the .NET-style OutflowSecurity, which works fine if I'm not sending an message. I've tried commenting out the OutflowSecurity and the exception goes away. > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at test.GUI$2$1.run(GUI.java:89) > at java.lang.Thread.run(Thread.java:595) > Caused by: org.apache.axis2.AxisFault: Error in extracting message properties; nested exception is: > org.apache.rampart.RampartException: Error in extracting message properties > at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) > at org.apache.axis2.engine.Phase.invoke(Phase.java:382) > at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522) > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655) > at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237) > at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202) > at net.xatanet.axisstubs.ConduitServiceStub.ModifyData(ConduitServiceStub.java:274) > at net.xatanet.services.ConduitService.modifyData(ConduitService.java:102) > at test.TestModifyData.invokeTest(TestModifyData.java:40) > ... 6 more > Caused by: org.apache.rampart.RampartException: Error in extracting message properties > at org.apache.rampart.RampartMessageData.(RampartMessageData.java:294) > at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:56) > at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:59) > ... 14 more > Caused by: org.apache.ws.security.WSSecurityException: Error in converting SOAP Envelope to Document; nested exception is: > org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException > at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:121) > at org.apache.rampart.RampartMessageData.(RampartMessageData.java:146) > ... 16 more > Caused by: org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException > at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:194) > at org.apache.axiom.om.impl.dom.NodeImpl.build(NodeImpl.java:469) > at org.apache.axiom.om.impl.dom.DocumentImpl.build(DocumentImpl.java:476) > at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:107) > ... 17 more > Caused by: javax.xml.stream.XMLStreamException > at org.apache.axiom.om.impl.llom.OMStAXWrapper.updateLastNode(OMStAXWrapper.java:952) > at org.apache.axiom.om.impl.llom.OMStAXWrapper.next(OMStAXWrapper.java:913) > at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:111) > ... 20 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.