Is it possible to test XI Adapter on PCK by JNDI lookup?

Hi, friends
I can't test the XI Adapter by using the communication channels and sender/receiver agreements on a standalone PCK (without XI server to be connected). Is it possible to test XI Adapter on PCK by JNDI lookup?
I can locate the XI Adapter by JNDI lookup (JNDI name is configured on SampleRA.xml):
ConnectionFactory cxf = (ConnectionFactory)initctx.lookup("deployedAdapters/sample_ra/shareable/sample_ra");
But later it failed to get the ConnectionSpec and create the Connection. Could anyone give me a sample code for testing XI Adapter by JNDI lookup?
Thanks in advance.
Best Regards,
Jason
Message was edited by: Jason Wang

Hi,
I'm not sure if this is what you are looking for but
check the link "Using Resource Adapter to Obtain Connection" on this site:
http://help.sap.com/saphelp_nw04/helpdata/de/89/b262427a65423f87706a0e3faea00d/frameset.htm
Hope it helps,
Christian

Similar Messages

  • Testing Adapter in PCK

    I am trying to test sample adapter in PCK Server (Scenario PCK -Sender to PCK-Receiver, cc - sample Adapter). I configured scenario per help.sap.com. in CC Monitoring, it shows as it is functioning and in green legend. Even though I configured sender agreement and receiver agreement, it is not picking file and not doing anything.
    I configured NWA with relevenat config (authorization of user, isconfig url, internal, user, password etc ) as per help.sap.,com.
    Did any one come across this issue?  I appreciate your help.
    NOTE: you will get double points for right answer, with my subscription
    Thanks,
    Ravi Appala
    919 386 0221

    May be some basic check can help:
    1) file location and filename(alongwith extension) are maintained properly in the channel
    2) if possible use the IP address of the file server from where the file is to be picked up.
    3) In case of XI/ PI when such a thing happens, it is blamed on the adapter being locked. If the adapter is locked it will just show message in CC monitoring like processing started (something similar), however in reality the channel is not able to pick the file because the adapter is locked...check if it is the issue for you...not sure if the procedure to check for adapter is the same for PCK and XI/ PI....it is done through Visual Admin in 7.0 and in NWA for 7.1
    Regards,
    Abhishek.

  • Is it possible to test a text in a Oracle ebs form ...?plz help me..

    Hello,
    Is it possible to test a text in a Oracle ebs form ...?
    If possible then please tell me. It is working in Http /web based application.
    and table test is possible.. in Oracle ebs form?. Is it possible to capture a data from a text field and make comparison to check it. Though i want it all to be done in Oracle Ebs forms .
    Please help me..
    Regards
    Srinivas
    Edited by: 850579 on Apr 26, 2011 7:30 AM

    Hi,
    Thank u Alex i have tested with object test its working. I have got the result. can u tell me is it possible to insert table test in oracle ebs forms.
    can we insert iteration in the middle of the script.
    Regards
    Srinivas

  • Error while testing DB Adapter Example

    Hi All,
    I have created a sample DB Adapter CreditCardValidation Example and deployed successfully
    When I clicked on TestWebService buuton on EM, its giving the following error.
    <Jul 2, 2010 6:17:55 PM IST> <Warning> <oracle.integration.platform.blocks.deploy.servlet> <SOA-21060> <Cannot remove temporary directory: C:\DOC
    UME~1\LSUKHA~1.PAR\LOCALS~1\Temp\sar_base_dir_1278074856671>
    Exception in thread "Thread-39" javax.xml.transform.TransformerFactoryConfigurationError: Provider oracle.xml.jaxp.JXSAXTransformerFactory could
    not be instantiated: java.lang.IllegalStateException: ClassLoader "default.composite.validationForCC.soa_aad451e6-e045-4bdc-873a-b5c4bf0cfc4c:1.0
    " (from Application component in user-defined-origin): This loader has been closed and should not be in use.
    at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:155)
    at oracle.wsm.xml.XMLUtils.getTransformerFactoryToUse(XMLUtils.java:547)
    at oracle.wsm.xml.XMLUtils.getTransformer(XMLUtils.java:522)
    at oracle.wsm.xml.XMLUtils.write(XMLUtils.java:806)
    at oracle.wsm.policy.util.PolicyWriter.writePolicySubject(PolicyWriter.java:927)
    at oracle.wsm.policy.util.PolicyUtil.convertPolicySubjectToStr(PolicyUtil.java:506)
    at oracle.wsm.policymanager.util.PolicyMgrUtil.convertPolicySubjectToStr(PolicyMgrUtil.java:327)
    at oracle.wsm.policymanager.client.PolicyAccessServiceDelegate.getPolicies(PolicyAccessServiceDelegate.java:93)
    at oracle.wsm.policyaccess.impl.cache.PolicyCacheImpl$BackTracingSynchronizationThread$1.run(PolicyCacheImpl.java:714)
    at oracle.wsm.policyaccess.impl.cache.PolicyCacheImpl$BackTracingSynchronizationThread$1.run(PolicyCacheImpl.java:711)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47)
    at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.security.Security.runAs(Security.java:61)
    at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48)
    at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:52)
    at oracle.wsm.policyaccess.impl.cache.PolicyCacheImpl$BackTracingSynchronizationThread.run(PolicyCacheImpl.java:710)
    <Jul 2, 2010 6:18:45 PM IST> <Warning> <oracle.soa.adapter> <BEA-000000> <JCABinding=> JCABinding=> validationForCC:getCreditValidation [ getCr
    editValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) ] JNDI lookup of 'eis/DB/soadem
    odatabase' failed due to: Unable to resolve 'eis.DB.soademodatabase'. Resolved 'eis.DB'>
    <Jul 2, 2010 6:18:45 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> validationForCC:getCreditValidation [ getCreditValidation_p
    tt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) ] Could not invoke operation 'getCreditValidat
    ionSelect' against the 'null' due to:
    BINDING.JCA-12511
    JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    validationForCC:getCreditValidation [ getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,Creditcardinfo
    Collection) ] : 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/soademodata
    base'.
    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/soademodatabase. 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
    Please examine the log file for any reasons. Enable FINEST adapter logging via Enterprise Manager.
    >
    <Jul 2, 2010 6:18:46 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> [default/validationForCC!1.0*soa_d1e3c29a-4942-4c53-ac86-f8
    dbb5cc92b6.getCreditValidation]:getCreditValidationSelect Two-way operation getCreditValidationSelect() failed>
    <Jul 2, 2010 6:18:46 PM IST> <Warning> <oracle.soa.mediator.common> <BEA-000000> < Payload after BaseActionHander.requestMessage :{getCreditValid
    ationSelect_inputParameters=oracle.xml.parser.v2.XMLElement@2af53c}>
    <Jul 2, 2010 6:18:46 PM IST> <Warning> <oracle.soa.mediator.common> <BEA-000000> < Properties after BaseActionHander.requestMessage :{tracking.co
    mpositeInstanceId=110001, tracking.ecid=0000IaJCskmBDC3Lvmp2iX1CBTqA00000o, tracking.conversationId=null, tracking.compositeInstanceCreatedTime=F
    ri Jul 02 18:18:41 IST 2010, tracking.parentComponentInstanceId=mediator:265662F085D811DFBF9201EFEE7D6FBD, MESH_METRICS=null, tracking.parentRefe
    renceId=mediator:265662F085D811DFBF9201EFEE7D6FBD:26C1A7E085D811DFBF9201EFEE7D6FBD:req, transport.http.remoteAddress=10.65.209.130}>
    <Jul 2, 2010 6:18:46 PM IST> <Warning> <oracle.soa.mediator.common> <BEA-000000> < Headers after BaseActionHander.requestMessage :[]>
    <Jul 2, 2010 6:18:46 PM IST> <Error> <oracle.soa.mediator.serviceEngine> <BEA-000000> <Rolling back transaction due to ORAMED-03303:[Unexpected e
    xception in case execution]Unexpected exception in request response operation "getCreditValidationSelect" on reference "getCreditValidation". Pos
    sible Fix:Check whether the reference service is properly configured and running or look at exception for analysing the reason or contact oracle
    support.>
    <Jul 2, 2010 6:18:46 PM IST> <Error> <oracle.soa.mediator.serviceEngine> <BEA-000000> <Updating fault processing DMS metrics>
    <Jul 2, 2010 6:18:46 PM IST> <Error> <oracle.soa.mediator.serviceEngine> <BEA-000000> <Got an exception: oracle.fabric.common.FabricInvocationExc
    eption: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: JCA Bi
    nding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    validationForCC:getCreditValidation [ getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,Creditcardinfo
    Collection) ] : 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/soademodata
    base'.
    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/soademodatabase. 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.
    oracle.tip.mediator.infra.exception.MediatorException: ORAMED-03303:[Unexpected exception in case execution]Unexpected exception in request respo
    nse operation "getCreditValidationSelect" on reference "getCreditValidation". Possible Fix:Check whether the reference service is properly config
    ured and running or look at exception for analysing the reason or contact oracle support.
    at oracle.tip.mediator.service.SyncRequestResponseHandler.handleFault(SyncRequestResponseHandler.java:215)
    at oracle.tip.mediator.service.SyncRequestResponseHandler.process(SyncRequestResponseHandler.java:130)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:64)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:140)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:495)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:393)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processNormalCases(InitialMessageDispatcher.java:276)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:250)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:148)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:860)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.request(MediatorServiceEngine.java:716)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
    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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy248.request(Unknown Source)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:76
    8)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    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.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    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)
    I checked the DB Adapter XADataSourceName its pointing to jdbc/soademoDatabase.
    Even I searched all the 'weblogic-ra.xml' files, there <jndi-name> is pointing to "eis/DB/SOADemo" like in the following way.
    *<jndi-name>eis/DB/SOADemo</jndi-name>*
    But still its giving error.
    Please help me;
    Its urgent ......
    Thanks in Advance.

    Hi
    I am working on the same example and came across the same error. I have tried re configuring the database and also re created the database adapter in JDeveloper. But it still shows up.
    If you are following the tutorial, it says to set the name of the JNDI Name as "soademoDatabase". and not soademodatabase.
    I entered this name first when I created the database Resource during Configuration for the sample application. and followed the name soademoDatabase whenever required.
    when adding the DB Adapter in JDeveloper (step 3 Service Connection), it asks for the JNDI Name. I entered the JNDI name then
    Regards
    Ayesha

  • Possible to test Dev Transaction with Production data in eCatt?

    Hi,
    I am new to eCatt but got the impression that it was possible to test your transactions in dev with the data in production, presumably through an RFC connection.
    Is this at all possible?
    Thanks,
    Will

    Hi Will,
    with RFC your are right, but your direction of thinking is wrong.
    eCATT lets you develop testscripts in one (central test) system and execute them in and against other systems.
    Means, you can write your scripts in a Solution Manager and then execute it via RFC connections against ERP-development
    or ERP test system with their specific ERP data.
    Please take a look into the eCATT [Online Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d0/e3933f09a5fb47e10000000a114084/frameset.htm]
    Hope that helps to understand better distributed testing.
    Best regards,
    Christoph

  • How to test the adapter ?

    Hi
    When you create an adapter it would be inactive in adapter monitoring and it would be active only when atleast one message is passed through it ? how do we test the adapter is working fine or not ?

    HI Radhika
    As suggested by everyone here
    Go to RWB->Component monitoring->Adapter engine->Test message.
    Paste a payload anything just after the creation of adapter and test it. Give dummy values or any built scenario credentials on the same PI system you will get error at max thats it but it will activate the adapter.
    Thanks
    Gaurav

  • Is it possible to test Web Service operation from Browser

    Hi,
    I'm new with Web Logic and Web Service.
    Weblogic version: 10.3.5
    SOAP Web Service with RPC/Literal message format
    Created a Web Service and deployed that onto Web Logic.
    Also managed to get the WSDL page. However, when i tried to invoke one of the method from a web browser, it gives me a 404 Error. Not found.
    WSDL URL
    http://localhost:7778/self_service-self_service-context-root/self_servicePort?WSDL
    Method:
    <WL5G3N0:operation name="trivialProc">
    <WL5G3N3:operation soapAction="http://package/Self_service.wsdl/trivialProc"/>
    <WL5G3N0:input>
    <WL5G3N3:body use="literal" parts="String_1 Integer_2 String_3" namespace="http://package/Self_service.wsdl"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N3:body use="literal" namespace="http://package/Self_service.wsdl"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    Is it possible to test Web Service method through browser?
    I used Web Service on OC4J previously, and I was able to test the method directly from a web browser.
    Thanks
    Regards,
    Andi

    you can test web service using testclient option in weblogic
    for more information please check below link
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/webservices/TestAWebService.html
    http://docs.oracle.com/cd/E13224_01/wlw/docs100/guide/webservices/WSTutorial/tutWebSvcStep4.html
    Regards,
    Sunil P

  • Is it possible to use HTTP adapter?

    Hi All,
    interface will be trigged by ECC to run once a day. The purpose of this interface is to update ECC exchange rates with the exchange rates file provided by the Central Bank of Brazil.
    The file is available in the web site: http://www. XXXX and  its name changes depending on the date.
    The format is YYYYMMDD.csv. Example: 20100419.csv
    The scenario will be Abap proxy <-> PI <-> website (Http / soapu2026 whatever) (Syncronous as the date must be sent to build the correct filename).
    My main question is: how can I pick up this csv file from the website? Is it possible to use HTTP adapter?
    Thanks,
    Satya Kumar

    Hi ,
    i am not sure about this,i wolukd prefer developing JAVA Proxy or File Adapter . try this code it read the data from website, try in you stand alone application,it is able to read or not.
    you will face two problems,you have to convert CSC file to XML it is not possible in HTTP Adapter,
    import java.lang.*;
    import java.util.*;
    import java.net.*;
    import java.io.*;
    class URL2AC
            public static void main(String args[]) {
           try {        
              URL url = new URL("http://www.XXXXXXX.com/raj.txt");
              URLConnection uc = url.openConnection();
              BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
              while (in.readLine()!=null)
                   System.out.println(in.readLine());
           catch(Exception e) {
              e.printStackTrace();
    Regards,
    Raj

  • How quickly does the basic iMacMini connect to a Sling Media account and then handle streamed Sling Media content? Is it possible to test this at an Apple store?

    How quickly does the basic 1.4GHz/4GB/500GB iMacMini load Sling Media New Watch application and connect to one's account? Is this iMac fast enough to stream a video stream of approx.  2MB bandwidth without buffering (assuming an adequate internet connection) ? Is it possible to test this on a display model at an Apple store in the UK?
    Thanks for your assistance

    You said " 1.4GHz/4GB/500GB iMacMini"
    There is not such thin. There is the 1.4 GHz.4G/500GB Mac Min desktop computer.
    iMac computers are ingratiated computers that includes the display.

  • Is it possible to test a DPS app in the IOS simulator

    Does anyone know if it's possible to test a DPS app in the IOS simulator? We're trying to remain accessible to iPad 1 users for as long as possible) and to be able to test IOS 5, 6 and 7, in both retina and non-retina resolutions, will mean I'll need 5 ipads. I've only got two
    Cheers,
    Keith

    Sorry for the delay in replying.
    The IOS simulator appears to respect the DPI information for displays, even going as far as to switch the scaling setting for retina-enabled virtual IOS devices when you move the simulator from a high-DPI display to a regular display. As I have both, I'd get a reasonable facsimile.
    Unfortunately there's no way to make IPAs run in the simulator -- as I've now discovered, it's not emulating the ARM environment and apps have to be compiled for the simulator to use it for testing.
    I'll have to go shopping...

  • WLS/OSB DB Adapter - JNDI lookup failed

    Hello all.
    I've got a DB adapter service set up in a clustered environment, and it all works (and I've built proxy services, transformations etc around it), but I've just noticed that the log shows a warning regarding the JNDI lookup of the ConnectionFactory, as below.
    It's working, and the error is only a warning, but could this cause problems going forward, particularly with regards performance?
    Given that the ConnectionFactory name is 'com.whatever.myServiceDB', and the Endpoint URI of the service is 'jca://com.whatever.myServiceDB', what could be wrong? Has anyone seen/fixed this before? It's almost like the managed servers don't know about the JNDI name...but the DbAdapter deployent has 'All servers in the cluster' selected in its 'Targets' tab, so I'm not sure.
    Any pointers would be appreciated, I'm probably missing something obvious.
    Cheers.
    ####<Apr 15, 2010 10:53:10 AM BST> <Warning> <JCA_FRAMEWORK_AND_ADAPTER> <servername> <managed3_domainname> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1271325190453> <BEA-000000> <servicebus:/WSDL/MyProject/MyService [ MyService_ptt::merge(MessagesCollection) ] - JNDI lookup of 'com.whatever.myServiceDB' failed due to: String index out of range: -1>

    Thanks again.
    In case anyone runs into a similar problem and is wondering: a bit of mucking about reveals that the WLS ConnectionFactory config is fine with dots or slashes, and it seems to treat both the same when creating the JNDI tree.
    However, the WSDL (that you probably created in JDeveloper) has to have slashes for doing its lookup. So, for example, always use slashes rather than dots when setting your DB Adapter JNDI name in JDeveloper. I guess this is a bit different from usual class/package naming standards, so may catch someone else out too.
    Cheers.

  • Testing File Adapter

    Hi,
    I'm using a file adapter with content conversion. I have isolated the problem and am sure there's a problem with the conversion. Is it possible to see the result of the content conversion, meaning to see the XML that is produced?
    I'm currently using the test configuration at the Integration Directory. It only shows a runtime error at Interface Mapping, which is far from helpful.
    Thanks,

    Hi
    May be you have some different issue other than mapping.
    Set the file at source location and then check with RWB communication channel paylaod and SXMB_MONI  inbound message. If it fail in mapping then too you can see the XML produced by FCC
    Thanks
    Gaurav

  • Error whicle Testing SAP Adapter service

    I have created Mediator process which has configuration for 3rd Party Adapter for SAP. I deployed the process and when I am testing it, I am getting following error.
    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 'TEST_ITEM' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. CreateItemListProvSAP:CreateItemListSAPAdapterService [ TEST_ITEMPortType::TEST_ITEM(Input_TEST_ITEM,Output_TEST_ITEM) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: java.lang.IllegalArgumentException: Configuration 'SAP_TEST_TARGET' not available for adapter 'MySAP'. ". 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) ... 72 more
    Could some one please help - what could be the possible cause?
    I have went through the some the post here in this form, and they say ( This resolution was given for a similar error for Channel, I am getting error for Target )-
    " In your configuration folder IWAY_HOME/config/YourConfigName/ are there multiple files like repository.xml1, repository.xml2 etc in addition to repository? Similarly are you seeing multiple ste_repository files?
    In that case, you might have done some CRUD operation when the iwafjca.rar is deployed and running.When ever you are doing CRUD operations in iwae, please make sure the iwafjca.rar is not deployed or in active mode especially when you are using file repository."
    My question is what do you mean by CRUD operation here? I just deployed the process and did not do anything else.
    Also, I need some clarification related to SAP adapter configuration for Inbound and Outbound process.
    My process is outbound (I am using SOA 11.1.1.3) and through application explorer I have created only Connection and Target.
    Under the target, in remote function modle, I selected the BAPI and exported wsdl and xsds using J2CA
    For Outbound transactions, do I need to create channel?
    Could some one please help list the steps of configurations needed for Outbound and Inbound transactions for SAP adapter in Application explorer
    Thanks a lot
    Namit

    Thanks Manoj for your help,
    We have redeployed the J2CA and bounced the server.
    Mediator process is also redeployed.
    Now I am getting following error -
    Webservice invocation failed
    The selected operation execute could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    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 'TEST_ITEM' failed due to: Error in processing the input document.".
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    Any clue on this?
    Thanks,
    Namit

  • Error while Testing SOAP Adapter In XI

    <b>Hi Frndz
    I am trying to test my SOAP adapter which i have exposed as a webservice. I testing this from the WSNavigator which throws the following error:</b>
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Set-Cookie: <value is hidden>
    Set-Cookie: <value is hidden>
    Server: SAP J2EE Engine/6.40
    Content-Type: text/xml; charset=utf-8
    Date: Thu, 15 Dec 2005 12:24:19 GMT
    <?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>DeliveryException</code>
              <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 404 : Not Found
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:144)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:512)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
    <b>I have used this url for the Webservice:</b>
    <u>http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:CVXSABSR_TEST_SENDER:CVXSACC_TEST_SENDER</u>
    <b>I am unable to figure out where the problem is.
    Any ideas to solve this?
    Thanks in Advance
    DhanyaR Nair</b>

    <b>Hi Andrews and Ravi
    Thanks for the quick response.
    <u>Andrews</u> the Message Servlet is in OK status, as it reponded from checking the url given by you.
    What should i try next?
    <u>Ravi</u> i checked the url for checking the Comm Channel. There are two IDs associated with the Channel
    1>Object ID
    2> ObjectVersion ID
    with the ObjectVersionID , we are getting the following error and with ObjectID we got the proper response  </b>
    <b>with ObjectVersion ID</b>
    <u>http://<host>:<port>//XISOAPAdapter/HelperServlet?action=GetChannelInfo&channelID=<Object version ID></u>
    <b>response:</b>
    <?xml version="1.0" ?>
    - <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <faultcode>SOAP:Server</faultcode>
      <faultstring>Server Error</faultstring>
    - <detail>
    - <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
      <context>XIAdapter</context>
      <code>ADAPTER.SOAP_EXCEPTION</code>
    - <text>
    - <![CDATA[
    com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Channel object with Id Channel:a9f7f390671e11daa2300012799e22c2 not available in CPA Cache.
         at com.sap.aii.af.service.cpa.LookupManager.getCPAObject(LookupManager.java:202)
         at com.sap.aii.af.mp.soap.web.HelperServlet.processGetChannelInfo(HelperServlet.java:455)
         at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:131)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
                ]]>
      </text>
      </s:SystemError>
      </detail>
      </SOAP:Fault>
    <b>with the object id</b>
    <u>http://<host>:<port>/XISOAPAdapter/HelperServlet?action=GetChannelInfo&channelID=<Object  ID></u>
    <b>Response</b>
    <?xml version="1.0" ?>
    - <s:ChannelInfo xmlns:s="http://sap.com/xi/WebService/xi30">
      <channelID>ea30ed2ccc243fe49b7c2c5646ed3b2d</channelID>
      <name>CVXSACC_TEST_SENDER</name>
      <type xmlns:st="http://sap.com/xi/XI/System">st:SOAP</type>
      <direction>INBOUND</direction>
      <party />
      <service>CVXSABSR_TEST_SENDER</service>
      </s:ChannelInfo>
    <b>with the url</b>
    <u>http://<host>:<port>/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:CVXSABSR_TEST_SENDER:CVXSACC_TEST_SENDER</u>
    <b>Response</b>
    <?xml version="1.0" ?>
    - <s:ChannelInfo xmlns:s="http://sap.com/xi/WebService/xi30">
      <channelID>ea30ed2ccc243fe49b7c2c5646ed3b2d</channelID>
      <name>CVXSACC_TEST_SENDER</name>
      <type xmlns:st="http://sap.com/xi/XI/System">st:SOAP</type>
      <direction>INBOUND</direction>
      <party />
      <service>CVXSABSR_TEST_SENDER</service>
      </s:ChannelInfo>
    <b>How should i proceed ? Any idea frndz
    Thanks in Advance
    DhanyaR Nair</b>

  • Is it possible to call mail adapter in a UDF

    Hi,
    In my mapping if I find that, a field length is more than 50 I need to mail this field in the body of a mail. Can I call the receiver mail adapter in a UDF similar to RFC/JDBC adapter?
    Thanks.

    Is your scenario contains mapping apart from this?
    If not then you can use mailadapter message type provided by SAP.
    i dont think you have mapping other than as you want to pass this directly to content right?
    Its possible to access body in UDF.
    /people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
    Rajesh

Maybe you are looking for

  • HT1918 how can i setup  my account without a credit card

    how can i setup  my account without a credit card

  • About Ipod Functions of Iphone on Pioner Car Kit

    Hello guys, I have a problem with my iphone about of Ipod functions. So, I have a car and there is Pioneer music kit (CD/USB/MP3 Player) on car. So, When I put my "ipod touch (2th generation and 3th generation)" to that, there is no problem, everythi

  • Stopped Blackout but host/agent remain in blackout state

    I created a blackout on a host and all targets and set it to be indefinite. Worked fine. Finished what I wanted to do and wanted to start monitoring again. went to Setup / Blackout and selected to Stop the blackouts. Now no more blackout targets are

  • Enquiry(SAP SCRIPTS)

    hi experts ! can any one tell me the wat is form name, driver program & t.code for ENQUIRY ? (sap scripts ) or list of form names and their respective driver programs , Tcodes ? Regards, Rajsh Edited by: rajesh  k on Mar 4, 2008 10:59 AM

  • Help! Installed CS4 student edition, but only Illustrator appeared!

    Hi! I recently installed the CS4 student edition, but only Illustrator appears in 'Applications.' A lot of the files associated with Photoshop and In Design are on the computer, but not the programs themselves. I wonder if this has to do with the fac