How to pass a complex URL through OLSC to CLM 4.01M3
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
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
JAZZ DEVELOPER Oct 08 '12, 1:44 p.m.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?