wood burning stoves 2.0*
The moose likes Web Services and the fly likes How could this handler get a role ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How could this handler get a role ?" Watch "How could this handler get a role ?" New topic
Author

How could this handler get a role ?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi all.
my web service application contains two handlers :
the first creates a header block called <order-id>
the second gets the previous header block and log it, the actor for this handler is :
http://mydomain/ws/logger
here are some snippets from SOAP message :

here are some snippets from web.xml :

well, using SAAJ, I know how to add this block to header element, and how to log the id in LoggerHandler, but I have one problem :
what is the value of <soap-role> element of OrderID handler ??
I'm not sure, but since OrderID handler is the first handler to be called, how can it get an actor (a role) ??
thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How could this handler get a role ?
 
Similar Threads
How does Handler work?
A query on actor attribute..
Handlers declaration
populating soap header from client?
service interface in both web.xml and webservices.xml?