Steve,
What would be the downside of mapping any MIME type to
a java.lang.Object by default (via MIME_OCTETSTREAM)
if there is no specific mapping?
In most cases (except for multipart), a MIME type
represents a file of some sort, no?
Mark
--- Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> ----- Original Message -----
> From: "Mark Mueller" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 30, 2003 17:19
> Subject: RE: Interoperative attachments (MIME types)
>
>
> > I think I may have solved the problem. I think
> > there's a misspelling of "octet-stream" in line
> 702 of
> > org.apache.axis.wsdl.toJava.Utils:
> >
> > else if
> ("application/octetstream".equals(mimeName)) {
> > return Constants.MIME_OCTETSTREAM;
> >
> > If I use "application/octetstream" in my WSDL
> > WSDL2Java works. The signature of the stub is:
> > java.lang.Object echoAttachment( java.lang.Object
> )
>
> I've just fixed that. Thank you for tracking down
> the problem.
>
> -steve
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com