DSS boxcarring 和 request_box

DSS boxcarring and request_box

我在 DSS boxcarring 中遇到问题。

我在 DSS 中启用了 boxcarring,并为 select 分别从三个表中获取数据编写了查询,并将它们插入到另外三个表中。当我尝试使用它并单击 begin_boxcar 然后我的三个操作然后 end_boxcar 它运行良好。自动创建一个操作 (request_boxcar) 并按顺序包含我的三个操作。当我尝试点击它时,它起作用了,我的操作是 运行 但是当我使用任务计划和 select request_box 时,我遇到了错误。我在我的浏览器中将它与我的端点一起使用,但它不起作用。我该如何解决?

http://IP:Port/services/Test/request_box

这是我遇到的错误:

 type Exception report message description The server encountered an
 internal error that prevented it from fulfilling this request.
 exception org.apache.axis2.AxisFault
    org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
    org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:155)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
    org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
    org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    org.wso2.carbon.ui.filters.CSRFPreventionFilter.doFilter(CSRFPreventionFilter.java:88)
    org.wso2.carbon.ui.filters.CRLFPreventionFilter.doFilter(CRLFPreventionFilter.java:59)
    org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 root cause java.lang.NullPointerException
    org.apache.axis2.builder.BuilderUtil.buildsoapMessage(BuilderUtil.java:148)
    org.apache.axis2.builder.XFormURLEncodedBuilder.processDocument(XFormURLEncodedBuilder.java:118)
    org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:188)
    org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:146)
    org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:116)
    org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:843)
    org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:303)
    org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:152)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
    org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
    org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    org.wso2.carbon.ui.filters.CSRFPreventionFilter.doFilter(CSRFPreventionFilter.java:88)
    org.wso2.carbon.ui.filters.CRLFPreventionFilter.doFilter(CRLFPreventionFilter.java:59)
    org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 note The full stack trace of the root cause is available in the Apache
 Tomcat/7.0.59 logs.

感谢您报告此问题。这是因为,当它被数据服务任务调用时,它无法检索传入的消息。我创建了一个 JIRA,您可以从 here 找到它。您可以从那里跟踪进度,它将在即将发布的版本中得到修复。