Creating Custom SOAP header in the Sender soap scenario

Hello Experts,
Currently i have a SOAP to RFC scenario . In which in the request parameter i have single input parameter. But as per the requirement we need to have some xml parameters in the soap header .
So i want the soap request looks like below,
<?xml version="1.0"?>
-<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
-<SOAP-ENV:Header>
-<ns0:TestHeader xmlns:ns0="http://testcustomer.com">
-<MessageDetails>
<ServiceType/>
<ServiceAction>String</ServiceAction>
<MessageRole rtype=""/>
-<MessageSource>
<SourceName/>
<SourceID idtype=""/>
</MessageSource>
-<MessageDestinations>
-<MessageDestination>
<DestinationID idtype=""/>
<DestinationName/>
</MessageDestination>
</MessageDestinations>
<Property Name=""/>
</MessageDetails>
</ns0:TestHeader>
</SOAP-ENV:Header>
-<SOAP-ENV:Body>
-<m:MT_CERT_IP xmlns:m="http://mydzit.gov.sa/zakat">
<INPUT1>102140000007</INPUT1>
</m:MT_CERT_IP>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Kindly let me know the steps, how can i achieve this ??
I have referred the AddSOAPHeaderBean  module but still not received the needed output.
Best Regards,
Amit

Hi Amit,
My few cents.
You have an example in Dimitri Sannen's blog Read SOAP header information doing the mapping with XSLT.
Also, you have an other example like Dev Noronha suggestion, in William Li's blog How to Read SOAP Header Information
Regards.

Similar Messages

  • How to catch the sender SOAP adapter http response?

    Hi eXperts,
    I've a sender soap adapter opened to customer as webservice. When customers call this webservice, data is coming into XI and works fine. But the customer is complaining that the expected HTTP 200 response is not sent back to the calling SOAP client.
    So my question is: Is there a way to catch the http 200 response from sender adapter, or at least get to know if the sender adapter has sent the response?
    Thanks in advance.
    Regards
    Luis

    Hi,
    If I understood it correcly... Sender is a Async SOAP call and the sender system is expcting a status back of HTTP 200. Are you sure you had set the quality of effort to Exactly Once? If not please try setting it.
    You can also go to Adapter monitoring or Communication channel monitoring in the Runtime workbench and see if the Sender SOAP adapter is fine.
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/164442c1a1c353e10000000a1550b0/content.htm
    Thanks,
    Prakash

  • Does the sender SOAP adapter support multiple operations per interface

    Hi guys,
    does the sender SOAP adapter support multiple operations per interface? (interface type of 7.1)?
    Thanks,
    Andrzej

    theoretically Yes.
    Do have a look into this when you get time
    /people/shabarish.vijayakumar/blog/2010/09/08/service-interface-and-multiple-operations--is-it-just-an-hype

  • Can we enhance the Sender SOAP Adapter with our own modules?

    Hi All,
    Can we enhance the Sender SOAP Adapter with our own modules on the Module Tab Page in the Module Processor?
    I believe the answer is no. However, whatever may be the answer, I would like to know that is there any specific reason for that.
    Please help me in this regard.
    Thanks,
    Yogi.

    Hi,
    I think, we are mentioning the URL of the adapter channel directly in the configuration. SO there is no place we can customize this flow..just a thought
    Because in the file adapter etc, After Adapter Engine picks up the data and before it goes into integration engine module is processed..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
    Rgds,
    Moorthy

  • I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and paste and doing the header separately from the text.

    I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and pasting   the header separately from the text. I know there is a way besides a screen shot but I've spend hours trying to find it.

    Smurfslayer wrote:
    For the particularly persnickety types you might want to expose the full headers in the email message as well.  It's easy enough to do, from mail's 'menu' select "view"; then "message"; then all headers.
    Another option you could use is a screen capture using Grab.
    Activate Grab, then shift + command + w (for a window screen shot).  Then confirm the window selection and click the mail message. 
    Dave
    Why are you addressing this to me...?
    I am not the OP...

  • How to add a soap header in the mesage

    Hi expert:
       We have a problem about this synchronous scenario: ECC(ABAP Proxy)>PI>P6(SOAP),  In P6,it need additional soap header as below:
    <soapenv:Header>
    <wsse:Security mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-5700630" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>admin</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">admin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    How can i add this header to the receiver message?

    Hi
    Create an XSL file like below and use in your mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/">
    <soapenv:Header>
    <wsse:Security mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-5700630" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>admin</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">admin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
             <xsl:copy-of select=""/>*     
    </xsl:template>
    </xsl:stylesheet>

  • One of the sender SOAP channel is inactive by itself in the CC monitoring

    HI All
    sender soap channel is showing inactive in the RWB. But when i check the status in Integration directory it is active. It got inactive by itself . can anybody help me  how i can activate it.
    regards
    sandep

    Hi Sandeep,
    There are two ways to Active or Incative communication channel,
    1)Select communication channel in Componnet monitoring and start the communication channel,it will actuvate.if you want inactive stop it.
    or
    2)Iin Integration Directory select mode as Active it will start.
    sometimes it behaves like that...
    REgards,
    Raj

  • How to create custom FYI Notification in the iRecruitment Notification Approvals Transaction type

    Dear All,
    Does anyone know how to create a custom FYI Notification using the Notification Apporval Transaction type??
    my requirement is when the Candidate complete filling his personal information and upload required document, a notification should be sent to the recruiter informing that all documents have been uploaded.
    Can anyone tell me how to do that?
    Thanks
    Regards

    Hi,
    Please see this thread.
    Want to send public message to all oracle apps users while instance up
    Re: Want to send public message to all oracle apps users while instance up
    Also, see these docs/links.
    Managing Downtime in Restricted Mode from OAM [ID 364236.1]
    R12 Enabling Applications Maintenance Mode and Preventing User Access [ID 557964.1]
    Downtime and Apache Restricted Mode in Release 12
    http://blogs.oracle.com/stevenChan/2008/03/downtime_and_apache_restricted_1.html
    Thanks,
    Hussein

  • Is there a way to recover a deleted ( by accident) e-mail message on my iPad? The e-mail was created, I thought I hit the send button..

    Hi there,  does anyone know how to recover a newly created e-mail message that was possibly deleted instead of sent.  I think my I may have hit the delete button instead of the send button? I have searched all my e-mail folders: draft, trash, sent etc.  Any help would be greatly appreciated.

    Yes with an Exchange or IMAP account, which are designed for this very thing.
    All server stored mailboxes with an Exchange or IMAP account are synchronized with the server with each email client used to access the account.
    This is not possible with an antiquated POP account which was designed to be accessed with a single email client only - developed when the overwhelming majority of computer users had one computer - a desktop, and before notebooks were commonplace.

  • Digital Publishing Suite Help | Creating custom viewer apps for the iPad and iPhone

    This question was posted in response to the following article: http://helpx.adobe.com/digital-publishing-suite/help/create-custom-viewer-app-ipad.html

    The Approval Status section is no longer in DPS App Builder, but this reference wasn't removed. You can submit your app to the gallery using this form:
    https://adobeformscentral.com/?f=ozjJFvlBionBofBtd-wjbQ#

  • Add SOAP header before the WebService request (Windows Forms)

    I have to add this header before my Request:
    <h:FordDealerIdentity xmlns:h="urn:ford/star/security/v1.0" xmlns="urn:ford/star/security/v1.0">
    <soapenv:Header>
    <SiteCode>SZBRA</SiteCode>
    </soapenv:Header>
    </h:FordDealerIdentity>
    My request:
    var srv = new ConsumerServiceScheduleV1();
    var a = new RetrieveScheduleRequestType();
    var b = new DealerType();
    var c = new ScheduleType();
    srv.Credentials = new System.Net.NetworkCredential("","SZBRA05168");
    //ScheduleType[] ret;
    b.Code = 05168;
    b.Name = "BraconCampos";
    a.Dealer = b;
    a.SchedulingFrom = new DateTime(10/10/2014);
    a.SchedulingTo = new DateTime(15/10/2015);
    c.SchedulingCategory = SchedulingCategoryType.Regular;
    srv.ClientCertificates.Add(new System.Security.Cryptography.X509Certificates.X509Certificate2(@"E:\Agenda Ford\Certificados Agend@Ford\BracomCampos.pfx", "qaz123"));
    textBox1.Text = srv.RetrieveSchedule(a).ToString();

    Is Windows Forms! :)
    And what forum deals with SOAP and Web services more than any other forum?  Many types of client based applications such as  Windows form, WPF, Sliverlight, Windows service classlib project like a BLL and so forth deal sith SOAP and WEB.
    How is what you are talking about a Windows forms issue?
    My Application is Windows Forms. I need to know how to insert this header before request.

  • SOAP Header authentication in receiver SOAP

    Hi,
    we are interfacining a scenario where in receiver soap we are getting user name and pwd in header.
    my scenairo is proxy to soap and it is asyncronous.
    could you please tell me the solution how to do that. without header information it is working fine. i want what configuration i have to do to get the header information.
    thanks
    Laxmi Bhushan

    Hi Laxmi,
    follow this guide last section deploying SDA file using JSPM .
    If you are not able to see your SDA file then run the comand which i have mentioned iin last section.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00b4a020-4ae6-2c10-5a95-fed4ad9a4b60?quicklink=index&overridelayout=true
    Also  take care of the extension of .SDA file.
    Extract it properly in a folder . After adding content again create SDA and start deployement
    thanks
    sandeep

  • How to create 'custom defined color' in the palette (Oracle 6i Form Buidl)?

    I'm new to Oracle 6i and urgently need to edit a colour scheme used on an existing set of Forms in Forms Builder.
    I can see how to select colors from the default palette but cannot find a way to edit the 8 spaces kept in the palette for 'custom defined colors'.
    Thanks in advance.

    Have you tried with something as
    IF  DBMS_ERROR_CODE IN (-20001)  then
    message ('what_you_want');for example in ON_ERROR trigger?

  • Creating custom jsp component - Finding the jsp tag descriptor htmlb.tld

    Hi,
    I want to create my own TabStrip component by extending the SAP Standard HTMLB components TabStrip and TabStripItem. I've found the classes that I need to extend under the jar below, but I can't find the htmlb.tld file. I need to make a copy of this file to create a tag descriptor for my new components in order to use them in my JSP.
    The classes I am using are in the com.sapportals.htmlb package, located in the file
    ECLIPSE_HOME/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sapportals.htmlb/_comp/gen/default/public/default/lib/java/htmlb.jar
    I've searched the jars in the "plugins" directory of NWDI but can't find it (although I did find some other tld files). I'm guessing it must be somewhere on the poertal, but where?
    Please help
    Thanks
    Any help would be greatly appreciated.

    If you have access to your portal's installation box - then you can get this TLD at the following paths:
    <Installation Drive>:\usr\sap\<SID>\<instance no>\j2ee\cluster\server0\apps\sap.com\com.sapportals.htmlb.ear\servlet_jsp\htmlb\root\WEB-INF
    OR
    <Installation Drive>:\usr\sap\<SID>\<instance no>\j2ee\cluster\server0\apps\sap.com\com.sapportals.htmlb.ear\servlet_jsp\htmlb\root
    OR
    <Installation Drive>:\usr\sap\<SID>\<instance no>\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\uddiclient\root\WEB-INF
    Hope this helps!!!
    Shubhadip

  • How to create custom audit rule for the following in jdeveloper ESDK

    Hi,
    I need customized audit rule which uses Oracle Jdeveloper 11.1.2.0 with ESDK extension. Can any one help me please.
    The following is the audit rule I need.
    I should not use any where "+" for concatenating more than one string in our project.
    How can I achieve this.
    Thanks in advance.
    Lakshmi Narayanan.

    Hi,
    see
    http://blogs.oracle.com/jdevextensions/entry/don_t_fear_the_audit
    http://blogs.oracle.com/jdevextensions/entry/don_t_fear_the_audit1
    Frank

Maybe you are looking for

  • APXIIMPT-PayablesOpen Interface FND_REQUEST.submit_request returns 0 inToad

    I am submitting APXIIMPT (Payables Open Interface Import) FND_REQUEST.submit_request from Toad and it returns 0 . I am setting context before I submit the request. Not sure what is missing. Any help is very much appreciated! Here is my code: BEGIN Fn

  • How to encypt a .txt file and how to decrypt a same .txt file when i need

    My requirement is i want to encrypt a .txt file and keep it in some folder. In that file we put database connection information. when ever we need that file we have to access it and decrypt it. with that decrypted values we have make connection with

  • Drop Down List not getting populated

    Dear All, I have developed a form in SFP which containes a drop down list.The drop down list is to be populated by an internal table field. Whenever I am executing the form i can see only the first item in the drop down listand nothing else. While de

  • Why can't I access my apps on my phone from my computer?

    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601) Hewlett-Packard HP ProBook 4440s iTunes 11.1.2.31 QuickTime 7.7.4 FairPlay 2.5.16 Apple Application Support 2.3.6 iPod Updater Library 11.1f5 CD Driver 2.2.3.0 CD Driver DLL 2.1

  • How to access value mapping table in xi ?

    Hi All, i want to load all value mapping table data from XI to a excel sheet. how can i do it ?could anyone provide java code needed for it ?