How to setup SOAP Adapter in order to include BinarySecurityToken element

Hi,
  I am building an integration scenario where I need to configure a SOAP receiver that will include the BinarySecurityToken element (as described in http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf). The value of the element must be the hash value of the canonicalisation on the XML using SHA-1 hash algorithm and encode it in Base64. Is there a way to configure the SOAP adapter receiver channel to perform such a task? I have see the security settings in the channel and the setting in the receiver agreement but I am not sure how to produce the value as above. Any help is appreciated.
Regards,
S.Socratous

Kiran look into this
As per my knowledge any RFC - enabled function can be exposed as a webservice which can be consumed by any application written in any language directly..
an XI message interface can also be exposed as a Webservice.
RFC is function-oriented webservice.
XI interface is integration webservice
Check the following blogs for webserivces
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
Webservice Development
Consuming webservice
/thread/122211 [original link is broken]
Regards
Sreeram.G.Reddy

Similar Messages

  • How to start SOAP Adapter

    Hi All,
    Please can any one say how to start SOAP Adapter.
    when i go to adapter monitoring, in that i found that SOAP is not started.
    So please any one can give the steps for Starting SOAP Adapter.
    Thanks in Advance,
    Sriram

    Hi All,
    I m now able to send the data to XI Server.
    I m getting this problem
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_Soap2File_MM_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_Soap2File_MM_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please advice me.
    Thanks in Advance,
    Sriram

  • How to configureAxis SOAP Adapter

    HI
    Can any body help me how i can configure sender side synchronous Axis SOAP Adapter.
    regards
    sandeep

    HI ,
    Facing the error , "Received HTTP response code 500 : Error during conversion of XI message"
    This is the fist time i  am configuring the   sender soap ( Axis Framework in the SOAP Adapter) (Quality of service Best effort) communication channel  and i am getting the above error did any body face this error.
    regards
    sandeep

  • How to activate soap adapter

    Hi,
      In Adapter Farmework Monitoring i see soap adapter i grey ,How to Activate the Soap Adapter to configure the scenario

    Hi Abdul,
    If your adapter has been locked or if your adapter has not yet been activated, then you can activate it by doing the steps below.
    Visual Administrator -> Cluster -> server -> services -> deploy -> click on application radio button -> select the soap adapter there and click start.
    Regards,
    abhy

  • How can I place one iPhoto order that includes multiple items (books, prints, etc)?

    I'd like to order several books, and different prints and different sizes, etc through iPhoto. But it appears I can only order/buy/ship one item at a time... is there a way to get a "shopping cart" going so I can keep adding to it and then just do one big order and  have one shipment arrive (or at least some consolidated shipments). I don't want a separate package for each print I am ordering... will Apple do this automatically if I order 15-20 items within one hour...?
    Thanks.

    Afraid not.
    Regards
    TD

  • Report by Internal Order that includes cost element and order type

    Good Morning Gurus'
    Is there an SAP Standard Report that shows Internal order, cost element and order type?  I find many with order, but not order type.
    Thanks a million!!

    Hi,
    No, I don't think so. You can create a workaround by defining order group based on order type by intervals. Or, of course, develop your own report.
    Regards,
    Eli

  • 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  Sender SOAP Adapter will retriew the data  to process further

    How  Sender SOAP Adapter will  receive the data  to send the integration server to process further

    Hi,
    1. All details are always taken from the Sender Agreement.
    For the Sender File adapter and the Sender SOAP adapter , the details that include are , Sender Service, Sender Interface Name and namespace and these are the details that make up the SOAP header when the message hits the integration Engine.
    Once the corresponding Adapter for the message is identified, ie. the Sender SOAP adapter , the message for the SOAP header is then taken from the Sender Agreement of that adapter. This is the exact reason why one Sender Adapter can be involved in one and only one Sender Agreement.
    Regards
    Bhavesh

  • Sender SOAP Adapter with Https

    Hi,
    can any one give me information on  how my Sender SOAP adapter to be configured with HTTPS port.
    please give me the what are all different ways to make my Sender SOAP Adapter secure and give me the steps to achieve the functionality.
    Thank You,
    Madhav

    check this section:
    http://help.sap.com/saphelp_nw70/helpdata/EN/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    Also some help from SAP note:
    https://service.sap.com/sap/support/notes/891877
    Regards,
    Abhishek.
    Edited by: abhishek salvi on May 29, 2009 1:59 PM

  • SOAP adapter using HTTPS

    We need to using SSL over HTTP for our web service defined in PI, basically using HTTPS in our SOAP adatper. I did a lot of research on this, seems like it's not an easy job to enable SSL. However I am only interested in making it work from an application developer point of view, enabling SSL, generating/installing certificate is a job for basis people.
    So I created an sender CC with SOAP adapter with HTTPS with client authentication. (BTW, what is HTTPS without client authentication, does it mean HTTPs with server authentication where the server certificate is to be installed at the client side?), to my understanding, the client certificate should be installed in NWA (We have PI 7.1, not 7.0 -) and somewhere in ID (like sender agreement) we need to specify which client certificate should be used to authenticate the client who calls our service. However nowhere in ID I can specify which client certificate should be used for the defined sender CC. So how would it work in runtime? When my web service is called, which client certificate does PI use to authenticate the client?
    It'd very much appreciated if you could give more information about how HTTPS for SOAP adapter works? I've done lot of research on this, but still confused.
    Thanks

    Hi,
    for transport level security you should assign the HTTPS connection created in SM59 to the SOAP communication channel.
    The HTTPS connection should use the certificates imported in t-code STRUST.
    1. You have to dounload the SAP cryoptographic librariers.
    2. Set the specific paramerts in RZ10
    3. Maintain the enviornmental variables & you need to keep the logon tickets too in some specific directory.
    4. Import the client & server certificates into STRUST.
    You can find some documents on ABAP ssl configuration from the SDN library .... I don't have a link now
    Regards
    Sunil.

  • Execution Of SOAP Adapter

    Can anybody help me out how to exexute SOAP adapter from EP to XI.(In Detail)

    Hi,
    Refer to section 3 of this document if you want to send the SOAP message from EP to the Adapter Engine of XI and then route it from there to the Integration Engine of XI.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    If you are looking at exposing your Message Interface in XI such that the request is sent directly to the Integration Engine , then refer to this blog by Stefan,
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    Regards,
    Bhavesh

  • How to receive acknowledgement from Vendor via SOAP adapter.

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

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

  • How to setup a release strategy for store generated purchase order

    Hi there,
    Does anybody know how to setup a release strategy for store/plant generated purchase order? I have a request from our client, but I never cross this before. Please help and let me know the step with every single detail.
    Greatly thank for your help.
    Kind Regards,
    2tea

    Please go thru the below Release Procedure and check whether you have maintained all the settings properly.
    PO RELEASE STRATEGY
    The release code is a two-character ID allowing a person to release (clear, or approve) a requisition or an external purchasing document. The release codes is basically controlled via a system of authorizations (authorization object M_EINK_FRG).
    Use SE12, structure CEKKO to check all the fields available for controlling the Purchase Order.
    e.g. If the total value for the Purchase Order exceeds 10,000, release strategy 01 is assigned to the Purchase Order. There is only one characteristic created in this example. For controlling the Purchase Order type, create characteristic for CEKKO-BSTYP and the value NB.
    CT04 - Create Characteristic e.g. NETVALUE
    Click Additional data Table name CEKKO Field name GNETW and press enter
    (for currency dependent field, you are prompt to enter the currency which the system then converts the currency of the Purchasing document into this currency)
    In the Basic data (X refers to tick),
    X Mutliple values
    X Interval values
    In the Value data, in the Char. value column, type >10000 and press enter
    Save your data
    CL02 - Class
    Class - Create REL_PUR
    Class type - 032
    Click Create
    Description - Release Procedure for Purchase Order
    In the Same Classification section, click Check with error
    In the Char. (characteristic) tab, type NETVALUE to assign your characteristics to the class
    OMGS - Define Release Procedure for Purchase Order Type
    Release Group - New entries
    Rel.group Rel. Object Class Description
    02 REL_PUR Rel. Strategy for PO
    Release codes - New entries
    Grp Code
    02 01
    Release indicators
    Release indicators Release Description
    0 Blocked
    1 X Release
    Release Strategy
    Release group 02
    Rel.strategy 01
    Release codes 01
    Release status 01
    Classification Choose your check values
    OMGSCK - Check Release Strategies
    (make sure there are no error messages)
    Once the Purchase Order is not release, buyers will not be able to print the Purchase Order.
    Goods Receipts will be shown with Message no. ME 390 - Purchasing document XXXXXXX not yet released.
    In 4.6c, Purchase Order with Release Strategy have a tabs at the end of the Header. This allowed the buyers to check the release status of the Purchase Order.
    The person with the release authorization have to use ME28 to release the Purchase Order.
    Regards,
    Ashok

  • Mail Adapter to Soap Adapter keeping the attachments - How?

    Hi guys,
    I am working on a scenario where I should pull emails from an Exchange server and I should forward them (with their attachments) to a separate systems via a Web Service.
    So far I have been able to pull the emails using the Mail Adapter and I get to see them in the monitoring tool of PI with their attachment(s).  But what I am not sure of is how I should forward these emails to the external system using a web service.
    This system should expose this web service that should use something similar to SOAP with attachments (I guess) and then PI should forward these attachments using the receiver SOAP adapter with the "keep attachments" option selected.
    Is this something that could work as simply as this (by configuring these two adapters to keep their attachments) OR will I need to do some more fancy stuff?
    Thanks for any advice you can give me on this.
    Aldo

    Hi Stefan,
    thanks for your replay.
    Yes, I understand that the mail should be in an XML message.  And with that part we are doing OK.  We have managed to send the XML between the systems.
    However, what I don't understand is how to pass the attachments.
    How should the receiving system receive them?  if they are not in the XML message itself how are these going to be passed over?
    Will the SOAP envelop have some kind of link or reference to the attachments?
    The receiving system is a SAP CE system and it's based on Java.  Can they expose a service that will somehow handle these attachments?
    Could you explain this part to us?  this is where we get confused.
    Thanks for your help in advance,
    Aldo

  • How to use Basis Authentication in Sender SOAP Adapter

    We implemented one Sender SOAP Adapter and we had to implement the modified WEB.XML method to remove the security specification.  We have now asked the developer to correct this situation so we can remove this modification.  The Interface developer would like to use Basic Authentication. If you have an automated interface sending in a SOAP Message, how do you do Basic Authentication? 
    I've tried using:
    http://host:port/XISOAPAdapter/MessageServlet?channel=:<Service>:<Channel>&sap-user=xiappluser&sap-password=<Password>&sap-language=EN&sap-client=<Client>
    When I do this, I still get the Authentication Pop-Up Window.
    How does the Sending Interface either supply the ID and Password on the incoming SOAP Message or respond to the Authentication Pop-Up?
    Thanks,
    Anne

    By Defualt the web service exposed by you will use Basic Authentication mode only.
    But the way you do Basic Authentication in the web client is platfrom dependent.
    This is not the way to do Basic authentication
    http://host:port/XISOAPAdapter/MessageServlet?channel=:<Service>:<Channel>&sap-user=xiappluser&sap-password=<Password>&sap-language=EN&sap-client=<Client>
    I am providing you a code snippet on how to Basic Authentication in Java when making the Web Service Call.
    If the client is on some other platform just look for the corresponding api.
    Please award points if you find this answer useful.
    Code Snippet
    URL url = new URL(URL);
    URLConnection connection = url.openConnection();
    if( connection instanceof HttpURLConnection )
    ((HttpURLConnection)connection).setRequestMethod("POST");
         //connection.setRequestProperty("Content-Length",Integer.toString(content.length()) );
         connection.setRequestProperty("Content-Type","text/xml");
         connection.setDoOutput(true);
         String password = User + ":" + Password ;
          //Where con is a URLConnection 
         connection.setRequestProperty ("Authorization", "Basic " + encode(User + ":"+ Password));
         connection.connect();
    Encode Method
    public static String encode (String source) {
    BASE64Encoder enc = new sun.misc.BASE64Encoder();
    return(enc.encode(source.getBytes()));

Maybe you are looking for

  • PL/SQL Limit When Dealing with a CLOB?

    Greetings, I am constructing HTML into a CLOB in a PL/SQL routine which I later display in an APEX application. The HTML can get large, because I am constructing a grid over an image, and the grid can have a lot of columns and rows which means there

  • Officejet Pro 8600 Plus paper tray will not go all the way in so cannot print

    Have loved this printer for almost two years but suddenly the drawer which holds the paper will not go all the way in so cannot print.  Took it to a so-called tech at Office Depot who said that because you cannot open/remove the tray, there is no way

  • QUICK SELECTION TOOL HELP!

    I am trying to use the quick selection tool to select images in my photo. When I use it I can see what I am selecting then as soon as I release the mouse button the selection disappears. Please help if anyone knows why this is happening. Also the ref

  • Message Driven Beans with "Required" CMT and duplicate delivery of messages

    Hi, Let's pretend that an MDB is configured with CMT and the "Required" transaction attribute. Let's suppose that it has received a message and is busy processing it in a transaction that might take some time to complete. Is a JEE container required

  • Nullable FK relations failing possible bug

    Hi I have a table with fk reference cols. Out of 3 ref. 1 ref. is a nullable fk. When I instantiate my object, if all these cols have values I can iterate thru all the values without a problem but if this one fk is null then when I try to get the val