I just had this same problem while engaging the addressing module.

The issue was I was using Axis 1.2 and the Addressing 1.0 module.  Upgraded the addressing to 1.2 and it fixed it.

Chad DeBauch wrote:
Some code that is executing is calling the method isEngaged(QName) but with the latest release of Axis2 if you look at the java docs the only isEngaged method accepts a String.  Make sure you don't have any code that calls the method isEngaged(QName) and that you are using the latest 1.2 jars of both Rampart and Axis2.  You also might want to check that you don't have duplicate jars, that is an older version is loaded before your newer version jar.

Chad

On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi Chad,


I made download of the archive however still the error occurs
java.lang.NoSuchMethodError: org.apache.axis2.context.MessageContext.isEngaged(Ljavax/xml/namespace/QName;)Z

some idea of as I can decide?

Link download
http://www.apache.org/dist/ws/rampart/1_2/

thanks,

Evandro P. Contato
Curitiba - Paraná - Brasil


Chad DeBauch wrote:
>
> You need to be using rampart-1.2.mar with axis2-1.2.
>
> Chad
>
> On 6/19/07, Shantaram Nadkarni <[EMAIL PROTECTED]> wrote:
>>
>>  Hi
>>
>>
>>
>>   I am trying to engage rampart module. I get the following error
>>
>>
>>
>> org.apache.axis2.AxisFault: java.lang.NoSuchMethodError : boolean
>> org.apache.axis2.context.MessageContext.isEngaged(javax.xml.namespace.QN
>>
>> ame)
>>
>>             at
>>
>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext (Utils.java
>>
>> :434)
>>
>>             at
>>
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
>>
>> ation.java:373)
>>
>>             at
>>
>> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
>>
>> peration.java:294)
>>
>>
>>
>> I am using rampart-1.1.mar and axis2-1.2
>>
>>
>>
>> I have included the module in the service.xml as well as axis2.xml
>>
>>
>>
>> Please advice.
>>
>>
>>
>> Thanks
>>
>>
>>
>> Shantaram
>>
>>
>>
>
>
Quoted from:
http://www.nabble.com/NoSuchMethodError-error-while-engagin-rampart-tf3947792.html#a11200135




-- 
Anthony
-------------------------------------
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand

[EMAIL PROTECTED]
Ph  +64 4 472 8818
Fax +64 4 472 8811
Mobile 021 303 692
-------------------------------------
www.bcsoft.co.nz
---------------------------------------------------------------
This email may contain confidential or privileged information,
and is intended for use only by the addressee, or addressees.
If you are not the intended recipient please advise the sender
immediately and do not copy, use or disclose the contents to
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses
received with this email, or to any changes made to the original
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black
Coffee Software Ltd.
---------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to