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

Jon Hanshew commented on RAMPART-76:
------------------------------------

Thanks you very much.  I don't know how that happened.

I have moved on.  I am able to get all the "Policy" samples except for
tomcat to run, but the "Basic" ones do not.

However, I cannot get my own WS to run.  Here is a code section:

EmsServiceStub  stub =      new EmsServiceStub (ctx,
"http://localhost:8080/axis2/services/EmsService";);
ServiceClient   client =    stub._getServiceClient();
Options         options =   client.getOptions();
               
options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,loadPolicy("C:
/SecurityPolicy/policy.xml"));
client.engageModule("addressing");
client.engageModule("rampart");
                
response = stub.GetData(request); 

When I comment out the "engage" statements it runs fine.  When I leave
them in I get the following error:

org.apache.axis2.AxisFault: The server did not recognise the action
which it received: 
        at
org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(Add
ressingInFaultHandler.java:114)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
        at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
        at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
        at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:336)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)




        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)

Any Clues your might be able to offer would be very much appreciated.

Thanks,

Jon 



> Rampart 1.3.mar throws error with Axis2 1.3
> -------------------------------------------
>
>                 Key: RAMPART-76
>                 URL: https://issues.apache.org/jira/browse/RAMPART-76
>             Project: Rampart
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Windows XP running apache-tomcat-6.0.14 and Axis2-1.3
>            Reporter: Jon Hanshew
>             Fix For: 1.3
>
>
> Downloaded and installed Rampart 1.3 from 
> http://people.apache.org/~ruchithf/rampart/1_3/  as suggested by "dims".  
> Copied latest jars to C:\apache-tomcat-6.0.14\webapps\axis2\WEB-INF\lib.
> Copied rampart-1.3.mar to 
> C:\apache-tomcat-6.0.14\webapps\axis2\WEB-INF\modules
> Started Tomcat.
> Got following error.
> [INFO] Deploying module: ping-1.3
> [ERROR] The rampart-1.3.mar module, which is not valid, caused 
> org/apache/axis2/wsdl/codegen/extension/ModulePolicyExtension
> java.lang.NoClassDefFoundError: 
> org/apache/axis2/wsdl/codegen/extension/ModulePolicyExtension
>         at java.lang.ClassLoader.defineClass1(Native Method)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to