Skip to Content
author's profile photo Former Member
Former Member

problem in using the biplatform provider web services directly using stubs

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 09:45 PM

    Post Author: Ted Ueda

    CA Forum: JAVA

    I see JBoss in the stack trace call.Do you have the Web Services Provider on JBoss? My assumption is that it's looking for the xsd folder in the incorrect location /META-INF/xsd rather than /xsd.Sincerely,Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.