• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 2 & Rampart - Missing Security Header

 
Alan Macfarlanes
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm connecting to a secure service.

I have a SOAP UI project configured to use a jks file to provide the certificate, along with appropriate security settings to allow me to get a valid response.

I've have used AXIS 2 and Rampart to create a SOAP request from a JAVA project. Using TCPMon I've managed to grab the SOAP request.

When the request runs in the JAVA project, I just get the response:

org.apache.axis2.AxisFault: Missing wsse:Security header in request

but if I take the same request, captured in TCPMon and put it in a SOAP UI project, I get a response successfully.

Anyone got any ideas?
(Using Axis 2 1.5.1 and Rampart 1.5.1)

Thanks Alan
 
Tim Moores
Bartender
Posts: 2752
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the complete request.
 
Alan Macfarlanes
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



I've removed some of the encrypted values.
THis is the request generated by AXIS 2

 
Alan Macfarlanes
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Based on the policies from the Rampart samples
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic