Getting error while invoking client interface method as a web service

Hi,
I have written one custom method inAppModuleImpl and include that custom method into the AppModule's Client Interface(AppModule-->Java-->ClientInterface).
It autogenerates two java classes: ClientInterfaceImpl class and interface class. I right clicked on ClientInterfaceImpl class and select the option create webservice proxy. Then I deployed my application into the WL Server. There I am able to see the webservice. But when I test the webservice and invoke the method. It is throwing the below exception:
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml;charset=UTF-8
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Thu, 28 Jul 2011 12:07:42 GMT
X-ORACLE-DMS-ECID: 6d2bf3b5503a93f7:-56043a49:1316ef0e0c2:-8000-000000000000028d
Content-Length: 6624
X-HTTPAnalyzer-RuleName: Pass through :
<?xml version = '1.0' encoding = 'UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
<faultcode>S:Server</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<detail>
<ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" class="java.lang.NullPointerException">
<ns2:stackTrace>
<ns2:frame line="7598" file="ApplicationModuleImpl.java" method="isMarshalledLocally" class="oracle.jbo.client.remote.ApplicationModuleImpl"/>
<ns2:frame line="7572" file="ApplicationModuleImpl.java" method="riInvokeExportedMethod" class="oracle.jbo.client.remote.ApplicationModuleImpl"/>
<ns2:frame line="27" file="TestClientInterfaceAMClient.java" method="testmethod" class="model.client.TestClientInterfaceAMClient"/>
<ns2:frame line="native" file="NativeMethodAccessorImpl.java" method="invoke0" class="sun.reflect.NativeMethodAccessorImpl"/>
<ns2:frame line="39" file="NativeMethodAccessorImpl.java" method="invoke" class="sun.reflect.NativeMethodAccessorImpl"/>
<ns2:frame line="25" file="DelegatingMethodAccessorImpl.java" method="invoke" class="sun.reflect.DelegatingMethodAccessorImpl"/>
<ns2:frame line="597" file="Method.java" method="invoke" class="java.lang.reflect.Method"/>
<ns2:frame line="92" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
<ns2:frame line="74" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
<ns2:frame line="151" file="InvokerTube.java" method="invoke" class="com.sun.xml.ws.server.InvokerTube$2"/>
<ns2:frame line="268" file="EndpointMethodHandlerImpl.java" method="invoke" class="com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl"/>
<ns2:frame line="100" file="SEIInvokerTube.java" method="processRequest" class="com.sun.xml.ws.server.sei.SEIInvokerTube"/>
<ns2:frame line="866" file="Fiber.java" method="__doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
<ns2:frame line="815" file="Fiber.java" method="_doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
<ns2:frame line="778" file="Fiber.java" method="doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
<ns2:frame line="680" file="Fiber.java" method="runSync" class="com.sun.xml.ws.api.pipe.Fiber"/>
<ns2:frame line="401" file="WSEndpointImpl.java" method="process" class="com.sun.xml.ws.server.WSEndpointImpl$2"/>
<ns2:frame line="531" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit"/>
<ns2:frame line="253" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter"/>
<ns2:frame line="140" file="ServletAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.servlet.ServletAdapter"/>
<ns2:frame line="206" file="WLSServletAdapter.java" method="handle" class="weblogic.wsee.jaxws.WLSServletAdapter"/>
<ns2:frame line="310" file="HttpServletAdapter.java" method="run" class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke"/>
<ns2:frame line="223" file="HttpServletAdapter.java" method="post" class="weblogic.wsee.jaxws.HttpServletAdapter"/>
<ns2:frame line="124" file="JAXWSServlet.java" method="doPost" class="weblogic.wsee.jaxws.JAXWSServlet"/>
<ns2:frame line="727" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
<ns2:frame line="79" file="JAXWSServlet.java" method="service" class="weblogic.wsee.jaxws.JAXWSServlet"/>
<ns2:frame line="820" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
<ns2:frame line="227" file="StubSecurityHelper.java" method="run" class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction"/>
<ns2:frame line="125" file="StubSecurityHelper.java" method="invokeServlet" class="weblogic.servlet.internal.StubSecurityHelper"/>
<ns2:frame line="300" file="ServletStubImpl.java" method="execute" class="weblogic.servlet.internal.ServletStubImpl"/>
<ns2:frame line="26" file="TailFilter.java" method="doFilter" class="weblogic.servlet.internal.TailFilter"/>
<ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
<ns2:frame line="101" file="JpsAbsFilter.java" method="run" class="oracle.security.jps.ee.http.JpsAbsFilter$1"/>
<ns2:frame line="native" file="AccessController.java" method="doPrivileged" class="java.security.AccessController"/>
<ns2:frame line="313" file="JpsSubject.java" method="doAsPrivileged" class="oracle.security.jps.util.JpsSubject"/>
<ns2:frame line="413" file="JpsPlatformUtil.java" method="runJaasMode" class="oracle.security.jps.ee.util.JpsPlatformUtil"/>
<ns2:frame line="84" file="JpsAbsFilter.java" method="runJaasMode" class="oracle.security.jps.ee.http.JpsAbsFilter"/>
<ns2:frame line="147" file="JpsAbsFilter.java" method="doFilter" class="oracle.security.jps.ee.http.JpsAbsFilter"/>
<ns2:frame line="71" file="JpsFilter.java" method="doFilter" class="oracle.security.jps.ee.http.JpsFilter"/>
<ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
<ns2:frame line="136" file="DMSServletFilter.java" method="doFilter" class="oracle.dms.servlet.DMSServletFilter"/>
<ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
<ns2:frame line="3715" file="WebAppServletContext.java" method="wrapRun" class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction"/>
<ns2:frame line="3681" file="WebAppServletContext.java" method="run" class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction"/>
<ns2:frame line="321" file="AuthenticatedSubject.java" method="doAs" class="weblogic.security.acl.internal.AuthenticatedSubject"/>
<ns2:frame line="120" file="SecurityManager.java" method="runAs" class="weblogic.security.service.SecurityManager"/>
<ns2:frame line="2277" file="WebAppServletContext.java" method="securedExecute" class="weblogic.servlet.internal.WebAppServletContext"/>
<ns2:frame line="2183" file="WebAppServletContext.java" method="execute" class="weblogic.servlet.internal.WebAppServletContext"/>
<ns2:frame line="1450" file="ServletRequestImpl.java" method="run" class="weblogic.servlet.internal.ServletRequestImpl"/>
<ns2:frame line="207" file="ExecuteThread.java" method="execute" class="weblogic.work.ExecuteThread"/>
<ns2:frame line="176" file="ExecuteThread.java" method="run" class="weblogic.work.ExecuteThread"/>
</ns2:stackTrace>
</ns2:exception>
</detail>
</S:Fault>
</S:Body>
</S:Envelope>
How to solve this??
Thanks,
Vicky.
Edited by: Vicky on Jul 28, 2011 5:10 AM

I'm using version 14.1.2002. I can create a webi report, but If I use a filter in this webi, a message WIS 30270 appears.

Similar Messages

  • Get error while invoking a page with "create"

    I get this error while invoking a page with "create". Also please any one tell me where is the log file is place to see the full story.
    ]] Root cause of ServletException.
    javax.el.PropertyNotFoundException: Target Unreachable, 'Comments' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
         at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.renderAsElement(FormElementRenderer.java:199)
         Truncated. see log file for complete stacktrace
    If i use a "create button then it does not throw error.
    Please help.

    When you are invoking your page, does your view object has an empty row where data can go and presist?
    Create a an empty row in your view object(vo.createRow()) , or use create operation from data control palette.
    You can set the log in Tools->Preferences-->Environment-->Log.
    Regards,
    Vikram

  • Error while running Client for accessing EJB3.0 wes service..

    Hi:
    I have created client for accessing EJB3.0 web service using Jax-ws.
    I am using JBoss server.
    But the problem is after running the client i am getting following error :
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/AttachmentPartImpl
         at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.<clinit>(AttachmentUnmarshallerImpl.java:55)
         at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:500)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
         at $Proxy25.celsiusToFarenheit(Unknown Source)
         at MainMethod.main(MainMethod.java:21)Can any body give me solution on this?
    Thank You.

    the problem seems to lie in a combination of JDK 6 and a specific version of SAAJ that it has integrated. Different resources on the net indicate that if you use a newer version of SAAJ, 1.3.1 or higher, it should be fixed.

  • Getting error while installing MSSQL 2005 SP2 Windows Server 2008 Service Pack 1

    Hi,
    We are getting error while we are installing MSSQL 2005 SP2. 
    It gives me the following error
    No Qualifying Product
    ===================
    This machine does not have a product that matches this installation package.
    I am pretty new to MSQL. Any help to solve this is much more appreciated.

    Hello,
    It seems you downloaded Service Pack 2 for SQL Server 2005 alone, that download does not install a SQL Server 2005 instance.
    You might have to download and install SQL Server 2005 and then proceed to apply service packs related to that version of SQL Server.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Getting error while running the Interface using AGENT

    Hi All,
    i am not able to run the interface using Agent service which running in the another machine, while running i am getting error message like
    java.lang.Exception: Error during Session launching
         at com.sunopsis.dwg.dbobj.SnpSession.remoteExecute(SnpSession.java)
         at com.sunopsis.graphical.l.or.e(or.java)
         at com.sunopsis.graphical.r.z.actionPerformed(z.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    i ran the Agent services in Comment prompt, there i am getting the error like follows
    java.lang.NullPointerException
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.t(e.java)
    at com.sunopsis.dwg.cmd.h.y(h.java)
    at com.sunopsis.dwg.cmd.e.run(e.java)
    at java.lang.Thread.run(Unknown Source)
    here i have mentioned the steps which i followed for creating agent service.
    i have two machine namely A and B both having the ODI
    i am going to use the B machine as a centralized server. so i edited the odiparams.bat file in B machine in ODI locaiton and filled the repository information
    from A machine i opened the Topology and created the Agent service there i mentioned the HOST name as "B" and port number 20300. and i configure the logical agent aswell
    from B machine i started the Agent service like agentscheduler "-port=20300".
    Agent service launched seccessfully.
    From A machine i tested the Agent. that also shown the successful window message.
    then i started running the interface using the agent i am getting the error which i have mention in the beginging.
    Interface which i ran will do the text file to table loading, so i kept that file in particular location in B machine( i have configure this location when i created the file data store in topology in A machine).
    Please help me to solve the problem...
    thanks
    nidhi
    Edited by: knidhi on Nov 26, 2009 6:54 PM

    Thanks For your Reply,
    I ran the agent as you said. here is my observation
    from the Machine B where agent is actually running, i could able to run the interface using agent service.
    but from the machine A while running the interface i am getting the following error message
    java.lang.Exception: Error during Session launching : Error during Session Preparation : You are trying to execute a session with an agent that is undefined in your repository. Please check the agent -NAME parameter.
         at com.sunopsis.dwg.dbobj.SnpSession.remoteExecute(SnpSession.java)
         at com.sunopsis.graphical.l.or.e(or.java)
         at com.sunopsis.graphical.r.z.actionPerformed(z.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    i have created both physical and logical agent with the same name "DEMO_AGENT", and i ran the agent in the Machine B like
    agentscheduler "-port=20301" "-name=DEMO_AGENT"
    Please help me to solvethe issue...
    Thanks
    Nidhi
    Edited by: knidhi on Nov 27, 2009 11:04 AM
    Edited by: knidhi on Nov 27, 2009 11:04 AM
    Edited by: knidhi on Nov 27, 2009 11:05 AM

  • Getting error while invoking wsdl

    Hi,
    I have installed WCC 11.1.1.6. I have downloaded the WSDL from WebCenter Content for CheckIn. While hitting the WSDL through SOAPUi, I got the error "The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11".
    Any help is highly appreciated.
    Thanks.

    Hi Srinath,
    I am still getting error and not proper response. Below is the error:
    Mon May 27 13:23:26 IST 2013:ERROR:org.apache.http.client.ClientProtocolException
    org.apache.http.client.ClientProtocolException
         at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:822)
         at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
         at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:236)
         at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:345)
         at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:241)
         at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
         at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.http.ProtocolException: Content-Length header already present
         at org.apache.http.protocol.RequestContent.process(RequestContent.java:67)
         at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:108)
         at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:174)
         at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.preProcess(HttpClientSupport.java:106)
         at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:452)
         at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
         ... 11 more

  • Weblogic 8.1 :: Getting error while generating Client java class from WSDL

    Hi,
    For SOAP webservice, I am using ant script to generate java client from WSDL but getting below error. Please inform if any suggestion to resolve this.
    Also let me know if any other alternative to generate client java code.
    Ant script:
    ===========
    <project name="project" default="generateClientJar">
         <property file="build.property">
         </property>
         <taskdef name="clientgen" classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask">
              <classpath>
                   <fileset dir="${build_lib.dir}" includes="*.jar" />
              </classpath>
         </taskdef>
         <path id="compile_path">
              <pathelement location="C:/jar/wls-api.jar" />
              <pathelement location="${build_lib.dir}/weblogic.jar" />
              <pathelement location="C:/jar/webserviceclient+ssl.jar" />
              <pathelement location="D:/Java_Src_10.1.0/nextgen_arch/wlpatch/webservices.jar" />
         </path>
         <target name="generateClientJar" depends="generate.client">
    <clientgen wsdl="${wsdl.file}" classpathref="compile_path"
    serviceName="${service.name}"
    packageName= "${client.pkg}"
    clientJar="${ws.client.name}" />
         </target>
         <target name="generate.client" description="Generate web-services client">
              <property name="wsdl.file" value="${sms.wsdl.file}"/>
              <property name="client.pkg" value="${sms.client.pkg}"/>
              <property name="ws.client.name" value="${ws.sms.name}"/>
              <property name="service.name" value="${sms.service.name}"/>
         </target>
    </project>
    build.property file
    ===========
    base=C:/SMS
    lib=E:/jar_path
    sms.wsdl.file=${base}/SMS.wsdl
    sms.client.pkg=com.db.dbdi.gtbportal.sms.client     
    ws.sms.name=${lib}/ws_SmsService_client.jar
    sms.service.name=SMSService
    build_lib.dir = E:/jar_path
    Error log:
    ================
    Buildfile: D:\Java_Src_10.1.0\ant\build_weblogic8.xml
    generate.client:
    generateClientJar:
    [clientgen] Generating client jar for C:/SMS/SMS.wsdl ...
    [clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort.java:15: parameters is already defined in sendSMS(com.db.portal.webservices.sms.SendSMS,com.db.portal.webservices.sms.holders.SendSMSResponseHolder)
    [clientgen] public void sendSMS(com.db.portal.webservices.sms.SendSMS parameters, com.db.portal.webservices.sms.holders.SendSMSResponseHolder parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort.java:21: parameters is already defined in getStatus(com.db.portal.webservices.sms.GetStatus,com.db.portal.webservices.sms.holders.GetStatusResponseHolder)
    [clientgen] public void getStatus(com.db.portal.webservices.sms.GetStatus parameters, com.db.portal.webservices.sms.holders.GetStatusResponseHolder parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort_Stub.java:20: parameters is already defined in sendSMS(com.db.portal.webservices.sms.SendSMS,com.db.portal.webservices.sms.holders.SendSMSResponseHolder)
    [clientgen] public void sendSMS(com.db.portal.webservices.sms.SendSMS parameters, com.db.portal.webservices.sms.holders.SendSMSResponseHolder parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort_Stub.java:39: parameters is already defined in getStatus(com.db.portal.webservices.sms.GetStatus,com.db.portal.webservices.sms.holders.GetStatusResponseHolder)
    [clientgen] public void getStatus(com.db.portal.webservices.sms.GetStatus parameters, com.db.portal.webservices.sms.holders.GetStatusResponseHolder parameters)
    [clientgen] ^
    [clientgen] Note: C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSService.java uses or overrides a deprecated API.
    [clientgen] Note: Recompile with -deprecation for details.
    [clientgen] 4 errors
    *[*clientgen] java.io.IOException: Compiler failed executable.exec**
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [clientgen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:409)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [clientgen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [clientgen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    BUILD FAILED
    D:\Java_Src_10.1.0\ant\build_weblogic8.xml:34: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]
    Total time: 1 minute 12 seconds

    Hi,
    Can u Please post the WSDL..here. I remember long back i resolved this kind of issue...when i was getting "*parameters is already defined in - - -*" while using ClientGen.
    Once i will get the WSDL may be i can recall it...
    If u have any problem in Posting the WSDL..in Forums .. then let me know I will send my E-Mail Address...
    As far as i remember ..it usually happens when we Run ClientGen task of WLS81 ON the WebService/WSDL generated by WebLogic 9.x or Above. Please let me know if this is the Case with you as well... . I remember there is a Patch for it...for WLS8 ClientGen task...I dont remember the Patch Number Exactly.
    Just For testing:
    Just Use WLS9.x ClientGen task On the Same WSDL
    <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
    I am sure you will not see this issue... because the issue is there only with WLS8 Clientgen...
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Jan 8, 2010 4:32 PM
    Edited by: Jay SenSharma on Jan 8, 2010 4:34 PM

  • Getting error while Using BAPI Interface in VB

    Hi,
    I m getting error message while creating object of SAP.BAPI.1
    Error message is "out of memory : run time error 7".
    do I need to install any patch to my local PC? If yes then from where could i get that patch.
    Plz help me out.
    Thanks & Regards,
    Sagar

    Hi Sagar,
    Please varify the version of SAP client you use. I have noticed that this error with SAP Frontend Package 6.20, and was able to over come the follwing issue by upgrading to the SAP Frontend Package 6.40.
    Regards,
    Randima

  • Im getting error whil invoking webservices

    hi
    i am getting error when i am trying to invoke web service in bepl invoking. I can invoke file adapter and DB adapters but i can not invoke web service i got this error.
    May 24, 2012 3:19:20 PM Started invocation of operation "process" on partner "Service1".
    May 24, 2012 3:19:20 PM Faulted while invoking operation "process" on provider "Service1".
    <messages>
    <input>
    <Invoke1_process_InputVariable>
    <part name="payload">
    <process>
    <input>11111111</input>
    </process>
    </part>
    </Invoke1_process_InputVariable>
    </input>
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary">
    <summary>java.lang.NoSuchMethodError: oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;</summary>
    </part>
    <part name="detail">
    <detail>oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;</detail>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>
    and my wsm-pm is targeting only soa and bam now i changed to only admin but still its not working.

    Thanks for your Post
    Invoking is working with File or Database Adapters.when i am invoking a web services in BPEL then i am getting the error.
    My code and Program is fine.Everyone getting same error when they using this servers. If i use another servers its working i am not getting error.
    <summary> java.lang.NoSuchMethodError: oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;
    </summary>
    </part>
    -<part name="detail">
    <detail>
    oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;
    </detail>
    </part>

  • Getting error while calling ejb business methods from servlet

    Hi
    Iam getting error when i try to call a ejb method from servlet.Error is
    "com.netscape.server.eb.UncheckedException: unchecked exception nested exception is:java.lang.NullPointerException".
    I build the application and deployed it successfully.Iam using IAS 6.O with windows NT 4.0.
    This is just a method which takes values from database and return as an array of bean to servlet.
    Any help on this.Thanks Shank

    Hi
    I was using the session bean.Your suggestion helped me a lot.Perfect.
    I debug my program and found that from ejbCreate()exception is getting.
    I was getting the datasource object thro ejb create() initialisation.
    Somehow the look up jndi which i mentioned was not interpretting from ejb-jar.xml ias-ejb-jar.xml and datasource ref .Due to this iam getting jndi Namenotfound exception which in turns to null pointer as datasource is getting null.
    when i hardcoded in the ejb the the jndi name for datasource it is working fine.Bit worried all the existing ejbs working with the xml referenced datasource and jndi,but when i added a new ejb with same properties it is failing to get the jndi name.
    Piece of code from ias-ejb-jar.xml
    <resource-ref>
              <res-ref-name>myDataSource</res-ref-name>
              <jndi-name>jdbc/nb/myData</jndi-name>
    </resource-ref>
    Piece of code from ejb-jar.xml
    <resource-ref>
              <res-ref-name>myDataSource</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
    </resource-ref>
    Thanks a lot meka

  • Getting error while invoking BAM Web service from SOAP UI

    Dear All,
    I am trying to create a data object in BAM using BAM DataObjectDefinition Operations Web service using below payload
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bam="http://xmlns.oracle.com/bam">
    <soapenv:Header/>
    <soapenv:Body>
    <bam:Create>
    <!--Optional:-->
    <bam:xmlPayload><DataObject Version="14" Name="Employees3" ID="_Employees3" Path="/Samples"
    External="0">
    <Layout>
    <Column Name="Salesperson" ID="_Salesperson" Type="string" MaxSize="30"
    Nullable="1" Public="1" />
    <Column Name="Sales Number" ID="_Sales_Number" Type="decimal"
    Nullable="1" Public="1" />
    <Column Name="Timestamp" ID="_Timestamp" Type="timestamp"
    Nullable="0" Public="1" />
    <Indexes />
    </Layout>
    </DataObject>
    </bam:xmlPayload>
    </bam:Create>
    </soapenv:Body>
    </soapenv:Envelope>
    But i am getting below error in SOAPUI 4.5.1 and it seems something is wrong with Payload
    AM-06100: Data object definition creation failed.com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
    at [row,col {unknown-source}]: [2,0]
    Can anyone advise me what needs to be change in above payload so that it can create a DataObject in BAM.
    Thanks,

    Dear All,
    I manage to create a DataObject in BAM using below payload.
    Hope it will help
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bam="http://xmlns.oracle.com/bam">
    <soapenv:Header/>
    <soapenv:Body>
    <bam:Create>
    <!--Optional:-->
    <bam:xmlPayload>
    <![CDATA[<DataObject Version="14" Name="Employees3" ID="_Employees3" Path="/Samples"
                External="0">
      <Layout>
        <Column Name="Salesperson" ID="_Salesperson" Type="string" MaxSize="30"
                Nullable="1" Public="1" />
        <Column Name="Sales Number" ID="_Sales_Number" Type="decimal"
                Nullable="1" Public="1" />
        <Column Name="Timestamp" ID="_Timestamp" Type="timestamp"
                Nullable="0" Public="1" />
        <Indexes />
      </Layout>
    </DataObject>]]>
    </bam:xmlPayload>
    </bam:Create>
    </soapenv:Body>
    </soapenv:Envelope>

  • Getting error while submitting data to excel workbook through excel services in InfoPath 2010

    Hi,
    I have a requirement where in have to fetch the calculated values from the excel workbook through InfoPath 2010 form.
    When I am submitting cell value to excel workbook using SetCellA1 by executing following action:
    "Submit using data connection: dataconnection"
    I am unable to submit form. It is giving "there has been an error while processing the form" in the front end. I checked the event viewer and it displayed following exception:
    There was a form postback error. (User: xxxx, Form Name: yyyyyyyy, IP: , Request:
    http://asadadsas Request Form Template.xsn&SaveLocation=/somelocation, Form ID: urn:schemas-microsoft-com:office:infopath:formname:-myXSD-2010-09-20T15-02-34, Type: KeyNotFoundException, Exception Message: The given key was
    not present in the dictionary.)
    I was successfully able to submit the form using InfoPath client but it is giving error in the browser.
    Is there any way or configuration that I should do to resolve this issue.
    Any suggesttion would be of great help.
    Thanks,
    Sharepoint Consultant from NY, USA

    I have exactly the same problem. The form is supposed to be submitted to the SOAP Web service (http://servername/_vti_bin/ExcelService.asmx) using the SetCellA1 operation, works fine in InfoPath Filler, but when I try to submit it in the browser, I get this
    error:
    There was a form postback error. (User: WINGTIP\Administrator, Form Name: NewEventForms, IP: , Request: http://intranet.wingtip.com/et/_layouts/FormServer.aspx?XsnLocation=http://intranet.wingtip.com/et/NewEventForms/Forms/template.xsn&SaveLocation=http://intranet.wingtip.com/et/NewEventForms&Source=http://intranet.wingtip.com/et/NewEventForms/Forms/AllItems.aspx&DefaultItemOpen=1,
    Form ID: urn:schemas-microsoft-com:office:infopath:NewEventForms:-myXSD-2011-12-29T18-18-45, Type: KeyNotFoundException, Exception Message: The given key was not present in the dictionary.)
    followed by
    Unhandled exception when rendering form on postback System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.    
     at System.ThrowHelper.ThrowKeyNotFoundException()    
     at System.Collections.Generic.Dictionary`2.get_Item(TKey key)    
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DatabaseHelper.GetSchemaXml(String namespaceUri, Solution solution, String dataObjectName, SchemaNavigator& schema, XPathNavigator& originalSchema, XmlNamespaceManager& namespaceManager)
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.PartFragmentHelper.IsDataSetNode(Solution solution, XPathNavigator node)    
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.PartFragmentHelper.ApplyPartFragmentGather(DataAdapter adapter, XPathNavigator sourceDOM, DataObjects dataObjects, XPathNavigator targetDOM, PartFragment[] partFragments, Boolean[]& areDataSets)
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterWebServiceSubmit.Execute(Document document, Uri soapAction, Uri serviceUrl, XPathNavigator querySubDOM, XPathNavigator resultsSubDOM, XPathNavigator errorsSubDOM, Int64 timeout, DataAdapterCredentials
    credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)    
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterWebServiceSubmit.ExecuteInternal(XPathNavigator queryFields, XPathNavigator resultFields, XPathNavigator errors)    
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.RuleAction.EvaluateExpression(Document document, XPathNavigator currentTarget)    
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.RulesRuleSet.EvaluateExpression(Document document, XPathNavigator targetNavigator)    
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.ExecuteDefaultSubmitAction()    
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonSubmit.Click(Document document, XPathNavigator container)    
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventClick.Play(Document document, BindingServices bindingServices, EventLogProcessor eventLogProcessor)    
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventLogProcessor.ExecuteLog(Int32 expectedEventLogID)    
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.<>c__DisplayClass13.<PlayEventLog>b__11()    
     at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)
    What might be wrong? Are there any InfoPath configurations that need to be done? And, do I need to save the connection to the Excel Service Service Application to a connection file?
    Thanks,
             Boris

  • Error while sending a rpc request to c# web service

    Hi,
    I am having problem using dii client, while sending a request to c# webservice. error follows
    run-client:
    [java] Endpoint address = http://localhost/webservice/default.asmx
    [java] expected 1 parameter(s) but received: 2. Expected parameters:
    [java] String_2:{http://www.w3.org/2001/XMLSchema}string Got parameters:
    [java] java.lang.String
    [java] java.lang.String
    [java] at com.sun.xml.rpc.encoding.soap.SOAPRequestSerializer.checkPara
    meterListLength(SOAPRequestSerializer.java:265)
    [java] at com.sun.xml.rpc.encoding.soap.SOAPRequestSerializer.doSeriali
    zeInstance(SOAPRequestSerializer.java:109)
    [java] at com.sun.xml.rpc.encoding.ObjectSerializerBase.serialize(Objec
    tSerializerBase.java:102)
    [java] at com.sun.xml.rpc.client.StreamingSender._writeRequest(Streamin
    gSender.java:473)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
    java:59)
    [java] at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvok
    erImpl.java:61)
    [java] at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:35
    3)
    [java] at testmsws.HelloClient.main(Unknown Source)
    the c# webmethod requires 2 input parametes. I set 2 parameters to call and invoking method
    QName QNAME_TYPE_STRING = new QName(NS_XSD, "string");
    call.setReturnType(QNAME_TYPE_STRING);
    call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "GetDetails"));
    call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN);
    String[] params = { "02", "2004" };
    String result = (String)call.invoke(params);
    please give me a hand here if anybody know how to resolve this error
    thanks
    chandra

    Hi,
    I am having problem using dii client, while sending a
    request to c# webservice. error follows
    QName QNAME_TYPE_STRING = new QName(NS_XSD,
    "string");
    call.setReturnType(QNAME_TYPE_STRING);
    call.setOperationName(new QName(BODY_NAMESPACE_VALUE,
    "GetDetails"));
    call.addParameter("String_1", QNAME_TYPE_STRING,
    ParameterMode.IN);Do you need another call to addParameter here?
    String[] params = { "02", "2004" };
    String result = (String)call.invoke(params);

  • Getting error while calling RequestService interface

    oracle.iam.request.api.RequestService reqSvc =client.getService(oracle.iam.request.api.RequestService.class);
    like this i called service for RequestService but it is showing error like and i added jar files also
    __ERROR__
    oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
    at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:197)
    at oracle.iam.platform.OIMClient.getService(OIMClient.java:174)
    at schedule.task.testOIM.execute(testOIM.java:110)
    at schedule.task.testOIM.main(testOIM.java:96)
    Caused by: java.lang.reflect.InvocationTargetException
    waiting for quick response

    Here is the code plz check it .in execute method i called getservice for RequestService
    package schedule.task;
    import javax.security.auth.login.LoginException;
    import oracle.iam.identity.exception.NoSuchUserException;
    import oracle.iam.identity.exception.OrganizationManagerException;
    import oracle.iam.identity.exception.UserLookupException;
    import java.util.ArrayList;
    import java.util.List;
    import oracle.iam.identity.exception.RoleSearchException;
    import oracle.iam.identity.rolemgmt.api.RoleManager;
    import oracle.iam.identity.rolemgmt.api.RoleManagerConstants;
    import oracle.iam.identity.rolemgmt.vo.Role;
    import oracle.iam.platform.authz.exception.AccessDeniedException;
    import oracle.iam.platform.entitymgr.vo.SearchCriteria;
    import oracle.iam.request.api.RequestService;
    import oracle.iam.request.vo.Beneficiary;
    import oracle.iam.request.vo.RequestBeneficiaryEntity;
    import oracle.iam.request.vo.RequestConstants;
    import oracle.iam.request.vo.RequestData;
    import oracle.iam.request.vo.RequestTemplateAttribute;
    import oracle.iam.request.vo.Beneficiary;
    import oracle.iam.request.vo.RequestBeneficiaryEntityAttribute;
    import oracle.iam.request.vo.RequestData;
    public class testOIM {
    oracle.iam.platform.OIMClient oimClient = null;
    protected RequestService _service=null ;
    public testOIM()
    String oimURL = "t3://172.16.30.52:14000/oim";
    String oimInitialContextFactory =
    "weblogic.jndi.WLInitialContextFactory";
    System.out.println("testing11");
    //System.setProperty("XL.HomeDir", "/u01/app/oracle/product/fmw/iam/server");
    System.setProperty("java.security.auth.login.config",
    "C:/JDeveloper/jarfiles/config/authwl.conf");
    System.setProperty("Context.PROVIDER_URL", oimURL);
    System.setProperty("OIM.AppServerType", "weblogic");
    System.out.println("testing11");
    // set up the environment for making the OIM API invocation
    java.util.Hashtable env = new java.util.Hashtable();
    env.put(oracle.iam.platform.OIMClient.JAVA_NAMING_FACTORY_INITIAL,
    oimInitialContextFactory);
    env.put(oracle.iam.platform.OIMClient.JAVA_NAMING_PROVIDER_URL,
    oimURL);
    System.out.println("testing11");
    oimClient = new oracle.iam.platform.OIMClient(env);
    System.out.println("testing11");
    oracle.iam.request.api.RequestService _service =         
    oimClient.getService(oracle.iam.request.api.RequestService.class);
    try {
    // _service = oimClient.getService(RequestService.class);
    oimClient.login("xelsysadm", "Passw0rd1".toCharArray());
    System.out.println("testing12");
    System.out.println("connection established");
    } catch (LoginException e) {
    e.printStackTrace();
    public static void main(String args[])throws java.lang.NullPointerException,
    OrganizationManagerException,
    NoSuchUserException,
    UserLookupException {
    System.out.println("testing");
    testOIM test = new testOIM();
    System.out.println("testing123");
    try
    // test.execute();
    catch (Exception ex)
    ex.printStackTrace();
    // test.log("EXCEPTION: " + ex.getMessage());
    return;
    public void execute() throws Exception
    oracle.iam.request.api.RequestService _service =         
    oimClient.getService(oracle.iam.request.api.RequestService.class);
    testOIM test1 = new testOIM();
    String userKey = null;
    String str = null;
    String template = null;
    // _service = oimClient.getService(RequestService.class);
    String[] roleNames =
    "Role1" //, "SLF IT", "SLF Auditor"
    RequestData requestData = null;
    Beneficiary beneficiary = null;
    List<RequestBeneficiaryEntity> entities = null;
    List<RequestTemplateAttribute> tempattrs = null;
    RequestBeneficiaryEntity entity = null;
    RequestTemplateAttribute tempattr = null;
    List<RequestBeneficiaryEntity> entityList = null; // OIMClient
    List<RequestBeneficiaryEntityAttribute> entityAttrList = null; // OIMClient
    userKey = "81";
    template = "CSVrequesttemplate";
    requestData = new RequestData(template);
    requestData.setJustification("I need this Role");
    beneficiary = new Beneficiary();
    beneficiary.setBeneficiaryType("user");
    beneficiary.setBeneficiaryKey(userKey);
    entities = new ArrayList<RequestBeneficiaryEntity>();
    for (String roleName : roleNames)
    entity = new RequestBeneficiaryEntity();
    entity.setEntityKey(test1.getRoleKey(roleName));
    entity.setEntityType(RequestConstants.ROLE);
    entity.setEntitySubType(roleName);
    // entity.setEntityData(entityAttrList); // only use with custom attrs
    entities.add(entity);
    beneficiary.setTargetEntities(entities);
    List<Beneficiary> beneficiaries = new ArrayList<Beneficiary>();
    beneficiaries.add(beneficiary);
    requestData.setBeneficiaries(beneficiaries);
    str = _service.submitRequest(requestData);
    // if(str){System.out.println("submit the request");}
    return;
    protected void log(String str)
    if (str != null)
    System.out.println("LOG: " + str);
    return;
    public String getRoleKey(String roleName) // throws Exception
    throws AccessDeniedException, RoleSearchException {
    String roleKey = null;
    RoleManager rmgr = null;
    List<Role> roles = null;
    SearchCriteria criteria = null;
    * Use the "roleName" to obtain the internal "roleKey"
    rmgr = oimClient.getService(RoleManager.class);
    criteria = new SearchCriteria(RoleManagerConstants.ROLE_NAME, roleName, SearchCriteria.Operator.EQUAL);
    roles = rmgr.search(criteria, null, null);
    roleKey = (String)roles.get(0).getAttribute(RoleManagerConstants.ROLE_KEY);
    return roleKey;
    }

  • Getting error while invoking relational physical DS for sybase stored proc

    *com.bea.dsp.das.exception.DASException: com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0004: Error executing SQL query: [BEA][Sybase JDBC Driver][Sybase]SELECT INTO command not allowed within multi-statement transaction+.*
    I have created a physical DS function using "relational" in the wizard and connecting to sybase ASE stored procedure that is in unchained mode. I had configured the JDBC pool using BEA sybase non-XA 12.x driver.
    When i run the physical DS (or logical DS), i get the above error. The sybase srever(and stored proc) is hosted by an external system and right now i do not have access/contacts to change anything.
    After hours spent googling, it appears that the fix may possibly be setting "set chained off" before calling the stored proc. To achieve that, i tried the below two methods but nothing seems to work:
    - In the JDBC URL, set property via ?chained=off (also tried false instead of "off")
    - In Admin console/JDBC connection pool configuration/initSQL tried "SQL SET CHAINED OFF" and "SET CHAINED OFF"
    My ODSI version is 10gR3
    Oracle Workshop for WebLogic
    Version: 10.3
    Build id: 1137967
    I tried using java physical DS and get the same error. I wrote a test stored proc in my local PC sybase ASE and it runs fine. But i connected as "sa".
    I would like to exhaust all possible options from my side before making the long process of getting something changed in the external sybase DB like setting the proc mode to "anymode".
    Please help.
    Thank you.

    mikereiche wrote:
    Did the test stored proc use "SELECT INTO"?Yes. But it did not do much(code below)
    >
    Was the test stored proc tagged the same as the one that fails (chained/unchained?)Yes. "sp_procxmode" confirms that the test stored proc is in "unchained" transaction mode.
    >
    Can you get jdbc code that successfully calls the stored proc using the datasource?Yes, my colleague was trying the jdbc code and i was trying in the workshop with relational. She has left for the day so will post tomorrow. Please note that this is only for the test stored proc. The java jdbc also gets the same error for the "real" stored proc.
    >
    BTW - if you used "SET CHAINED OFF" as initSql, unless you have a table named SET, the sql will fail and the datasource will not be created. So that casts some doubt on whether the other setting "SQL SET CHAINED OFF" was applied.
    Also - the connections are reset to default when they are returned to the connection pool, so I think "SQL SET CHAINED OFF" should be used as the "Test Table Name" and Test On Reserve should be checked.Tried it now, but it does not work. I'm getting the same error.
    test stored proc:
    create procedure dbo.getCustomerMulti @cid_inp varchar(40)
    as
    begin
    select dbo.Customer.FirstName, dbo.Customer.cid, dbo.Customer.LastName, dbo.Customer.DateCreated, dbo.Customer.id into #temp from dbo.Customer
    select dbo.Customer.FirstName, dbo.Customer.cid, dbo.Customer.LastName, dbo.Customer.DateCreated, dbo.Customer.id from dbo.Customer where cid LIKE @cid_inp + '%'
    end
    Thank you.

Maybe you are looking for