• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AXIS2 / RAMPART - response header missing.

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I seem to be sending the request properly; however, I am getting a response without a header. It then is throwing me the error:



Does anyone have any thoughts? See request and response below:

Request:


Response:

 
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think that the key is

the server miss something (perhaps a jar or security handler) to understand the security header that the client send.


Best reggards,


 
Jack Rodriguez
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the response. I've thought of that... but I can't find an error that references what is missing and can't find anything missing. Does anyone else have a thought or suggested jar file to try?

Thanks,
 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Take a look to that reference for apache rampant configuration How to generate a non-secured response to a secured request?

 
Jack Rodriguez
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,

I have looked at this before as well. I'm not sure what is meant by "2. Create a module [say, nosecuity] with handler having the following logic.
view plaincopy to clipboardprint?
01.public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
02. msgContext.setCurrentHandlerIndex(msgContext.getCurrentHandlerIndex() + 2);
03. return InvocationResponse.CONTINUE;
04.} "

Do you know what they're referring to when they say to create a module?

Mike
 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The example code is already in the linked page add it to your project code
Following axis 2 reference axis 2 config. try the configuration in the linked page or something like this



Cheers,
 
Jack Rodriguez
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see the sample code. What do they want me to do with it though? Take the files and package them into a .mar file and put them into the axis2/modules/ folder?

And add the phaseOrder to the axis2.xml file?

Thanks,
Mike
 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I understand that you have to package the code in a mar file and deploy it in webapps/axis2/WEB-INF directory as explained Writing Your Own Axis2 Module
and then you must add the configuration snippets to the axis2.xml.


Cheers,
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic