Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jws context - getInputHeaders  RSS feed

 
charu latha
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a WebService that was built using WL workshop.

My input XML(header alone ) to this webservice is



I am trying to read all the header values using the code below :



What i get in the console is :

length of element1
UpdateAccountControlPortTypeImpl - parseHeaderValues
UpdateAccountControlPortTypeImpl - getElementByTagName
UpdateAccountControlPortTypeImpl - getElementByTagName
UpdateAccountControlPortTypeImpl - getElementByTagName
UpdateAccountControlPortTypeImpl - getElementByTagName
UpdateAccountControlPortTypeImpl - getElementByTagName
UpdateAccountControlPortTypeImpl - getElementByTagName
UpdateAccountControlPortTypeImpl - getElementByTagName
UpdateAccountControlPortTypeImpl - parseHeaderValues
Header Details : {attributeName=, requestorRole=, transactionId=, requestorIdTy
pe=, attributeValue=, applicationId=, id=}

The header values never come back. Any inputs on why this is happening?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!