You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by Michael Schuerig <mi...@schuerig.de> on 2004/11/21 01:14:09 UTC

SOAP: Accessing headers; custom deserializers?

I'm utterly new to WSIF and don't quite understand yet, if there are 
clean ways to do what I'm trying to do. There are two things I was 
unable to find out from the docs.

For a SOAP-based service, how can I get the value of a SOAP header? In 
this particular case, there's an expiry time that I'd like to access. 
Preferably, I'd like to access this metadata in a provider-independend 
way. I don't think WSIF can do this right now and I'm not sure if this 
is possible at all.

I'm using Axis and the web service I'm calling returns a value that has 
to be handled by a custom deserializer. WSIFService.mapType() doesn't 
help as it only registers that an element is mapped to a type, but 
doesn't say how the mapping/deserialization is done.

Any suggestions are appreciated.

Michael

-- 
Michael Schuerig                              Life is just as deadly
mailto:michael@schuerig.de                               As it looks
http://www.schuerig.de/michael/          --Richard Thompson, Sibella