I
Imran
Hi,
Please bear with me as I have only 1 weeks .NET experience.
I am using VB.NET to write a stand-alone client application that
connects to a Web service. I successfully send a request for a list
of items (i.e. getItemList), and successfully receive the list. I
then send a request for individual items from the list (i.e. getItem),
and successfully receive the item.
The situation is that the individual item/SOAP response contains
multipart MIME sections.
I would like to intercept (using SoapExtensions) the SOAP message
before it is deserialized and be able to decode the MIME sections,
before sending the SOAP message onto the deserializer.
I know I must intercept and decode the MIME as the deserializer
complains about the formatting of the SOAP message when it attempts to
read the message. (My requests are not encoded, only the responses
for the individual items are.)
I know that I must intercept the message when the message state is
BeforeDeserialize and perform the relevant actions.
I would be grateful if anyone can point me in the right direction for
HOW to decode the MIME and send the decoded message forward onto the
deserializer. Any examples would be greatly appreciated.
Thanks in advance.
AIM
Please bear with me as I have only 1 weeks .NET experience.
I am using VB.NET to write a stand-alone client application that
connects to a Web service. I successfully send a request for a list
of items (i.e. getItemList), and successfully receive the list. I
then send a request for individual items from the list (i.e. getItem),
and successfully receive the item.
The situation is that the individual item/SOAP response contains
multipart MIME sections.
I would like to intercept (using SoapExtensions) the SOAP message
before it is deserialized and be able to decode the MIME sections,
before sending the SOAP message onto the deserializer.
I know I must intercept and decode the MIME as the deserializer
complains about the formatting of the SOAP message when it attempts to
read the message. (My requests are not encoded, only the responses
for the individual items are.)
I know that I must intercept the message when the message state is
BeforeDeserialize and perform the relevant actions.
I would be grateful if anyone can point me in the right direction for
HOW to decode the MIME and send the decoded message forward onto the
deserializer. Any examples would be greatly appreciated.
Thanks in advance.
AIM