Hi Nuria,
       Are you using the latest Rampart jars ? Can you post the SOAP
response you get from the server ?
I checked the sample with the trunk and it worked fine for me.
      Please take a look at this [1] thread too.

Thanks,
/nandana

[1] - http://marc.info/?t=120178670800003&r=1&w=2

On Feb 8, 2008 7:03 PM, Nuria Rodríguez García <[EMAIL PROTECTED]> wrote:
> Hi Nandana,
>
> I could deploy the services without problem. But now when I execute the
> client side I receive the following error.
> Exception in thread "main" org.apache.axis2.AxisFault: An error was
> discovered processing the <wsse:Security> header. (Reference URI is
> null)[java] at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)[java]
> at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)[java]
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)[java]
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)[java]
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)[java]
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)[java]
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)[java]
> at org.apache.rampart.samples.policy.sample05.Client.main(Unknown Source)
>
> I could see that the Assertion doesn't appear in the soap envelope header
>
> Thanks,
> Nuria
>
> 2008/2/7, Nandana Mihindukulasooriya <[EMAIL PROTECTED]>:
> >
> >
> >
> > Hi Nuria,
> >
> > > In sample05 I can see that in the "requestSecurityToken" method the EPR
> that
> > > It's used is http://localhost:8080/axis2/services/STS but if I put this
> url
> > > in my browser I receive an error page
> >
> > Did you follow the following steps ?
> >
> > 1.) Set the AXIS2_HOME system variable to point to your axis2 home
> directory
> >
> > 2.) Run the ant task "service.05" ( you have to have apache ant installed
> )
> > eg.)
> > /path-to-rampart-source/modules/rampart-samples/policy$ ant service.05
> >
> > you must then be able to see something like
> >
> >     [java] [SimpleHTTPServer] Starting
> >     [java] [SimpleHTTPServer] Using the Axis2 Repository
> >
> /home/nandana/work/workspace/apache/rampart/modules/rampart-samples/policy/build/service_repositories/sample05
> >     [java] [SimpleHTTPServer] Listening on port 8080
> >     [java] [SimpleHTTPServer] Started
> >     [java] 2008-02-07 16:39:25,670 INFO
> > org.apache.axis2.transport.http.server.DefaultConnectionListener -
> > Listening on port 8080
> >
> > along with some other information in the console and
> >
> > http://localhost:8080/axis2/services/STS?wsdl
> > http://localhost:8080/axis2/services/sample05?wsdl
> >
> > should show the WSDLs of the STS and the service.
> >
> > regards,
> > nandana
> >
> > http://nandana83.blogspot.com/
> > http://nandanasm.wordpress.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


http://nandana83.blogspot.com/
http://nandanasm.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to