[
https://issues.apache.org/jira/browse/RAMPARTC-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573590#action_12573590
]
Manjula Peiris commented on RAMPARTC-71:
----------------------------------------
Yes Uthiyashankar is right. Your fix does not pick policies attached at
operation level. Policy can be attached at message level also. Actually Axis2/C
finds the operation from one of the following 3 dispatching.
1. Using the url
2.Using Addressing Action
3. Using the body
Actually for security messages the option 3 cannot be used. Because the body
can be encrypted. In that case we need to invoke security handlers before body
based dispatcher. But security handlers cannot be invoked until we resolves
policies . In that case we need operation. So this is like a chicken egg
problem. So for Rampart/C ws-Addressing is a must in the receiving side. If not
you need to specify the operation in the url. Since Axis2/C fully supports
WS-Addressing I don't think this is a big issue.
> Rampart does not work unless the operation name is in the URL
> -------------------------------------------------------------
>
> Key: RAMPARTC-71
> URL: https://issues.apache.org/jira/browse/RAMPARTC-71
> Project: Rampart/C
> Issue Type: Bug
> Components: Rampart-core
> Affects Versions: 1.1.0
> Environment: Windows XP
> Reporter: Dave Meier
> Assignee: S.Uthaiyashankar
> Priority: Critical
> Fix For: Current
>
> Attachments: rampart_engine_c_diff.txt
>
>
> Using regular SOAP calls without rampart I can use
> http://localhost:9090/axis2/services/myservicename as the URL and axis2/c
> gets the operation name out of the XML. With rampart, it only works if I add
> the operation name to the end of the URL (e.g.
> http://localhost:9090/axis2/services/myservicename/myoperation). This adds a
> lot of complexity to the client as I have to use a different URL for each
> operation.
> I am using Visual Studio 2005 C# as the client.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.