• 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

Configuring Axis2 WS Security, Rampart etc for a Web Service Client

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

Im having some trouble configuring my web service client. As i don´t have much experience and i had an example of a valid request from a previously developed client (phasing out), i sniffed the valid request and compared it to the request from the new client being developed.

I will paste both here, maybe somebody can give my some pointers on how to configure the client to generate a valid request:

First the request that works:



now the request that fails (FAILS with this error: The security token could not be authenticated or authorized ---> Invalid Password)



As you see there is some differences (some info was changed to keep some private info, well... private).

The first is the standalone property or whatever on the xml tag.
Message id is not generated in the same "fashion" also i think is not important...
Timestamp in the valid request has some info equivalent to message id
Nonce doen´t specify encoding type, which makes me believe is not the same coding type
UsernameToken has a SecurityToken thing also related to messageid.

Well any tip is appreciated....

Sebastian


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic