RFC via XI - SOAP-Adapter

Hallo,
Hi,
I have configured RFC-Sender and  SOAP receiver adapter. RFC-Sender has the entry for Applicationserver and Programmid. Programmid is unique on our system. On testing in R/3, execute z_bapixx with created destination (TCP/IP), I get a runtime error "lookup of alternativeServiceIdentifier via CPA-cache failed for channel" for sender channel. I checked  smgw, there is a entry with LU-sap2, TP-name BPIDSOAP, status-connected, sap-error , CPIC-error as 0 and symbolic destination <Java.
CPA-cache has status green and there is no XML-msg in XI.
Does someone have an idea that it to lie could or which is still missing?
regards
Hüsniye

Try the following:
1. Open the service holding the RFC adapter you are trying to use. On the top menu, goto Service -> Adapter Specific Identifiers..
2. Check that the R/3 System ID is equal to the one specified in the SLD.
3. In change mode, you will also have a button for comparing with system landscape.
You should concider clearing the SLD data cache before the steps above.
Remember that you can not define a RFC sender adapter for a Business service. You will need to configure it under a Business System defined in the SLD.
Bjorn Espen

Similar Messages

  • XI calling WS via SOAP Adapter

    Hello,
    does anyone have a working scenario where XI 2.0 calls a WS via the SOAP Adapter?
    Could you please post the config file and please let me know what you use on the inbound XI side
    Thanks
    Stefan

    Hi
    We do not require any acknowledgements. But for the cases where the soap call is delivered, but returns a http response of 500 together with a complete soap envelope containing a soap fault, the Soap Axis Receiver Adapter is issuing an u201CApplicationErroru201D Acknowledgement Message (referring to the original request message) (even though it is not requested). This Acknowledgement Message is failing on the Integration Server with a configException u201CFailed to determine a receiver agreement for the given messageu201D. We have tried to create a receiver agreement and reciever channel with the given keys from the error message, but still getting the same result.
    Issue A: How to get this (non-requested) Acknowledge message to process without error.
    Issue B: How to get a proper u201Cerror-messageu201D telling that the original request message was not really delivered though (as the soap call gets a http response of 500).
    Rgds
    Eivind

  • Problems with Soap Adapter

    Hi!
    I need to implement the following scenario:
    In SAP an user exit calls an RFC which uses a TCP/IP Connection (SM59) to the XI and sends data over this connection to it. The XI connects via a SOAP adapter my server program and sends the data in a soap stream to this server.
    This works sometimes ok and sometimes not.
    The status for those messages in the XI is "scheduled for outbound processing" with a little black arrow pointing to the right.
    The error message in the Runtime Workbench for such a job is:
    SOAP: request message entering the adapter
    SOAP: call failed
    SOAP: sending a delivery error ack ...
    SOAP: sent a delivery error ack
    How can I find out what the problem is?
    Thanks,
    Konrad

    Hi,
    When a message is scheduled for outbound processing, it is normally sent automatically.
    does it always sit at this status or does it change after a while ?
    If it is an issue with the connectivity from the Integration Server to the Adapter Framework you would get a different error message.
    If it is an issue with connectivity from the SOAP adapter to your target, you would also get a different error - it is likely to be shown as an outright failure. Plus the error shown in the message is likely to be
    "com.sap.aii.af.ra.ms.api.DeliveryException: java.net.ConnectException: Connection refused"
    Hope this helps.
    i think you need to get Basis involved to see why messages are not getting sent from the rfc queues automatically all the time.
    Cheers
    Colin.

  • Sender SOAP adapter: get soap header data

    Hi,
    I've been going through various posts and blogs here on SDN + looked in the how to guide for SOAP adapter, but still find it quite difficult to actually find out how to do it. I've tried to follow recommendations seen, but it doesn't add up.
    So can someone please tell me how to get an element situated in the SOAP header of the request sent to XI via sender soap adapter?
    Let's for instance say the request looks like this:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Header>
              <SSN>1234567890</SSN>
         </SOAP-ENV:Header>
         <SOAP-ENV:Body>
              <event>
                   <elem1>data 1</elem1>
                   <elem2>data 2</elem2>
                   <elem3>data 3</elem3>
              </event>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    How can I get the data in the SSN-header element at mapping time?
    I'm sure this can be done by using adapter modules as the first step adapter, but I prefer doing it at mapping time if possible.
    Best Regards,
    Daniel

    I solved it on my own now. My missing link was the fact that I'm using XMLSPY to send request and thus need to replace all '&amp;' with & in Connection Endpoint.
    Message was edited by:
            Daniel Engsig-Karup

  • XI3.0: SOAP-Adapter Exception

    Hi All,
    I'm trying to send a message to a web service via the SOAP adapter.
    Unfortunately the SOAP adapter throws the following exception:
    <i>
    SOAP: error occured: com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint: HTTP 0 null [null "null"]; nested exception caused by: java.net.SocketException: Connection timed out:could be due to invalid address
    </i>
    It seems to be that the configured URL does not reach the SOAP adapter.
    We use the central J2EE Adapter Engine.
    Any hints?
    How do I sitch on detailed tracing or logging for the SOAP Adapter? The Audit Log does not contain very much information.
    I hope anybody is able to help.
    Regards,
      Marc

    Hi Alessandro,
    we solved the problem.
    The problem was caused by a firewall. The used port was blocked there. We just reconfigured the firewall and all went fine.
    In the meantime I learned somthing about the error message.
    "Failed to call the endpoint: HTTP 0 null"
    This means that the adapter called the configured endpoint. The "HTTP 0 null" is the result code and error text of the http call. So it returned with error code "0" and it has no associated error text "null".
    Another hint that may help you is the OSS note 761921. This note describes how to get an adapter trace.
    Hope this reply helps.
    Regards,
      Marc

  • SOAP adapter redirecting 50000 port posts to 50001 automatically

    Hi,
    We have the SSL provider activated because we do encrypted messaging with external partner, but we also have internal systems posting via the SOAP adapter without SSL. They are trying to do this via port 50000, but since SSL is active, the message is redirected to 50001. This normally would not be an issue, except, they do not have port 50001 open on the firewall of the internal system sending the message and it is blocked, is there a config setting to NOT automatically redirect messages to 50001?
    But acept them via 50000 and 50001.
    Thanks,
    Chris

    Its technically possible to use same port but it may give usability issues in long run. It would be better if you could opt for different ports. During https enabling, the SSL port is identified and the traffic will always use that port. You Might need to disable and re-enable the settings.
    Regards,
    Prateek

  • Error while invoking the ABAP Proxy via SOAP Adapter

    Hi,
    My scenario involves SOAP Client invoking a webservice hosted in PI which in turn invokes the ABAP Proxy asyncronously.
    SOAP Client -> PI -> ECC (ABAP Proxy) . This works fine.
    Next , I have exposed the ECC Service Interface as webservice using SOA Manager transaction. Now, once the service is created using SOAManager, i replaced the XI Adapter with SOAP Adapter and provided the target URL as the URL provided by the SOAManager.
    SOAP Client -> PI -> ECC (ABAP Proxy via SOAP Adapter)
    With this approach, i am encountering the below error message
    2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    Any ideas on the above errror message? Any pointers or inputs will be appreciated.
    Thanks,
    Vinayak Kamath

    > 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    > 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    This is a generic error message which does not have any information about the error which has occurred.
    Do you see any error messages in the SOAP client?
    Regards
    Stefan

  • SOAP ACTION IN SOAP ADAPTER and PROGRAM  IF IN RFC COMMUNICATION CHANNEL

    Hi Gurus,
    Please Explain me what is SOAP action in soap adapter what is the use of it.
    What is the Program ID in the RFC communication channel and what is the use of it.
    Please tell me in  Detail.
    Thanks and Regards,
    RAM.

    Hi,
    Please Explain me what is SOAP action in soap adapter what is the use of it.
    As of W3C definition:
    The SOAPAction HTTP request header field can be used to indicate the intent of the SOAP HTTP request. The value is a URI identifying the intent. SOAP places no restrictions on the format or specificity of the URI or that it is resolvable. An HTTP client MUST use this header field when issuing a SOAP HTTP Request.
    The presence and content of the SOAPAction header field can be used by servers such as firewalls to appropriately filter SOAP request messages in HTTP. The header field value of empty string ("") means that the intent of the SOAP message is provided by the HTTP Request-URI. No value means that there is no indication of the intent of the message.
    Putting things simple, this is an identifier of an operation that you want to execute in the web service (as one web service can offer multiple actions).
    What is the Program ID in the RFC communication channel and what is the use of it.
    Again, this is an identifier for both: RFC sender and receiver systems. It tells the receiver where to listen for connections, and the sender - where to send the data. It works a little bit like a port number in HTTP communication, but with less restrictions.
    Hope this helps,
    Greg

  • SOAP Adapter:  Content Type Issue in WebServices via HTTP

    Hi,
    I have configured a Receiver SOAP adapter. When i had to test the message i had an HTTP 415 error.
    i found that the sender SOAP adpater that received this message is not capable of handling Content-Type: Application/XML i.e. which is being transmitted by the Receiver SOAP Adapter.
    Please let me know how to configure in the Receiver SOAP adapter so that the HTTP Content-Type would be TEXT/XML instead of Application/XML .
    Thanks in Advance,
    Venkatesh

    Hi Michal,
    I have created a Web service for a RFC function Module. The webservice is available in SOAMANAGER.
    It got activated also .  But whenever I tried to test, I am getting the below error,
    "Message Envelope not found. Probably Empty SOAP message"
            Request:
            POST /sap/bc/srt/rfc/sap/yotci_i015_linkp8sap/100/yotci_i015_linkp8sap/yotci_i015_linkp8sap HTTP/1.1
    Host: sapkrftewd01.krft.net:8030
    Content-Type: text/xml; charset=UTF-8
    Connection: close
    Authorization: <value is hidden>
    Content-Length: 657
    SOAPAction: ""
    <?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><ns1:YotciI015Linkp8sap xmlns:ns1='urn:sap-com:document:sap:soap:functions:mc-style'><IvParam1>POD</IvParam1><IvParam2>00006095</IvParam2><IvParam3>01/14/2009</IvParam3><IvParam4>PDF</IvParam4></ns1:YotciI015Linkp8sap></SOAP-ENV:Body></SOAP-ENV:Envelope>
             Response:
            HTTP/1.1 500 Message E 1S 406 cannot be processed in plugin mode HTTP
    content-type: text/xml; charset=utf-8
    content-length: 0
    accept: text/xml
    sap-srt_id: 20090224/141936/v1.00_final_6.40/49A4677A2D0736EDE10000000A3597E9
    server: SAP Web Application Server (1.0;700)
    Is this because of "do not use SOAP envelope" check?
    I didn't check this check box.
    If that is the error could you please tell me how to see the "do not use SOAP envelope"?
    Where can I find SOAP channel?
    I am very new to SOAP concept. 
    One JAVA application is going to invoke this Webservice from SAP.
    Please help me.
    Thanks,
    Bala.

  • RFC -- XI --- SOAP adapter -- XI -- RFC

    Hi all,
    I need develop this scenario.
    Currently I have this one works:
    RFC <> XI <> RFC
    But we need change it connecting to a new XI system with SOAP adapter, and I don't have experience with SOAP.
    Could somebody give me documentation or help?
    Can I do this without changing nothing in the mapping except the communication channel in the old XI system?
    What it is necesary in the 2nd XI system? mapping?
    How I can configure both SOAP channels?
    Thanks a lot.
    Raú

    Hi
    please refer
    An Overview of SOAP
    /people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    Could somebody give me documentation or help?
    --> refer above links
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    soap-rfc-file:how to start
    Help SOAP to RFC Scenario using BPM (Synchronous communication)
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Can I do this without changing nothing in the mapping except the communication channel in the old XI system?
    --->Then you need to release the receiver RFC as Webservice
    /people/kumar.prashant4/blog/2006/07/14/using-rfc-as-webservice-in-webdynpro
    RFC WSDL file
    What it is necesary in the 2nd XI system? mapping?
    -->the mapping will be same provided the structure of RFCs are same, or you could import the wsdl and use as external defination.
    How I can configure both SOAP channels?
    -->
    http://help.sap.com/saphelp_nw04s/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/content.htm
    Sender
    http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Receiver
    http://help.sap.com/saphelp_nw04s/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/45/3418a0eabe072fe10000000a155369/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/02/6d5c034c182e4fbe7bfd25c2b56f9b/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/27fd3b651f6a1ce10000000a11402f/frameset.htm
    Thanks
    Swarup

  • How to receive acknowledgement from Vendor via SOAP adapter.

    Hello Experts, my outbound scenerio is R3>PI->Vendor via the URL given by vendor. From PI i'm sending my POs via SOAP adapter and in the conversion parameters I choose the check box "Do not Use SOAP Envelope" My message reached the vendor. Now vendor sends back a functional acknowledgement indicating the message had been received and processed. Below is the entire XML file content.
    <MessageAcknowledgment>
        <AckLocation>Medical</AckLocation>
        <AckRefNum>98712345</AckRefNum>
        <AckNote>200-Accepted</AckNote>
    </MessageAcknowledgment>
    Can anyone let me know how to receive the above message? What setup do i need to do?
    Thanks,
    Edited by: XISearch on Jan 10, 2011 3:05 PM

    >>> Can anyone let me know how to receive the above message? What setup do i need to do?
    Solution: You need to create a synchronous scenario.
    Might be at R3 side proxy  sender  and vendor side Reciever Soap
    Basically PROXY <------> SOAP
    Map the proxy request message to soap(vendor) request message  as REQUEST MAPPING
    and
    Map the SOAP (Vendor) response message to proxy response as RESPONSE MAPPING
    and in the backend parse the response.
    If you need more details, Please let us know.

  • Sending Attachments via SOAP Adapter

    Hi Everyone,
    We have the requirement to send the text files as attachement using SOAP Adapter. Can anyone help me how to do it in XI and the structure of WSDL. Or any document which can help me getting this done.
    Any help appreciated.
    Thanks in advance
    Laks

    I understand i need to add teh WSDL file in the repository .
    Yes, it would be like any other soap receiver scenario wherein you need to import the wsdl under external definitions.
    Like it should be cabable of receiving as attachments ?
    Yes, it should be. This will help in creating one.
    /people/baris.buyuktanir2/blog/2007/03/06/how-to-create-a-web-service-with-attachments-soap-with-attachments
    Is there anything i need to do in Repository part ? If your sender sends the file as attachment using the option "Addition files", then the message will be forwarded directly with attachment to soap receiver. There would be no need for any additional setting in repository.
    Regards,
    Prateek

  • Is there a way to see the string returned by SOAP adapter at the Reciever

    Hello Friends
    I have a scenario as follows
    Sender:        Outside Client   -
    >>  Soap Adapter   -
    >XI   --->   RFC Adapter   ---> ZBAPI.
    The outside client sends an id to search through XI using SOAP adapter which inturn calls a ZBAPI
    to look for the record in the table and sends the found record back to XI and from there to the outside client via SOAP adapter.
    I have made sure that the ZBAPI is being contacted successfully.
    However, the return data is not coming to the client.
    Is there a way to findout what xml string is being received at the receiver SOAP adapter.
    I have checked the zbapi, mapping etc., and everything is ok.
    Any suggestion or feedback will be highly appreciated.
    Thanks
    Ram

    You should be able to see the Request and the response in SXMB_MONI.
    Just make sure that synch logging is turned on in MONI. Add the entry LOGGING_SYNC with value as 1 in SXMB_ADM --> Integartion Engine Configuration.
    Regards
    Bhavesh

  • Certificate based authentication with sender SOAP adapter. Please help!

    Hi Experts,
       I have a scenario where first a .Net application makes a webservice call to XI via SOAP Adapter. Then the input from the .Net application is sent to the R/3 system via RFC adapter.
    .Net --->SOAP -
    >XI -
    >RFC -
    R/3 System
    Now as per client requirement I have to implement certificate based authentication in the sender side for the webservice call. In this case the .Net application is the "client" and XI is the "server". In other words the client has to be authenticated by XI server. In order to accomplish this I have setup the security level in the SOAP sender channel as "HTTPS  with client authentication". Additionally I have assigned a .Net userid in the sender agreement under "Assigned users" tab.
    I have also installed the SSL certificate in the client side. Then generated the public key and loaded it into the XI server's keystore.
    When I test the webservice via SOAPUI tool I am always getting the "401 Unauthorized" error. However if I give the userid/password for XI login in the properties option in the SOAPUI tool then it works fine. But my understanding is that in certificate based authentication, the authentication should happen based on the certificate and hence there is no need for the user to enter userid/password. Is my understanding correct? How to exactly test  certificate based authentication?
    Am I missing any steps for certificate based authentication?
    Please help
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Feb 5, 2008 10:51 AM

    Hi!
    Although soapUI is a very goot SOAP testing tool, you can't test certificate based authentication with it. There is no way (since I know) how to import certificat into soapUI.
    So, try to find other tool, which can use certificates or tey it directly with the sender system.
    Peter

  • SOAP adapter or file adapter

    Hi Gurus,
    Non-SAP system B ->PI->Non-SAP system A.
    The request is sent from non-SAP application  A to Pi and this is routed to another non SAP system sap example SYSTEM B.
    Then B sends the response in the form of XML file to Application A via PI.
    This is sysnchornous interface. Is it possible to use file adapter on both sender and reciever side in this snchrnous interface.
    or do we need to use teh SOAP adapter on both sides to allow communication between the two system webservices or HTTP post method.
    Please suggest all the possible options.
    Any help appreciated.
    Thanks,
    Jay.

    >Is it possible to use file adapter on both sender and reciever side in this snchrnous interface.
    Since it is synchronous interface, I would recommend you to go SOAP adapter on both sides. That is one possible way. 
    The second possible way is  one end file and other end soap(synch) and the response goes back to file adapter. This is file -> SOAP->file.
    refer this [link|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)]
    Replace SOAP with RFC.

Maybe you are looking for

  • Portal runtime error in BW

    Hi, in my bw portal, i have connected same iview to different roles. in first role, i can see the iview but when i go to next role it gives portal runtime error. Portal Runtime Error An exception occurred while processing your request Exception id: 0

  • How to Connect to Server using Server Admin

    I am trying to connect to Server using Server Admin so I can setup a wiki. I enter my hostname, username and password and I get the error unable to connect to server, any ideas what is going wrong? I can ping the server name and that works. Is there

  • Flash CS6 does not publish for iOS with ANE included

    Hi, I'm creating a game to run on iOS devices and one of the game requirement is for the device to vibrate on some action. I added the Vibration.ane file (http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html) into the l

  • CFTEXTAREA, FCKEditor and Image resizing

    I'm trying to use FCKEditor with CFTEXTAREA to build a basic blog and allow placing a photo in the post.  Everything is working fine, including the file upload features, but what I want to do is force the image to resize on upload if the file is over

  • DW CS3 for Vista and Mac OS compatibility

    Hi I use Dreamweaver CS3 on Windows Vista. I also have a Mac OS laptop. I am thinking of Running the MAc version of Dreamweaver on the Laptop. Would the files between the two systems be interchangeable. In other words, if I created a site on the Vist