Doug, let's hold this discussion on axis-dev (I've cc'ed them) and get the wider audience involved. Some folks might have a better insight into this than me. My short answer is, I don't know. I've gotta study the WSDL spec a whole lot more. Perhaps others who have already done so can answer you.

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:part>
    </wsdlmime:multipartRelated>
</wsdl:output>
...

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:part>
    </wsdlmime:multipartRelated>
</wsdl:output>
...

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


Reply via email to