tags:

views:

552

answers:

0

Hi everybody,

I have a web service developed with Axis v1.4, the WSDL describe a method with attachement by using MIME. I can't modify the server side. How can I get the attachement file with a WCF client ?

Here the WSDL of the service :

<operation name="MyMethod">
  <soap:operation soapAction="AssTSTService:MyMethod" />
    <input>
      <soap:body parts="body" use="literal" />
    </input>
    <output>
      <soap:body parts="body" use="literal" />
        <mime:multipartRelated>
          <mime:part>
            <mime:content part="fichier" type="application/octet-stream" />
          </mime:part>
        </mime:multipartRelated>
    </output>
</operation>

Thanks a lot for your help!

Best regards,

Samir Bouzir.