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


Reply via email to