Error making POST call to DOORS[9.6] . [message #1716944] |
Wed, 09 December 2015 03:07  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.07927 seconds