Thanks Davanum.
<rant>It's shocking how complex WSDL is for something so notionally simple.
For example I looked at the WSDL at Anne's blog for an operation that takes
two integers and returns the sum of those integers. Now, notionally I could
write this in at most 4 (very short) lines of text and I don't think there
could possibly be any ambiguity about what was meant. Yet the sample at
Anne's blog is well over 100 (long) lines of obtuse WSDL. Was common sense
absent on the day that WSDL was born or did it really have to be this
complex? It's a major barrier to comprehension and therefore to use.</rant>
From: Davanum Srinivas <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Subject: Re: Attachments, curse thy name
Date: Tue, 25 Oct 2005 11:20:29 -0400
http://svn.apache.org/repos/asf/webservices/axis/trunk/java/test/wsdl/interop4/groupG/mime/doc/
On 10/24/05, Jarmo Doc <[EMAIL PROTECTED]> wrote:
> OK, I've come to the conclusion that you cannot write Java classes that
hope
> to refer to Mime-attached files and expect java2wsdl to generate
anything
> useful.
>
> So it looks like I'll have to write that part of the WSDL manually to
> indicate that member X of class Y is actually a Mime-attached file.
Only
> problem is, how do you do that? All attempts that I have made so far
fail
> the wsdl2java test (e.g. java.io.IOException: Type
> {http://schemas.xmlsoap.org/wsdl/soap/}Multipart is referenced but not
> defined.)
>
> Anybody out there have a simple doc/lit WSDL example (that works with
Axis
> 1.2.1 or 1.3) that declares a complextype that contains a Mime-attached
> file? The Axis swa sample doesn't do this.
>
> PS the results have to work with non-Axis clients.
>
> Thanks.
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's
FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
--
Davanum Srinivas : http://wso2.com/blogs/
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/