axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Attanayake (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAMPART-373) The server did not recognise the action which it received - Exception in thread "main" org.apache.axis2.AxisFault
Date Sat, 30 Jun 2012 11:08:44 GMT

    [ https://issues.apache.org/jira/browse/RAMPART-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404451#comment-13404451
] 

Suresh Attanayake commented on RAMPART-373:
-------------------------------------------

Hi Nandagopal,

You should NOT copy rampart libs to axis2 manually. You should use the ant script given in
the rampart samples to copy necessary libs and mars into axis2. Follow the given bellow steps
:

1. Make sure you have set the AXIS2_HOME property pointing to an Axis2-1.6.1 server distribution.
(ex : AXIS2_HOME="/home/user/Desktop/axis2-1.6.1")
2. Open a terminal and go to the <rampart-1.6.1>/samples/ folder.
3. Run the ant script by simply issuing the command ant

 There is a simple module versions fix to be done in the ant scripts inside the build.xml
files in both policy/ and basic/ samples.

4. Go into the policy folder and open the build.xml file using a text editor. 
5. Change the versions of addressing, rampart, rahas mar versions from 1.6.0 to 1.6.1. So
finally those properties should look like given bellow,

        <property name="addressing.mar" value="addressing-1.6.1.mar"/>
        <property name="rampart.mar" value="rampart-1.6.1.mar"/>
        <property name="rahas.mar" value="rahas-1.6.1.mar"/>

Now run the samples.

6. Inside the policy/ folder issue the following command to run the samples 03 service,
    ant service.03
7. Inside the policy/ folder issue the following command to run the sample 03 client,
    ant client .03

Please follow the above steps and that should work.

Thanks,
-Suresh 
  
                
>  The server did not recognise the action which it received - Exception in thread "main"
org.apache.axis2.AxisFault
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAMPART-373
>                 URL: https://issues.apache.org/jira/browse/RAMPART-373
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-tests
>    Affects Versions: 1.6.1
>         Environment: windows xp
>            Reporter: Nandagopal
>             Fix For: 1.6.1
>
>
> I am using axis2-1.6.1 with rampart-1.6.1. I have copied library files from rampart to
axis lib folder.
> I am trying to run the samples in rampart distribution 1.6.1. 
> I am able to run the server file but getting exception in client program. 
> Exception stack trace 
> **************************
>      [java] log4j:WARN Please initialize the log4j system properly.
>      [java] Exception in thread "main" org.apache.axis2.AxisFault: The server did not
recognise the action which it received:
>      [java]     at org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
>      [java]     at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>      [java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>      [java]     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>      [java]     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:364)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>      [java]     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>      [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>      [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
>      [java]     at org.apache.rampart.samples.sample03.Client.main(Unknown Source)
>      [java] Java Result: 1
> Please Help me out. Thanks in advance :) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message