error "403 Forbidden" during accessing Requirements in DNG
Dear All,
I am trying to send the queryBase URI (below is the services.xml content) to get the list of requirements using chrome Advanced REST client.
<oslc:queryCapability>
<oslc:QueryCapability>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:queryBase rdf:resource="https://jazz.net/preview01-rm/views?projectURL=https%3A%2F%2Fjazz.net%2Fpreview01-rm%2Fprocess%2Fproject-areas%2F_upr2wWrMEeewhaA8lN1pIA&oslc.query=true"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Query Capability</dcterms:title>
</oslc:QueryCapability>
Please let me know how to resolve the issue.
Best Regards
Umesha
|
2 answers
HI Bas Bekker,
I am using below headers and checking the base URI for Query Capability which should display all the requirements in the project.
====================================
OSLC-Core-Version : 2.0
Accept : application/rdf+xml
====================================
I found the mistake in the URI string it should be & but i used ; which is wrong
Wrong URI: https://jazz.net/preview01-rm/views?projectURL=https%3A%2F%2Fjazz.net%2Fpreview01-rm%2Fprocess%2Fproject-areas%2F_upr2wWrMEeewhaA8lN1pIA&oslc.query=true
Correct URI: https://jazz.net/preview01-rm/views?projectURL=https%3A%2F%2Fjazz.net%2Fpreview01-rm%2Fprocess%2Fproject-areas%2F_upr2wWrMEeewhaA8lN1pIA&&oslc.query=true
Root cause was there is bug/issue in the Chrome Advanced Rest Client (copy content to clipboard icon )when i copy or save results to file it is replacing & --> ;
any how thanks for your response.
Best Regards
Umesha
|
|
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.
Comments
Did your request comply with the OSLC header requirements? Did you use the OSLC workshop guidance with what you are trying?