This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EJB3 and SOAP WS-* access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB3 and SOAP WS-* access" Watch "EJB3 and SOAP WS-* access" New topic
Author

EJB3 and SOAP WS-* access

Anil Datt
Greenhorn

Joined: Oct 02, 2003
Posts: 2
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..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
Hello "ad"-

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 - my free Android networking tools app
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Anil Datt
Greenhorn

Joined: Oct 02, 2003
Posts: 2
Ulf,

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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB3 and SOAP WS-* access
 
Similar Threads
how we can access to soap fault when having soapMessage?
Accessing .NET web service from java
Which style of webservice to use for heavy file load?
How to learn WS*?
JAX-WS Client for a SOAP service provider