Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 53901 invoked from network); 30 Sep 2005 20:25:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Sep 2005 20:25:46 -0000 Received: (qmail 3134 invoked by uid 500); 30 Sep 2005 20:25:37 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 3125 invoked by uid 500); 30 Sep 2005 20:25:37 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 3114 invoked by uid 99); 30 Sep 2005 20:25:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 13:25:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [150.162.14.111] (HELO vangogh.das.ufsc.br) (150.162.14.111) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 13:25:41 -0700 Received: by vangogh.das.ufsc.br (Departamento de Automacao e Sistemas (DAS-UFSC), from userid 532) id CB7FA7AE88; Fri, 30 Sep 2005 17:19:49 -0300 (BRT) Received: from lynch.das.ufsc.br (lynch.das.ufsc.br [150.162.14.94]) by vangogh.das.ufsc.br (Departamento de Automacao e Sistemas (DAS-UFSC)) with ESMTP id 9CA9E7ACEF for ; Fri, 30 Sep 2005 17:19:49 -0300 (BRT) Received: by lynch.das.ufsc.br (Postfix, from userid 1018) id A6AD79F7B0; Fri, 30 Sep 2005 16:25:09 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by lynch.das.ufsc.br (Postfix) with ESMTP id 9BFB7112ED0 for ; Fri, 30 Sep 2005 17:25:09 -0300 (BRT) Date: Fri, 30 Sep 2005 17:25:09 -0300 (BRT) From: Rafael Jose Deitos To: axis-user@ws.apache.org Subject: MustUnderstand Error Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi all, I'm having some problems with my application. When I try to use some security mechanisms as "add a usernameToken, signature or cypher", I get the following error: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand faultSubcode: faultString: Did not understand "MustUnderstand" header(s): faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:posseidon Did not understand "MustUnderstand" header(s): at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:713) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:424) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2765) at org.apache.axis.client.Call.invoke(Call.java:2748) at org.apache.axis.client.Call.invoke(Call.java:2424) at org.apache.axis.client.Call.invoke(Call.java:2347) at org.apache.axis.client.Call.invoke(Call.java:1804) at org.ecolead.service.EchoServiceSoapBindingStub.echo(Unknown Source) at test.Test.testSecureEcho(Test.java:79) at test.Test.main(Test.java:92) I wasn't able to change this mustUnderstand value. It is always like: I did some search in the web and some people said that when using Axis 1.2 you must use the mustUnderstand=true. I'm using JDK1.5 + Axis 1.2.1 + Tomcat 5.5.9 I really apreciate some help, please... Thanks... =============================================== I am careful not to confuse excellence with perfection. Excellence, I can reach for; perfection is God's business. RAFAEL J. DEITOS Industrial Automation and Control Engineering UFSC - Florianopolis - SC - Brazil http://www.das.ufsc.br/~deitos ===============================================