Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the difference b/w and

gupta prakash
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one please tell me what is the difference between and

1) What is the main purpose of WebServiceContext. Is it used internally within the service to store some data and processing?
2) Can we access the SOAPHeaders through this WebServiceContext?

I am having 2 EJB stateless web services. first service used the @Resource annotation to get a reference to the WebServiceContext.
what does this contains? Does it holds the reference to the SOAP Headers? And my first service(say A) will invoke the service(B) internally. So this WebServiceContext in A will be available in B?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic