• 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

wsse wss4j with axis client

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello.

I try to call a webservice with an axis client (wsdl2java).
With wss4j I add this Header:



But it does not work.
Here is a snippet of the response:


If I use another Header (see below) it works.



Can you please help me or give me a hint?
Thanks.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this may be the problem of the service side that is not recognizing the latest version of WSE. so when you used the older version(in the 2nd header you posted), it's working w/o problem.
 
Christoph Maierhofer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. I'll check this.

Update:
I don't know what the problem is.
As a workaround i make a SOAPHeaderElement by hand. Without wss4j.
[ February 02, 2007: Message edited by: Christoph Maierhofer ]
reply
    Bookmark Topic Watch Topic
  • New Topic