Error using XI adapter
Hi
I have configured XI receiver adapter. IN RFC destaination, i have given as G type, HTTP destination.
When testing the interface, it throws an error "HTTP response status code 400 with description OK".
Can you please let me know what might be wrong.
Regards,
Anil.
Hi Satish,
If you are using XI adapter for ABAP-based receiver(ABAP proxy), the destination is an RFC destination of type H (HTTP onnection to an SAP system).
other cases ( non-ABAP-based receiver), the destination is an RFC destination of type G.
please let me know what is your case.
Regards,
Raj
Similar Messages
-
BPM Mapping Error using JDBC adapter JDBC - SAP - JDBC
Hi
I am facing an issue in XI BPM in my QA system .
My scenario involves a JDBC sender adapter which calls an SQL in the legacy database , a BPM which process the SQL resultset and IDoc send from BPM to R/3.Once IDoc is send successfully to R/3 XI BPM sends a response back to legacy database.
There are 4 mapping transforations inside BPM.
First XI executes an SQL in the database and then transforms it using BPM steps.
I have not made any changes in the mapping or within BPM.
However since last week the BPM is failing . When I checked the error log I found out the error due to mapping transformation in one of the steps.
In fact XI fails to successfully map in that step.
The same BPM and mapping works fine in the Production system.
However when I manually tried to test the BPM and the mappings with Production payload in XI QA system it again failed.
I believe the message is failing not due to data problem.
I also tried by deactivating and reactivating the XI sender channel which calls the SQL in the database.
Then I tried by restarting all backgrounds jobs related to BPM.
Both apprpoaches failed.
I am getting the following error in transformation step.
<b>com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeException in Message-Mapping transformatio~</b>.
Any inputs will be very helpful and rewarded.
Thanks in advance.Please provide more detailed exception trace.
Also, I have seen some cases where the imported/deployed classes simply disapeared!!!
I had to make dummy changes in all my message mappings and activate them in order to get them working.
Regards,
Henrique -
Jdbc-odbc java error using SQL adapter in o9iASWireless
I've used the SQL adapter in the previous releases of wireless without any problem. Most of the time I would use it for all the wireless PLSQL applications in the Oracle database and it works very OK.
I have also used it to connect with a SQLserver database to try out some queries. In this case I would use the standard JDBC/ODBC bridge driver from SUN.
In release 2.0 I can't connect with this SQL Server database anymore.
I've added a system DSN to the ODBC configuration of the Windows 2000 server. This will give access to a internal SQL server database via TCP. A password username is required.
When I try to add a SQLservice in the service designer using the SQL adapter I will use the following parameters:
JDBC connect string: JDBC:ODBC:<DSNNAME>
JDBC driver: sun.jdbc.odbc.JdbcOdbcDriver
un: <username>
pw: password>
Query (without ';'): select count(*) from <tablename>
Minimum number of Database connections in the pool 5
Maximum number of Database connections in the pool 100
Increment size for the connection pool 1
Idle Timeout (in minutes) 30
Now I get the following error:
2/8/03 2:27:59 PM ERROR : [ApplicationServerThread] webtool.common.PtgErrorLog.outputError(PtgErrorLog.java:28)
oracle.cabo.servlet.event.PageEventException: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection,page=Page[name=designer/MasterServiceInitCreate],event=PageEvent[name=goto,source=wizardNav,fromPage=designer/MasterServiceInitCreate,JDBC_DRIVER=sun.jdbc.odbc.JdbcOdbcDriver,JDBC_CONNECT_STRING=jdbc:odbc:<DSNNAME>,CONNPOOL_INC=1,CONNPOOL_MIN=5,CONNPOOL_IDLETIMEOUT=30,USERNAME=<USERNAME>,value=4,SQLTYPE=QUERY,CONNPOOL_MAX=100,STATEMENT=select count(*) from bedrijven,PASSWORD=<PASSWORD>],rootCause=oracle.panama.adapter.AdapterException: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection
at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
at oracle.panama.webtool.common.PtgPageBroker.handleRequest(PtgPageBroker.java:152)
at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
at oracle.cabo.servlet.BajaServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:633)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:235)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:695)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:248)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
I got the error 'java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection' in my log and tried to find out the meaning of this error at java.sun.com. It's stil not clear what exactly causes the error but it looks like a data formatting error.
java.lang.ClassCastException
(Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. For example, the following code generates a ClassCastException:
Object x = new Integer(0);
System.out.println((String)x); )
Is it just a data formatting problem or has it something to do with the JDBC/ODBC driver version of the JDK from the appliction server release 2.0.
I remember that I was always able to connect to the SQL server database with previous releases also with a count query. I've also used JDK 1.3.1 with o9iAS release 1.0.2.1.
Any suggestions for a solution?
Thanks in advance for your help.try this link:
http://community.eapps.com/showthread.php?p=8 -
Hi All,
I'am trying to run the following scenario:
FILE --> XI --> IDOC (r/3).
Data is read and mapped towards an internal format. Then a mapping from the internal format to MATMAS_BAPI01 is done.
I disabled EDI_DC40 and did the needed mappings.
When I execute the scenario I get the following error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
<SAP:P1>MSGGUID CA9DC2E01F1211DA9EED000D56B9D8A6: Control record must start with tag EDI_DC40, not E1BPMATHEAD</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error: MSGGUID CA9DC2E01F1211DA9EED000D56B9D8A6: Control record must start with tag EDI_DC40, not E1BPMATHEAD</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I expected that the XI system would automaticly fill in the needed info in EDI_DC40.
Does anyone has an idea what is going wrong?
Kind regards
Message was edited by: Geert Woutershi,
most probably your idoc message
has a wrong format
when you import your new idoc to integration repository
does it have EDI_DC40 at the beggining?
BTW
try without disabling the edi_dc40
you cna also have a look at my weblog:
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
Regards,
michal
Message was edited by: Michal Krawczyk -
Error-Receiver File Adapter using Variable substitution when file is empty
XI Experts,
We are on PI 7.0, SP14.
We are using variable subtitution to get the filename from source message. This works fine as long as we have data in the payload for filename element. But we have a scenario where we don't have to create file when certain condition does not exists in source message so in the message payload filename element will not exists in such condition and file will be empty and we should not create file.
Parameter in the communication channel for Handling empty message is "Ignore".
Does anyone knows how to handle this scneario. We don't want to default any file name in the message mapping if source file name element does not exists.
We are following getting error in the Adapter engine.
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file
Thanks
MPYou can implement this by writing the module to throw an exception or whatever method you want to execute.
If you don't want to receive an error message then module is suitable for you.
Gaurav Jain -
Error in using file adapter valves
Hi,
I'm working on Oracle SOA Suite 11g (11.1.1.4). I'm doing an exercise on using adapter valves for encryption. I need to write an encrypted file using File adapter. I created pipeline.xml and also specified property in jca file. And added bpm-infra.jar file to classpath.
Also, I've compiled SimpleEncryptValve.java and created a jar file and placed it in lib directory of domain.
Pipeline.xml is as below :
<?xml version="1.0"?>
<pipeline xmlns="https://www.oracle.com/adapter/pipeline">
<valves>
<valve>valves.SimpleEncryptValve</valve>
</valves>
</pipeline>
writeFile_file.jca contents are as below :
<adapter-config name="writeFile" adapter="File Adapter" wsdlLocation="writeFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/FileAdapter"/>
<endpoint-interaction portType="Write_ptt" operation="Write">
<interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
<property name="PhysicalDirectory" value="D:\PoC\FileAdapters"/>
<property name="Append" value="false"/>
<property name="FileNamingConvention" value="new_%SEQ%.txt"/>
<property name="NumberMessages" value="1"/>
<property name="PipelineFile" value="pipeline.xml"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
Got below error while testing. What could be wrong in valve configuration ?
<Jun 6, 2011 7:29:25 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <File
pter Project2:writeFile [ Write_ptt::Write(body) ]
oracle.tip.pc.services.pipeline.PipelineException: Invalid configurations for valves
at oracle.tip.pc.services.pipeline.PipelineImpl.validate(PipelineImpl
va:237)
at oracle.tip.pc.services.pipeline.PipelineFactory.instantiateModel(P
lineFactory.java:198)
at oracle.tip.pc.services.pipeline.PipelineTemplate.newPipeline(Pipel
Template.java:39)
at oracle.tip.adapter.file.outbound.FileSender.getPipeline(FileSender
va:378)
at oracle.tip.adapter.file.outbound.FileSender.sendNonBatchedSerializ
late(FileSender.java:254)
at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(
eInteraction.java:623)
at oracle.tip.adapter.file.outbound.FileInteraction.execute(FileInter
ion.java:426)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.executeJcaInteraction(JCAInteractionInvoker.java:311)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.invokeJcaReference(JCAInteractionInvoker.java:548)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:508)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointI
raction.performAsynchronousInteraction(JCAEndpointInteraction.java:491)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(A
terReference.java:247)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler
Post(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(Message
ter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.jav
15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRefle
on(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invok
inpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseE
tAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyn
cAopProxy.java:204)
at $Proxy299.post(Unknown Source)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(
iatorServiceEngine.java:1120)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:200)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:94)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:74)
at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActi
andler.java:47)
at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProces
.java:64)
at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(Message
patcher.java:137)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(
tialMessageDispatcher.java:503)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases
itialMessageDispatcher.java:401)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processNorma
ses(InitialMessageDispatcher.java:284)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases
itialMessageDispatcher.java:251)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(Ini
lMessageDispatcher.java:143)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(Me
torServiceEngine.java:848)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(Media
ServiceEngine.java:624)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler
Post(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(Message
ter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.jav
15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRefle
on(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invok
inpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseE
tAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyn
cAopProxy.java:204)
at $Proxy299.post(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComp
nt.doMessageProcessing(WebServiceEntryBindingComponent.java:1271)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComp
nt.processIncomingMessage(WebServiceEntryBindingComponent.java:859)
at oracle.integration.platform.blocks.soap.FabricProvider.processMess
(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcess
(ProviderProcessor.java:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementa
n(WebServiceProcessor.java:1081)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessi
ProviderProcessor.java:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServic
ocessor.java:232)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProc
or.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.j
:459)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPo
FabricProviderServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSec
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:1
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java
3)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatfor
il.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.
a:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.jav
61)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java
6)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAc
n.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAc
n.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authentic
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.ja
120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebA
ervletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServl
ontext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImp
ava:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>Hi Surfraz,
Did you go through this link?
http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#BABCFDGC
Regards,
Neeraj Sehgal -
Error while using DB Adapter in BPEL
Error:
An error occurred while obtaining stored procedures. Verify that the database connection is valid.
I have installed BPEL 10.1.2.0.2 and linked it to a local Oracle DB(not using Oracle Lite). Here, there is no problem invoking a stored procedure while using DB adapter.
Now, when I try to invoke stored procedure that is not present in local Oracle DB, it gave me above error.
I was able to make new DB connection, browse to correct schema and procedure. The moment I click <Next>, the error came.
Any pointer!!Thanks Michael for taking interest into my issue.
To answer your question: The error happened during design time.
It was a mistake from my side. I did not see that JDeveloper put a default IN argument while selecting the stored procedure, whereas my procedure did not have any.
My issue was resolved once I put a dummy argument in my stored procedure. -
Error while using DB Adapter in BPEL process
Hi All,
I am getting error while using DB Adapter in BPEL process
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 69 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:955) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:750) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 72 more
I have created jndi from console which I have mentioned in DBAdapter and I have provided details of JNDI to DbAdapter in deployment.
I am not able to solve this.
Can you please let me know solution for this or provide me link for tutorial of DBAdapter for stored procdure call?did u deploy your dbadapter through console to the plan mentioned for deployment?
-
Error while invoking custom API using Database Adapter
Hi,
I've a requirement where in I need to fetch the data returned by a recordtype of a custom API. I've implemented this by invoking the custom API using Database Adapter. I'm facing a problem while performing this.
The custom API holds the signature as:
PROCEDURE EMP_DET
Argument Name Type In/Out Default?
P_DEPTNO NUMBER IN
L_LINE_TBL TABLE OF RECORD OUT
I've a schema with which it needs to be validated. It looks like:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:po="http://www.mycompany.com/ns/sales" targetNamespace="http://www.mycompany.com/ns/sales" elementFormDefault="qualified">
<element name="EmployeeDetails">
<complexType>
<sequence>
<element name="EmpNo" type="integer"/> <element name="EName" type="string"/> <element name="Job" type="string"/> <element name="Mgr" type="integer"/> <element name="HireDate" type="date"/> <element name="Sal" type="decimal"/> <element name="Comm" type="decimal"/> </sequence>
</complexType>
</element>
</schema>
I did a transformation to the above stated Emp.xsd with the xsd created for my custom API by the BPEL process. I could create the process and deploy successfully, but while invoking I get the following error. (I'm using BPM 10.1.3.1 with JDev 10.1.3.1)
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>6502</code>
</part><part name="summary"><summary>file:/D:/OraBPEL/bpel/domains/default/tmp/.bpel_my_poc_1.0_16c5d0f7b937c780d27d8975726a15cb.tmp/emp_details.wsdl [ emp_details_ptt::emp_details(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'emp_details' failed due to: Error while trying to prepare and execute an API.
An error occurred while preparing and executing the SCOTT.BPEL_EMP_DETAILS.EMP_PKG$EMP_DET API. Cause: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
[Caused by: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
; nested exception is:
ORABPEL-11811
Error while trying to prepare and execute an API.
An error occurred while preparing and executing the SCOTT.BPEL_EMP_DETAILS.EMP_PKG$EMP_DET API. Cause: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
[Caused by: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
</summary>
</part><part name="detail"><detail>
Internal Exception: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
Error Code: 6502</detail>
</part></remoteFault>
Can someone let me know as to why I'm getting this error? Also lemme know if such an approach is valid to do, if not please suggest me alternate methods to do this.
Thanks in advance,
GayathriThe 'numeric or value error' is one we have seen many times. The problem has been identified and fixed. Refer to this thread for more information.
Issue with DB Adapter - ORABPEL-11811 -
Getting error while using DB adapter in a SOA composite
Getting the following error on EM after invoking a composite which takes an input, queries a database using DB adapter against the input and gives the output as a string.
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:762) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:384) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:302) 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:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:792) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:309) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:189) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:102) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
Please help!!Check the audit trail or server log to find the root cause.
Regards,
Anuj -
Error from BPE Adapter using in Async Sync scenario
Hi,
I'm trying to use a Asyn Sync pattern with BPM:
1)File adapter get a file from AS400, split it several XML messages and send to XI(Async)
2)XI get each message and forward to BPM using XI adapter
3)BPM has to send the message to R/3 via BAPI (Sync)
4)R/3 reply the result message to BPM(Sync)
5)BPM has to send the result message to e-mail system if an error had occurred in BAPI call (Async)
When I send directly from File adapter to R/3 works like a charm, but when I want use the BPM, a soap header error says to me, that cannot identify a data type that Im using in the message sent by File adapter.
The error that I'm getting is BPE Adapter UNKNOWN_MESSAGE in soap header.
Regards,
EduardoI got the same problem after installing new patches.
This is what I had to do:
Go to SXI_CACHE
- Choose Business Processes
- select your Buisness Process
If your buisness process has Return Code 99
- Click "Repeate Activate" button
- On the next screen, click Activate again.
This worked for me. Good Luck! -
Using file adapter, got "Sender Agreement not found" error
I used file adapter in my CC and defined all the necessary objects. When I tried to test the configuration and I kept getting "Sender Agreement" error.
Also the chache is cleared too, searched the forum already, couldn't find any clue
Not sure what I did wrongHi,
First things first, ensure you have an agreement for each single Communication Channel you have
and that they are correctly associated.
If they are created and associated, you may try the cache refresh with the link:
http://host:j2eeport/CPACache/refresh?mode=full
Kind regards,
Caio Cagnani -
Error while trying to move file using File adapter
Hi, I am trying one scenario to move file from one remote folder to other using file adapter as mentioned in heading 4.5.11.1 at http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10231/adptr_file.htm#CHDGFAAB. But I am receiving the below error:
<messages><input>
<Invoke1_FileMove_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/"/></part></Invoke1_FileMove_InputVariable></input><fault>
<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "*JCA Binding execute of Reference operation 'FileMove' failed due to: Exception occured when binding was invoked.*
*Exception occured during invocation of JCA binding: "*Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileReadInteractionSpec due to: Cannot set JCA WSDL Property.**
**Error while setting JCA WSDL Property.**
**Property setSourcePhysicalDirectory is not defined for oracle.tip.adapter.file.outbound.FileReadInteractionSpec**
**Please verify the spelling of the property.**
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
</summary></part><part name="detail"><detail>Cannot set JCA WSDL Property.
Error while setting JCA WSDL Property.
Property setSourcePhysicalDirectory is not defined for oracle.tip.adapter.file.outbound.FileReadInteractionSpec
Please verify the spelling of the property.
</detail></part><part name="code"><code>null</code></part></bindingFault></bpelFault></fault><faultType>
<message>0</message></faultType></messages>
Please provide any insight if someone have tried this.
Thanks,
rpsHi rps,
Your interaction-spec className seems to be incorrect (FileReadInteractionSpec).
<interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
</interaction-spec>Please try with the above interaction spec and let me know the outcome.
Regards,
Neeraj Sehgal -
Error while using soap adapter in webservice to sap system scenario
Hi everybody,
i got the error while using saop adapter in scenario(sender webservice----->sap system)
error is
HTTP error:couldnot post file
'/XISOAPAdapter/MessageServlet:Channel=:BS1:SPA.&
version+3.0&sender.Service=BS1&interface=http%3ASP%5OUTBOUND'on server 'XI03'(500)check with ur basis people
-
Hi,
I am getting the following error while using the WS adapter at the sender side.
the SOAP response indicates that an error occurred:
System Error
<detail><s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0"><context></context><code>INTERNAL.IN_BIND_WRONG_ADPT</code><text>Sender agreement found belongs to adapter WS, however the current adapter is XI</text></s:SystemError></detail>
Please help me in resolving this issue.
Thanks & Regards,
Hamsa ShreeHi Prateek,
Thanks for ur reply.
I have used WS adapter at the sender side. And the communication channel provided in the sender agreement is correct.
Thanks & Regards,
Hamsa Shree
Maybe you are looking for
-
Not able to pass cyclic XML schema type to a webservice method
I have a webservice method called getData(GetDataDocument gDoc). I constructed a request with object (which exactly satisfy the XML schema def) to call up the getData(). [From my java client also I did the same; but the java classes have been generat
-
Lumia 620 Software Problems (Opening Settings and ...
I've just bought a new unlocked lumia 620 and its great. APART from the fact that I cant open settings. After completing the initial setup, I cant open settings, and when I shut down the phone, it gets stuck on the goodbye screen and I have to take t
-
Thumbnails missing from DNG files in Finder
I have been converting Canon CR2 files to DNG files for archiving using Adobe DNG Converter 8.1. Conversion completed without issue and the files located in the appropriate folder on an external hard drive. Checking the folder I found the DNG files s
-
In applets developed with dac .can i navigate to a particular record by selecting a value in LOV .How can i do this.. some one help me
-
How to retrieve Font info using JDK
Hello there: I am wondering how I can find as much info about a font as I can using JDK. I can use GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts(); to retrieve the Font object, and get its name, family, that's pretty much of it. There