"The reference to entity "etag" must end with the ';' delimiter error" while doing OSLC workshop example 3 and 4?
Hello All,
One answer
This obscure error message usually means an authentication issue. When using the OSLC API with incorrect credentials, the HTTP response contains the HTML login page for RQM. When paring this HTML response as XML, the XML processor usually complains about the form of that etag element. Please check your username and password.
Comments
Hi Paul,
Are you a member of that project area?
yes ...project is created by user itself.
The exception was thrown by the second line below.
source = new InputSource(catalogResponse.getEntity().getContent());
NodeList titleNodes = (NodeList) (xpath2.evaluate(serviceProviderTitleXPath, source, XPathConstants.NODESET));
You can simply print out the "source" variable and see what you have got, as "source" contains the response body.
The project may be created by the user, but the user may not be a member of the project (requires manually adding the user to the project and associating one/more role(s)).