It's all about the answers!

Ask a question

How to pass a complex URL through OLSC to CLM 4.01M3


Preetam Sikdar (61316) | asked Oct 05 '12, 9:44 a.m.
edited Nov 14 '13, 1:30 p.m. by Rosa Naranjo (2.9k11723)
Hi,
Please help in solving these issues....

I am sending the URL through String
String assetURI="http://gbsp0211.bcsdc.lexington.ibm.com:9111/ram/search/_rlvid.jsp.faces?_rap=!assetDetails/&_rvip=/search/index.jsp/&guid={2259CB09-AA20-DD90-F57B-651D74C6FA39}/&v=1.0/&submission=false";

String primaryText = "<div xmlns=\"http://www.w3.org/1999/xhtml\" > <a href=\"" + assetURI + "\">Link to RAM</a> </div>" 




Its giving us an error :
</rdf:RDF>

java.lang.Exception: Error occured while posting
HTTP/1.1 403 Forbidden
at net.jazz.oslc.utils.HttpUtils.sendPostForSecureDocument(HttpUtils.java:310)
at net.jazz.oslc.utils.HttpUtils.sendPostForSecureDocument(HttpUtils.java:295)
at oslcSomn.createRequirement(oslcSomn.java:176)
at oslcSomn.run(oslcSomn.java:82)
at oslcSomn.main(oslcSomn.java:111)



Its creating the Link to Ram Hyperlink in the CLM richtext section...
BUt when we click the the Hyperlink its not going to that link.....
But for simple url its going...


Thanks And Regards


Comments
Daniel Pool commented Oct 08 '12, 1:44 p.m.
JAZZ DEVELOPER

I am trying to understand the different cases.You are using the same OSLC post for a simple link and for a complex link.  The simple link works and the complex link does not work. And the difference is that the rich link includes css. Is that correct? 

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.