SAP Client Proxy to Webservice Synchronous Scenario

Hi Experts,
I have an outbound Synchronous Scenario.In which i have to trigger a Client Proxy from SAP side and Connect to a WebService using PI.
I have with me the WSDl and URL for Webservice.Can anyone guide me with the necessary steps.
Regards
Gaurav

Hi gaurav,
From client proxy u have to send request and get the response back...
So, for this create 2 corresponding data types and message types. and mapping will be between request message type which u created and request wsdl message and another mapping for response wsdl message and response message type which u created.
create service interface outbound synchronous(give the message types which u created) and inbound synchronous(give the wsdl request and response messages).
Regards,
Sunitha

Similar Messages

  • Proxy to Webservice Synchronous Scenario

    Hi All,
    I have a Synchronous Proxy to Webservice Scenario.
    Here is the catch:
    My Source Proxy Datatype is
    DT_Source
        Status
         PayGradeA
         PayGradeB
    Now the requirement is
    if PayGradeA is equal to 01, 04, 05 then the data should be sent to WebserviceA and we need to get the response back to the Proxy,
    if PayGradeB is not equal to 01, 04, 05 then the data should be sent to WebserviceB and we need to get the response back to the Proxy.
    To handle this, in XI. I created
    2  Receiver Communication Channels ,
    2 Receiver Communication Components,
    2 Receiver Agreements,
    1 Interface Determination,
    1 Receiver Determination, (In the Receiver Determination I gave the Conditions, if PayGradeA is equal to 01, 04, 05 and PayGradeB is not equal to 01, 04, 05 ).
    Now when I trigger the proxy I am getting the following error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">TOO_MANY_RECEIVERS_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Multiple receivers are not permitted in synchronous calls</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    I have read some blogs, they say XI wont support synchronous calls if we have more than 1 receiver.
    I want to handle this without the use of BPM.
    "Can we handle this in the ABAP Program in ECC?? If so can some body let me know how many Service Interfaces do I need to create in XI??"
    Can somebody help me step by step.
    Thanks,
    Harsh

    the other possibilitiy to avoid ccBPM is create a multimapping.
    so in the memssage mapping define 2 target structures and you will create or not the root structures: for example:
    If PayGrade is equal to 01,04,05 then create MT_PayGradeA
    IF PayGrade is not equal to 01,04,05 create MT_PayGradeB
    to do that in the message mapping add a new Message type in the target section under signature tab.
    now if you will only receive values 01,04,05 so validate the routing rule defined in the Receiver determination.
    best Regads
    RP
    Edited by: Rodrigo Alejandro Pertierra on Nov 10, 2011 4:04 PM

  • Client Proxy to JDBC synchronous Scenario

    I'm using Proxy--PI---JDBC synchronous shcenario, when i execute the proxy from R/3 it is giving me error "RCVR_DETERMINATION.NO_RECEIVER_CASE_BE" in configuration i have used one inbound receiver determination for request, my question is do i need to have one more reciever determination for response.
    Thanks for help.

    No, you do not have to add additional receiver determination
    Usually in sync scenario, make sure you have one receiver determination, no arbitration.
    If you have condition for receiver detemination, make sure the condition only return one true.
    Liang

  • Java Proxy - XI - RFC Synchronous Scenario OUTBINDING Problem.

    Java Proxy -> XI -> RFC Synchronous Scenario. Problem
    Hi,
         I'm doing a Java Proxy -> XI -> RFC Syncronous Scenario.
         A Java Server Socket is running as a Demon. When a client make a request to the Java Server Socket, this one call Java Proxy Client and set up the parameters.
         The first time that execute the scenario it works perfectly but no the next one and so on.
         The error when I check the monitor (TCODE: SXMB_MONI) is in PLSRV_OUTBOUND_BINDING.
    <Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV">
      <Trace level="1" type="T">no outbound binding found.</Trace>
      <Trace level="1" type="T">No standard agreement found for , DES210_DEV, , JPX_DEV, urn:servipago:SERVIPAGO_SAP_02, mi_os_t1</Trace>
    </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    And it has sense, because my scenario doesn't begin with the execution of FM (RFC).
    A Hint, my services in the first try are:
         <b>Sender Service:</b>          JPX_DEV (Java Proxy Client)
         <b>Receiver Service:</b>     DES210_DEV (R/3 4.6C)
    But the second try and so on the services that I saw in the monitor are:
         <b>Sender Service:</b>          DES210_DEV (R/3 4.6C)
         <b>Receiver Service:</b>     JPX_DEV (Java Proxy Client)
    I can't understand why they swich each other.
    Any idea?

    Hi,
    Outbound binding problem is because of Reciever Determination/Agreement is not activated or refreshed correctly.
    Try to recreate or refresh and activate it. Then check it.
    also do the cache refresh in SXI_CACHE.
    Also in go to Integration Builder(XI home page)->Administration->Cache Overview and do all the cache refresh.
    Hope this helps
    Regards,
    Moorthy

  • WS Adapter: Scenario SAP(Client)Proxy= PI= WS

    Hello Experts,
    I have a scenario -  SAP to PI to 3rdParty(NON-SAP).
    This is merely data getting pushed out of SAP ECC to 3rd party.  Not request-response type.
    The REQUIREMENT is P2P Communication Scenario thus will not make use of Integration Sever.
    Data will be sent from ABAP(Client)Proxy => PI => WS Adapter/Direct Connection. 
    Question:
    1.  Is there any application where I can test the webservice?(i.e. INFOPATH)
         If its a request-resopnse type of scenario I can make use of INFOPATH to test the webservice however this is only   
         consuming of service.
    2.  Is there anyway to test the webservice other than connecting to the actual 3rd party?AND I dont want to create a server proxy from another ECC client.  My test should be SAP->PI->NOn SAP.
    Ta!!
    Edited by: el_sapinator on Oct 19, 2010 3:51 PM

    Hi gaurav,
    From client proxy u have to send request and get the response back...
    So, for this create 2 corresponding data types and message types. and mapping will be between request message type which u created and request wsdl message and another mapping for response wsdl message and response message type which u created.
    create service interface outbound synchronous(give the message types which u created) and inbound synchronous(give the wsdl request and response messages).
    Regards,
    Sunitha

  • No response message in Proxy to JDBC synchronous scenario

    Dear Team,
    I am working on synchronous scenario Sender ABAP proxy <===> SAP PI 7.31 <===> Oracle Database.All the necessary proxy configuration has been successfully tested.
    Business Scenario:
    ABAP proxy will send a single Vendor Id to Oracle DB as request and in return , it has to retrieve all the columns related to Vendor as response.Oracle Database stores all the Vendor information.There are 11 columns including the vendor Id in the view for the Vendor records.
    Design :
    For Request structure:
    a-->Created MT for Sender ABAP Proxy with only 1 field for Vendor Id.
    b-->Created MT for Receiver JDBC  with Action as SELECT , Table with "View Name" , Access with Constant Blank for all 11 column and Key as Vendor Id.
    I have been following  the link and Bhavesh Kantilal document.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/7b7171fde93673e10000000a114a6b/content.htm?frameset=/en/44/7b7855fde93673e10000000a114a6b/f
    rameset.htm&current_toc=/en/ca/b977f1c7814201954f20bb87ad7aab/plain.htm&node_id=71
    For Response structure:
    Created MT for Receiver JDBC with All the column names.
    Created MT for target ABAP ECC with the same 11 column name of JDBC response.
    Note :
    1.Database team shared a excel file as a sample payload which has all the column names of a vendor and I created my DT with the same naming conventions as they are maintaining in their database i.e. Column names are in CAPs, in the same order and even the special characters in the column name.
    2. The PING test connection for Cc works fine to database.
    Please read out my queries as the I am not receiving any response from Oracle DB and gives error as timeout exception:
    1.Since I am trying to retrieve all the column of the view , am I doing the correct procedure of putting all the column name in the JDBC request structure and making a Select statement. Can I add < * > to fetch all the column name and if so where can I add it.
    2. Whats the difference between SELECT and SQL_QUERY and on what circumstances I can add it?
    3. How can I test ICO in ID?
    4. Can I use any SOAP tool to test the messages? Is there any functionality in NWA to test the messages directly to JDBC .
    Hope all your inputs can improve my design part.
    Regards
    Rebecca

    Hi Rebecca,
    Did you go through all of these links below?
    PROXY to JDBC- SYNC
    Proxy to JDBC Sync, with Idoc Receiver
    JDBC to PROXY Sync Scenario | SCN
    JBDC Receiver Insert Statement Response
    Re: Synchronous JDBC select
    receiver JDBC structure
    Regards,
    Jannus Botha

  • Error in Proxy to SOAP synchronous scenario

    Hi Gurus,
    Hope you are doing well. I have a Proxy to SOAP synchronous interface interacting with an external system (system outside the firewall/landscape of my company).
    When I am trying to post the request message from XI, I am getting the following error.
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs
    In the WSDL provided by the external application, i.e. receiver WSDL, there is no attribute/field with the name 'IncludeExceptionDetailInFaults' and there is no fault string defined.
    Where is this error being thrown up? Is it a network/firewall error that XI is unable to determine?
    Please provide an answer as soon as possible.
    regards
    Debansu

    Hi,
    i think it is the problem in the WSDL provider system, because it is throwing the Error with some string".NET",
    do the below steps for investigating the issue
    1)try pinging the URL provided in the WSDL from internet explorer.
    2)if it is successfull, try to push one message from SOAP UI to by importing that WSDL, if you get any error then it is problem in the end system.
    Thank You,
    Madhav

  • Proxy to File Synchronous Scenario

    Hello,
    My scenario is 
    SAP System ----->(Proxy)   PI -------->(File)  FTP
    Synchronous Scenario
    I have been using the RequestResponseBean and ResponseOnewayBean module in the Sender Request Adapter channel to convert the file adapter from Asynchrounous to Synchronous scenario.
    While Triggering Data From Proxy the receiver request channel is placing the file in the FTP.
    But the sender Response channel is saying that "No suitable Sender  agreement found" error.
    Also in the Audit log :SOAP: call failed com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: 204 .
    Getting the above error.
    Also I need the Sender Response Channel to pick the file after 10 minutes of placing the file in the FTP by the receiver Request channel.
    Please help on this.

    My question is , can I use graphical mapping as I am using a java class for content conversion?
    You can use as long as the structure generatde by the JAVA program is same as the source-message structure of the message mapping.
    I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
    In my opinion this should be the adapter module....as the conversion needs to be done in the channel and inclucing it as a mapping wont help.
    Regards,
    Abhishek.

  • Webservice Synchronous Scenario.

    Hi All,
    I will trying to implement file->webservice->file scenario using the blog.
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    Upto message mapping everything is fine and configured as given in the blog.
    But in Interface mapping , I am not getting response tab where I can specify the message mapping for response data from webservice.
    I am only getting request tab. What could the reason?
    Ranjeet Singh.

    Hi All,
    I tried to configured the scenario as given in link by Raj.
    Description:
    Syn-RFC-Syn-Webservice.
    FILE Request -> webService Request -> webservice resp->File response.
    Both file input and webservice message interface are synchronouos.
    While testing the scenario, my sender file adapter is giving this error.
    Error: com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=BS_webservice;TS=BS_webservice;AN=MI_Request;ANS=http://sap.com/xi/sap
    to dig into the issue,
    Then I tired to implement simple asynchronous scenario.
    Asyn File Request -> Asy webservice.
    I am sending file request to XI. Xi call webservice. End.
    This time scenario ran successfully.
    Then I revert back to my previous configuration of synchronous interfaces and again i got the same error as given above.
    This cannot be CPA cache refresh otherwise secnd scenario should not have run.
    It looks like Module configuration issue. But I have SAP XI 3.0 SP 19 .
    Any idea what is happening inside Adapter engine.
    Ranjeet Singh.

  • Acknowlegment in Client Proxy to SOAP  Async Scenario

    Hia,
    We are working on ABAP Proxy  --> SAP PI 7.1 --> SOAP (Asynchronous Scenario).
    ECC -> PI -> Legacy CRM
    I have few threads everyone is posting the following link:
    http://help.sap.com/saphelp_nw04/helpdata/EN/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
    but how to use in real time scenario is an issue?
    Do we have write code in GET_ACKNOWLEDGMENT method while creating ABAP Proxy? I understood that the we can query an acknowledgment with the help of Message ID but how do we pass PI message id to this code?
    Thanks a lot
    Regards

    hey all!!
    Please respond.

  • Client proxy to file(xml) scenario configuration

    I have done client proxy to file (xml) ,while executing abap code there is no error, but xml msg is not received in particular target directory. so i want to know about 1. What are the configuration required for client proxy to pi(with T.Code).
                                                           2.how to monitor client proxy in ecc and pi.
    please reply me

    1. What are the configuration required for client proxy to pi(with T.Code).
    step1:
    1.       Create a HTTP connection in the business system using transaction SM59
    Technical Setting & Logon Security details:
    u2022         Connection Type: H
    u2022         Target Host: System name
    u2022         Service Number: HTTP Port name
    u2022         Path Prefix:
    step2:
    2.       Configuration Business system as local Integration Engine.
    1.       Go to Transaction SXMB_ADM
    2.       Choose Edit --> Change Global Configuration Data.
    3.       Select Role of Business System: Application system
    step3:
    check maintain SLD Access data / not by using T.C  SLDAPICUST
    SLDAPICUST->check  XI Server is it activate/not
    step4:
    4.test LCR Connection by using SLDCHECK.
    2.how to monitor client proxy in ecc .
    trigger the report by using T.c se38 and check the status in SXMB_MONI in ECC.
    Edited by: bhavanisankar.solasu on Feb 13, 2012 11:09 AM

  • Proxy to Webservice synchronous

    Hi All,
    I have a scenario where SAP PI needs to communicate with a target synchronous webservice:
    The server returns the data in binary format (byte[]) using MTOM to optimize large data transfer.
    I need to carry out the following steps after receiving the synchronous webservice response:
    1. Verify the integrity of the data received using SHA-1 hashing algorithm.
    2. Call another method on webservice server once i verify data with hash algorithm after successful receipt of data.
    3. Decrypt the data using AES symmetric algorithm.
    4. Decompress the data. GZipStream is used to compress the data.
    Can I carry out the following steps in the SOAP adapter module or I need to handle it in Java mapping.
    I was referring the folowwing blog which is similar to my scenario : /people/sap.user72/blog/2005/06/16/using-digital-signatures-in-xi
    How you use java cryptographic tool kit for this ..and the algorithm used for this purpose ..If you can send me the sample code will be very helpful .And the step by step method of implementing digital signature.
    Thanks in advance
    Edited by: Nidhi Bansal on Dec 28, 2009 7:11 PM
    Edited by: Nidhi Bansal on Dec 29, 2009 12:26 PM

    Hi All,
    I needed some tips on how I can handle this effectively:
    u2022 Outgoing SOAP request must have the Addressing, TimeStamp and SOAP Body signed.
    u2022 Outgoing SOAP request must have the body encrypted.
    u2022 Outgoing SOAP request must have the client credential in a UsernameToken.
    u2022 Incoming SOAP response must have the Addressing and TimeStamp signed.
    u2022 Incoming SOAP response does not require SOAP body encryption. Data is encrypted using symmetric key encryption.
    I need develop an adapter module in receiver soap adapter to fulfill the requirement to encrypt and decrypt.
    As per my understanding on adapter module I can access the xmlpayload and operate on it. In the above case how do I access the SOAP Header and SOAP Body and sign it.
    Also what is the sample java code to access the public certificate in J2ee keystore.

  • Abap proxy method execute synchronous

    hey guys,
    im new at XI and am posting this thread in the hope that someone would explain to me, what is required of the method "execute synchronous" in an abap proxy.
    thanks

    Hi,
    <b>Execte_Synchronous</b> is used to send the message synchronously. Similarly execute_asynchonous is used to send the message asynchronously.
    <b>Some theory about proxy.</b>
    1. Proxies can be a server proxy or client proxy. In our scenarios we require proxies to send or upload the data from/into SAP system.
    2. One more thing proxies can be used if your WAS &#8805; 6.2.
    3. Use Tcode SPROXY into R/3 system for proxy use.
    4. To send the data from R/3 system we use OUTBOUND PROXY. In Outbound proxy you will simply write an abap code to fetch the data from R/3 tables and then send it to XI. Below is the sample code to send the data from R/3 to XI.
    REPORT zblog_abap_proxy.
    DATA prxy TYPE REF TO zblogco_proxy_interface_ob.
    CREATE OBJECT prxy.
    DATA it TYPE zblogemp_profile_msg.
    TRY.
    it-emp_profile_msg-emp_name = 'Sarvesh'.
    it-emp_profile_msg-empno = '01212'.
    it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.
    CALL METHOD prxy->execute_asynchronous
    EXPORTING
    output = it.
    commit work.
    CATCH cx_ai_system_fault .
    DATA fault TYPE REF TO cx_ai_system_fault .
    CREATE OBJECT fault.
    WRITE :/ fault->errortext.
    ENDTRY.
    Receiver adapter configurations should be done in the integration directory and the necessary sender/receiver binding should be appropriately configured. We need not do any sender adapter configurations as we are using proxies.
    5. To receive data into R/3 system we use INBOUND PROXY. In this case data is picked up by XI and send it to R/3 system via XI adapter into proxy class. Inside the inbound proxy we careate an internal table to take the data from XI and then simply by using the ABAP code we update the data inot R/3 table. BAPI can also be used inside the proxy to update the data into r/3.
    I hope this will clear few doubts in proxy.
    <b>How to create proxy.</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    <b>
    ABAP Server Proxies (Inbound Proxy)</b>
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    <b>ABAP Client Proxy (Outbound Proxy)</b>
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    <b>Synchronous Proxies:</b>
    Outbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    Inbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
    Regards,
    Sarvesh

  • ABAP Client Proxy to SOAP

    Hi all,
    I am working on ABAP client proxy to SOAP Asynchronous scenario.  when iam sending the data from r/3 system data sent to webservice.
    but PI sending this same data  3 more to the third parth system.  when i checked in runtime workbench it is showing number of retrys 3
    how to resolve this issue.  please explain in detail
    Thanks
    Anil

    Anil,
    That's the default setting for Async SOAP communication...this can occur if the receiver is overloaded and cannot take any more feed and sometimes time out in the middle of the hand off...this would lead to re-try in PI...so you would see 3 entries of same data...refresh or clear the data from the receiver could solve the issue...
    Thanks,
    Srini
    Edited by: Srinivas Davuluri on Sep 9, 2010 1:51 PM

  • ABAP client proxy wildcard/unicode problem

    Hello,
    i have an abap client proxy. The target system is a non sap system. For one input field of the request, a wildcard search is possible (with sign %, field type = string).
    If i exceute the proxywith the wildcard sign '%' i get following error message:
    SOAP:1.001 CX_SXML_PARSE_ERROR...Error in conversion from UTF-8 to type C or
    type CSTRING: 48696C6673736368FC747A65 is not a
    valid UTF-8
    If i call the target system directly (for examle with jmeter), i get a response even with wildcard sign '%'.
    It seems that there is a generell conversion problem at the sap client proxy. Do you have any ideas?
    Is the problem maybe the transformation of the request, or the calling of the target system?
    Thanks a lot!

    any idea?

Maybe you are looking for

  • Cost on the basis of order quantity

    Can the cost be decided on the basis of order quantity ? For example when 100 pieces are taken the cost is 10 each but when 1 peice is purchased the cost is 50 each, Similarly this should reflect when we sell the item in customer service.

  • Playstation 3 to iMac

    hello! Is it possible to connect my playstation 3 to the iMac so that I could use it as a Monitor to play on? How, and what kind of additional cables will I need? thanks!

  • Custom Runtime Error Dialog Always showing

    Hi, (TestStand 2.0.1f1) Using the Callback based on the example C:\TestStand\Examples\Callbacks\PostStepRuntimeErrorCallback\ErrorHandlerExample.seq. The error dialog always appears. I was expecting from the comment in the Set ErrorReport Flag that t

  • Problem while scheduling info package using HR datasource.

    hi experts, while scheduling the info package i am getting the following error. Delete init. request REQU_D340A67OSEQ9A6Q2B20X9SIOM before running init. again with same selection I think by deleting the setup it will work... am i right or is there an

  • I have a problem (Exit Code: 34) !

    Hello, I have a problem when i am installing Photoshop CC (2014) ! Processor: Intel ® Core ™ i7-4702MQ with Intel HD Graphics 4600 (2.2 GHz, 6 MB cache, 4 cores) Operating System: Windows 8 Error: Exit Code: 34 Please see specific errors below for tr