You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/04/08 14:57:43 UTC

[jira] Closed: (AXIS-1289) Processing of 'octet-stream' content type for MIME SOAP attachments

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Thu, 8 Apr 2004 5:57 AM

Lisa,

do you have a WSDL that i can test with? i have some changes in my sandbox that will help.

-- dims
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1289

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1289
    Summary: Processing of 'octet-stream' content type for MIME SOAP attachments
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Lisa Preston

    Created: Tue, 6 Apr 2004 8:33 AM
    Updated: Thu, 8 Apr 2004 5:57 AM
Environment: Java 1.4.1_03
Axis 1.2

Description:
In Axis 1.2, there seems to be an inconsistency in the use of 'application/octetstream' (incorrect) and 'application/octet-stream' for handling MIME content as defined by a WSDL.  As a result, the representation selected by WSDL2Java for the resultant source code is DataHandler (generic) instead of OctetStream when the proper content type is used.

All references to 'application/octetstream' should either be corrected, or should be a backwards compatibility option with 'application/octet-stream' as the preferred string. It would probably be a good idea to disallow further use of 'application/octetstream' by removing it completely.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira