my dog learned polymorphism*
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
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.
 
jQuery in Action, 2nd edition
 
subject: How could this handler get a role ?
 
Similar Threads
How does Handler work?
A query on actor attribute..
populating soap header from client?
Handlers declaration
service interface in both web.xml and webservices.xml?