views:

26

answers:

0

Hello,

I have a web service who sends xml soap with multipart mixed like this :

<GetMultimediaMessageResponse xmlns="http://www.logicacmg.com/mmbox/schema/REL-1-0-0"&gt;
<Status>
<StatusCode>1000</StatusCode>
<StatusText>success</StatusText>
</Status>
<MultimediaMessage>
<From><![CDATA[maurice <[email protected]>]]></From>
<Subject><![CDATA[maurice]]></Subject>
<Date>1059988106000</Date>
<ResentDate>1059988345000</ResentDate>
<Content href="cid:D9AF628A4888EFCCC550C11F6245B544"/>
</MultimediaMessage>
</GetMultimediaMessageResponse>
.
.
.
.
------=_Part_1_12073952.1083942425156
Content-Type: multipart/mixed;
boundary="----=_Part_0_31291190.1083942425125"
Content-Transfer-Encoding: binary
Content-Id: <D9AF628A4888EFCCC550C11F6245B544>
------=_Part_0_31291190.1083942425125
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
test voor maurice
------=_Part_0_31291190.1083942425125--

When I read with a c# client from a wsdl specification, I have this exception :

Le client a trouvé 'multipart/related; type="text/xml"; start="<546BA1A6938AA986
F32B17FAD3893F60>";     boundary="----=_Part_7_313727612.1284207229314"' comme t
ype de contenu de la réponse, alors qu'il attendait 'text/xml'.
La demande a échoué avec le message d'erreur 

:

Do you know how can I read xml soap message and multipart/mixed in the same time with .net ?

Many thanks for your help.