Russell Butek
[EMAIL PROTECTED]
To: Russell Butek/Austin/IBM@IBMUS
cc:
Subject: MIME Q.
So here's a question I'm not 100% certain on. Let's say you are generating WSDL from the following method signature:
Image getImage()
Should the generated WSDL <binding> look like this:
<binding ...>
...
<wsdl:output ...>
- <wsdlmime:multipartRelated>
<wsdlmime:part>
- <wsdlmime:content type="image/jpeg"/>
<wsdlmime:content type="image/gif"/>
</wsdlmime:multipartRelated>
...
or this:
<binding ...>
- ...
<wsdl:output ...>
<wsdlmime:multipartRelated>
<wsdlmime:part>
- <wsdlsoap:body parts="" use="encoded"/>
</wsdlmime:part>
<wsdlmime:part>
- <wsdlmime:content part="return" type="image/jpeg"/>
<wsdlmime:content part="return" type="image/gif"/>
</wsdlmime:multipartRelated>
...
where "return" is whatever the name is of the return value defined earlier in the WSDL. If this latter form should be used, what should the contents
of the parts attribute (on wsdlsoap:body) be?
Cheers,
--Doug
Doug Bitting
Agile Software
1 Almaden Blvd
San Jose, CA 95113
(408) 999-7120