Soap synch in PI 7.1

Hi,
I have created the soap-xi-soap scenario with valid configuration ( with the help of this blog - /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi). But, I've used the different WSDL file which is provided over the internet.
a) While I'm trying to send my soap request from the soap client (altova XML spy) it throws an timeout error (500 error)? what could be the reason for this? 
b) Do I need to publish or deploy my WSDL file on XI server ?
Any help on this would be greatly appreciated.
-S

Hi,
Don't use xmlspy for soap testing.
Its soap testing feature is a toy and has had a few interoperability issues.
I don't know what kind of scenario you configured. A plain simple soap scenario is not difficult to configure.
You should look into the HTTP 500 soap fault response you are getting. If it's a plain HTTP 500 html response, you may be sending the request message to the wrong URL. If the request at least reached the adapter, you should be able to see in the RWB message monitor how far the message was processed. If there was some configuration error, you should find some error audit that tells you what you have to change. if you find some java runtime exception entry like NullPointerException, there is probably some bug in the adapter.
Good luck.
Regards, yza

Similar Messages

  • Error in SAOP adapter : RFC to SOAP Synch Scenario

    Hi Experts,
    Scenario is "RFC to SOAP Synch".
    For creating this following this link : **************** - Scenario on RFC to SOAP
    Trying to send XML to SOAP receiver.
    Using Below details for SOAP:
    Website : http://www.webservicex.net/WS/WSDetails.aspx?WSID=59&CATID=4
    Target URL : http://www.webservicex.net/SendSMS.asmx?WSDL
    SOAP Action: http://www.webserviceX.NET/SendSMSToIndia
    But when I try to send showing this error:
    "Error in processing caused by: com.sap.aii.af.lib.mp.module.ModuleException: call to messaging system failed: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: unable to create a socket".
    Any one please suggest how resolve this issue?
    Is there any setup necessary in PI server to send message through SOAP?
    Thanks,
    Arthita

    Is there any setup necessary in PI server to send message through SOAP?
    No
    Solution
    Check if there are any firewall rules in place which are restricitng the PI system to connect with the URL
    : http://www.webservicex.net/SendSMS.asmx?WSDL
    Suggestion
    Copy paste this URL in browser and verify if it is accessible
    Sourabh

  • RFC -- XI --- SOAP synch scenaio

    Hi Experts,
          My current scenario is RFC<> XI <-> SOAP.  Rfc sending request and getting responce back from WebService, current scenario is working fine.   Now i want to modify existing scenario, I want to send WebService response to RFC and Receiver Mail adapter also, please advice me what should i modify in my scenario. i do not want to change my existing RFC.
    Thanks
    Dhanush.

    Hi Gaurav,
    May i know why do we use BPM at the beggining for receiving request from R3 to XI,
    is it possible to do the same like below steps.
    1) RFC sends the request to XI ,
    2) XI sends the request to Webservice
    3) webservice gives the response back to XI
    after receiving the response to XI from webservice, is it possible to use BPM in this step to send the response to RFC and Receiver Mail adapter. instead of using BPM at the beginning.
    can any one help me how to do useing this approach.
    other than this approach: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Thanks,
    Dhanush.

  • R3 (RFC Asynch) -- XI --- SOAP (webservice Synch)

    Hi Experts,
               My scenario is :R3 (RFC Asynch) > XI <-> SOAP(webservice is synch)
    Step1:-   R3 sends the data webservie(SOAP) via XI.
    Step2:-   Webservice returns the response to XI, But R3(RFC) does not need the resoponse.
    how to handle the webservice response in XI.
    do i need to use BPM as this scenario is R3(RFC synch) > XI <--> Webservice(soap, synch). Can anybody help me out how to design this scenario.
    Thanks,
    Siva

    So then all u need is to create a async inbound MI. Also the WS should be configured in a way that it sends a HTTP 200 with a SOAP envelope with an empty content for successful delivery.
    Refer the below from the SOAP adapter FAQ;
    Receiver Asynchronous Calls
    Q: What are the correct receiver options for asynchronous calls?
               A: The processing mode of the receiver is determined by the message that reaches the receiver. If you are sending a message with some quality of service, to provide this service of quality to the server, your must make sure two things. First, your receiver channel must be configured to pass the XI message ID to the server. Second, your web service must check duplicates using this message ID.
    Q: What should my web service return to the adapter for asynchronous calls?
               A: Currently, the receiver adapter expects an HTTP 200 with a SOAP envelope with an empty content for successful delivery. Any other response will result in a XI system error and triggers retries of the message. When you want to check duplicates, you should configure your receiver channel to pass the XI message header information to the server.
               Prior to SP11, a SOAP fault resulted in the application or system error, depending on whether the SOAP fault contained a detail child element or not. This behavior contradicted the communication model. Therefore, it has been changed so that the adapter generates the system error for any SOAP fault in asynchronous calls.
               When you want to check duplicates in your web service, you should configure your receiver channel to pass the XI message header information to the server. When your web service indeed find a duplicate, assuming that the previous message was simply lost, your web service should return an HTTP 200 with an empty SOAP envelope.

  • In HTTP to SOAP scenario. Error i get is "Invalid content type for SOAP"

    Hi,
    In HTTP to SOAP(synch) scenario. Error i get is <b>"Invalid content type for SOAP"</b>
    When pass my data in the HTTP client, I get the following Error.
    What may be the cause,How to reslove it.
    Response am getting is below............................
    Result:  
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/PLAIN</SAP:AdditionalText></SAP:Error>

    hi ,
    Just refer following 2 links
    Re: Invalid content type for SOAP
    Re: invalid content type for SOAP: TEXT/HTML
    Regards,
    AshwinM
    Reward If helpful

  • 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.

  • ABAP Proxy and BPM with message maping

    Hi all,
    I have a scenario like :
    ABAP Client Proxy ( synch )
    ->    BPM  ( to retriggr SOAP call and raise alerts with error and reponse back to Abap client )              
    -> message mapping
    -> SOAP ( synch )
    1. What can be the issues with this scenario ?
    2. How can I return response and excetion back to ABAP client from BPM ?

    >
    > As per design guidelines for consistent processes -
    > we need to do all the error handling and alerts in
    > BPM.
    You mean you are planning to use a BPM for all Interfaces just because someone told so? Why use a BPM when there is no need for it. If you have a Business Process that demands a BPm then yes use it, but for this sceanrio, you can use Fault messages to propaggate the error back to the R3 system, and use the Xi alerts ( without BPM ) if a runtime error occurs etc.
    Is there some Business Process Involved here? What is the exact requirement?
    Regards
    Bhavesh

  • Interface Mapping with out SWCV ?

    HI Guys,
    is it possible to create an interface mapping in the  XI Repository even without a software component version and a message  interface.
    Actually i have developed a Proxy-Soap synch scenario and now we got the need to change our namespace name and the interface name. Is there nay way that i can change the namespace and the interface name wiht the existing mappings
    any help would be appreciated
    Thanks,
    srini

    Hi Srini,
    >>>is it possible to create an interface mapping in the XI Repository even without a software component version and a message interface
    Neither nor.
    >>>Actually i have developed a Proxy-Soap synch scenario and now we got the need to change our namespace name and the interface name. Is there nay way that i can change the namespace and the interface name wiht the existing mappings
    You can copy single objects and all of one namespace to the other. The linked objects have to be changed manually.
    Regards,
    Udo

  • Module Deployed for axis

    Hi,
    I am using AXIS adapter,
    Deployment is done correctly, even tested by the url..it was successful.
    I want to know what all modules are required to add in the soap receiver.
    mine is proxy soap synch scenario PI 7.1,
    Any help for solving this problem will be greatly
    appreciated.
    Regards

    Hi,
    Many thanks..
    I concluded to use AXIS soap receiver bcos when i pasted URL in browser it opened Welcome to axis..(but no wsdl file )
    i derived that probly webservices are hosted on AXIs...and so i configured soap axis adapter.
    But when i execute the scenario in moni it says::
    <request message name> doesnt exists.
    i m in a fray that how do i know whether to use AXIS or soap receiver adapter..
    rgds,

  • 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.

  • SOAP to RFC scenario (SFDC - ECC synch)

    Working on a SFDC to ECC synch scenario using SOAP to RFC interface. I generated the WSDL for SFDC team and tested on soapUI, I am able to see the successful request/response structure in sxmb_moni.
    However, when the SFDC team is sending the request in real time from SFDC, the request is successful in SFDC but not reaching PI and hence there is no response. The error I see in sxmb_moni for this  is
    <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PROXY_NOT_ALLOWED_ON_IS</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Proxy calls are not permitted on sender or receiver side on the IS (client)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Are there any additional setting need to be done.
    Please guide on this issue . Thanks
    Edited by: jbagga on Nov 14, 2011 7:42 AM

    SFDC sending request to PI. SFDC Request is not hitting PI, neither traceable in MONI or RWB.
    SFDC request is not hitting PI . The ForeFront has allowed the SFDC IP range to target PI using reverse proxy rules. But SFDC and Forefront both get the "HTTP 500 internal server error"
    The question is , I am helpless until the request is monitored anywhere in MONI or RWB_communication channel
    Also SFDC receives some fault message error along with HTTP 500 i.e. Header Missing in Soap Message Header. In this case, also if its PI related error there should be at least some track of request hitting PI in MONI or RWB. also tried creating a WSDL with PI username and password in the WSDL under Header tags, still the same situation
    ALL Ports are open by BASIS team.
    Can someone point out any helpful solution. URGENT !! Thanks a ton in advance.
    EVERYTHING , THE ENTIRE REQUEST/RESPONSE STRUCTURE WORKS PERFECT WITH SOAPUI.

  • SOAP to Synch JMS(Websphere MQ) without BPM

    Hi
    i  have created an interface for SOAP to Synch JMS (Websphere MQ)without BPM.
    I have reffered the SAP Note 1086303 - XI JMS Adapter and IBM Websphere MQ (Que : 4).
    Since JMS adapter is a Asynchronous adapter with EO & EOIO, how to proceed with this interface.
    I am  in PI 7.11 .....
    Sender : Soap Adapter
    Receiver : Created 2 JMS channels....1) Receiver(for Request Queue) 2) Sender(Response Queue)
    I am testing through soap Ui....
    Please let me know if someone has done this interface..
    Regards
    Reema

    I have done the configuration using integrated configuration where sender is Portal & receiver is receiver JMS channel.
    Not sure how it works in case of Integrated Configuration...may be you can first try with the normal procedure (including IE) and then check if the flow is working.
    what should be the sender service portal or JMS MQ?
    The sender would be the JMS service....the response soming from the JMS will be posted to the waiting response part of the original sender (in your case SOAP).

  • SOAP to JMS synch scenario issue

    Dear Experts,
    I am working on SOAP to JMS (Websphere MQ) synch scenario.In the ESR i created 2 synch service interfaces(1 Inbound & 1 outbound).
    I created my 1 SOAP communication channel with QOS as "Best Effort"  2 JMS comm channel( 1 Receiver & 1 Sender).
    I am getting " no message received error in JMS receiver channel and no correlation id found error in JMS sender channel. I am attaching my channel config,error log.
    I am using PI message ID as correlation id for JMS sender and receiver channels.
    Thanks,
    Pavan T,
    +91 9901742424

    I think you should use the notify response bean on the sender channel
    Configuring the Sync/Async Bridge Using the JMS Adapter -  Adding Modules to the Module Processor - SAP Library
    Sync/Async communication in JMS adapter without BPM (SP19)

  • R3 (rfc-sender) - XI - Webservice ( soap-recever) Synch : error handlng

    R3 (rfc-sender) <-> XI <-> Webservice ( soap-receiver) Synch
    User will enter the request data in R3 and waiting for the response, but webservice is down(i.e not available)
    Request is reached to XI box and XI is trying to send data when webservice is down( i,e not available),  RFC is waiting for the response from XI box.
    how we will handle this kind of situation,how should i give response back to RFC( because RFC sent the request and waiting for the response,  XI could not send any response back as Webservce is down, Please advice me how should XI inform to the end user r R3 abt webservice down.
    Pleae help me out on this.
    Thanks,
    Dhanush.

    Hi,
    Normally, the Web service should provide a fault message back to XI and the RFC should also have an exception defined that will trigger a fault message mapping and that way the application error is sent back to R3.
    But if the web service does not provide u with a fault message then XI will trigger the System Error back to R3.
    The functionality of checking the DB status and propagating meaningful errors to XI as fault messages should lie with the web service.
    Thanks
    Vikranth

  • Synch SOAP scenario - access request data as part of response mapping?

    Hello experts,
    I have a synch SOAP scenario which is working but I want to improve the error handling.
    Under normal situation I send the SOAP request and the remote web service responds with a given message structure which includes my invoice number as a key field. I then create an IDOC with this number and processing is great.
    However, sometimes there is an error response from the web service which follows a different message structure and does not include the invoice number :-(
    There could be many reasons for this error such as a field was missing or wrong format or even we ran out of prepaid web service calls (this is to get a government approval of invoice which we pay for in groups of approvals).
    When they respond with an error I would like to send this information in IDOC to SAP, but I have no invoice number to tie the response to. Therefore the information is kind of useless in ERP. Is there a way in PI for a response message to reference the synchronous request data we sent to the web service in the first place?
    Many thanks for your ideas,
    -Aaron

    Hi Aaron,
    Also you can define static variables Sharing data between message mapping in PI 7.1
    About Mark suggestion you have an interesting Adarsh Dhingra's blog here Sharing data between two message mappings through Dynamic Configuration
    I think the better way is to use the Harish approximation because is the solution more standard.
    Regards.

Maybe you are looking for

  • My phone is on recovery mode and when i try to restore it then it shows device is not eligible for the request

    my phone is on recovery mode and when i try to restore it then it shows device is not eligible for the request

  • [svn:fx-3.x] 8765: ........

    Revision: 8765 Author:   [email protected] Date:     2009-07-23 11:03:14 -0700 (Thu, 23 Jul 2009) Log Message:   r8759 | [email protected] | 2009-07-23 13:20:32 -0400 (Thu, 23 Jul 2009) | 11 lines   ASDoc update for BLZ-64 - to integrate   QE notes:

  • HT1338 Why is Finder running very slow?

    Finder is extremely slow.  Actually opening any folder is very slow.  I'm always watching a pin wheel

  • Broken sudo command

    In an Adobe forum, while trying to find out why my latest Acrobat Pro XI was failing to install a user said it's possible the sudo was broken.  To test go to Terminal and type sudo and it the message "sudo: can't open /private/etc/sudoers: Permission

  • Mini audio out gone silent

    I have a Mid-2011 Mac mini connected to an external amp via a digital connection. I was listening to a track in iTunes and the audio went silent. At the moment, I can get audio out of the speakers in the thunderbolt display. I cannot get any audio fr