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/06 23:27:43 UTC

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

The following issue has been updated:

    Updater: Lisa Preston (mailto:lisa.preston@jhuapl.edu)
       Date: Tue, 6 Apr 2004 2:27 PM
    Comment:
Patch for using 'application/octet-stream':

* New MIME Content Type constants in Constants.java
* Replacement of hardcoded content type strings in files affected by 'octet-stream'

    Changes:
             Attachment changed to diff.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1289?page=history

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

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

   Assignee: 
   Reporter: Lisa Preston

    Created: Tue, 6 Apr 2004 8:33 AM
    Updated: Tue, 6 Apr 2004 2:27 PM
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