[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

WSE - get content-type of DIME attachment?

Vincent Tripodi

12/31/2002 12:10:00 AM

Does anyone know how to obtain the content-type of a DIME attachment thats
part of a SOAP message?

Thanks


1 Answer

Vincent Tripodi

1/2/2003 6:20:00 PM

0

nevermind. I always make things harder than they have to
be.

you get the stream by doing:

strm =
Microsoft.Web.Services.HttpSoapContext.RequestContext.Attac
hments(0).Stream

so then you get the type by doing:

strType =
Microsoft.Web.Services.HttpSoapContext.RequestContext.Attac
hments(0).Type


Too much eggnog.


>-----Original Message-----
>Does anyone know how to obtain the content-type of a DIME
attachment thats
>part of a SOAP message?
>
>Thanks
>
>
>.
>