It's all about the answers!

Ask a question

error "403 Forbidden" during accessing Requirements in DNG


ukrishne k (213) | asked Dec 05 '18, 5:08 a.m.
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"/>
            <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




Comments
Bas Bekker commented Dec 05 '18, 12:05 p.m.
JAZZ DEVELOPER

Did your request comply with the OSLC header requirements? Did you use the OSLC workshop guidance with what you are trying?

2 answers



permanent link
ukrishne k (213) | answered Dec 06 '18, 12:57 a.m.

 I have created bug fix request in github



permanent link
ukrishne k (213) | answered Dec 06 '18, 12:37 a.m.

 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



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


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.