Skip to Content
0
Former Member
Jan 17, 2008 at 10:30 PM

problem in using the biplatform provider web services directly using stubs

21 Views

Post Author: Madhu

CA Forum: JAVA

Hi All,

I am calling one of the methods using this web service method but it fails to with an exception saying "The resource meta-inf/xsd cannot be found".

It looks like the axis engine is not able to figure out the schemalocation attibute with relative url. Can someone help resolve this error?

Thanks,

Madhu

Here is the sample code:

BIPlatformSoapBindStub oPlatform = getBIPlatformStub();

//set the getOptions for retrieval of the Users folder

GetOptions oGetOptions=new GetOptions();

oGetOptions.setIncludeSecurity(Boolean.FALSE);

//get the report

ResponseHolder rh = oPlatform.get(session.getSessionID(),"path://InfoObjects/Root Folder/"+ getReportFolder()+"/operational/" + reportName,oGetOptions);

//get report id

String repID = rh.getInfoObjects().getInfoObject(0).getCUID();

//Get the string

ReportEngineSoapStub oReportEngine = getReportEngineStub();

The error message I am getting is:

2008-01-17 15:02:05,401 ERROR &#91;STDERR&#93; Contains:2008-01-17 15:02:05,417 ERROR &#91;STDERR&#93; AxisFault faultCode: Server.generalException faultSubcode: faultString: An XSD Exception occurred. (Error: WBP 42029) faultActor: faultNode: faultDetail: DSWSException: <ID>42029</ID> <Message>An XSD Exception occurred. (Error: WBP 42029)</Message> <Operation>http://biplatform.dsws.businessobjects.com/2006/03/01/Get</Operation> <CallStackTrace>com.businessobjects.sdk.biar.exception.XSDException$XSDResourceNotFoundException: The resource '/META-INF/xsd' could not be found - XSDs may not be loaded. at com.businessobjects.sdk.biar.internal.XSDManager.setDefaultLocation(Unknown Source) at com.businessobjects.dsws.wsc.biplatform.util.SessionHolder.getBIAREngine(Unknown Source) at com.businessobjects.dsws.wsc.biplatform.BIPCatalogMethodHelper.get(Unknown Source) at com.businessobjects.dsws.wsc.biplatform.BIPlatformSoapBindImpl.get(Unknown Source) at com.businessobjects.dsws.biplatform.BIPlatformSoapBindSkeleton.get(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 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.MasterSlaveWorkerThread.run