You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Paul Fremantle (JIRA)" <ji...@apache.org> on 2007/07/30 11:27:53 UTC
[jira] Created: (WSCOMMONS-224) Add payload helper methods for
text/binary/map
Add payload helper methods for text/binary/map
----------------------------------------------
Key: WSCOMMONS-224
URL: https://issues.apache.org/jira/browse/WSCOMMONS-224
Project: WS-Commons
Issue Type: Improvement
Reporter: Paul Fremantle
See this thread:
http://www.nabble.com/Supporting-content-types-in-Synapse-and-Axiom-t4151301.html
Add the following methods to SOAPEnvelope
OMElement get/setPayload()
DataHandler get/setBytesPayload()
String get/setTextPayload()
boolean isBinary();
boolean isText();
int getPayloadType()
--
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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org
[jira] Commented: (WSCOMMONS-224) Add payload helper methods for
text/binary/map
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516377 ]
Davanum Srinivas commented on WSCOMMONS-224:
--------------------------------------------
How about we use custom classes that extend javax.xml.transform.Source ?
DataHandlerSource
OMElementSource
StringSource
then the API collapses to:
Source getPayload();
void setPayload(Source);
int getPayloadType(); // Which returns one of PAYLOAD_DOM, PAYLOAD_SAX, PAYLOAD_STREAM, PAYLOAD_STRING, PAYLOAD_DATAHANDLER, PAYLOAD_OM depending on which data source was used.
thanks,
dims
> Add payload helper methods for text/binary/map
> ----------------------------------------------
>
> Key: WSCOMMONS-224
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-224
> Project: WS-Commons
> Issue Type: Improvement
> Reporter: Paul Fremantle
>
> See this thread:
> http://www.nabble.com/Supporting-content-types-in-Synapse-and-Axiom-t4151301.html
> Add the following methods to SOAPEnvelope
> OMElement get/setPayload()
> DataHandler get/setBytesPayload()
> String get/setTextPayload()
> boolean isBinary();
> boolean isText();
> int getPayloadType()
--
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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org
[jira] Resolved: (WSCOMMONS-224) Add payload helper methods for
text/binary/map
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved WSCOMMONS-224.
---------------------------------------
Resolution: Won't Fix
Paul,
Synapse now has a fairly complete support for text and binary payloads, and support for Map payloads is under construction. All this has been done without the need to modify the Axiom API, but by relying on Axis2 abstractions such as message builders and formatters. Therefore I believe there is no need any more for the enhancement described in this issue and I'm going to close it. Please feel free to reopen it if you think that it is still relevant.
> Add payload helper methods for text/binary/map
> ----------------------------------------------
>
> Key: WSCOMMONS-224
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-224
> Project: WS-Commons
> Issue Type: Improvement
> Components: AXIOM
> Reporter: Paul Fremantle
>
> See this thread:
> http://www.nabble.com/Supporting-content-types-in-Synapse-and-Axiom-t4151301.html
> Add the following methods to SOAPEnvelope
> OMElement get/setPayload()
> DataHandler get/setBytesPayload()
> String get/setTextPayload()
> boolean isBinary();
> boolean isText();
> int getPayloadType()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WSCOMMONS-224) Add payload helper methods for
text/binary/map
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated WSCOMMONS-224:
--------------------------------------
Component/s: AXIOM
> Add payload helper methods for text/binary/map
> ----------------------------------------------
>
> Key: WSCOMMONS-224
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-224
> Project: WS-Commons
> Issue Type: Improvement
> Components: AXIOM
> Reporter: Paul Fremantle
>
> See this thread:
> http://www.nabble.com/Supporting-content-types-in-Synapse-and-Axiom-t4151301.html
> Add the following methods to SOAPEnvelope
> OMElement get/setPayload()
> DataHandler get/setBytesPayload()
> String get/setTextPayload()
> boolean isBinary();
> boolean isText();
> int getPayloadType()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.