• Post Reply Bookmark Topic Watch Topic
  • New Topic

(Axis2/Rampart) SecurityContextToken doesn't contain any sp:IncludeToken attribute  RSS feed

 
moco trah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am developing a java client using axis2 and rampart.
I have successfully tested a simple https connection.
Now I want to add user/password capability, so I have added the rampart jars to my project.
When the stub is created
ComputationStub stub = new ComputationStub(address);
The ComputationStub is created using wsdl2java.

I get the following exception:


Any ideea?

Below my client code:
 
moco trah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been using WSHttpBinding on the WCF server. I had to use the BasicHTTPBinding to get it working.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!