[mashup-dev] [jira] Commented: (MASHUP-14) wsrequest.send(payload) requires payload to be a string, not an E4X XML object.

Jonathan Marsh (JIRA) jira at wso2.org
Mon Jun 11 15:00:15 PDT 2007


    [ http://www.wso2.org/jira/browse/MASHUP-14?page=comments#action_11183 ] 
            
Jonathan Marsh commented on MASHUP-14:
--------------------------------------

Don't think so at this point (for the Host Object anyway).

> wsrequest.send(payload) requires payload to be a string, not an E4X XML object.
> -------------------------------------------------------------------------------
>
>                 Key: MASHUP-14
>                 URL: http://www.wso2.org/jira/browse/MASHUP-14
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>         Environment: Private build, Vista
>            Reporter: Jonathan Marsh
>         Assigned To: Thilina Gunarathne
>            Priority: Minor
>             Fix For: alpha_1
>
>
> This may require the WSRequest API to change, but within an E4X environment, it would be greatly beneficial to allow either a string, or an E4X XML object to be passed in.  This would allow the WSRequest object to be smarter about any conversions it requires (e.g., if it requies an OMElement, requiring the user to serialize as XML text, and reparsing into an OMElement, is inefficient.)
> If we support DOM as well (as we seem to be trying to do on the output of a web service through .responseText, .responseE4XXML, and .reaponseXML), then we should allow those same types as input to the send method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the Mashup-dev mailing list