Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading a SOAP Response/Handlers

 
Navi Singh
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
Have a question as usual.
I have a XML-response using SOAP service.
Also am using JAXB for Marshalling/Unmarshalling.
So when i have the SOAP response XML, how do i send it "DIRECTLY" to the
"UnMarhshalling()" of JAXB.
Sample code if possible.

Right now i have a sample ".XML" stored in a folder-file which is passed as string to "Unmarshall()".


Thanks IN advance,
-Navi

[ October 15, 2004: Message edited by: Navi Singh ]

[ October 15, 2004: Message edited by: Navi Singh ]
[ October 16, 2004: Message edited by: Navi Singh ]
 
Navi Singh
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
Digging digging found out the use of "Handlers" .
Now is there any good article for how/where/when to
use the "Handlers in Soap Response and Request".

Thanks In advance,
-Navi
 
mark issac
Greenhorn
Posts: 5
 
Navi Singh
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,
I am using the IBM-WSAD 5.1.1 environment.
Haven't got a clue about ASP or Microsoft Product.

Thanks,
-Navi.
 
Roger Duchemin
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Navi,

One example and some explanations can be found here:

http://java.sun.com/webservices/docs/1.3/tutorial/doc/JAXRPC7.html#122942
 
Dharamvir (DV) Punia
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I hope this helps:
===================================================================

============================================================================

-DV
 
Navi Singh
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool Sounds good to me,
Let me try this and get back to you!!!

Thanks,
-Navi
 
Navi Singh
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That worked perfect......
Have another question,
How do we include the UserId / password in the header of the SOAP request.
Code patch if possible..Please

Thanks Very Much,
-Navi
 
Dharamvir (DV) Punia
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have never tried sending user id and password in soap header but you can try this out and see if it works for you.

You might have to check the 2nd option by testing using tcpip monitor in WSAD to see if it keeps the user id and password in the header of the envelope.

There is also a link below which talks about security, its from ibm.
Build secure Web services with WebSphere Studio

-DV
dv.punia@gmail.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic