Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lyo » Error making POST call to DOORS[9.6] .(Error making POST call to DOORS[9.6] VIA RTC [5.0.2] follow up operation)
Error making POST call to DOORS[9.6] . [message #1716944] Wed, 09 December 2015 08:07 Go to next message
Abhishek Kumar is currently offline Abhishek KumarFriend
Messages: 2
Registered: September 2015
Junior Member
Hello Everyone,

We are looking to transfer data from RTC to DOORS through a custom follow-up operation. This operation participant will make a POST call to the DOORS server to create an object in a particular module.

While executing this feature we get an exception thrown while making a POST call to the DOORS system.

The line in which the exception is getting thrown is:
ClientResponse creationResponse = client.createResource(
requirementFactory, requirement,
OslcMediaType.APPLICATION_RDF_XML,
OslcMediaType.APPLICATION_RDF_XML);
The stack trace of the exception is as follows:

org.apache.wink.client.ClientRuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: javax.ws.rs.WebApplicationException: java.lang.ClassCastException: org.apache.xalan.processor.TransformerFactoryImpl incompatible with javax.xml.transform.TransformerFactory
at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:240)
at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:189)
at org.apache.wink.client.internal.ResourceImpl.invokeNoException(ResourceImpl.java:181)
at org.apache.wink.client.internal.ResourceImpl.post(ResourceImpl.java:322)
at org.eclipse.lyo.client.oslc.OslcOAuthClient.createResource(OslcOAuthClient.java:186)
at com.daimler.stan.doorsclient.CrAdapter.transferDatatoCr(CrAdapter.java:204)
at com.daimler.stan.changerequest.CrDoorsAdapter.run(CrDoorsAdapter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Any Suggestions on how to handle this exception.

Thanks in Advance.
Abhishek Kumar
Re: Error making POST call to DOORS[9.6] . [message #1718752 is a reply to message #1716944] Tue, 29 December 2015 18:48 Go to previous message
Jim Ruehlin is currently offline Jim RuehlinFriend
Messages: 73
Registered: July 2009
Member
Abhishek, this may be a Doors issue - I think they've changed some of their OSLC support in recent releases. I'm looking for someone in that organization who might be able to address this question, but it's the US Holiday season so it may be next week before I can get an answer. In the meantime. You may want to post to the jazz.net forum that supports Doors: https://jazz.net/forum/search/?csrfmiddlewaretoken=2dde1c66e3ae00369d3bdf71c0776995&q=doors+oslc&t=question
Previous Topic:Query RTC repository for "metadata" such as project areas, work item types, and attributes
Next Topic:OslcClient Locale (Accept-Language)
Goto Forum:
  


Current Time: Thu Sep 20 18:20:25 GMT 2018

Powered by FUDForum. Page generated in 0.06093 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top