Synchronous messages for SOAP adapter.

Hi All,
I wanna expose an interface in XI as a WebService.My requirement is to invoke a webservice which takes some input and hands it over to a DataBase and gets something from it(DB) and hands it over to the application which had called this WebService.Both the request and response have to go and come through the WebService.Is it possible to design an Outbound Intf in Synchronoues mode with both the input and output messages types and expose that Intf as a WebService.
Clarification and help on this wud b appreciated.
Thanx in Advance.
Anil Kumar Veepuri

Hi Anil,
  You can definitely make an outbound Interface as a webservice.For this create two message
types(Request & Response) and make a synchoronous Message Interface out of it.This will be
our Outbound Interface. You will Definitely have JDBC Request and response.
Map the outbound Resquest type-> JDBC Request.
JDBC Response->Outbound Response.
Go to Tools->Define Web service, mention the Outbound Interface you have created.Now you save the WSDL created out of it and make a call to this interface through the SOAP Adapter.
Cheers,
Rashmi

Similar Messages

  • Synchronous messages through Soap Adapter

    Hi XI Guru's
    In my scenario I am sending a synchronous soap message over soap adapter. Message flow is  like
    3rd Party Application --> XI --> SAP R/3.
    My message do get processed in SAP R/3 and I do get response in SXMB_MONI as well as in Message Monitoring in RWB.
    The return message for message f1bdf1d0-cec5-11de-a9c0-0050569626f6(OUTBOUND) was successfully passed to the waiting "call" thread.
    2009-11-11 05:27:26     Information     The message status was set to DLVD.
    2009-11-11 05:27:26     Information     SOAP: response message entering the adapter (call)
    2009-11-11 05:27:26     Information     SOAP: response message leaving the adapter
    But still the response from XI does not reaches 3rd party application.
    On digging the logs I found following message.  Can this be an issue in XI which is blocking the reponse message from reaching the 3rd Party Application.( I tried posting the message through XML spy and I do get the response in XML spy.)
    (Note : My XI Installation has central adapter engine)
    #1.5 #0050569626F6004200000D0B00000B5000F66675B4B8DEA5#1257401122698#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/com.sap.aii.adapter.soap.app#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#LOVEIN#25369##sapnw03_NPI_6935550#Guest#2fd59d51c9d111debb440050569626f6#HTTP Worker [4]##0#0#Warning##Plain###Cannot send an HTTP error response [500 "Application error occurred during the request procession." (details: "The WebApplicationException log ID is [0050569626F6004200000D0800000B5000F66675B4B8DEA5].")]. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: *The stream is closed.*
    +     at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.ensureOpen(ServletOutputStreamImpl.java:354)+
    Any help in this regard is appreciated .
    Thanks
    Lovein

    Thanks for your reply Stephan / Abhishek.
    To add some more info on the issue. This issue is when I am using PI 7.1 version.
    I do not face the issue if I use XI 3.0 and end to end flow works fine and response message reaches 3rd party application.
    Only difference I have in 2 versions is that in XI 3.0 we have been able to disable the soap adapter authentication (by changing web.xml file) where as in PI 7.1 we have not been able to disable that authentication and userid/ password info has to be provided while sending the soap message from 3rd Party application.
    (Security if not disabled gives 401 message as described on following blog [SOAP Sender ADAPTER 401 No Authorisation|SOAP Sender ADAPTER 401 No Authorisation] )
    On the other note do you guys know a way to disable this authentication on PI 7.1 version.
    Thanks ,
    Lovein

  • Adapter specific message attributes for SOAP adapter

    Hi all,
    I  have gone through the SAP Help Documents for configuring SOAP Communication Channel. I am unable to understand how to implement ASMA for Soap adapter.
    Please provide some links to help me understand the same
    Many Thanks,
    Neha

    Hi Neha,
    pls do chk the below links for SOAP adapter message attributes
    http://help.sap.com/saphelp_nwpi71/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/content.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/sap_xi/sapximst38.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/webservices/webservices16.htm
    Regards
    Sampath

  • Login Module configuration for soap adapter ?

    Hi Guys,
    I have configured XISOAPAdapter for client certificate Authentication and i have created 1443 as the HTTPS port on the ABAP stack and defined this port in the instance profile.
    Under SSL provider i have selected 50101 as the HTTPS port and the user mapping to the certificate works fine and i was able to login directly.
    https://host:50101/XISOAPAdapter/MessageServlet - I was able to login with the user mapping to certifcate.
    but when i try https://host:1443/XISOAPAdapter/MessageServlet - it is asking for the basic password authentication and the automatic login with the certifcate is not working. Our customer will be using this url to send messages to soap adapter.
    under policy configurations for XISOAPAdapter, i have defined only clientcertificateloginmodule and define the rule as Rule1.getUserFrom=wholecert.
    any help or suggestions would be appreciated.
    Thanks,
    Srini

    Hi,
    We also experienced that limitation when a vendor is connecting to our XI SOAP Sender Adapter. It is asking for basic username/password. What we did was to create a Generic XI user with a password on it and use SSL authentication at the same time. Our Scenario was PI --> XI --> SAP R3, with the PI system using an HTTP RFC destination with a Basic Logon and Active SSL option to connect to the same system as yours https://host:portnumber/XISOAPAdapter/MessageServlet
    Let me know if this helped...
    Regards,

  • How to increase max thread for SOAP adapter ?

    Hi PI Expert,
    I have problem with Synchronous SOAP transaction in PI 7.0 EHP1 SPS2. The interface actually using ccBPM.
    IDOC ---> ccBPM -
    > synchronous call to SOAP adapter.
    The problem is there are always timeout call from Integration server to SOAP adapter after several transaction success.
    it seems like the soap adapter is doesn't has enough thread to receive call from IS.
    the pattern is like   success, success, failed, success, success, failed.  it always 1 errror within 1 minutes for 4-5 transaction in the same minutes.
    is that any log in adapter that i can check or how to increase soap adapter thread ?
    Please advise ?
    Best Regards
    Fernand

    Hi Fernand,
    please check this blog:
    Adapter Specific Queues in PI
    /people/sunil.singh13/blog/2009/03/30/adapter-specific-queues-in-pi
    Regards,
    Gábor

  • How to write won WSDL file for SOAP adapter ?

    Hi experts
      Can any one expalin me how to write WSDL file  for SOAP adapter ?
      What and all things i need to know ? i have no idea on this....
      I got the business but to WSDL ...i am very new to this
    Adv...thanks
    Rakesh

    HI,
    Please see the below links,
    Consuming XI Web Services using Web Dynpro – Part II-/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    Consuming XI Web Services using Web Dynpro – Part I -/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0d7349b6-0901-0010-ddbe-ec43178a61ff
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    /people/kevin.liu/blog/2006/04/12/wsdl-11-binding-extension-for-soap-12
    Regards
    Chilla..

  • Enabling https for SOAP adapter

    Hello all,
    Can anyone suggest how to  enable https for SOAP adapter in PI system?
    Thank You,
    Regards,
    Hasan

    Hi Hasan,
    CHeck the blog :/people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter which guides you clearly
    Also check SAP Note#891877 for reference.
    Thanks and Regards,
    Naveen

  • PI 7.0: Message prioritisation in adapter engine for SOAP adapter.

    Hi All,
    We have both high and low priority synchronous messages using the SOAP sender Channel of the Central AE.
    How can we make sure that High Prio messages ALWAYS get a thread right away when entering the AE? Installing a separate AE is not an option.
    When I look in RWB->Component Monitoring->Adapter Engine->Engine Status in the Queues tab, I see this:
    SOAP_http://sap.com/xi/XI/SystemCall Yes 5(5) 5
    SOAP_http://sap.com/xi/XI/SystemRqst Yes 5(5) 5
    When a new High Prio message enters, it can take more than one hour before it gets processed, because there are 1000 Low Prio messages also using the same 5 available Threads...
    This delay is of course unacceptable for High Prio messages.
    I checked in many other threads in SDN, looks like we cannot priortise for particular messages in PI 7.0, as we can do only at adapter level, not at interface level.
    I was thinking of going to the approach which was suggested by "Gr, Wout" in the below thread. 
    xi prioritization in adapter engine (ae, af, adapter framework, java, jca)
    Creating own adapter "MYSOAP" by copying the metadata of SOAP adapter. By that we can use our own adapter "MYSOAP" for high priority interfaces.
    what you think guys about this approach?
    Is there any thing I need to take care going through this approach apart from copying SOAP metadata into my own adapter.?
    Thanks
    Deepthi

    increased thread count for soap adapter

  • Generate Message Interface for SOAP Adapter

    Hi All,
    I want to implement a scenario like this:
      ABAP System -> RFC Adapter -> XI -> SOAP Adapter -> Web Service
    Currently the WSDL of the web service is known. It is http://www.abysal.com/soap/AbysalEmail.wsdl
    How can I generate the inbound message interface in XI according to the WSDL?
    Thanks
    Jerome
    Message was edited by: Jerome Zhao
    Message was edited by: Jerome Zhao

    Hi Jerome,
    Import the WSDL as an external definition and then you can create a inbound Message interface based on that external definition.
    Regards,
    Sridhar

  • Synchronous scenario for SOAP to PROXY

    Dear Experts,
        I will be working on the following scenarios.
    XI will expose the Outbound Interfaces as a Web Service Interface. Web Service Description (WSDL File) will be generated for the Interfaces in Integration directory. DSS (decision support system) will use this WSDL file to define the data types and develop the Web Application. The Web Application sender sends the request message (Start Date, End Date and Table name) synchronously to XI using SOAP Adapter as communication channel. XI sends the message to SAP R/3 via ABAP Proxy. The ABAP Proxy extracts the data from SAP R/3 and sends the data back to XI . XI further passes on the data to DSS.
    Request
    Sender Application:     DSS
    Target Application:     SAP R/3
    Sender XI Adapter:     SOAP
    Receiver XI Adapter:     XI
    Response
    Sender Application:     SAP R/3
    Target Application:     DSS
    Sender XI Adapter:     XI
    Receiver XI Adapter:     SOAP
    It's a synchronous interface. Please help me out  right from the SLD design. I just want  an idea how to proceed with this.
    How many mapping will have to do?  also very important point , can any one help me out, how to write an  ABAP proxy for the same. I will have rewards for every answer as time is very very less and work is more.
    Thanks
    Veeru

    Viru ,
    So the Business systems will Web as ABAP for ECC and other will be third party. I am right.
    Yes
    Can u suggest me how to proceed with the mapping. Any snap shots for this scenario?
    Mapping will be simple using Mapping editor in IR .
    If u have please provide me.
    for your refernce :
    Few proxy based scenarios :
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7be30e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7be30e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    http://help.sap.com/saphelp_bw30b/helpdata/en/64/30063c66171b3de10000000a11402f/content.htm
    I am working on XI 3.0 for this scenario. how to handle the webservices here.
    for Web service based scenarios :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    Regards ,

  • Exception while posting a message using SOAP adapter

    Hi
    We are getting the following message while posting a SOAP request through SOAP adapter through Http Client. The error message is
    <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/HTML</SAP:AdditionalText>
    </SAP:Error>
    Please help in this regard.
    Regards
    Ramesh

    Dear Gopal,
             I am trying from HTTP->WEB SERvice (R/3 system)
    I have created a webservice from RFC.
    Receiver Adapter type : SOAP
    USer authentification provided
    URL provided. i picked from wsdl file
    i am getting this error
    com.sap.aii.af.ra.ms.api.DeliveryException : invalid content text/html.
    I hope u trouble shooted this kind of error.
    can u provide me some clues.
    regards
    chandra
    Message was edited by:
            chandra shekar dasari

  • Setting interface name dynamically from client for SOAP Adapter...

    Hi,
    does anyone have experience in setting the sender interface name in the HTTP-SOAP request dynamically? I have followed the instructions in "How To Use the XI 3.0 SOAP Adapter" on page 17 (see also SAP Note 856597) which say:
    "If you select Use Encoded Headers and Use Query String,
    [...]The sender SOAP adapter creates the XI message header according to the
    information provided in the query string. [...] In the sender SOAP adapter, you can use only some of the parameters, but the first
    parameter must always be the version. For example, you send from the Web service client to the following URL: http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>&version=3.0&Interface=http%3A
    %2F%2Fsap.com%2Ftest%5ETest
    This will overwrite the default interface and namespace of the sender channel."
    This is exactly what I need! However, what I actually get as a response following this description is a SOAP:Fault with a java.lang.StringIndexOutOfBoundsException: String index out of range: -1.
    Has anyone got this to work properly?
    Thanks in advance.

    Thank you for your input. I am using the following format for the call (with "x" standing for one letter each):
    http://xix.xxx.xx.xxx:5xx00/XISOAPAdapter/MessageServlet?channel=:xx_xxx_xxx_xxxx:xx_xxx_x_SOAP_S&version=3.0&Interface=http%3A%2F%2Fxxxxxxxx.xx%2Fxxxxxx%2Fxxxxxxxxxxxxxxxxxxxxxxxx%5Exxxxxxxxxxxxxxxxxxxxxx
    Anything wrong with that? With unchecked "Use Encoded Headers" and "Use Query String" it works fine (default interface) but as soon as I set these flags I get the SOAP-Fault response.
    We are on XI 3.0 SPS18.

  • HTTPS Port for SOAP Adapter PI 7.1 (XI)

    Hello Colleagues,
    we plan to configure an Sender SOAP Adapter (without SOAP envelope) as HTTPS message receiver with HTTP Security Level "HTTPS with Client Authentication".
    Does anyone know if this works and which port will be used. For my understanding it must be 443.
    If not, it's possible to change the port to 443?
    Regards,
    Jochen

    Hi Prateek,
    many thanks!
    Where can i do the port change?
    Many thanks in advance!
    Regards,
    Jochen

  • How to save the Response message from SOAP adapter

    Dear Friends,
       I am sending the FIle details webserver.here sender is FILE adapter and receiver is SOAP adapter.
    FIle to SOAP working successfully, but I need response from SOAP.
    Sender QoS is BE, so the response is coming to XI, but in SXMB_MONI it is showing DO YOU WANT TO SAVE IT or DISPLAY IT.
    my requirement is response message is directly updated in XI system.
    For response Can I use BPM or which method I need to use.
    Please suggest me  how to do the resonse message(SOAP to FILE).
    Regards,
    Shalini Shah.

    Sender QoS is BE,
    File adapter does not support sync communication. Therefore the scenario won't work as it is.
    What are you planning to do with the response? If you want to process is further, then:
    1. One way without BPM would be use of adapter module.
    File - RFC - File without a BPM - Possible from SP 19.
    2. Or you may use BPM with Async Sync bridge
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    Prateek

  • HTTPS configuration for SOAP adapter

    Hi,
    We have a requirement where we need to send the request to the target URL with https protocol.
    We have raised a request to configure the XI server for HTTPS.
    HTTPS has been configured on both ABAP stack and J2EE stack.
    But we could not find the HTTPS option in the drop down list of transport protocol in receiver Soap adapter.
    For this do we need to do any setting changes on the XI server after the configuration?
    Thanks,
    Jyothsna .

    Hi,
    You need to setup SSL layer for HTTPS endpoint.
    Possible HTTP security levels are (in ascending order):
    HTTP without SSL
    HTTP with SSL (= HTTPS), but without client authentication
    HTTP with SSL (= HTTPS) and with client authentication
    Please go through below link for referance (above information is from below link)
    Step by step guide for SSL security
    step by step guide to implement SSL
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ff/7932e4e9c51c4fa596c69e21151c7d/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/13/4a3ad42ae78e4ca256861e078b4160/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/7cddde33ff05cae10000000a128c20/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0a/0a2e0fef6211d3a6510000e835363f/content.htm
    General guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a09f3d8e-d478-2910-9eb8-caa6516dd7d9
    Message level security
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba681c51
    Regarding message level you can encrypt the message using certificates.
    For both of this basis team has to deploy the releavant certificates in XI ABAP Stack or Java stack.
    Generally if the scenarios are intra company we dont use any transport level or message level security since the network is already secured.
    Check the following links.. you will get the information all about the securities...
    http://help.sap.com/saphelp_nw04/helpdata/en/f7/c2953fc405330ee10000000a114084/content.htm
    Also read thru this link for message level security - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba681c51
    Also find soeminformation in these links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/882a40ce93185de10000000a1550b0/frameset.htm
    /people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi
    Thanks
    Swarup

Maybe you are looking for

  • How can I move music from ipod to itunes library

    My computer had a virus and I had to restore the whole system and now my itunes library has been wiped. Is there anyway I can swap my ipod music to the itunes library? Pleas help!

  • ORA-00376: file 24 cannot be read at this time

    Hi, DB 10.2.0.4 AIX 5.3 PROD When i am trying to start database i got below error.kindly suggest me. SQL> startup ORACLE instance started. Total System Global Area 5368709120 bytes Fixed Size 2091632 bytes Variable Size 2399143312 bytes Database Buff

  • Adding custom text besides selection screen field

    Hi All,    I need to add some custom text to the selection screen field "CtegoryID" in the Product search screen(thru the link "Internal Goods")....I sthis possible thru change os some template?If yes,which one?? Regards, Disha.

  • Unable to burn long movie on Bluray

    Longer movies, edited in FCP , converted to QT, won't burn on my external bluray LG-burner. Short movies: no problem. I get this error code from Toast 10: - The drive reported an error - Sense key = medium error - Sense Code = 0x10 - Invalid block si

  • I can not update any software to my mac book pro! Help

    Every time i try and download new software on my MBP it says may have been corrupted during download. Ive tried downloading it from appl directly and it say it is not supported. My phone wont even update I need HELP!!!!