on 12-09-2008 6:16 PM
I am trying to create an Axis2 web service which would in turn call other services deployed in the dswsbobje application in BO XI R3.1. I have deployed this service (using the upload page)as an .aar file in the dswsbobje/WEB-INF/services directory, however when I run the service, I'm getting this error:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<soapenv:Header>
<wsa:Action><a href="http://www.w3.org/2005/08/addressing/soap/fault" TARGET="test_blank">http://www.w3.org/2005/08/addressing/soap/fault</a></wsa:Action>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>java.lang.StringIndexOutOfBoundsException: String index out of range: -1</faultstring>
<detail>
<Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:182)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at com.businessobjects.dsws.module.legacy.handlers.InputHandler.isTranslationNeeded(Unknown Source)
at com.businessobjects.dsws.module.legacy.handlers.InputHandler.invoke(Unknown Source)
at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
... 19 more</Exception>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
What am I missing in my deployment?
Hello Robert,
please try out this URL: http://wso2.org/library/95
there is a simple guide to make a web service with axis2 engine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the answer I am getting is that this is not recommended by SAP/BO. Since their are Business Objects-specific data handlers installed, Standard Axis2 web services will not work. The recommended approach is to install your own Axis2 web application within the Tomcat instance and install the service there. Incidentally, I had to re-install dswsbobje because my attempt to add a service to this application somehow corrupted it where it would no longer run correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the link. It looks like some helpful information but I guess my first question is adding additional services to the dswsbobje application supported? Or is their something preventing my deployment because adding additional services, beyond the ones that come with XI, not supported?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.