PO BPM failing to call service reference occasionally

Hi PO BPM Gurus,
We have multiple PO BPM’s running at the same time in our environment, each BPM is doing a WS call to SAP ECC to post transactions.  During the day, some messages will error out in BPM saying that cannot invoke the service reference without any other detail.  In this case I just restart the BPM and the goes in cleanly.   What could be the possible cause of error?
Rgds,
Yves

Hi Yves
Have you gone through the following blog for BPM troubleshooting?
BPM Troubleshooting for Beginners
Try checking in the History tab, Advanced Mode - maybe it will provide more details on the error.
Rgds
Eng Swee

Similar Messages

  • "A technical error during invocation : Could not invoke service reference" Error message while calling a service from BPM

    Hi Experts,
    We are facing a issue while calling a Automated activity from BPM process, the process gets suspended and the BPM logs says "Process XYZ suspended, A technical error during invocation: Could not invoke service reference name fdhueoegghejietyhsjk6886 Component name ABC " We have already checked the mapped service reference and provider system. Gone through the below link, but no help.
    http://http://wiki.scn.sap.com/wiki/display/TechTSG/Sending+a+message+from+SAP+NetWeaver+BPM+process+to+PI+fails+via+automated+activity?original_fqdn=wiki.sdn.sap.com
    Any pointers or suggestions to fix up this issue will be highly appreciated. Thanks in advance.
    Regards,
    Mohit Jaju

    The details/ID in NWDS Service Reference must exactly match the SOA configuration. Sometimes it's possible you have changed the reference or the group itself and something changed to become mismatched.
    It's possible they don't match - but the SG itself will show green in NWA since the service exists and responds on the target system. Does the ID listed in the error match what is shown in the NWDS project?
    regards, Nick

  • Calling a web service reference from PL/SQL

    Hello,
    could anyone give me a hint how to call a web service that is defined as web service reference from a PL/SQL page process (PL/SQL anonymous block).
    Many thanks in advance
    Lukasz

    >
    The problem is that I have a PL/SQL page process that processes the result that was returned by a web service (triggered by web-service page process (-; ) and <b>need to call it again transparently for the user</b>. If there is a way to execute a page process from this PL/SQL block the question would be answered as well.
    >
    Same parameters and repeating at pre-defined time intervals? If yes, use Javascript as described here.
    Regards,

  • Trouble shooting apex application calling web-service reference

    Hi,
    I am developing an APEX application which calls a web-service reference. i am looking for ideas as to how to log necessary information for trouble shooting.
    i already thought about this -
    1. the response from the web-service is displayed to the user (via a collection object).
    but the issue is i want the administrator (who logs in at a later time) to see that an error occurred or what was the response from the web-service.
    Is there any in-built way of accessing this information (is it first of all stored somewhere automatically ?). the one possible solution i see is to create a table and log the info into this table along with user and session id.
    any ideas / pointers will greatly help me.
    Regards,
    Ramakrishnan

    It looks like you won't be able to test web service calls on apex.oracle.com. see this WebService on apex.oracle.com
    Edited by: tfa on Mar 18, 2013 9:59 AM

  • Failed to call destination: OC4J_BI_Forms's service()

    I have installed 11g Database and 10g Forms & report services.
    When i try to run the form i am getting the error in the log:
    C:\oracle10g\FRHome_1\Apache\Apache\logs\error_log.1259236800
    [Thu Nov 26 23:02:59 2009] [error] [client 10.1.0.23] [ecid: 2509255184199,1] MOD_OC4J_0145: There is no oc4j process (for destination: OC4J_BI_Forms) available to service request.
    [Thu Nov 26 23:02:59 2009] [error] [client 10.1.0.23] [ecid: 2509255184199,1] MOD_OC4J_0119: Failed to get an oc4j process for destination: OC4J_BI_Forms
    [Thu Nov 26 23:02:59 2009] [error] [client 10.1.0.23] [ecid: 2509255184199,1] MOD_OC4J_0013: Failed to call destination: OC4J_BI_Forms's service() to service the request.
    [Thu Nov 26 23:03:17 2009] [notice] FastCGI: process manager initialized
    please help
    I am working on the live database. this is upgrading form form 6i to 10g.

    hi,
    i am not using 10gAS. i installed 10g Forms & report service only.
    The forms service is already started.
    i am using windows 2003 OS.

  • [ModuleAdapter]Exception : Failed to call the module processor

    Hello,
    We deployed our Module Adapter on PI server and tried to execute it but we're having an exception :
    Exception caught during processing mail message[3]: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/fr.xx.xx.xx.ModueAdapterBean
    Mail : failed to call the module processor: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: object not found in lookup of fr.xx.xx.xx.ModuleAdapterBean
    We're working on SAP PI 7.11
    Do you have any idea of what could possibly cause this?
    Thanks in advance for your help.
    Imane.

    Thanks for responding Spantaleoni,
    In my application.xml, here is what I have :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                                 "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
        <display-name>ModuleAdapterEAR</display-name>
        <description>EAR for Mail conversion </description>
        <module>
            <ejb>ModuleAdapterEJB.jar</ejb>
        </module>
    </application>
    And my application-j2ee-engine.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">engine.security.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">engine.j2ee14.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.aii.af.lib.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.svc.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="interface">com.sap.aii.af.ifc.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.base.technology.facade</reference-target>
         </reference>
         <provider-name>sap.com</provider-name>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    My ejb-j2ee-engine.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-j2ee-engine SYSTEM "ejb-j2ee-engine.dtd">
    <ejb-j2ee-engine>
         <enterprise-beans>
              <enterprise-bean>
                   <ejb-name>ModuleAdapterBean</ejb-name>
                   <jndi-name>ModuleAdapter</jndi-name>
                   <session-props/>
              </enterprise-bean>
         </enterprise-beans>
    </ejb-j2ee-engine>
    Edited by: ImaneA on Aug 2, 2011 3:36 PM

  • Failed to open service OracleDEV102TNSListener , error 1060

    Dear Consultants,
    I have been trying to install ECC6 , Oracle on Windows 2003, and my Hardware is RAM --2 GB
    HDD -- 300GB
    I am having intel duo core processor and iam using Gigabyte motherboard,Intel chipset.
    My Installations stops at Import_Abap phase, following are the logs ,
    <b>ERROR 2007-03-10 04:47:46
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2007-03-10 04:47:47
    FCO-00011  The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    INFO 2007-03-10 05:03:18
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor</b>".
    I have set the all the Environment variables , i run r3trans -d and the result is
    <b>C:\Documents and Settings\devadm>r3trans -d
    This is r3trans version 6.13 (release 700 - 20.02.06 - 16:15:00).
    unicode enabled version
    2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
    r3trans finished (0012).</b>
    <b>I also run r3trans -x and the result is.
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12541'
    4 ETW000                                                                              21  1.098448
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                 142  1.098590
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    4 ETW000                                                                              22  1.098612
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              23  1.098635
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1   0244CF08   0245243C   02451CC4
    4 ETW000                                                                              24  1.098659
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=0,svrhp=02463484)       14  1.098673
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=02451C10,srvhp=02463484)
    4 ETW000                                                                              19  1.098692
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 02463484           16  1.098708
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      15  1.098723
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server DEV (con_hdl=0,svchp=02451C10,svrhp=02463484)
    4 ETW000                                                                              29  1.098752
    4 ETW000  [dev trc     ,00000]  Tue Mar 13 04:38:09 2007                         1093335  2.192087
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    4 ETW000                                                                              19  2.192106
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12541'
    4 ETW000                                                                              19  2.192125
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 12541  performing CON [dblink#3 @ 431]
    4 ETW000                                                                             176  2.192301
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-12541: TNS:no listener [dblink#3 @ 431]
    4 ETW000                                                                              19  2.192320
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"</b>
    Event Viewer result is
    <b>----
    Faulting application isqlplussvc.exe, version 1.0.7.0, faulting module msvcrt.dll, version 7.0.3790.0, fault address 0x0003113b.</b>
    finally in SAPINST logs i could see
    <b>
    Starting tnslsnr: please wait...
    Failed to open service <OracleDEV102TNSListener>, error 1060.
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is C:\oracle\DEV\102\network\admin\listener.ora
    Log messages written to C:\oracle\DEV\102\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\DEV.WORLDipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\DEVipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DEV)(PORT=1527)))
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=DEV.WORLD))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date                10-MAR-2007 01:29:29
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\DEV\102\network\admin\listener.ora
    Listener Log File         C:\oracle\DEV\102\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\DEV.WORLDipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
    .\pipe\DEVipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DEV)(PORT=1527)))
    Services Summary...
    Service "DEV" has 1 instance(s).
      Instance "DEV", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully</b>
    Please suggest for the possible workaround, as you can see i have tried everything.
    Regards,

    Dear Umesh,
    I have triggered the Installation again, still the problem remains unresolved,
    PLEASE CONFIRM THAT I AM USING INTEL CORE DUO PROCESSOR , does it have any dependcies or prerequisites.
    pasting the last few lines of  logs of SAPAPPL1_15, where i got the error in ABAP IMPORT.
    DbSl Trace: ORA-4031 occurred when executing SQL statement (parse error offset=0)
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "VDBEPI_EU~0" ON "VDBEPI_EU" ( "MANDT", "BUKRS", "RBELKPFD", "RPOSNR" ) TABLESPACE PSAPSR3 STORAGE (INITIAL 16384 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 4031)
      error message returned by DbSl:
    ORA-04031: unable to allocate 40 bytes of shared memory ("shared pool","CREATE UNIQUE INDEX "VDBEPI_...","Typecheck","qcsqlpath: qcsAddSqlPath")
    (DB) INFO: disconnected from DB
    E:\usr\sap\NAJ\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
    E:\usr\sap\NAJ\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20070517090126
    ===================================================
    IMPORT_MONITOR.JAVA logs.
    Import Monitor jobs: running 2, waiting 35, completed 34, failed 1, total 72.
    Loading of 'SAPAPPL1_15' import package: ERROR
    Import Monitor jobs: running 1, waiting 35, completed 34, failed 2, total 72.
    Loading of 'SAPAPPL2_5' import package: ERROR
    Import Monitor jobs: running 0, waiting 35, completed 34, failed 3, total 72.
    Import Monitor jobs: running 1, waiting 34, completed 34, failed 3, total 72.
    Import Monitor jobs: running 2, waiting 33, completed 34, failed 3, total 72.
    Import Monitor jobs: running 3, waiting 32, completed 34, failed 3, total 72.
    Loading of 'D021T' import package: OK
    Import Monitor jobs: running 2, waiting 32, completed 35, failed 3, total 72.
    Import Monitor jobs: running 3, waiting 31, completed 35, failed 3, total 72.
    Loading of 'SAPAPPL1_12' import package: OK
    Import Monitor jobs: running 2, waiting 31, completed 36, failed 3, total 72.
    Import Monitor jobs: running 3, waiting 30, completed 36, failed 3, total 72.
    Loading of 'SAPSSEXC_4' import package: OK
    Import Monitor jobs: running 2, waiting 30, completed 37, failed 3, total 72.
    Import Monitor jobs: running 3, waiting 29, completed 37, failed 3, total 72.
    Loading of 'SAPSSEXC_6' import package: OK
    Import Monitor jobs: running 2, waiting 29, completed 38, failed 3, total 72.
    Regards,

  • **URGENT** Deplyment error while using service reference

    I am using Landscape service to get the system information from system landscape directory. I added the service reference inside my web dynpro application using NW studio. When I deploy this service I get following error:
    Oct 21, 2005 3:06:16 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
    [023]Deployment finished with warning
    Settings
    URL to deploy : file:/C:/DOCUME1/sam/LOCALS1/Temp/temp61301XYZ_Web_Dynpro.ear
    Result
    => deployed with warning : file:/C:/DOCUME1/sam/LOCALS1/Temp/temp61301XYZ_Web_Dynpro.ear
    Finished with warnings: development component 'XYZ_Web_Dynpro'/'local'/'LOKAL'/'0.2005.10.21.15.05.52':
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/XYZ_Web_Dynpro and wait. Reason: Clusterwide execption: server ID 7099050:<Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID=' STATUS_MISSING', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key STATUS_MISSING', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID=' STATUS_MISSING', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key STATUS_MISSING
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : Got problems during deployment
    I wrote a sample iView without using dynpro & added the service reference as "landscape" inside the portalapp.xml & that iView worked fine.
    So I know that the service name is correct & the service is running on the portal.
    All I need to find out is how do I specify the reference of that service in my web dynpro application.

    I have exactly the SAME problem
    I tried putting PORTAL:sap.com/<your service name> in the sharing reference as well as in the service reference. But I still get the error during deployment.
    I also tried putting it in "service referece". Same error.
    I also tried just sap.com/<your service name>. But it didn't help either.

  • Substitution strings not working in URLs for web service references (bug?)

    We have an environment where the url for our BPEL server is read from a variable. I've created an application item and a corresponding application-level computation. I'm using the ampersand-followed-by-dot (&BPEL_SERVER.) syntax as well as the hashmark syntax (#BPEL_SERVER#) and am unable to get this working.
    Is there a way for me to debug web service reference calls other than whether a call was successful? Is this a bug?
    edit:
    Here is the error message I get when I try to use a substitution:
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests, or a wallet needs to be configured for HTTPS requests.

    No problem - let me try to lay this out a little differently, perhaps I'm just missing something.
    problem:
    * we have separate development, test, and production servers for our database and bpel servers.
    * The hostnames for these servers are stored in a table of key/value pairs
    * This means that (by policy) the hostnames in URLs calling BPEL web services should be the value corresponding to BPEL_SERVER so that the appropriate bpel server is used to call the web service
    attempted solution:
    1) I created an application item named BPEL_SERVER
    2) I have a before-header computation that sets BPEL_SERVER to 'http://bpeldev' using a static value assignment
    3) I have a web service reference whose URL is either &BPEL_SERVER./orabpel/default/callNotification/1.0 or #BPEL_SERVER#/orabpel/default/callNotification/1.0
    4) The web service reference is called in an after-submit process.
    5) An invalid URL exception is thrown for this process.when submitting on the page containing this process
    observations:
    * for (3) - I can set the URL to http://bpeldev/orabpel/default/callNotification/1.0 and everything occurs successfully
    * for (3) - If I use http://bpeldev/&BPEL_SERVER. then when I execute (4), I see a request for the exact string http://bpeldev/&BPEL_SERVER. in bpeldev's access logs
    * for (3) - If I use http://bpeldev/#BPEL_SERVER# then when I execute (4), I see a request for the exact string http://bpeldev/#BPEL_SERVER# in bpeldev's access logs
    * for (2) I've also used a function call RETURN get_const_value('BPEL_SERVER'); - same results for (5)
    * the item value has ben verified before (5)
    * for (1) and (2) I've tried defining substitution strings in the application definition instead - same results for (5)

  • REST Web Service References: Can't run Google APIS

    Hello Everyone!
    I am learning on how to integrate REST web service reference in APEX application. I found a tutorial video at YouTube on 'Creating and Using a RESTful Web Service in Application Express 4.2', which found to be very helpful and easy to do on my sample app. The REST Web Service URL:
    http://maps.googleapis.com/maps/api/geocode/xml?address=san%20fancisco&sensor=false
    But my application throws an error as below:
    1 error has occurred
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-24247: network access denied by access control list (ACL)
    After going through some of the posts here at OTN, I have granted access as follows:
    GRANT EXECUTE ON SYS.UTL_HTTP TO ETI;
    GRANT EXECUTE ON SYS.UTL_INADDR TO ETI;
    GRANT EXECUTE ON SYS.UTL_TCP TO ETI;
    GRANT EXECUTE ON SYS.UTL_SMTP TO ETI;
    GRANT EXECUTE ON SYS.UTL_URL to ETI;
    GRANT EXECUTE ON SYS.UTL_XML to ETI;
    Second thing I did was, created and assigned ACL:
    begin
      dbms_network_acl_admin.create_acl (
        acl         => 'googleapis.xml',
        description => 'Google Translate API',
        principal   => 'CONNECT',
        is_grant    => true,
        privilege   => 'connect',
        start_date  => null,
        end_date    => null
      dbms_network_acl_admin.add_privilege (
        acl       => 'googleapis.xml',
        principal => 'CONNECT',
        is_grant  => true,
        privilege => 'connect'
      dbms_network_acl_admin.assign_acl (
        acl  => 'googleapis.xml',
        host => 'ajax.googleapis.com'
      dbms_network_acl_admin.assign_acl (
        acl  => 'googleapis.xml',
        host => 'maps.googleapis.com'
    end;
    All these statements were executed on my database with out any error, even though not helping my web service reference to work.
    Any idea how can I get my Google API REST Web service working, what is the thing I'm missing here?

    I apologize for the lack of information.
    I thought I had included a list of schemas for you to try out.
    At first, (due to the GRANT ___ TO ETI;) I thought you were writing your own Web Service parser in PL/SQL.
    (If that was the case, than ETI would need be part with the ACL)
    Then, I realized,you were using the built in APEX functionality.
    In this case, try adding your APEX_{version} schema as part of the ACL.
    I'm not sure if this will work (I haven't tried it).
    However, I do know you need to add the APEX_{version} to the ACL if you use the LDAP Authentication.
    finding APEX_{version}
    select comp_id, version, status, schema
    from dba_registry
    where comp_id='APEX'
    MK

  • Basic auth with RESTful WEb service and Web Service reference

    Hi, All,
    We have made much progress on getting an application working wtih RESTful web services but now are trying to figure out how to lock down a RESTful Web service while making it available for a particular application.
    We are using one of the sample 'emp' table web services that come with Apex 4.2 and are trying to apply Basic Auth to the WEb Service via Weblogic filter defined in the web.xml file. That works fine. I now get challenged when I try to go to :
    https://wlogic.edu/apex/bnr/ace/hr/empinfo/
    And when I authenticate to that challenge I am able to get the data. (we are usiing LDAP authentication at the Weblogic level)
    However, I am not sure how to get same basic authentication to work with the Web Service reference in my application. I see the error message in the application when I try to call that Web Service:
    401--Unauthorized<
    And I see:
    "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"
    How do I provide the credentials in the Web REference or do I provide credentials in the Application?
    Web service works fine if I remove the RESTful web service basic auth from the Web.xml file.
    Should we NOT use Weblogic basic auth and instead use basic auth from Workspace RESTful web service definition. If so, how do we implement THAT basic auth in the Web Service definition and in the Web SErvice Reference on the application?
    Thanks,
    Pat

    What I mean is diid you try to use the PL/SQL package for APEX webservice. Here is an example I use (modified and shortened, just to show how much better this is than to use it from the application).
    CREATE OR REPLACE PACKAGE webservice_pkg
    IS
       PROCEDURE create_webservice (
          p_id            IN       NUMBER,
          p_message       OUT      VARCHAR2,
          p_workspace     IN       VARCHAR2 DEFAULT 'MY_WORKSPACE',
          p_app_id        IN       NUMBER DEFAULT v ('APP_ID'),
          p_app_session   IN       VARCHAR2 DEFAULT v ('SESSION'),
          p_app_user      IN       VARCHAR2 DEFAULT v ('APP_USER')
    END webservice_pkg;
    CREATE OR REPLACE PACKAGE BODY webservice_pkg
    IS
       PROCEDURE set_credentials (
          p_workspace     IN   VARCHAR2,
          p_app_id        IN   NUMBER,
          p_app_session   IN   VARCHAR2,
          p_app_user      IN   VARCHAR2
       IS
          v_workspace_id   NUMBER;
       BEGIN
          SELECT workspace_id
            INTO v_workspace_id
            FROM apex_workspaces
           WHERE workspace = p_workspace;
          apex_util.set_security_group_id (v_workspace_id);
          apex_application.g_flow_id := p_app_id;
          apex_application.g_instance := p_app_session;
          apex_application.g_user := p_app_user;
       END set_credentials;
       PROCEDURE create_webservice (
          p_id            IN       NUMBER,
          p_message       OUT      VARCHAR2,
          p_workspace     IN       VARCHAR2 DEFAULT 'MY_WORKSPACE',
          p_app_id        IN       NUMBER DEFAULT v ('APP_ID'),
          p_app_session   IN       VARCHAR2 DEFAULT v ('SESSION'),
          p_app_user      IN       VARCHAR2 DEFAULT v ('APP_USER')
       IS
          v_envelope          VARCHAR2 (32000);
          v_server            VARCHAR2 (400);
          v_url               VARCHAR2 (4000);
          v_result_url        VARCHAR2 (1000);
          v_collection_name   VARCHAR2 (40)    := 'PDF_CARD';
          v_message           VARCHAR2 (4000);
          v_xmltype001        XMLTYPE;
       BEGIN
          v_url := v_server || '.myserver.net/services/VisitCardCreator?wsdl';
          FOR c IN (SELECT *
                      FROM DUAL)
          LOOP
             v_envelope :=
                   '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" '
                || 'xmlns:bran="http://www.myaddress.com">'
                || CHR (10)
                || '<soapenv:Header/><soapenv:Body>'
                || CHR (10)
                || '<parameter:'
                || 'some_value'
                || '>'
                || CHR (10)
                || '<bran:templateID>'
                || p_id
                || '</bran:templateID>'
                || '</soapenv:Body>'
                || CHR (10)
                || '</soapenv:Envelope>';
          END LOOP;
          set_credentials (p_workspace, p_app_id, p_app_session, p_app_user);
          BEGIN
             apex_web_service.make_request
                                         (p_url                  => v_url,
                                          p_collection_name      => v_collection_name,
                                          p_envelope             => v_envelope
             p_message := 'Some message.';
          EXCEPTION
             WHEN OTHERS
             THEN
                v_message :=
                      v_message
                   || '</br>'
                   || 'Error running Webservice Request. '
                   || SQLERRM;
          END;
          BEGIN
             SELECT    v_result_url
                    || EXTRACTVALUE (VALUE (t),
                                     '/*/' || 'Return',
                                     'xmlns="http://www.myaddress.com"'
                    xmltype001
               INTO v_result_url,
                    v_xmltype001
               FROM wwv_flow_collections c,
                    TABLE
                        (XMLSEQUENCE (EXTRACT (c.xmltype001,
                                               '//' || 'Response',
                                               'xmlns="http://www.myaddress.com"'
                        ) t
              WHERE c.collection_name = v_collection_name;
          EXCEPTION
             WHEN OTHERS
             THEN
                v_message := v_message || '</br>' || 'Error reading Collection.';
          END;
       EXCEPTION
          WHEN OTHERS
          THEN
             p_message := v_message || '</br>' || SQLERRM;
       END create_webservice;
    END webservice_pkg;
    /If you use it this way, you will find out what the problem is much faster.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • VS 2013 - Add Service Reference - not working

    Hi,
    I have Service References correctly installed and running under IIS on a Win 8.1 machine.
    It is under Default Web Site
    On the tree it is named VCIWCFServicesSite
    Basic Settings:
    Site Name: Default Web Site
    Path: /
    Alias: VCIWCFServicesSite
    Application Pool: DefaultAppPool
    With VS 2013, I try to "add service reference"
    http://localhost GO
    I get:
    There was an error downloading 'http://localhost/_vti_bin/ListData.svc/$metadata'.
    The request failed with HTTP status 404: Not Found.
    Metadata contains a reference that cannot be resolved: 'http://localhost/'.
    The remote server returned an unexpected response: (405) Method Not Allowed.
    The remote server returned an error: (405) Method Not Allowed.
    If the service is defined in the current solution, try building the solution and adding the service reference again.
    No surprise: there is no c:\inetpub\wwwroot\_vti_bin directory.
    Ok, Now what?
    Boyd
    BDM  - it ( the service ) was published by vs2010

    Hi Boyd,
    Thank you for posting in the MSDN forum.
    Since this issue is related to the service references in web site, to help you resolve this issue as soon as possible,
    you could ask this question in the ASP.NET forum: http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
    I think this forum would be better like this
    case:
    http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BPM Interactive Component Call Using PAPI

    Hi All
    Are there any API's in PAPI which can process a BPM Object Interactive call . We use a JSP presentation for this.
    Thanks

    Hi,
    I'm using Solaris SPARC with Weblogic 10.3.3 for Oracle BPM Enterprise 10.3.2. I have the following error
    [<I> 30/09/10 09:54:09] MBean Changed :
    com.bea:Name=BPMServer,Type=WebServerLog
    ,Server=BPMServer,WebServer=BPMServer
    [<I> 30/09/10 09:54:09] Attributes changed : RotateLogOnStartup [<I> 30/09/10 09:54:09] [<I> 30/09/10 09:54:09] This Exception occurred at Thu Sep 30 09:54:09 CIT 2010.
    [<I> 30/09/10 09:54:09] weblogic.application.ModuleException:
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.module.JDBCModule.prepare(JDBCM
    odule.java:290)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.internal.flow.ModuleList
    enerInvoker.prepare(ModuleListenerInvoker.java:199)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.internal.flow.Deployment
    CallbackFlow$1.next(DeploymentCallbackFlow.java:507)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.utils.StateMachineDriver
    .nextState(StateMachineDriver.java:41)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.internal.flow.Deployment
    CallbackFlow.prepare(DeploymentCallbackFlow.java:149)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.internal.flow.Deployment
    CallbackFlow.prepare(DeploymentCallbackFlow.java:45)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.internal.BaseDeployment$
    1.next(BaseDeployment.java:1221)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.utils.StateMachineDriver
    .nextState(StateMachineDriver.java:41)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.internal.BaseDeployment.
    prepare(BaseDeployment.java:367)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.internal.SingleModuleDep
    loyment.prepare(SingleModuleDeployment.java:43)
    [<I> 30/09/10 09:54:09] at
    weblogic.application.internal.DeploymentState
    Checker.prepare(DeploymentStateChecker.java:154)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.internal.targetserver.AppCont
    ainerInvoker.prepare(AppContainerInvoker.java:60)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.internal.targetserver.operati
    ons.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.internal.targetserver.operati
    ons.ActivateOperation.doPrepare(ActivateOperation.java:98)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.internal.targetserver.operati
    ons.AbstractOperation.prepare(AbstractOperation.java:217)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.internal.targetserver.Deploym
    entManager.handleDeploymentPrepare(Depl
    [<I> 30/09/10 09:54:09]
    [<I> 30/09/10 09:54:09] Exiting WebLogic Scripting Tool.
    [<I> 30/09/10 09:54:09]
    [<I> 30/09/10 09:54:09] oymentManager.java:747)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.internal.targetserver.Deploym
    entManager.prepareDeploymentList(DeploymentManager.java:1216)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.internal.targetserver.Deploym
    entManager.handlePrepare(DeploymentManager.java:218)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.internal.targetserver.Deploym
    entServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.service.internal.targetserver
    .DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbac
    kDeliverer.java:171)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.service.internal.targetserver
    .DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDelive
    rer.java:13)
    [<I> 30/09/10 09:54:09] at
    weblogic.deploy.service.internal.targetserver
    .DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.j
    ava:46)
    [<I> 30/09/10 09:54:09] at
    weblogic.work.SelfTuningWorkManagerImpl$WorkA
    dapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    [<I> 30/09/10 09:54:09] at
    weblogic.work.ExecuteThread.execute(ExecuteTh
    read.java:201)
    [<I> 30/09/10 09:54:09] at
    weblogic.work.ExecuteThread.run(ExecuteThread
    .java:173)
    [<I> 30/09/10 09:54:09] Caused by:
    weblogic.common.resourcepool.ResourceSystemEx
    ception: Cannot load driver class: weblogic.jdbcx.oracle.OracleDataSource
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.common.internal.JDBCUtil.parseE
    xception(JDBCUtil.java:301)
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.common.internal.ConnectionEnvFa
    ctory.loadDriver(ConnectionEnvFactory.java:75)
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.common.internal.ConnectionEnvFa
    ctory.<init>(ConnectionEnvFactory.java:131)
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.common.internal.ConnectionPool.
    initPooledResourceFactory(ConnectionPool.java:686)
    [<I> 30/09/10 09:54:09] at
    weblogic.common.resourcepool.ResourcePoolImpl
    .start(ResourcePoolImpl.java:230)
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.common.internal.ConnectionPool.
    doStart(ConnectionPool.java:1109)
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.common.internal.ConnectionPool.
    start(ConnectionPool.java:147)
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.common.internal.ConnectionPoolM
    anager.createAndStartPool(ConnectionPoolManager.java:385)
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.common.internal.ConnectionPoolM
    anager.createAndStartPool(ConnectionPoolManager.java:326)
    [<I> 30/09/10 09:54:09] at
    weblogic.jdbc.module.JDBCModule.prepare(JDBCM
    odule.java:252)
    Based on Oracle BPM Interoperability Matrix here http://www.oracle.com/technetwork/middleware/bpm/documentation/obpm-config-matrix-085247.html#bpmewl1032
    the Oracle BPM Enterprise 10.3.2 can use Weblogic 10.3.3.
    Can anyone help?
    Thanks..

  • Deplyment error while using service reference

    Hi All,
    I'm facing similar error where I get the following error when i try to run the application.
    Following error i get when i try to deploy
    Failed to prepare application ''sap.com/asp_all_sites'' for startup. Reason= Clusterwide exception: Failed to start dependent service ''PORTAL:sap.com/com.sap.compatibility50.cache.cache'' of application ''sap.com/asp_all_sites''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
    I have added this in Sharing references but yet it doesn't help me. I'm using ICacheService in my code.
    This **URGENT** Deplyment error while using service reference i was following but could not arrive at any result
    Please advise
    Thanks
    Srikant

    Hi All
    I'm getting following error whenever I deploy:
    11-dec-2007 18:03:17 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
    [009]Deployment finished with warning
    Settings
    SDM host : aixlp203
    SDM port : 52618
    URL to deploy : file:/C:/DOCUME1/sdurgama/LOCALS1/Temp/temp24205sap.com~zsp_all_sites.ear
    Result
    => deployed with warning : file:/C:/DOCUME1/sdurgama/LOCALS1/Temp/temp24205sap.com~zsp_all_sites.ear
    Finished with warnings: development component 'zsp_all_sites'/'nl.essent'/'local'/'20071211180226'/'0':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application nl.essent/zsp_all_sites and wait. Reason: Clusterwide exception: server ID 263194450:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/zsp_all_sites cannot be started. Reason: it has hard reference to resource com.sap.portal.compatibility50.cache with type application, which is not active on the server.     at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:580)     at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:399)     at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:328)     at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:162)     at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:136)     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)     at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)     at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)     at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)     at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4707)     at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4612)     at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4585)     at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)     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(AccessController.java:215)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    The things I have done so far:
    1. Deployed the custom library and refered in library references. Its the same name as it is Visual Admin
    2. Added Cache API Jar file as external Jar file; added the Sharing reference and also all the steps mentioned in the following link:
    Webdynpro DC and J2EE DC
    3. The DC builds properly but fails at deployment
    My question is there any way that I can manually start the service.
    I find the application in Server >> Services >> Deploy is with invalid kind of symbol (neither blue checked symbol / red cross symbol). How do I restore the application
    I using ICacheServices in my code using Sharing references
    like (ICacheService)WDPortalUtils.getServiceReferences("com.sap.compatibility50.cache.cache"). is this right
    Please let me know
    Thanks in advance
    Srikant

  • Calling service from another classloading

    Hello!
    I have client and service classes residing in the same jvm (let's say in same container to be clear).
    Client code call service. I want to separate classloaders that load client and service classes, and client code passed arguments to service by value, not by reference. Something like local ejb, but more lightweight.
    Right now i'm out of ideas how to do this.
    Any ideas, guys?
    Thank you!

    create a standalone proxy for your WSDL of the web service deployed on XI java stack and use its API library in the caller Web service...
    find the details here...
    http://help.sap.com/saphelp_nw04/helpdata/en/77/1484b9ecb98c41af4a01131d8d46d3/content.htm

Maybe you are looking for

  • Home Sharing - can't see library on PC from Mac

    I've searched through other threads and have not found a simple explanation for this problem. I have a Windows PC (running Vista) with iTunes 11.0.2 and have a MacBook Pro with the same version of iTunes. I have setup my home sharing and am able to s

  • Published iWebsite pages turn red when scrolling pages in iWeb

    Hi everyone, Just wondering if I'm the only person who has this issue; when I publish my iweb sites and pages (to MobileMe) all goes well, but when I then scroll my page up and down in iWeb the site turns red again as if I have changed its content. I

  • Encrypted attachments

    Hello, Thanks in advance for your help.  I am attempting to allow users of Adobe Reader to attach their own documents to a PDF such that their documents get encrypted during the attachment.  I know that I can do this in Adobe Acrobat (via Security En

  • Select a layer whose name is the same as another layer

    I have two layers with the same name. How can I select the one I want from an automation plugin? thanks Bill

  • CFIF inside a SQL statment

    I have a search page that has 3 possible entries. Service, City, & Keywords. Service and City are list/menus and cannot be null, but Keywords is a text box and can be null. I need to write a SQL statement to take the 3 possible parameters and test th