I have EJB3 exposed using the WebService Annotations. I need to access the SOAP headers for WS-* like Reliable MEsaging and Addresing information. How can i access it? Are they all accessible through the Annotation classes?
You've been around the ranch long enough to know that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.
As to your question, while I'm not sure how it can be achieved, I'm certain that annotations have nothing to do with it.
Ping & DNS - updated with new look and Ping home screen widget
Originally posted by anil datt: I have EJB3 exposed using the WebService Annotations. I need to access the SOAP headers for WS-* like Reliable MEsaging and Addresing information. How can i access it? Are they all accessible through the Annotation classes?
Thank You in Advance..
Sort of yes, sort of no. You can set some of it in Annotations, but basically when you deploy it, the server creates the header stuff. So whatever server you deploy on, find out how to figure out the URL and use a program like soapui and you can see the header format.
I had not used the site for almost 4 years, so I forgot the policy. Sorry.
I think it has something to do with the annotations. The only refernce in the EJB to the Web service is through annotations. I was wondering anyone has tried it. From within the class I can access the annotations, that means I can also access the @webservice annotation. There should not be something special with this annotation alone . When the container deploys the ejb I guess it generates the webservices.xml (or equivalent) file go mark that this ejb has webservice interface. -Anil [ January 26, 2007: Message edited by: anil das ]