Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
Ghofran357
Contributor
Contributor

Post method problem

0695b00000ddL3PAAU.pnghi i got this problem when i try to send a request to make sure that job works

Démarrage du Job try2 à 14:50 28/02/2023.

Endpoint deployed at: http://localhost:8088

[statistics] connecting to socket on port 3495

[statistics] connected

[WARN ] 14:51:02 org.eclipse.jetty.server.handler.ContextHandler- Empty contextPath

<?xml version="1.0" encoding="UTF-8"?>

<root><userId/><id/><title/><type/></root>

[ERROR] 14:51:10 org.apache.cxf.jaxrs.utils.JAXRSUtils- Problem with writing the data, class org.dom4j.tree.DefaultDocument, ContentType: application/octet-stream

[WARN ] 14:51:10 org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- javax.ws.rs.NotAcceptableException: HTTP 406 Not Acceptable

at org.apache.cxf.jaxrs.utils.SpecExceptions.toNotAcceptableException(SpecExceptions.java:104)

at org.apache.cxf.jaxrs.utils.ExceptionUtils.toNotAcceptableException(ExceptionUtils.java:152)

at org.apache.cxf.jaxrs.provider.dom4j.DOM4JProvider.writeTo(DOM4JProvider.java:115)

at format.try2_0_1.try2$StreamingDOM4JProvider.writeTo(try2.java:792)

at org.apache.cxf.jaxrs.provider.dom4j.DOM4JProvider.writeTo(DOM4JProvider.java:47)

at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1491)

at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:249)

at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:122)

at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:84)

at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)

at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:90)

at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)

at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)

at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:247)

at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:79)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:190)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

at org.eclipse.jetty.server.Server.handle(Server.java:516)

at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)

at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)

at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)

at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)

at java.base/java.lang.Thread.run(Thread.java:834)

0695b00000ddL2RAAU.png

Labels (4)
3 Replies
Anonymous
Not applicable

Hi

I suspect it is a set up issue of tRESTRequest, please share some screenshots of the basic setting and the schema of tRESTRequest component.

​

Regards

Shong

Ghofran357
Contributor
Contributor
Author

0695b00000ddS11AAE.png0695b00000ddS0rAAE.png

Ghofran357
Contributor
Contributor
Author

this what i have in tRestRequest