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 "Samuel Isokpunwu (JIRA)" <ji...@apache.org> on 2008/08/06 02:14:44 UTC

[jira] Created: (AXIS2-3963) Null DataHandler objects as MIME attachments

Null DataHandler objects as MIME attachments
--------------------------------------------

                 Key: AXIS2-3963
                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: jaxws
         Environment: windows
            Reporter: Samuel Isokpunwu


Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
not found).    Both client and server threw NPE's when this happened.

This change allows this to work. 

The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
per WS-I.Attachment Profile 1.0 clause R2917.

Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS




-- 
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: (AXIS2-3963) Null DataHandler objects as MIME attachments

Posted by "Samuel Isokpunwu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samuel Isokpunwu updated AXIS2-3963:
------------------------------------

    Attachment:     (was: patch1.txt)

> Null DataHandler objects as MIME attachments
> --------------------------------------------
>
>                 Key: AXIS2-3963
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>            Assignee: Rich Scheuerle
>
> Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
> when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
> not found).    Both client and server threw NPE's when this happened.
> This change allows this to work. 
> The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
> per WS-I.Attachment Profile 1.0 clause R2917.
> Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS

-- 
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] Commented: (AXIS2-3963) Null DataHandler objects as MIME attachments

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620622#action_12620622 ] 

Rich Scheuerle commented on AXIS2-3963:
---------------------------------------

I am running tests on the patch.  I will commit by the end of the day.

> Null DataHandler objects as MIME attachments
> --------------------------------------------
>
>                 Key: AXIS2-3963
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>            Assignee: Rich Scheuerle
>         Attachments: patch3.txt
>
>
> Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
> when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
> not found).    Both client and server threw NPE's when this happened.
> This change allows this to work. 
> The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
> per WS-I.Attachment Profile 1.0 clause R2917.
> Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS

-- 
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] Commented: (AXIS2-3963) Null DataHandler objects as MIME attachments

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620274#action_12620274 ] 

Rich Scheuerle commented on AXIS2-3963:
---------------------------------------

I have some questions about the patch.  I am working with Samuel on a possible modification to the patch.

> Null DataHandler objects as MIME attachments
> --------------------------------------------
>
>                 Key: AXIS2-3963
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>            Assignee: Rich Scheuerle
>         Attachments: patch1.txt
>
>
> Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
> when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
> not found).    Both client and server threw NPE's when this happened.
> This change allows this to work. 
> The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
> per WS-I.Attachment Profile 1.0 clause R2917.
> Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS

-- 
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] Assigned: (AXIS2-3963) Null DataHandler objects as MIME attachments

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned AXIS2-3963:
-------------------------------------

    Assignee: Rich Scheuerle

> Null DataHandler objects as MIME attachments
> --------------------------------------------
>
>                 Key: AXIS2-3963
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>            Assignee: Rich Scheuerle
>         Attachments: patch1.txt
>
>
> Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
> when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
> not found).    Both client and server threw NPE's when this happened.
> This change allows this to work. 
> The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
> per WS-I.Attachment Profile 1.0 clause R2917.
> Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS

-- 
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] Work started: (AXIS2-3963) Null DataHandler objects as MIME attachments

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AXIS2-3963 started by Rich Scheuerle.

> Null DataHandler objects as MIME attachments
> --------------------------------------------
>
>                 Key: AXIS2-3963
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>            Assignee: Rich Scheuerle
>         Attachments: patch1.txt
>
>
> Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
> when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
> not found).    Both client and server threw NPE's when this happened.
> This change allows this to work. 
> The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
> per WS-I.Attachment Profile 1.0 clause R2917.
> Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS

-- 
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: (AXIS2-3963) Null DataHandler objects as MIME attachments

Posted by "Samuel Isokpunwu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samuel Isokpunwu updated AXIS2-3963:
------------------------------------

    Attachment: patch1.txt

Patch

> Null DataHandler objects as MIME attachments
> --------------------------------------------
>
>                 Key: AXIS2-3963
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>         Attachments: patch1.txt
>
>
> Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
> when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
> not found).    Both client and server threw NPE's when this happened.
> This change allows this to work. 
> The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
> per WS-I.Attachment Profile 1.0 clause R2917.
> Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS

-- 
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: (AXIS2-3963) Null DataHandler objects as MIME attachments

Posted by "Samuel Isokpunwu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samuel Isokpunwu updated AXIS2-3963:
------------------------------------

    Attachment: patch3.txt

updated patch.

> Null DataHandler objects as MIME attachments
> --------------------------------------------
>
>                 Key: AXIS2-3963
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>            Assignee: Rich Scheuerle
>         Attachments: patch3.txt
>
>
> Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
> when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
> not found).    Both client and server threw NPE's when this happened.
> This change allows this to work. 
> The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
> per WS-I.Attachment Profile 1.0 clause R2917.
> Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS

-- 
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] Resolved: (AXIS2-3963) Null DataHandler objects as MIME attachments

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-3963.
-----------------------------------

    Resolution: Fixed

Committed 683622

> Null DataHandler objects as MIME attachments
> --------------------------------------------
>
>                 Key: AXIS2-3963
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3963
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>            Assignee: Rich Scheuerle
>         Attachments: patch3.txt
>
>
> Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter
> when there is no attachment to be returned.  (For example, in a document retrieval service when the document image is
> not found).    Both client and server threw NPE's when this happened.
> This change allows this to work. 
> The resulting soap message message is a mime type message with only one part, the soap envelope.  This is allowable
> per WS-I.Attachment Profile 1.0 clause R2917.
> Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS

-- 
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