Hi,
Sorry I may have posted this earlier today. I am currently using WSE 1
sp1 to implement a username token solution with password digest. Part of my
requirement is that when an exception is thrown the exception details must
be added to the <detail> portion of the <SOAP:Fault>.. This is fine for
anything after the web method is called as part of the XML Web service
lifetime. So for example as part of my solution if a user is validated I
take an XML document they submit and validate ti against a schema, if it
fails the correct exception is thrown and dealt with.
However if, as part of my header my user details are incorrect, I cannot
capture the exception details. Is the validation done before the invocation
of the Web Method??
If so how do I catch any exceptions and put them into <detail> portion of
the <SOAP:Fault>?? Do I write an extension to look at the soap message after
serialisation??
Any help appreciated..
Lenin
Lucien - 28 Jun 2004 23:45 GMT
Yes the validation is done before invoking the service. The message will
first go through the various WSE filters (security, policy etc.) before
invoking the service You could create a custom security token or create your
own filter to pre-process your message header.
> Hi,
> Sorry I may have posted this earlier today. I am currently using WSE 1
[quoted text clipped - 17 lines]
>
> Lenin