Two Laptop Bag*
The moose likes Web Services and the fly likes Reading a SOAP Response/Handlers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Reading a SOAP Response/Handlers" Watch "Reading a SOAP Response/Handlers" New topic
Author

Reading a SOAP Response/Handlers

Navi Singh
Ranch Hand

Joined: Jul 24, 2002
Posts: 80
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

Joined: Jul 24, 2002
Posts: 80
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

Joined: Oct 07, 2004
Posts: 5
try following link

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q308466&ID=kb;en-us;Q308466&SD=MSDN
Navi Singh
Ranch Hand

Joined: Jul 24, 2002
Posts: 80
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

Joined: Sep 29, 2004
Posts: 11
Hi Navi,

One example and some explanations can be found here:

http://java.sun.com/webservices/docs/1.3/tutorial/doc/JAXRPC7.html#122942


SCJP1.1,SCJD,SCEA(part1,beta),SCJP1.2,SCWCD(Beta),SCBCD(Beta),SCDJWS(Beta)
Dharamvir (DV) Punia
Ranch Hand

Joined: Oct 04, 2004
Posts: 34
Hi,

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

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

-DV
Navi Singh
Ranch Hand

Joined: Jul 24, 2002
Posts: 80
Cool Sounds good to me,
Let me try this and get back to you!!!

Thanks,
-Navi
Navi Singh
Ranch Hand

Joined: Jul 24, 2002
Posts: 80
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

Joined: Oct 04, 2004
Posts: 34
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
 
Consider Paul's rocket mass heater.
 
subject: Reading a SOAP Response/Handlers
 
Similar Threads
How can we use JAXB to marshall the whole SOAP request/response ?
Valiadation of Object parameters
Multiple Linguistic
Competitive aspect oriented frameworks?
Probs w/ recent reinstall