aspose file tools*
The moose likes Web Services and the fly likes how a SOAP Node says its in a specific 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 a SOAP Node says its in a specific role " Watch "how a SOAP Node says its in a specific role " New topic
Author

how a SOAP Node says its in a specific role

khan gul
Ranch Hand

Joined: Jan 27, 2011
Posts: 30
Hi,
While reading SOAP I came across the concept of understanding role. My question is how a soap Node acquire a specific role? For example if a soap message is send to an end point with a role header set to say "http://myrole.com" then how the reciever says I am in that specific role? Is it up to the recieving node who inspects the header and decide that I am in this role?
regards,
gul
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
A SOAP node must be coded or configured, in order to be able to know which role it is in.
Your understanding about having to inspect the header blocks is correct; the SOAP node must inspect the headers and process headers as stipulated by the SOAP specification and the Basic Profile.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
Don't get me started about those stupid light bulbs.
 
subject: how a SOAP Node says its in a specific role