Calling Soap Action in Soap Receiver

Hi ALL,
I have a requirement where i have a WSDL file which contains multiple actions and multiple Soap Action Parameters ,
whereas i need to combine all the Soap action Parameters into single SOAP Parameter and call it in my SOAP action parameter at the receiver side
of the SOAP.
Please guide me how to achieve this.

Hi,
If you mean setting it dynamically, yes, it is possible. The technical name for soap action in dynamic configuration is THeaderSOAPACTION with namespace http://sap.com/xi/XI/System/SOAP
http://help.sap.com/saphelp_em900/helpdata/en/48/327519a3af58d8e10000000a421937/frameset.htm
Hope this helps,
Mark

Similar Messages

  • Error in calling SOAP receiver communication channel in a syncronous comm

    Hi I am getting the following dump..when I am sending some employee data from SAP to a webservice through a SOAP reciver communication channel.
    It is a syncronous communication.
    ShrtText
        Access with 'ZERO' object reference not possible.
    What happened?
        Error in ABAP application program.
        The current ABAP program "CL_PROXY_FRAMEWORK============CP" had to be
         terminated because one of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        An exception occurred. This exception is dealt with in more detail below
        . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was
         neither
        caught nor passed along using a RAISING clause, in the procedure
         "XI_PROCESS_PAYLOAD" "(METHOD)"
            The reason for the exception is:
        There was an attempt to access a component using a 'NULL' object
        reference (points to nothing).
        An object reference must indicate an object (an instance of a class),
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using a
        CLEAR statement.
    Trigger Location of Exception
        Program                                 CL_PROXY_FRAMEWORK============CP
        Include                                 CL_PROXY_FRAMEWORK============CM011
        Row                                     46
        Module type                             (METHOD)
        Module Name                             XI_PROCESS_PAYLOAD
    I think this error is coming while sending the response..can anybody tell me how to correct this error...
    Thanks in advance...

    No in the adapter monitoring...
    It shows the messages for all other adapters...
    But there is not even a single processing message for this SOAP communication channel...it only shows active..that means I think there is no processing of messagethrough this ..is it ?...but why not there is any error in the SXMB_MONI..
    Earlier it was giving an error saying the proxy authentification required..but that doesn't work...now I have removed the proxy settings ..and it takes the program to dump..

  • Problem with SOAP receiver

    Hello,
    Our PI system is 7.4 . We have a lot of interface with related to  proxy to soap.When they are used  very intensively, errors occur in soap receiver .
    Types are error: 
    503 server  not avalibale,
    401 unauthorized ,
    invalid content type for SOAP:TEXT/HTML  such as...
    When system is restarted, mostly it is worked but after while again errors occur and a lot of message is waiting in queue.
    what can we do for it?
    Thanks in advance,
    Nurhan

    Hi Claudia,
    It is dual stack installation. While calling  soap receiver adapter, error occur. In sxmb_moni  display error  as follows:
    After restart, we have new error:
    It is abap proxy to soap scenario. It's synchronous communication.
    Thanks,
    Nurhan

  • SOAP Receiver Adapter (Asynchronous Call)

    Hi All,
    Scenario is  Proxy to Webservice asynchronous call.
    Scenario configuration is done as follows.
    1) Imported the WSDL and using as a asynchronous inbound interface.
    2) SOAP receiver channel is configured with the target URL & soapAction as given in the WSDL as (soap address & soap Action).
    3) Configured the proxy server details as required.
    SOAP channel is successfully sending the message to the application as DLVD.
    But the issue is target application  not receiving the data. What could be the reason ? I am wondering , i have tried with the external tool like Altova XML Spy & SOAP UI  sending data to the webservice & it's  working fine.
    Please suggest me if anything which can help to resolve this issue.
    Thanks
    Ashwin

    In this case you can do the following:
    1. start your tcpmon or TCPGateway, add there a listener e.g. on port 9090
    2. configure the target URL in TCPGateway for this listener
    3. configure the target URL in your XI SOAP Receiver Adapter to http://<ip of TCPGateway>:9090
    4. now execute the scenario again in XI
    (make sure XI can reach your TCP Gateway, e.g. check Proxy)
    I have used this method successfully for error tracking. In some cases it is necessary to add 2 listeners in TCPGateway and route e.g. 9090 to 9191 and from there to the end (I did not analyse why).
    Then you will be able to see what XI is really sending and you will see the full response from the partner side. You can then compare the XI request data with those which are sent via soapUI. This should give a clue about the problem.
    CSY

  • How can I check the called SOAP-action

    Hi,
    our scenario is IDOC - XI - SOAP (based on a wsdl). I've imported the wsdl as external definitions. The I implement all necessary interfaces, mappings, .... When I'm sending any IDOCs, I see the right interface, but I can't check the right SOAP-Action. The Receiver firm means, that the wrong function will be called.
    Have you any ideas?
    Thanks
    Matthias

    Hi Matthias,
    the only way to check the SOAP Action is using an HTTP sniffer. Or you write a simple Java program that listens to a port and writes incoming data to a file.
    But I have never heard about the problem, that the SOAP action is not correct. Make sure, that the correct receiver channel is used, the channel is activated and the cache refreshed.
    Regards
    Stefan

  • No Payload in the soap receiver call adapter ?

    Hi Guys,
    configured Proxy-SOAP Asynchronus process and in the sxmb_moni, i am unable to see the payload under call adapter in sxmb_moni, but i am able to see the payload under RWB in MDT. The message is checked successful in monitor.
    I am not understanding why i am unable to see the payload under call adapter in sxmb_moni.  I am not getting the data into my receiver system.
    Do i need to mention the QOS as EO in the soap url in the soap receiver adapter configuration ?
    any help would be really appreciated
    Thanks,
    srini

    Hi,
    You can only see the Payload(both with and without transformation) in MONI. message that is handling by adapter can only seen in Adapter Framework using RWB-Message Monitoring or using Communication Channel Monitoring.
    Regards,
    Farooq.
    <b>
    Rewards points if you find it usefull.</b>

  • SOAP Receiver adapter error. SOAP CALL Failed

    Hi ,
        I am implementing scenario R/3->RFC adapter->XI->SOAP REceiver adapter->Web Service (Synchronous). I am getting the error.
    SOAP: call failed
    SOAP: error occured: java.net.ConnectException: Connection timed out
    Message log is as below.
    Any clue ?
    Thanks & Regards,
    Mathew
    2005-10-31 18:59:58
    Success
    output
    1130810398454
    The message was successfully received by the messaging system. Profile: XI URL: http://host:Port/MessagingSystem/receive/AFW/XI
    2005-10-31 18:59:58
    Success
    output
    1130810398458
    Using connection AFW. Trying to put the message into the request queue.
    2005-10-31 18:59:58
    Success
    output
    1130810398458
    Message successfully put into the queue.
    2005-10-31 18:59:58
    Success
    output
    1130810398459
    The message was successfully retrieved from the request queue.
    2005-10-31 18:59:58
    Success
    output
    1130810398459
    The message status set to DLNG.
    2005-10-31 18:59:58
    Success
    output
    1130810398460
    Delivering to channel: CC_CALCULATOR
    2005-10-31 18:59:58
    Success
    output
    1130810398564
    SOAP: request message entering the adapter
    2005-10-31 19:03:07
    Success
    output
    1130810587497
    SOAP: call failed
    2005-10-31 19:03:07
    Error
    output
    1130810587497
    SOAP: error occured: java.net.ConnectException: Connection timed out
    2005-10-31 19:03:07
    Error
    output
    1130810587498
    Exception caught by adapter framework: Connection timed out

    Hi Mathew,
    Check if the webservice is availble??? Based on the error below, it looks like the message is timing out at the Adapter Engine level waiting for the connection to make the webservice call...
    Prasad

  • SOAP Receiver Adapter / Scenario calling WebServices

    Hi Experts,
    I am trying to call a web service.  Configured a SOAP Receiver adapter. Message to Web Service goes fine but not shown with Checkered flag, but with icon with description "Log Version".
    In response message for the request Error Category - MAPPING and Error ID "Cannot Read Payload".
    Any ideas to clear this problem. I do have response mapping assigned to Message Interface.  Message Interface is Synchronous.
    Thanks in advance for any solutions.

    can you verify that you are getting a response..try re-routing that to tcpgw and check if content is in line with expected response.
    Regards
    Ravi Raman

  • Multiple SOAP Actions in SOAP Receiver - PI 7.1

    Is it possible to handle multiple SOAP Actions in SOAP Receiver Communication Channel in PI 7.1 ???
    Plz help ....
    Neena

    How can I handle two SOAP operations without BPM ?
    In first Action I will get an ID,
    WIth that ID I need to perform another Action.
    Any help ???

  • Error when calling Synchronous SOAP Receiver

    Hi,
    When I am calling a synchronous Web service using SOAP Receiver adapter I am getting the following error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: ECAPISoap. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Could anyone tell what might be the issue?

    Satish,
    Now I am getting the following error:
    soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</

  • PI Soap receiver channel calling a Soap Sender channel

    Hi,
    I had  scenario where One pi711 interface need to be called by another interface in PI711.
    whole designed is like.
    file ->  PI1 ->Soap  ->  Soap ->PI2 ->  file.
    P1 and P2 are two different interfaces in one PI711 box.
    could  Soap receiver communication channel  can call a Soap sender communcation channel  of another interface.
    does HTTP or Soap (XI3.0 protocal) is helpful......
    regards,
    Swat

    Hi,
    I am receiving an error as :-
    400 Bad HTTP request
    Error: -21
    Version: 7011
    Component: HTTP_PLG
    Date/Time: Mon May 24 06:58:32 2010 
    Module: http_plg_mt.c
    Line: 5417
    Server: xxx_XD2_02
    Error Tag:
    Detail: illegal request version
    This details error log is taken using TCPgw application downloaded from service marketplace, since in CC monitering error details was too short to investigate..
    refered :
    /people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
    the url which i used in P1 receiver Soap channel  to connect to soap sender cc is  :-
    http://xxx:51000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BCSender2&interface=OutS_SI&receiverParty=&receiverService=BC_Receiver2&interfaceNamespace=http://icc/Test1
    Regards,
    Swati

  • What must be the SOAP Action for Soap Receiver?

    Hi,
    Below is part of wsdl file. I'm using mtd1 method in it.
    This is an Axis generated wsdl.
    part of wsdl
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://schemas.xx.com/yy/Wsdl">
       <wsdl:types>
          <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:acbase="http://schemas.xx.com/yyTypes" targetNamespace="http://schemas.xx.com/yy/Types" elementFormDefault="qualified">
    What must be the SOAP Action for SOAP Receiver?
    Thanks

    >
    Cemil Bozlagan wrote:
    > Hi,
    > Below is part of wsdl file. I'm using mtd1 method in it.
    > This is an Axis generated wsdl.
    >
    >
    > part of wsdl
    > <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://schemas.xx.com/yy/Wsdl">
    >    <wsdl:types>
    >       <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:acbase="http://schemas.xx.com/yyTypes" targetNamespace="http://schemas.xx.com/yy/Types" elementFormDefault="qualified">
    > ....
    > ....
    >
    >
    > What must be the SOAP Action for SOAP Receiver?
    >
    > Thanks
    find you answer here - /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

  • SOAP Receiver sync call timeout

    Hi guys, I need to increase the sync call timeout value for SOAP adpter as my receiver system has vaery slow response time. Which parameter to set? Currently is the message valid for 3 minutes.
    Thanks, Andrzej

    Hello
    XI.Timeout can be used with the SOAP sender, and XMBWS.Timeout for the SOAP receiver.
    There are further details in note - 856597
    Q: Can I increase the default timeout value for the sender
    adapter?                                                  
    A: Yes. The default timeout value for synchronous calls is 5        
    minutes. You can increase this value by setting parameter           
    XI.Timeout in the module parameter table of the SOAP adapter.
    Q: Can I configure the timeout value of my receiver adapter?
    Sarah

  • Soap receiver adapter exception

    Hi,
    I am using SOAP receiver adapter to access a web service that is hosted on SAP Web AS (in this case it is the integration server Web AS). I use the web services navigator to test the web service and the web service works fine. The name of the web service is 'RemoteCrossReferenceProcessor' and it has one operation 'crossReference'.
    But with the soap adapter, I am getting OperationNotFoundException in the logs and my web service is not getting accessed. Here is the server log:
    <u><i>An error occurred while processing the message security. Reason: . See trace entry .#3#com.sap.engine.interfaces.webservices.runtime.OperationNotFoundException#Found 0 operation definitions using keys: Key name:'first-body-element-ns' key value:'urn:RemoteCrossReferenceProcessor'; Key name:'SoapRequestWrapper' key value:'crossReference'; #[no trace for com.sap.security.core.server.ws.service.ServerSecurityProtocol (severity above PATH)]#
    #1.5#0003BA0FF9EA0022000000840000688D0003F9349A3C2D61#1118429251382#com.sap.aii.af.ra.ms.impl.core.queue.SendConsumer##com.sap.aii.af.ra.ms.impl.core.queue.SendConsumer.onMessage(QueueMessage)######b40aca80d9be11d994360003ba0ff9ea#SAPEngine_System_Thread[impl:5]_47##0#0#Error##Java###Transmitting the message to endpoint using connection failed, due to: .#3#AFW#com.sap.aii.af.ra.ms.api.RecoverableException: NO_BACK_SYSTEM_IN_HOPLIST:#http://sapsand1:8000/sap/xi/engine?type=entry#</i></u>
    Here is adapter configuration:
    Transport Protocol:HTTP
    Message Protocol:SOAP 1.1
    Adapter Engine:Integration Engine
    Target URL: http://<server_name>>:50000/RemoteCrossReferenceProcessor/Config?style=document
    User:
    Password:
    Default SOAP Action:
    I imported the WSDL into the external definition and used the messages from the WSDL for defining my interface mappings.
    I am using XI 3.0 SR1 (SP 09).
    I am out of ideas as to why the SOAP adapter is not calling my web service. Please help me with your suggestions.
    Thanks and Regards.

    HI Dani,
    I was looking for this error and I found this post AXIS SOAP Receiver. This post says about other errors, but sugests many ideas to found the soluction, like:
    1- non-deployed all AXIS jars; (but in this case it deployed all)
    2- Exists this note for one erro in AXIS: (https://service.sap.com/sap/support/notes/1028961).
    3- this document (http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f) that have sets for header parameters. This is interesting becouse one of this parameters is obligatory but isn't filled, can occur error like "null object".
    By the way, you can check if have update to AXIS (http://ws.apache.org/axis/), becouse isn't a SAP application and in other systems can have this error.
    I hope this helps,
    Romerito Silva

  • No SOAP Envelope error in SOAP Receiver Adapter

    Hello Friends,
    Informaiton:-
    I have configured one Synchronous scenarion for SAP R/3 to PI 7.1 to Java based web applicaiton.
    On the Receiver/Outbound side, i have configured the SOAP Receiver Adapter with the Target URL and SOAP Action.
    Outbound and Inbound service interfaces have Request/Response and Fault messages.
    Issue:-
    While sending the Message, Below error is noticed in ABAP stack SXMB_MONI during the Call Adapter Stage and also in RWB (Channel Monitoring) .
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP  Envelope but 1 {}RESPONSES; HTTP 200 OK
    I also found that Request message is not reaching to the Java Web server.
    I am taking the Same message Payload (found at Call Adapter Stage) and ussing it in XML Altova SPY Web client tool. There it is running scuccessfully and getting the Response message.
    please suggest.
    Thanks & Regards
    Jagesh

    Hi,
    Yesterday i consumed the same WSDL file in Altova XML SPY and there it is working, getting the Response.
    Now comparing the SOAP Request message reaching to the Third party Web server (which fall within the same Lane network)
    from SAP PI and Altova XML SPY tool. I used TCP Gateway for the below scenarios.
    (1)First i sent the SOAP message from PI and observed the RESPONSE message without the SOAP Envelope in TCP Gatway Trace and hence i am getting the No SOAP Envelope Error in PI.
    (2)I consumed the same WSDLfile in Altova XML SPY and sent the SOAP message, here i got the Proper SOAP Response message and hence success in this case. (Used the same Data Payload as used in point 1)
    (3)Now to identify the issue in the SOAP Request message being sent from PI, i used the same SOAP message sent in step 1 here, that means copy the entire SOAP ENvelope from the TCP gateway Trace and pasted it in Alota Spy and sent, there it is found running (got the response message from Third Party server).
    One difference i found in HTTP Protocol statements in SOAP Request message in Point no 1 and Point no 2 above.
    HTTP Protocols in Point 1 (Through PI).
    POST  HTTP/1.0
    Accept: /
    Host: 172.24.138.142:4544
    User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
    CallingType: SA
    content-id: <soap-00306EEAC2051ED1839136CEE8564900 sap.com>
    Content-Type: text/xml; charset=utf-8
    Content-Length: 1195
    SOAPACTION: "Action1"
    HTTP Protocols in Point 2 (Through Altova).
    POST / HTTP/1.1
    Content-Type: text/xml
    User-Agent: XML Spy
    SOAPAction: "Action1"
    Host: 172.24.138.142:4544
    Content-Length: 1195
    Connection: Keep-Alive
    Cache-Control: no-cache
    Thanks to Mr. Stefan Grube for writting such a nice blog.
    Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway
    Experts, please suggest me further.
    Thansk & Regards
    Jagesh

  • "Do Not Use Envelope"  feature: WS Receiver vs Soap Receiver

    I have a scenario that I need to call web service on receive side.
    When I use Soap adapter, need to use mapping program to compose SOAP message mannully:
    Envelope
       + Header
         ++MessageID
         ++Action
       +Body
         ++FistName
         ++FistName
    In SOAP receiver adapter, I do not use PI envlope, so I have to choose "Do Not Use Soap Envelope" option.
    When I use WS receiver adapter to call the same web service, I could not find the way the Soap adapter does.
    Anyone tried to use same feature in WS adapter ?
    Thanks
    Liang
    Edited by: Liang Ji on Oct 27, 2011 4:33 PM

    >Anyone tried to use same feature in WS adapter ?
    IMO, WS adapter does not provide "Do Not USe Envelope option" in 7.1 as well in  above versions.   You might want to see other experts opinion.

Maybe you are looking for

  • Quicktime player works on macbook pro

    what did i need to do to get my quicktime player works on my macbook pro?

  • Adobe Acrobat 9 Pro - Action when signature cleared

    Is there a way to trigger an action when a signature is cleared?  I am trying to hide or show other objects (buttons, text) based on the existence of a signature. If not is there a form level "refresh" that I can create a javascript that will do this

  • Execute Task works in one area but not the other

    I have two Execute SQL Tasks.  Each executes the same stored procedure from the SQL Statement property with a different parameter and they insert into the same table.  One is at the end of the package and only runs if a Rollback is done and it works

  • IBooks Author headline language

    I'm working on a product manual that my colleague started. This product manual has to be in English. My colleague has set his system language to Norwegian while mine is English, so all headlines, paragraph styles and content in the TOC is in Norwegia

  • I am having problem with my CONTROL_FORM...

    Hello experts, This problem has been bugging me for the longest time. Here is what I am doing. I am currently modifying a Z version of waschein and in a certain part of the program I am doing a loop...endloop where the WRITE_FORM, CONTROL_FORM are lo