SOAP to Abap Proxy with attachment

Hi Experts,
i am facing one problem while developing one interface from SOAP to ABAP Proxy with attachment.
the sender system is sending empty soap message but with all its content in the attachment.
we need to parse the attachment and send the data to ECC system through proxy.
we made some research on SDN and found out that in sender soap adapter PayloadSwapBean is not supported.
however in receiver XI adapter the module tab is not editable.
could you suggest any solution to handle this interface?
thanks in advance.

Hi Aditya,
Can you just try to  use SOAP with Servlet(Axis) protocol, since standard SOAP sender does not allow modules to be used.
please refer http://help.sap.com/saphelp_nw04/helpdata/en/45/a39e244b030063e10000000a11466f/frameset.htm
The first attachment is put in the main payload; further attachments become attachments of the XI message.
http://help.sap.com/saphelp_nw70/helpdata/EN/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
Regards,
Srinivas

Similar Messages

  • File to ABAP proxy as attachment

    Hello PI expert,
    I have requirement to FTP file from FTP server to ECC server.  But because of some security, we can not get FTP permission on ECC server.
    What i want to do is, get the file from FTP server as it is, and send it using abap proxy as attachment. I don't want to do any content conversion or xml conversion because I want to transfer file as it is.
    Any suggestion.
    Thanks,

    Hi,
    if your PI version is at least "SAP NetWeaver PI 7.1 SP3"
    create sample Data type structure with one node and one field, and use this for both proxy and file service/message interfaces.
    Pick the file from FTP. No graphical mapping. Use Java Mapping. Read the input stream and create an attachement from this and attach it to the message. pass some static values for the output (proxy) structure using output stream. Thats all.
    http://help.sap.com/javadocs/pi/SP3/xpi/index.html
    Methods:-
    com.sap.aii.mapping.api --> OutputAttachments --> create(String contentId, byte[] content) / create(String contentId, String contentType, byte[] content)

  • Acknowledgement for AsynThird-party-- SOAP-- PI-- ABAP proxy-- ECC scenario

    Can someone please provide me a step-by-step for Third-party>SOAP>PI>ABAP proxy>ECC scenario.
    Third-part system is sending an Asynchronous HTTPS message to PI which is then routed to the ECC system to do some processing. I have read many blong and all SAP Docu available on this subject, but i am still confused.
    I understand that ABAP Proxies supports acknowledgement, but what needs to be done in the third-party system to be able to receive acknowledgements. Is there any special config. that needs to be done in Sender SOAP adapter?
    What diff. needs to be done in ABAP proxy to be able to send acknowledgement messages, any config. in XI receiver adapter?
    I will appreciate any guidance.
    Thanks,
    Saurabh

    HI
    Third party application need to have the synchronus communication enabled. If not then you need to get a wrapper develop for this kind of communication
    For proxy development
    Just go through these links:
    How to create proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    ABAP Server Proxies (Inbound Proxy)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    OutBound Proxy (Client Proxy)
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    Outbound Proxy (Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    How to Activate Proxy.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    File to R/3 via ABAP Proxy with good example
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    Synchronous Proxies:
    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

  • Inbound proxy with attachment

    Hi All,
    I have a scenario where in I need to pick one zip file from FTP and pass it to SAP system over proxy communication.I have searched on SDN,find blogs on outbound proxy but didnt get much information on inbound proxy with attachment.
    Or please suggest if there is any other way to pick the zip file from source and send that zip file to SAP system over proxy.
    Please provide your inputs.
    Thanks,
    Ruchi

    Hi ruchi,
    You can use PayloadSWAPBean and PayloadZipBean for attachment related configuration.
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
    /people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
    Also Please find DOCs for handiling attachment in ABAP codes(Proxy)
    Re: Inbound proxy with attachments.
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/3b2a2d45a34a23b75e3b18745c63bc/content.htm
    Regards,
    Debashish

  • How to use a standard service available in SOAP to ABAP proxy scenario?

    Hello Experts,
    My scenario is SOAP to ABAP proxy wherein I have to send Sales Order from Third party TC to SAP.
    Third Party->SOAP Adapter->PI 7.1->ABAP Proxy->ECC.
    I have seen a standard service available at the following URL.
    http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DEE98D07DF9FA9F1B3C7001A64D3F462&id=13A904EA0E8711DC5A11000F20FCB6A9.
    Can I use the above web service for my current scenario? If yes, please explain how?
    Thanks & Regards
    Nidhi

    Third Party--->SOAP Adapter--->PI 7.1--->ABAP Proxy--->ECC
    I am actually looking for using standard webservice that has been provided by SAP in ESWorKSPACE available on sdn.
    The WS that you mentioned is inbound and hence wont suit your requirement!
    The reverse flow may however be possible.
    Create Sales Order_V2
    synchronous inbound service operation
    Regards,
    Abhishek.

  • Soap to abap proxy

    Hi,gurus:
        I wanna to configure a scenario about soap to abap proxy,do you have any step by step configurations about that?Any help will be appreciated!

    Sender SOAP Adapter
    Receiver RFC/IDOC/ABAP proxies.
    IR
    Step 1:
    Create the Sender/Receiver Datatypes for Request & Response
    step2:
    Create the MT for Req & Res
    Step3 :
    Create OB Message Interface ( Syncronous) /IB Message Interface( Synchronous)
    step5 :
    Request Mapping : Sender Req MT--> REcv Req
    Response Mapping : Recv Res----->Sender Res MT
    Step6:
    Interface Mapping
    ID
    Step1 :
    Configure Sender Soap Adapter
    Step2 :
    Configure Receiver XI  Adapter
    Step 3: Configure Sender Agreement, receiver determination,Interface determination,Receiver agreement
    Step 4:
    Create WSDL file.( ID->tools-Defien webservice)
    save the file as .wsdl file
    Give the file to sender system
    SAP System
    Step 1:
    Goto Sproxy T.code -> select IB interface -. Right click create object ,it will automatically create aproxy class.
    Step2 ;
    write an ABAp program to send the data to class.
    Below weblog helps in wrting  ABAP program
    File to R/3 via ABAP Proxy
    Regards,
    Jayasimha

  • SOAP error in synchronous scenario for ABAP Proxy with Oracle D/B

    Dear Experts,
    I am working in Sender ABAP Proxy <====>SAP PI 7.31 JAVA only <====> Oracle Database. My proxy configuration are working successfully.
    Apart from that, I have maintained a SOAP sender communication channel under the ECC business system with
    Transport Protocol as HTTP
    Message Protocol as XI 3.0
    Adapter Engine as Central Engine
    When I am testing from ECC at Tx SPROXY, I am receiving following error.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
    1. In XI3.0 protocol, I can not select BE but when selected HTTP 1.0 as Message protocol then I can find the BE.
    2. No Response message is shown in ECC when testing the message.
    3. How do Receiver JDBC adapter for Oracle Database is configured 
    4. What would be Message Protocol for Oracle Database i.e. XML SQL Format or Native SQL format for Select operation.
    Please guide.. All your inputs will be appreciated......
    Regards
    Rebecca

    Dear Indrajit,
    Appreciate your inputs.. Yes I have configured all the ABAP proxy configurations and there no question of missing any thing as Tx SLDCHECK in ECC is working perfectly fine.
    But still to go, some of the queries needs more input.
    1.In ID, i have created a Sender SOAP communication channel with listed details.
    Transport Protocol as HTTP
    Message Protocol as XI 3.0
    Adapter Engine as Central Engine
    Is there any parameters which I may be missing from Module tab of Synchronous SOAP Cc ?
    2. In the Cc monitoring, the JDBC receiver status shows "Database operation successfully completed" but I could not find any response data from database. The Message monitoring should have 2 messages for 1 trigger, but I could find only 1 message by SOAP only?
    Sorry to bother experts...Please answer in sequence...
    Regards
    Rebecca

  • Consume web service in ABAP proxy with SOAP header

    Hi Thomas ,
    I am trying to consume web service in  ABAP . I have followed the procedure from one of your web blog <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap a Developer's Journal Part XIV - Consuming WebServices with ABAP</a> . (640 release).
    I need to pass SOAP header along with SOAP body. As you mentioned I have used if_wsprotocol_ws_header interface to pass header but it is still failing.
    Please see below code and please give some direction to fix the issue.
    1.Create ABAP proxy for WSDL (http://ws.strikeiron.com/SwanandMokashi/StockQuotes?WSDL). It has created structures only for SOAP body.
    2.Create Logical port
    3.Create following program to call proxy
    REPORT  zproxy.
    DATA: ref_stock TYPE REF TO zzco_stock_quotes_soap ,
          ws_header TYPE REF TO if_wsprotocol_ws_header,
          name TYPE string,
          namespace TYPE string.
    TRY.
        CREATE OBJECT ref_stock
      get WS_HEADER protocol
        ws_header ?= ref_stock->get_protocol('IF_WSPROTOCOL_WS_HEADER').
      set somehow header as iXML-DOM tree
        DATA: ixml TYPE REF TO if_ixml,
              xml_document TYPE REF TO if_ixml_document,
              xml_root TYPE REF TO if_ixml_element,
              xml_element TYPE REF TO if_ixml_element,
              xml_node TYPE REF TO if_ixml_node.
        DATA l_xstring        TYPE xstring.
        DATA l_string         TYPE string.
        FIELD-SYMBOLS <fs_xstring> TYPE xstring.
      Additional Header:
        CONCATENATE
    '<soap:Header>'
    '<s1:LicenseInfo xmlns:s1="http://ws.strikeiron.com">'
    '<s1:RegisteredUser>'
    '<s1:UserID>[email protected]</s1:UserID>'
    '<s1:Password>aaaaaaaa</s1:Password>'
    '</s1:RegisteredUser></s1:LicenseInfo>'
    '</soap:Header>' INTO l_string.
      convert to xstring
        l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
        IF NOT l_string IS INITIAL.
        create iXML DOM document from XML xstring
          CALL FUNCTION 'SDIXML_XML_TO_DOM'
            EXPORTING
              xml           = l_xstring
            IMPORTING
              document      = xml_document
            EXCEPTIONS
              invalid_input = 1
              OTHERS        = 2.
          IF sy-subrc = 0 AND NOT xml_document IS INITIAL.
            xml_root = xml_document->get_root_element( ).
            xml_element ?= xml_root->get_first_child( ).
          add header element by element to SOAP header
            WHILE NOT xml_element IS INITIAL.
              name = xml_element->get_name( ).
              namespace = 'http://swanandmokashi.com' . "xml_element->get_namespace_uri( ).
              IF NOT xml_element IS INITIAL.
              ENDIF.
              ws_header->set_request_header(
                          name = name
                          namespace = namespace
                          dom = xml_element ).
              xml_element ?= xml_element->get_next( ).
            ENDWHILE.
          ENDIF.
        ENDIF.
      CATCH cx_ai_system_fault .
    ENDTRY.
    *Call soap body using abap proxy class.
    DATA: get_quotes TYPE zzget_quotes_soap_out .
    DATA: get_quotes1 TYPE zzget_quotes_soap_in .
    get_quotes1-quote_ticker = 'GE'.
    TRY.
        CALL METHOD ref_stock->get_stock_quotes
          EXPORTING
            get_quotes1 = get_quotes1
          IMPORTING
            get_quotes  = get_quotes.
      CATCH cx_ai_system_fault .
      CATCH cx_ai_application_fault .
    ENDTRY.
    4.It is throwing cx_ai_system_fault error.
    SOAP details:
    Input:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding" >
    <soap:Header>
    <s1:LicenseInfo xmlns:s1="http://ws.strikeiron.com">
    <s1:RegisteredUser>
    <s1:UserID>[email protected]</s1:UserID>
    <s1:Password>aaaaaaaa</s1:Password>
    </s1:RegisteredUser>
    </s1:LicenseInfo>
    </soap:Header>
    <soap:Body>
    <tns:GetQuotes xmlns:tns="http://swanandmokashi.com">
    <tns:QuoteTicker>GE</tns:QuoteTicker>
    </tns:GetQuotes>
    </soap:Body>
    </soap:Envelope>
    Thanks,
    Kavitha.

    Hi ,
    Thank you for the response. Did you passed user email and password ([email protected] /aaaaaaaa) part of licenseinfo->resisteredUser along with Quoteticker GE in analyzer?
    <a href="http://www.strikeiron.com/Analyzer/OnlineAnalyzer.aspx?WSDL=http://ws.strikeiron.com/SwanandMokashi/StockQuotes?WSDL">ANALYZER</a>
    Thanks,
    Kavitha.

  • Call ABAP-Proxy with SOAP adapter?

    Hi all,
    for a PI7.1-scenario I would like to use the Lookup-API in mapping. As I know I can use either RFC or SOAP channels, however I would rather call an ABAP-Proxy in my backend system instead.
    So my question is: Is it technically possible to use the SOAP-adapter to call an ABAP-Proxy?
    Your help would be appreciated, best regards
    David

    Hi Stefan,
    Interesting answer here and one that has got me curious. Hope you can help.
    1. When you say it is going to be possible to call a ABAP proxy using a  UDF in the mapping of XI ( Lookup ), would it be using the WS Adapter of PI 7.1?
    2. If 1 is yes, is there a new API code to do this, or is it the same lookup code as used previously in XI 3.0 and PI 7.0 Days?
    3. If 1 is no, can you explain maybe a little more on how this would be possible using the standard SOAP adapter of XI?
    Thanks a bunch.
    Regards
    Bhavesh

  • XI 3.0 SP14 Synchronous SOAP- XI- ABAP Proxy - fails with "System Error"

    Hi All,
    The synchronous response message fails at the stage "Receiver Identification".
    It seems that the synchronous response XML has no "sender" attribute, so obviously the receiver determination fails.
    In the message monitor I can see the correct payload coming from the ABAP proxy, so that part looks OK.
    I have the same scenario working perfectly on another system landscape, so there might be a configuration side to it.
    Thanks is advance,
    Ofer
    Message was edited by: Ofer Even-Tsur

    Hi,
    for the error information SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
    looks like xi is not able to find a reciever of best case. Open up the scenario in COnfiguration, open up the modify(add spaces) and activate reciever determination / reciever communication channel.
    cheers,
    naveen

  • Proxy with attachment

    How to use proxy along with attachment...

    HI,
    Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.
    please refer these links
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    Regarding Receiver proxy
    JAVA Proxies:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP Proxies:
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    ON SDN TV
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#
    If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
    Re: JDBC Sender select/update problem
    regards
    Aashish Sinha
    PS : reward points if helpful

  • Abap proxy with attachments in enhanced interface determination/mapping

    Hi guys.
    We were receiving a abap proxy from ECC with a pdf attached in the header.
    This was the scenario PROXY ---> FILE
    We used the PayloadSwapBean Module in a Receiver File Adapter to get this document and put it in a FTP Server.
    Now we have to make and improvement in the scenario and we have to generate two receiver interfaces so the scenario looks like this:
    PROXY ---> FILE and JDBC.
    So we have to use an enhanced interface mapping and an enhanced interface determination.
    The problem is that with this enhanced interface determination/mapping the attached document is lost.
    Any solution?
    Thanks a lot.
    Regards.

    > The problem is that with this enhanced interface determination/mapping the attached document is lost.
    I know there was an issue in early PI 7.1 SP versions. maybe you find a bug fix for this?
    Otherwise report to SAP.

  • Proxy with attachment to FTP

    Hi,
    I have a scenario, at the sender side the ECC system will send the file as an attachment and via PI I have to place that file on FTP using FTPs adapter.
    I am not getting what structure should I create in PI for sender proxy,shall I put a single field, in which attachment will be passed from sender ECC system.and then what settings I should make to place it on FTP with the same name.
    Please guide me.
    Thanks.

    Hi Ruchi,
    We had a similar scenario and this is what was done.
    1. In IR, create a simple structure with a field that is a carrier for the filename. Dynamic configuration is employed here for storing the filename.
    2. The ABAP proxy would send the message such that there are 2 parts in the Inbound Message Payload : 1. The flat file that has to be sent to FTP, 2. the structure that was created in IR (with the filename field populated).
    3. Receiver FTP channel settings :
                         1. Enable ASMA settings to access filename via Dynamic configuration.
                          2. Use payload swap bean to place the flat file in the FTP server. ( Parameters : swap.keyName as Content-type and swap.keyValue as text/plain).
    Hope this answers your question!

  • NonSAP client- SOAP- PI- ABAP Proxy- SAP Business System EOIO Question

    Hey all... wondering how and if the following can be accomplished
    I have a nonSAP client that is sending SOAP message pairs to PI 7.11 SP06.  PI is then sending these messages via ABAP Proxy to our SAP business system.  By pairs I mean for each event in the client it's going to send 2 messages to PI and then to SAP business system.  These messages have to be processed by PI and SAP in the exact order the client sends them.
    My goal is to have the client somehow specify the queueID and quality of services as EOIO when it calls PI via the SOAP message.  The reason is when the client sends 1 set of messages we don't want it to block subsequent message pairs if something goes wrong with the first.  We're going to have an "ID" as part of the queueID that will be unique by pair.
    My question: is it possible to specify this queueID (and the qos=EOIO) in the SOAP message that is sent to PI so this queueID carries through PI and into the SAP business system?

    hi,
    you can do that :
    a) in standard with http adapter :
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    with &queueid=<queueid>
    b) not in standard with SOAP adapter
    Regards,
    Michal Krawczyk

  • SOAP--PI--ABAP Proxy-how to call this scenarion from third-party PeopleSoft

    My scenario is:
    Third-party Peoplesoft sending an Asynchronous XML message to PI through SOAP Adapter which will then be processed by ABAP proxy server.
    I have everything in place (SDL,IR,ID & ABAP Proxy). I have created a SOAP tool that uses URL (http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel) and XML message to test the process - it works.
    Now the problem is the Peoplefoft system guys need help to figure out how do they reach our system and this process.
    per my understanding, I created a WSDL using ID>Tools>Define Web Service option and sent it to them hoping they will be able to use this WSDL to program their call to our system.
    I also additionally sent them the SOAP client tool that i use to test the process that has default XML payload in it.
    The only change i made in WSDL before sending to third-party is - replaced location tag from the actual URL that reaches sender SOAP adapter to the external URL that will be used by PeopleSOft system reach our network. I think our network guys are going to map this external url to internal URL.
    Is there anything else i can do as a PI consultant to help Peoplesoft reach our network and hit the SOAP Adapter (SOAP sender adapter channel for my process).
    I will Appreciate any ideas.
    Thanks,
    Saurabh

    As a PI developer, ur only task is to provide the correct wsdl to the Peoplesoft guys. As u have changed the URL, there is nothing else to be done at ur end.
    The SOAP Client user just have to use the wsdl and fill in the data. Before the communication, please make sure that there are no firewall restrictions.
    Regards,
    Prateek

Maybe you are looking for

  • Can't change credit card to new one to pay fees.

    I recently got a new credit card and I cancelled my old one. I then activated the new one, and received an email from iTunes saying that it tried to charge me for purchases but that it was rejected. I went to the iTunes app on my iPhone 5S and tried

  • Merging projects in CS6

    Is there anyway two separate projects can be merged? I can see if you encode one and bring that file into your timeline on the other. Can you think of any other way?

  • Passivated row is lost inside taskflow

    Hi,      I am using jdeveloper ver 11.1.1.2.0 On activation / passivation my newly created row is lost inside taskflow. My case as explained below, I have unchecked Enable Application Module Pooling condition. Within a region i have a grid layout (En

  • Replaced my internal hard drive but it doesn't show in finder

    my internal drive on my imac was recently replaced by apple but it doesn't show up in finder.  How do I correct this?

  • Nokia 500 problem

    hi, i have a nokia 500 but sometime without reason crash.. The second question is if i can change keyboard and put the keyboard of nokia n97 on nokia 500