It's all about the answers!

Ask a question

Could not retrieve XML document values from JTS after configured 'HTTP Filtered Value Set provider'


Vikash Singh (421965) | asked Apr 16 '15, 8:18 a.m.
I have done the 'HTTP Filtered Value Set configuration' as shown below

But still not able retrieve the  XML document values into the attribute field.

 

I have tried the below links for XML Data source URL:

 https://ccm.chrysler.oncloudone.com/ccm/resource/virtualPath/com.ibm.team.scm.rest2.dto.VersionablePlusDTO/workspaceId/_or9AgN9TEeSQBs8IFNj2PA/componentId/_o3jzkd9TEeSQBs8IFNj2PA/id/itemOid%252Fcom.ibm.team.filesystem.FileItem%252F_AKxsUN9dEeSQBs8IFNj2PA/

 

https://ccm.chrysler.oncloudone.com/ccm/web/projects/CM%20Eval%20(Change%20Management)#action=com.ibm.team.scm.browseElement&workspaceItemId=_or9AgN9TEeSQBs8IFNj2PA&componentItemId=_o3jzkd9TEeSQBs8IFNj2PA&itemType=com.ibm.team.filesystem.FileItem&itemId=_AKxsUN9dEeSQBs8IFNj2PA

 







 

Error Log:

 [HttpFilteredValueSetProvider]Retrieving values from HttpConnector...

[HttpConnector]Ignoring invalid SSL certificates

[HttpConnector]Using form based authentication

[HttpConnector]Retrieving session cookie...

[HttpConnector]Issue a new HTTP requestGET /ccm/resource/virtualPath/com.ibm.team.scm.rest2.dto.VersionablePlusDTO/workspaceId/_or9AgN9TEeSQBs8IFNj2PA/componentId/_o3jzkd9TEeSQBs8IFNj2PA/id/itemOid%252Fcom.ibm.team.filesystem.FileItem%252F_AKxsUN9dEeSQBs8IFNj2PA/
Host: ccm.chrysler.oncloudone.com
Connection: Keep-Alive

[HttpConnector]Got response 'Found'302 Found
X-Powered-By: Servlet/3.0
X-com-ibm-team-repository-web-auth-msg: authrequired
Location: https://ccm.chrysler.oncloudone.com/ccm/authenticated/identity?redirectPath=%2Fccm%2Fresource%2FvirtualPath%2Fcom.ibm.team.scm.rest2.dto.VersionablePlusDTO%2FworkspaceId%2F_or9AgN9TEeSQBs8IFNj2PA%2FcomponentId%2F_o3jzkd9TEeSQBs8IFNj2PA%2Fid%2FitemOid%25252Fcom.ibm.team.filesystem.FileItem%25252F_AKxsUN9dEeSQBs8IFNj2PA%2F
Content-Language: en-US
Content-Length: 0
Date: Tue, 14 Apr 2015 13:22:20 GMT

[HttpConnector]Issue a new HTTP requestGET /ccm/authenticated/identity?redirectPath=%2Fccm%2Fresource%2FvirtualPath%2Fcom.ibm.team.scm.rest2.dto.VersionablePlusDTO%2FworkspaceId%2F_or9AgN9TEeSQBs8IFNj2PA%2FcomponentId%2F_o3jzkd9TEeSQBs8IFNj2PA%2Fid%2FitemOid%25252Fcom.ibm.team.filesystem.FileItem%25252F_AKxsUN9dEeSQBs8IFNj2PA%2F
Host: ccm.chrysler.oncloudone.com
Connection: Keep-Alive

[HttpConnector]Got response 'Found'302 Found
X-Powered-By: Servlet/3.0
Location: https://ccm.chrysler.oncloudone.com/ccm/auth/authrequired
Content-Language: en-US
Content-Length: 0
Set-Cookie: ***
Date: Tue, 14 Apr 2015 13:22:20 GMT
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"

[HttpConnector]Issue a new HTTP requestGET /ccm/auth/authrequired
Host: ccm.chrysler.oncloudone.com
Connection: Keep-Alive
Cookie: ***
Cookie2: $Version=1

[HttpConnector]Got response 'OK'200 OK
X-Powered-By: Servlet/3.0
X-com-ibm-team-repository-web-auth-msg: authrequired
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Set-Cookie: ***
Transfer-Encoding: chunked
Date: Tue, 14 Apr 2015 13:22:20 GMT
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"

[HttpConnector]Login...

[HttpConnector]Could not retrieve XML document

One answer



permanent link
Ralph Schoon (61.2k33643) | answered Apr 16 '15, 8:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Apr 16 '15, 8:26 a.m.
Provided you can open that URL in a normal browser, check the authentication and connection settings.
See: https://jorgediazblog.wordpress.com/2012/06/27/work-item-customization-httpconector-and-oauth-in-rtc-4-0-for-oslc/

Your answer


Register or to post your answer.