You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Jing Wang (JIRA)" <xa...@incubator.apache.org> on 2006/11/30 20:10:20 UTC

[jira] Created: (XAP-182) retrieve(url) method in xap.requestservice.RequestService does not return string

retrieve(url) method in xap.requestservice.RequestService does not return string
--------------------------------------------------------------------------------

                 Key: XAP-182
                 URL: http://issues.apache.org/jira/browse/XAP-182
             Project: XAP
          Issue Type: Bug
         Environment: Studio 3.0, Platform 4.5.1, JDK 1.5
            Reporter: Jing Wang


Calling retrieve method doesn't return a string, it returns an object instead.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (XAP-182) retrieve(url) method in xap.requestservice.RequestService does not return string

Posted by "Scott Boyd (JIRA)" <xa...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/XAP-182?page=comments#action_12455018 ] 
            
Scott Boyd commented on XAP-182:
--------------------------------

The doc for retreive/etc. states:

Returns:
The content of the response (String) 

This should be an httpresponse object.



> retrieve(url) method in xap.requestservice.RequestService does not return string
> --------------------------------------------------------------------------------
>
>                 Key: XAP-182
>                 URL: http://issues.apache.org/jira/browse/XAP-182
>             Project: XAP
>          Issue Type: Bug
>          Components: Documentation
>         Environment: Studio 3.0, Platform 4.5.1, JDK 1.5
>            Reporter: Jing Wang
>
> Calling retrieve method doesn't return a string, it returns an object instead.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (XAP-182) retrieve(url) method in xap.requestservice.RequestService does not return string

Posted by "Turyn, Michael (JIRA)" <xa...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/XAP-182?page=comments#action_12454752 ] 
            
Turyn, Michael commented on XAP-182:
------------------------------------

This is not a bug; this is how it works.  It returns a 'content' object  which is of the class XMLHttpResponse (see http://en.wikipedia.org/wiki/XMLHttpRequest).  To get the string retrieved, use <object>.responseText or <object>.responseXML.

On second thought, there is a bug:  with the documentation, since it says "String"....fixed.

> retrieve(url) method in xap.requestservice.RequestService does not return string
> --------------------------------------------------------------------------------
>
>                 Key: XAP-182
>                 URL: http://issues.apache.org/jira/browse/XAP-182
>             Project: XAP
>          Issue Type: Bug
>         Environment: Studio 3.0, Platform 4.5.1, JDK 1.5
>            Reporter: Jing Wang
>
> Calling retrieve method doesn't return a string, it returns an object instead.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (XAP-182) retrieve(url) method in xap.requestservice.RequestService does not return string

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak closed XAP-182.
----------------------------


> retrieve(url) method in xap.requestservice.RequestService does not return string
> --------------------------------------------------------------------------------
>
>                 Key: XAP-182
>                 URL: https://issues.apache.org/jira/browse/XAP-182
>             Project: XAP
>          Issue Type: Bug
>          Components: Documentation
>         Environment: Studio 3.0, Platform 4.5.1, JDK 1.5
>            Reporter: Jing Wang
>
> Calling retrieve method doesn't return a string, it returns an object instead.

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


[jira] Updated: (XAP-182) retrieve(url) method in xap.requestservice.RequestService does not return string

Posted by "Scott Boyd (JIRA)" <xa...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/XAP-182?page=all ]

Scott Boyd updated XAP-182:
---------------------------

    Component/s: Documentation

The docs need to be fixed.

> retrieve(url) method in xap.requestservice.RequestService does not return string
> --------------------------------------------------------------------------------
>
>                 Key: XAP-182
>                 URL: http://issues.apache.org/jira/browse/XAP-182
>             Project: XAP
>          Issue Type: Bug
>          Components: Documentation
>         Environment: Studio 3.0, Platform 4.5.1, JDK 1.5
>            Reporter: Jing Wang
>
> Calling retrieve method doesn't return a string, it returns an object instead.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (XAP-182) retrieve(url) method in xap.requestservice.RequestService does not return string

Posted by "James Margaris (JIRA)" <xa...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/XAP-182?page=all ]

James Margaris resolved XAP-182.
--------------------------------

    Resolution: Fixed

Documentation has been changed

> retrieve(url) method in xap.requestservice.RequestService does not return string
> --------------------------------------------------------------------------------
>
>                 Key: XAP-182
>                 URL: http://issues.apache.org/jira/browse/XAP-182
>             Project: XAP
>          Issue Type: Bug
>          Components: Documentation
>         Environment: Studio 3.0, Platform 4.5.1, JDK 1.5
>            Reporter: Jing Wang
>
> Calling retrieve method doesn't return a string, it returns an object instead.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira