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 "Akitoshi Yoshida (JIRA)" <ax...@ws.apache.org> on 2007/08/24 13:01:34 UTC

[jira] Created: (AXIS-2691) requesting org.apache.axis.attachments.OctetStreamDataSource with configurable content type

requesting org.apache.axis.attachments.OctetStreamDataSource with configurable content type
-------------------------------------------------------------------------------------------

                 Key: AXIS-2691
                 URL: https://issues.apache.org/jira/browse/AXIS-2691
             Project: Axis
          Issue Type: Improvement
          Components: Basic Architecture
    Affects Versions: 1.4
         Environment: Win XP, JDK 1.4.2, Axis 1.4
            Reporter: Akitoshi Yoshida
            Priority: Minor
             Fix For: current (nightly)


The current implementation of org.apache.axis.attachments.OctetStreamDataSource assumes the fixed content type of application/octet-stream.
Since there is no other appropriate implementation for representing some unknown binary data, it would be more useful if OctetStreamDataSource can take a configurable content type as in ImageDataSource that has a default content type of img/jpeg but can be configured to use any image type.

I propose to add an addional constructor to OctetStreamDataSource that takes the content type parameter.
Enclosed in the diff file and the modified source file.

Best regards, Aki


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS-2691) requesting org.apache.axis.attachments.OctetStreamDataSource with configurable content type

Posted by "Akitoshi Yoshida (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akitoshi Yoshida updated AXIS-2691:
-----------------------------------

    Attachment: source.zip

the diff file OctetStreamDataSource.diff 
and
modified OctetStreamDataSource.java


> requesting org.apache.axis.attachments.OctetStreamDataSource with configurable content type
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIS-2691
>                 URL: https://issues.apache.org/jira/browse/AXIS-2691
>             Project: Axis
>          Issue Type: Improvement
>          Components: Basic Architecture
>    Affects Versions: 1.4
>         Environment: Win XP, JDK 1.4.2, Axis 1.4
>            Reporter: Akitoshi Yoshida
>            Priority: Minor
>             Fix For: current (nightly)
>
>         Attachments: source.zip
>
>
> The current implementation of org.apache.axis.attachments.OctetStreamDataSource assumes the fixed content type of application/octet-stream.
> Since there is no other appropriate implementation for representing some unknown binary data, it would be more useful if OctetStreamDataSource can take a configurable content type as in ImageDataSource that has a default content type of img/jpeg but can be configured to use any image type.
> I propose to add an addional constructor to OctetStreamDataSource that takes the content type parameter.
> Enclosed in the diff file and the modified source file.
> Best regards, Aki

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org