Differentiating Soap receiver scenarios

Hi,
I need to test a webservice scenario(PI consuming a webservice). We dont have the test environment set up for webservice providing system.
I have configured everything in PI, i have the endpoint URL but no valid hostname.
So my question is:
1) if i shoot a request with an arbitrary host name in the URL in Soap receiver channel; Will PI consider that the end system is down and how will it behave?
2) Is there any difference between giving an arbitrary host name and giving a valid hostname which is actually down. how does pi behave in both of these cases?.
3) I believe the time out value which we provide in receiver channel(XMBWS.Timeout) works only when the request has successfully reached the end system and the end system is taking time to respond. If the end system is down then this parameter doesnot make any difference, the time out considered will be the one which we set in NWA - xiadapter.inbound.timeout.default. Is my understanding correct?
Regards
Shailesh

1) if i shoot a request with an arbitrary host name in the URL in Soap receiver channel; Will PI consider that the end system is down and how will it behave
everything will go fine till SOAP receiver channel.....then in RWB the channel will report an error saying receiver not found (or similar)
2) Is there any difference between giving an arbitrary host name and giving a valid hostname which is actually down. how
does pi behave in both of these cases?.
Valid URL --> message transferred to the receiver without error
Invalid URL --> message does not leave XI/ PI and marked as an error in AE.

Similar Messages

  • Connection closed by remote host on SOAP Receiver Scenario

    Hi Experts,
    I implemented a RFC to SOAP Receiver scenario, consuming an external
    Web Service with SSL security, using SAP PI 7.1. I configured the SOAP
    Receiver Adapter with Proxy e Proxy User, and it shows the
    message u201CConnection closed by remote hostu201D. I have checked with
    Network team, about the firewall restrictions, and they told me it was
    pass by firewall. I installed the SOAP UI on the PI DEV Server to test
    the SOAP Requets and it worked. Only on the PI it shows this error
    message. I traced log at SLL service in the Sap Netweaver Administrator
    and I didnu2019t get success.
    Long text error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    java.io.EOFException: Connection closed by remote
    Please, could you help me about this error?
    Fábio Ferri

    Hi Fabio,
    You need to set higher trace level in order to get more information in your trace file.
    If you think it is related to security then set logging level of components com.sap.aii.security.lib and com.sap.aii.af.security to DEBUG in Visual Admin's log configurator. Also set com.sap.aii.af.mp.soap and com.sap.aii.messaging to DEBUG level.
    And then try sending messages and see whether you have received more informaiton in trace file, but don't forget to revert back the change once you finish testing otherwise it will filled up your diskspace.
    Best regards,
    Pinkle

  • SOAP RECEIVER SCENARIO PORT ISSUE

    Hi gurus,
    we are testing a proxy to soap synchron scenario and cannot get response from receiver. We have a firewall issue and need to open required ports.
    Which ports should we open? 50000? 80?
    Kind Regards,
    PM

    Hi Peter,
    SOAP communication uses HTTP protocol, so messages are transferred over 80 or 443 port by default, depending on whether you use HTTP or HTTPS communication, correspondingly.
    Hope this helps,
    Greg

  • Syncronous SOAP Receiver Message: APPLICATION_ERROR

    Hi Experts,
    I am facing a application error in SXMB_MONI for syncronous messages in a SOAP receiver scenario.
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In RWB the SOAP adapter shows me that the message was delivery successfully however the guys from the third party application said to me that the message didn't reach it.
    I would like to know if you have any idea where the error is.
    Have you already faced something like this?
    << Moderator message - Please do not offer points >>
    Thanks in advance,
    Daniela
    Edited by: Rob Burbank on Oct 15, 2010 4:42 PM

    Hello,
    Based on the exception, this is really not as descriptive as possible. Can you try the following:
    1. Execute the WSDL via SOAP UI and let us know of the results.
    2. Under SXI_MONITOR, can you double click the response message payload? The response message payload should more or less give an idea as to why this error occurred.
    Hope this helps,

  • Getting error in SOAP receiver in RWB

    Hi Experts,
    we have some problem in soap receiver.
    scenario name is PROXY TO SOAP.
    firewall is open already
    WEB service team not able to get the message from PI. wHEN WE MONITOR Receiver soap communication channel we are getting the below 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: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None)..
      SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: The message with Action ' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
    when we load the receiver url(webservice url) we are getting the the xml message.
    please help us.
    thanks
    Elton
    Edited by: eltonsaranya on Feb 23, 2012 12:47 PM

    Hi Elton,
    Most probably you need to type the SOAP Action in the receiver Communication Channel. You can find it in the .wsdl file for your scenario in the following tag:
    <wsdl:operation name="SaveShipment">
       <wsdl:input wsdl:Action="http://namespace.com/Integration/SomeAction" name="SomeAction"/>
    </wsdl:operation>
    In this case, you would use the following SOAP Action in your receiver channel: http://namespace.com/Integration/SomeAction.
    Hope this helps,
    Greg

  • Handling SOAP HEADER using SOAP Receiver Adapter

    Hi Experts,
    I need to implement SOAP Receiver Scenario and passing ( Header fields  User, Password and token)  I have seen a lot of scenario using a XSLT Mapping, to handling the SOAP Header. So  need to help to understand some details:
    Suppose I need to implement the SOAP Header below? In this case I need add only the fields u201CUsername, Password and AuthenticationTokenu201D. I created the XSLT Transform, the source XML? Where I put it? Or can create it into Message Interface?
    Is it possible to do this in Java Mapping?
    Thanks!
    Best Regards
    Fábio Ferri
    <soap:Header>
          <v1:ExecutionHintHeader>
             <v1:Name></v1:Name>
             <!Optional:>
             <v1:Arguments>
                <!1 or more repetitions:>
                <v1:Argument Name="?" Value="?"/>
             </v1:Arguments>
          </v1:ExecutionHintHeader>
          <v1:CredentialsHeader>
             <!Optional:>
             <v1:Username>pi</v1:Username>
             <!Optional:>
             <v1:Password>jhjhjjhjhjius</v1:Password>
             <!Optional:>
             <v1:AuthenticationToken></v1:AuthenticationToken>
          </v1:CredentialsHeader>
       </soap:Header>

    You need to put XSLT mapping in 2° step mapping in request.
    SourceMessageRequest -> Message Mapping -> XSLT Mapping -> DestinationMessageRequest
    If you test mapping program, this should be working fine.
    In adapter module, put localejbs/AF_Modules/MessageTransformBean with parameter value text/xml; charset=utf-8 and correctly set Conversion Parameter "Do not use Soap Envelop"
    XSLT Request Mapping
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
    <ServiceAuthHeader  xmlns="http://WIND.WEBSERVICES.DMS/">
    <Username>USER</Username>
    <Password>PASSWORD</Password>
    </ServiceAuthHeader>
    </soap:Header>
    <soap:Body>
    <xsl:copy-of select="*"/>
    </soap:Body></soap:Envelope>
    </xsl:template>
    </xsl:stylesheet>

  • Error in SOAP receiver channel in Synchronous Proxy to SOAP scenario

    Hi all,
    We are experiencing an issue with a synchronous Proxy to SOAP scenario. Getting below error message in the SOAP receiver communication channel for the response message.
    SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message 1364b76e-ecbf-11e4-85f4-000023acfde6.
    We are running PI 7.4.
    Any help is appreciated.
    Thanks,
    Pushpa

    Hi,
    Seems the Receiver Webservice is not reachable. Did you try to test it using SOAP UI tool.
    1. Test a fresh message from local SOAP UI tool.
    2. Pick 3rd party WSDL file and Import in SOAP UI tool.
    3. Put some dummy data for mandatory fields
    4. Trigger it msg and ckh if you get successful / response msg.
    5. Check if firewall is open and that URL is not blocked.
    Hope it helps
    Regards,
    Azhar

  • SOAP receiver starting the integration scenario

    Hello experts,
    I am searching for a way to start an integration scenario with a SOAP receiver in the same way it is possible with JDBC sender (with a pool interval).
    The scenario is: I need to execute a webservice, getting information from it, and send this information to an abap proxy on ECC side.
    I thought about creating a ccBPM with a loop (with no end) and a wait step for doing it... although it works, I think it is not the best way for doing it.
    Thanks for your suggestions!
    regards.
    Roberti

    Thank you guys.
    Let me explain the scenario in a better way.
    The scenario is:
    1 - Automatically execute a partner webservice sync call with constant parameters.
    2 - Get the webservice response.
    3 - Map the response to get required information.
    4 - Send this information to an Abap proxy.
    5 - Process the information to proper abap objects.
    Note: This scenario needs to be automatically executed every 30 minutes.
    The purpose of this scenario is to GET documents (xml) from a partner web service and import the information to ECC, continuously, each 30 minutes. So, no one is supposed to start the process, it should be automatically triggered. The goal is exactly the same we have with JDBC or file sender adapter, where we can set a 30 minutes interval to automatically execute an sql statement in the database or read a file in a path.
    JAVAGUY and Stefan Grube, I did it in this way. But, scheduling an Abap job to start the proxy -> webservice -> proxy scenario, the Abap job is the RESPONSIBLE for the scenario. If something wrong occurs with that job schedule, the integration will stop working. I would prefer PI as responsible for the process, so I can have alerts and other execution guarantees.
    Abhishek Salvi and Pratik_du, I think that the scenario is clear now, don't it? About the ccBPM, this is another way I implemented the solution. I created a ccBPM with
    1 - A receiver that I execute just once
    2 - One loop with a condition 1 = 1 (infinite)
      2a (Into the loop) - A send step to execute the webservice sync call
      2b (Into the loop) - A receiver step to get the webservice response
      2c (Into the loop) - A map step to transform the information I need
      2d (Into the loop) - A send step to send the information to the Abap proxy
      2e (Into the loop) - A wait step to wait 30 minutes until execute the next step of the loop
    IIn this case, I will have a ccBPM running continuously and doing the job.
    I posted the question because I'm not sure which solution is better, and check if you can see another way to make PI the responsible for starting a scenario with a soap receiver like this.
    Thank you again.
    Roberti

  • 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

  • Error in the SOAP   Receiver communication channel

    Hi ,
            My scenario is RFC - to -SOAP (synchronous )   i have  specified the TARGET URL inthe   SOAP receiver  comminication chanel.. but  while testing  the interface   by providing the test  data from R/3 ..  I'm not getting any Respose.. ..
    If I check in the SXMB_MONI in  i'm getting the following message ..  but the URL whicjh i provided that is fine.. but my doubt  is  through XI  may be it's  not able to connect the  Target System... .. so, please suggest me...
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: www.webservicex.net</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    regards
    Jain

    By default, the SOAP adapter sends the SOAP message with the content type text/xml.
    When you check "Do not use SOAP envelope", the default contnet type is application/xml.
    You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml.
    Check out this
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    One way of testing ur scenario
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
    Also have a look here
    SAP Note 856597
    reward points if solution found helpfull
    regards
    chandrakanth

  • SOAP Receiver/Sender in IDOC- XI- SOAP receivers?

    hi,
    i have idoc-> xi-> soap receiver.
    1. How can i get a response back from soap receiver?
    2. in the above scenario is SOAP the receiver or agian the sender?
    3. not sure how i can get a response back from the soap receiver?
    any tips would be helpful.
    thanks,
    tirumal

    Hi,
    It should be
    <i>
    Under Target URL, enter the complete address (URL) of the Web service provider that you want to send the message to.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    What are you specifying?
    Can you give the entry in Target URL...
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • System Error in Message Monitoring -Proxy to SOAP async scenario

    Hi All,
    My scenario is ABAP Proxy---> SAP PI 7.1 ---> WEbService(Asynchronous SOAP ).
    In Moni message is showing successful Flag, but message has got stuck in "system Error" at message monitoring.I can't see any Audit log in Message monitoring .
    but in related Soap Receiver communication channel i can see the below Error 
    "2010-08-11 09:54:15 Error SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005.
    2010-08-11 09:54:15 Information SOAP: sending a delivery error ack ...
    2010-08-11 09:54:15 Information SOAP: sent a delivery error ack
    2010-08-11 09:54:15 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005.
    2010-08-11 09:54:15 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: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005. "
    Please help , what could be the problem.
    Thanks in Advance.
    Jyoti

    Hi Jyoti,
    >Is there any specific setup required at Provide side while moving to Acceptance system
    I dont think so.
    Please compare EXACTLY the settings of the two Comunication Channels, especially the server path. Please assure that you ve sent exactly the same message content from Acceptance system.
    Regards,
    Udo

  • Usage of Module processor in SOAP Receiver Adapter

    Hi,
    I have scenario where I am calling an external Web Service via XI. Unfortunately I need Java Mapping to generate the complete SOAP Message (there are some special header elements required by the Web Service)  and flag 'no soap' in the SOAP Receiver Adapter. This works fine, but I have additional Web Service Calls that have the same Header logic and I don't want to use Java Mapping all the time.
    I was wondering if it is possible to use graphical User Mapping for the Business Data that goes to the SAOP Body as a payload and use Java code to generate the SOAP Message (actually the SOAP Wrapper and the Header).
    Can I do this in XI using the Module processor in the SOAP Receiver adapter or do I have to use two mappigs, one based on the Graphical mapping and another using Java Mapping? Is it feasible at all in XI?
    Thanks in advance.

    Hi,
    You can use Module Processor.
    But,
    1. If it is a synch call, in when the message is going from the SOAP adapter to the Webservice, you will need to manually Add the SOAP header as you want . ( you will need to create the entire SOAP mesage as the output of the Module ).
    2. When the response comes back, the same module will need to remove the SOAP header etc and pass a valid , XML message to the Graphical mapping.
    If you have a requirement that some fields of the SOAP header will be needed to be accesed in the Response mapping, then you would need to either add this field to some field in the response payload.
    Better option would be to use, Either a Java or a XSL mapping that does all the required stuff for you.
    Regards
    Bhavesh

  • File-Soap-File scenario with asynch - synch bridge

    Hi,
    I am new to PI and I'm trying to develop a FIle-SOAP-File scenario with asynch-synch bridge. These are the components in my integration builder:
    Business Component to act as both the sender and receiver
    1 outbound communication channel to pick up the file from ftp server
    1 SOAP communication channel
    1 inbound communication channel to write file to the ftp server
    receiver determination
    interface determination
    sender agreement
    receiver agreement
    In my outbound channel, I am using:
    Processing sequence:
    1     AF_Modules/RequestResponseBean                Local Enterprise Bean     1
    2     CallSapAdapter                                                         Local Enterprise Bean     2
    3     AF_Modules/ResponseOnewayBean                Local Enterprise Bean     3
    Module configuration:
    1     passThrough                         true
    3     receiverChannel                        inbound communication channel to write file to the ftp server
    3     receiverService                         Business component where the channel above is found.
    When I run the scenario, I am able to get the file from ftp server, map it to SOAP format according to the wsdl, forward the message to SOAP adapter, send it to web service, get the response back from web service, map the data to a regular file format. However, it fails to write back to the ftp server.  I am getting Java null pointer error at AF_Modules/ResponseOnewayBean.
    2010-07-28 15:48:01     Information     SOAP: completed the processing
    2010-07-28 15:48:01     Information     SOAP: continuing to response message 2ce3ec60-9a9a-11df-b109-00145ec5c1ae
    2010-07-28 15:48:01     Information     The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
    2010-07-28 15:48:01     Information     The message status was set to DLVD.
    2010-07-28 15:48:02     Information     The message was successfully transmitted to endpoint http://vs06cs01.sce.com:8000/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
    2010-07-28 15:48:02     Information     The message status was set to DLVD.
    2010-07-28 15:48:02     Information     The application sent the message synchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    2010-07-28 15:48:02     Information     MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2010-07-28 15:48:02     Error     MP: exception caught with cause java.lang.NullPointerException:
    2010-07-28 15:48:02     Error     File processing failed with java.lang.NullPointerException:
    Had anyone encountered this error? Any suggestions is greatly appreciated.
    Thanks.

    Thanks for the replies. I checked my module parameters and I realized that i entered the wrond business service. I fixed that and ensure that all 3 channels are running.
    I ran the scenario again and it does not give me Java Null pointer exception. However, it gives me a different errror.
    2010-07-29 08:52:31     Information     The message status was set to DLVD.
    2010-07-29 08:52:31     Information     MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2010-07-29 08:52:31     Error     MP: exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2010-07-29 08:52:31     Error     File processing failed with com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    I am trying to check all my settings again. Any pointers regarding the errors above?
    Thank you.

  • Dynamic URL in SOAP Receiver adapter

    Hi all,
    I have a scenario where I am using a SOAP receiver adapter to send a cXML document to some vendors. I need to change the URL based on the vendor number (passed by sender SRM system). So I have created a user-defined function and used in message mapping to assign the right URL to the variable TServerLocation. But the communication channel still prompts for a static URL which appears to be a mandatory field. Even though the DynamicConfiguration tab in Message Monitoring shows that the TServerLocation was correctly assigned, the scenario does not work when I put some dummy in the static URL field like 'dummy' or '*'. Any ideas on how to make the communication channel go for the dynamic URL field and ignore the static URL field? I have already selected the'Use Adapter Specific Message attributes' and 'Variable Transport Binding' check boxes. Am I referring to the correct variable that references the target URL? Also other than the two checkboxes that I mentioned, I am not displayed anything else under "Adapter Specific Message Attributes" section in the comm. channel.
    Thanks

    James,
    I ve just been digging into SAP help, and have tried it too ... Looks like it doesnt work the way it is supposed to.
    Anotheer point i found was, in the FILE ADAPTER, when we say ADAPTER SPECIFI ATTRIBUTES , we can select the attirbutes.. This is not possible in a SOAP adapter...
    Maybe, we can only access the ADAPTER SPECIIFC ATTIRIBUTES of a SOAP adapter, but cannot set them dynamically.
    Let me know if you find something on this issue.
    Regards,
    Bhavesh

Maybe you are looking for