You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Marko Käis <ma...@eer.ee> on 2005/05/12 09:08:03 UTC

Mime attachments referenced in SOAP envelope

Hi.

 

My web-service needs to receive an array of documents (document contains
name and content):



ArrayOfDocuments -> Document -> (name:string; content:base64Binary)

 

Client demands that document content is sent as an mime attachment and SOAP
envelope contains a reference to each attachment.

 

What is the correct WSDL for this kind of structure to generate java
classes?

 

Does Axis support receiving referenced content?

 

 

An example of SOAP message as my client fancies it:

 

<ArrayOfDocuments xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
soapenc:arrayType="ns6:documentType[1]" xsi:type="soapenc:Array">

<item xsi:type="ns6:documentType">

<name xsi:type="xsd:string">asdasd</name>

<content href="cid:BE6C9984FED0A7515B021C35B3344D1E"/>

</item>

</ArrayOfDocuments>

 

Marko