Hi Brandon,
          Is this a secure conversation scenario ? Can you share your client
code ?

regards,
Nandana

On Wed, Jul 8, 2009 at 1:44 AM, Brandon Kane <bk...@angoss.com> wrote:

> Hi there,
>
> I'm trying to set up Axis2 1.5 and Rampart 1.4 to use message level
> security as a client to call a .NET WCF web service.  The service itself
> is a simple ping service that accepts a string and returns one, just to
> confirm interoperability before we move on to more complicated services.
> When building the request I am getting this error.  I've followed the
> steps from the tutorial at https://wso2.org/library/3415
> <https://wso2.org/library/3415>  which seems pretty good.
>
> I suspect there is some issue with my policy or other configuration, but
> I'm not sure where to start so I thought I would try here to see if
> anyone has any ideas.
>
> Thanks!
>
> Brandon
>
> Caused by: java.lang.NullPointerException
>
> at
> org.apache.rampart.builder.SymmetricBindingBuilder.initializeTokens(Symm
> etricBindingBuilder.java:883)
>
> at
> org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindin
> gBuilder.java:83)
>
> at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144)
>
> at
> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
>
> at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
>
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
>
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:416)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
> ation.java:402)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
> xisOperation.java:229)
>
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165
> )
>
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:539
> )
>
> at
> org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:13
> 4)
>
> at org.apache.rampart.util.RampartUtil.getToken(RampartUtil.java:644)
>
> ... 33 more
>
>

Reply via email to