The wsdl is also available here : http://gist.github.com/67691 Just in case the attachement did not make it through.
Alexis On Fri, Feb 20, 2009 at 1:02 PM, Alexis Midon <[email protected]> wrote: > Hi Nandana, > > sorry for the late answer. Here is attached the wsdl I used. > And the code to create the AxisService is here [1] > > [1] > http://github.com/matthieu/apache-ode/blob/085025ab3639c7aa0255bbb9b905210ff6caf295/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java#L80 > > Thanks a lot for your help. > > Alexis > > > 2009/2/16 Nandana Mihindukulasooriya <[email protected]> > > Hi Alexis, >> can you post the WSDL you used ? >> >> thanks, >> nandana >> >> >> On Mon, Feb 16, 2009 at 9:06 AM, Alexis Midon <[email protected]> wrote: >> >>> I can't wait for your feedback, and may be a working sample ;) >>> >>> Thanks a lot Nandana! >>> >>> Alexis >>> >>> >>> >>> On Sun, Feb 15, 2009 at 3:49 PM, Nandana Mihindukulasooriya < >>> [email protected]> wrote: >>> >>>> Hi Alexis, >>>> Sorry I just saw the mail. I will have a look at your >>>> WSDL11ToAxisServiceBuilder and see why the policy is not being attached >>>> correctly. >>>> >>>> thanks, >>>> nandana >>>> >>>> >>>> >>>> On Thu, Feb 12, 2009 at 10:21 AM, Alexis Midon <[email protected]>wrote: >>>> >>>>> (forwarding to the rampart folks) >>>>> >>>>> Alexis >>>>> >>>>> >>>>> >>>>> ---------- Forwarded message ---------- >>>>> From: Alexis Midon <[email protected]> >>>>> Date: Tue, Feb 10, 2009 at 5:50 PM >>>>> Subject: Applying policies at binding hierarchy in Apache Axis2 >>>>> 1.4.1/Rampart 1.4 >>>>> To: [email protected] >>>>> >>>>> >>>>> >>>>> Hi everyone, >>>>> >>>>> based on this article: http://wso2.org/library/3786, I wrote my own >>>>> (simple) wsdl with a policy attached to the soap binding. >>>>> I load that wsdl with a WSDL11ToAxisServiceBuilder [1]. My issue is >>>>> that when I invoke the service the following AxisFault is thrown: >>>>> >>>>> org.apache.axis2.AxisFault: Must Understand check failed for header >>>>> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd: >>>>> Security >>>>> at >>>>> org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:102) >>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:166) >>>>> at >>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) >>>>> >>>>> >>>>> After a debugging session, it appears that the policy map of the >>>>> AxisService holds a policy reference, but the policy include and subject >>>>> do >>>>> not. And the policy is never accessed by the RampartReceiver. >>>>> >>>>> Could you tell what I'm missing and/or point me to a working sample of >>>>> embedded policy (I did not find any in Rampart repo)? >>>>> >>>>> Thanks in advance, >>>>> >>>>> Alexis >>>>> >>>>> [1] >>>>> http://github.com/matthieu/apache-ode/blob/085025ab3639c7aa0255bbb9b905210ff6caf295/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java#L80 >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Nandana Mihindukulasooriya >>>> WSO2 inc. >>>> >>>> http://nandana83.blogspot.com/ >>>> http://www.wso2.org >>>> >>> >>> >
