POST LDX returns 403 in RM for Link Creation attempt between RM and GC-enabled AM ServiceProvider
I have implemented an OSLC AM ServiceProvider (along with appropriate OSLC AM Services, Components, Streams, Baselines, and Resources) that is accepted by Jazz GC and Jazz RM as a valid peer. All Friend pairing and Project Area pairing is successful. All Rootservices, Catalogs, Service Providers, and related resources and fields have been established and accepted.
When I enter the RM application and the paired Project Area and visit an Artifact to create a new "References" link from the Jazz RM artifact to one of my GC-aware AM resources, the Link creation almost completes. The process aborts in the XHR HTTP POST by RM to the LDX service when LDX complains with:
CRRRS4508E The link cannot be created because the request contains an invalid target URL.
and Jazz RM reports:
ID CRRRW7259W The link from this server to the other server was not created because that action is not permitted. Contact the project administrator to verify that you have the correct permissions to create the link.
The URL of my AM Resource is conformant to HTTP (it is accessible in various REST clients and is constructed in code with a URI Builder).
What, therefore, is the permitted syntax for URLs in LDX?
I'm hopeful that either @kathryn (Fryer) or @saqib (niaz) might respond because those two individuals appear to have the most experience in this leading edge of Jazz OSLC third-party integration.
What, therefore, is the permitted syntax for URLs in LDX?
I'm hopeful that either @kathryn (Fryer) or @saqib (niaz) might respond because those two individuals appear to have the most experience in this leading edge of Jazz OSLC third-party integration.
One answer
whitespace in the URLs passed back to RM. Sigh.
Comments
My Javascript that prepared the OSLC Response had an inappropriate decodeUri() call around the rdf:about URL returned from the OSLC Query. So a properly escaped URL was then passed on into Jazz as improperly decoded.
Glad you sorted it out.