How to have Header and body in reciever SOAP adapter channel

Hi Experts,
Please help me with the following scenario.
I am designing a webservice scenario and have the WSDL available .
The webservice expect the SOAP message as follows
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <SecurityHeader xmlns="http://onefile.cyzone.co.uk/webservices/proactive">
      <PortalID>int</PortalID>
      <Username>string</Username>
      <Password>string</Password>
    </SecurityHeader>
  </soap:Header>
  <soap:Body>
    <OrganisationCreate xmlns="http://onefile.cyzone.co.uk/webservices/proactive">
      <Organisation>
        <Title>string</Title>
        <Standards>
          <Standard>
            <StandardID>int</StandardID>
          </Standard>
          <Standard>
            <StandardID>int</StandardID>
          </Standard>
        </Standards>
      </Organisation>
    </OrganisationCreate>
  </soap:Body>
</soap:Envelope>
I imported the WSDL as external definition and can see all messages in XI
In the corresponding operation( from WSDL) as given below, it indicates SecurityHeader to be used as SOAP header. However, the WSDL has OrganisationCreate and OrganisationSecurityHeader as separete messages. How do we combine these two in Message Interface.
- <wsdl:operation name="OrganisationCreate">
  <soap:operation soapAction="http://onefile.cyzone.co.uk/webservices/proactive/OrganisationCreate" style="document" />
- <wsdl:input>
  <soap:body use="literal" />
  <soap:header message="tns:OrganisationCreateSecurityHeader" part="SecurityHeader" use="literal" />
  </wsdl:input>
- <wsdl:output>
  <soap:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
Please advice.
Thanks in advance,
Mona

Hi,
Yes you are not supposed to create SOAP envelop, you have to cerate whole.
See 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..

Similar Messages

  • Error when Compiling package header and body - how change pkb file associat

    Hi everyone,
    it has already been noticed elsewhere (in the thread "Compiling package header and body" of Jan 12, 2010) that the compilation of package scripts sometimes fails (apparently because of a sqldeveloper bug) when the script contains the terminating slash /.
    Is this bug still open?
    Next question: In the above mentioned thread it is recommended as workaround to change the corresponding file type association from pl/sql to sql. I would like to do that; I know the place in the preferences dialog, but most of the associations there seem to be hard coded and cannot be changed.
    I would appreciate any ideas!
    Thanks in advance,
    user8632123.

    For the workaround: you'd have to change the file's extension, not the association (to e.g. .sql).
    Have fun,
    K.

  • Every inlineframe generates HTML, head and body tag - how to remove it

    Hi,
    I am using inlineframe for adding HTML content. For every inlineframe, HTML, head and body tag is generated.
    How to get rid out of those HTML, head and body tags?
    please suggest
    Edited by: user10302920 on Feb 2, 2011 3:59 AM

    Hi,
    not sure the component is generating this. Must come from the HTML source you reference. If however it is the inline frame then this is not configurable
    Frank

  • XML to Header and Body (DOMObject)

    I have written a DOMObject class that will take a Header and Body of a message and output it to an XML string. How would i go about turning an XML document back into a Message Header and Body - any thoughts?

    i don't think its that simple - is it? - what about using selectNodes and selectSingleNodes methods to extract the correct information from the XML document - however DOM doesn't have these methods?

  • SOAP Header and Body

    Hi All
    I am having a small requirement where my normal java program has to invoke a SOAP client and that will communicate the SOAP server by sending two xml files.
    first xml contains the attributes/properties of the content and
    second xml contains the the actaul content.
    here i have to send the attributes in the SOAP header and content as the SOAP body.
    How can i achive this. I am very new to SOAP protocal.
    please suggest me some links/documents and some guide lines to make this a success.

    Hi All
    I am having a small requirement where my normal java program has to invoke a SOAP client and that will communicate the SOAP server by sending two xml files.
    first xml contains the attributes/properties of the content and
    second xml contains the the actaul content.
    here i have to send the attributes in the SOAP header and content as the SOAP body.
    How can i achive this. I am very new to SOAP protocal.
    please suggest me some links/documents and some guide lines to make this a success.

  • Space between header and body section

    Hi All,
    I have a RTF template in that i am displaying the header and body section , i have more than one pages in my report so in the first page the gap between header section and the contains start after that is fine, but for the rest of the pages the gap between header and contaisn is more , can you please guide me how to decrease the space.
    Ex:
    Page 1: Header section
    ABC CORPORATION
    JJJJJJJJJJJJJJJJJJJJJJJ
    -----------------PAGE ENDS---------------------------
    Page2:
    Page 1: Header section
    ABC CORPORATION
    JJJJJJJJJJJJJJJJJJJJJJJ ------------------This space is more i need to decrease
    -----------------PAGE ENDS---------------------------
    Thanks
    Deb

    check if u have any spaces after the for each or any logic u used before data table which have spaces in between.
    send me your sample xml and template i can try at my side.
    email : [email protected]

  • How to add header and footer to a file through ODI?

    hi,
    I want to add header and footer to my file..............footer should contain a counter so that page number can be displayed...................
    Can anyone please guide me .................
    Thanks .............
    Ritika

    what is the utility you are using to create file . Interface or OdiSqlUnload ?
    and what do you want to have Header and Footer as and how are you concluding the File as page 1 and page 2 etc ... ?

  • RTF template design issue for header and body section

    Hi All,
    I have a RTF template having header and body sections.
    in header section i have order number, customer number etc.
    in body part i am displaying details for the respective order.
    But the problem is in header part my query is returning multiple row , so my requirement is for each row i.e order, i need to display the details accordingly.
    Ex: Header query returns order number : 1,2,3
    in my page i need below way:
    Order number :1
    a,b,c
    order number :2
    c,d,e
    order number :3
    g,h,g
    I tried to use loop in header section , but it is repeating only for header part not body part please help me on this.
    Thanks
    Deb

    Avinash thanks for your help,
    Actually in my requirement the header level and line level invoice numbers are different, in header level i have different invoices and for each invoice i need to display some other invoices along with some data.
    I have sent you the respective RTF file and Sample XML file to your mail, could you please help me on this, i am struggling whole day on this.
    the link between the header and line section is header_id.
    Thanks in advance
    Deb

  • Editing HTTP header and body request and sending it...

    Hi there!
    I need to create a new Packet and send it to a server, its a HTTP protocol packet and all i need to do is insert the Header and Body information after sending it to the server..
    does anyone know an example, link, book or anything about how to do it in j2se?
    Thanks very much for any help, and sorry about my english

    Anyway filter's method doFilter() takes a
    ServletRequest as a parameter, not
    HttpServletRequest, therefore I can't use
    HttpServletRequestWrapper and its method
    getHeaders().However you are actually getting an HttpServletRequest object as your actual parameter, so just cast it to HttpServletRequest and do what you need to do.

  • How to change header and footer in login page in oracle apps r12

    Hi all,
    how to change header and footer in login page in oracle apps r12 and login button background color, please help me
    thanks
    saran

    how to change header and footer in login page in oracle apps r12 and login button background color, please help meTips For Personalizing The E-Business Suite R12 Login Page (MainLoginPG) [ID 741459.1]
    How to Personalize Login page in R12? [ID 579917.1]
    R12 Login Page: How to Personalize the Logo ? [ID 849752.1]
    Thanks,
    Hussein

  • How to place header and footer  in OO-ALV program using class

    How to place header and footer  in OO-ALV program using class tell me wat r the class we shold use and their attributes as well

    Hi Venkatesh,
    Take a look at this how to [ABAP Objects - ALV Model - Using Header and Footer|https://wiki.sdn.sap.com/wiki/x/xdw]
    it's explaining how to define the classes and use it for display an ALV with Header and Footer.
    Regards,
    Marcelo Ramos

  • How to print header and footer in SET_TABLE_FOR_FIRST_DISPLAY

    Hello Experts,
             How to print header and footer while using the method SET_TABLE_FOR_FIRST_DISPLAY, any tips from the experts will be appreciated.
    Regards,
    Babu

    Hi,
    there are four events for printing: print_end_of_list, print_top_of_list, print_end_of_page and print_top_of_page. More information about implementing these events is in this bible for ALV:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Cheers

  • Mdworker[600]: No separator between the header and body in message _CMFMemoryMessage: 0x7f8665118800

    Any Suggest about this issue on console:
    mdworker[600]: No separator between the header and body in message <_CMFMemoryMessage: 0x7f8665118800>
    Best Regards

    Thanks very much. It's turned out to be a font problem. About 30 of the fonts in my account directory /users/me/library/fonts folder were corrupted. They were somehow being viewed as unix executable files instead of font suitcases. !??! No idea what happened there.
    I used Pacifist to reload fonts from my OSX installation disc, but this didn't seem to help. Instead, I found other copies of most of the corrupted fonts in the microsoft office/office/fonts folder, and replaced the corrupted fonts in my home library w/ those.
    I was alerted to the fact the the problem was fonts when I tried to open an Excel file; it came back with messages that these various fonts were corrupted and needed to be removed. Strangely, though the corrupted fonts were in my home directory font folder and not the MS Office font folder, Excel was tripping up - i.e., it wasn't using the fonts from the Office folder. Hmm.
    Finally, there are still a few fonts that are corrupted, and whose source is a mystery to me. They didn't come from the OS installation disc and they don't come from Office; consequently, I can't fix them. They are: Geneva CE, Geneva CY, GrCourier and N Helvitica Narrow.
    Does anyone know where these fonts come from?

  • How to print Header and footer in same page

    Hi All,
    I am using Oracle Report 10g. How can I add header and footer on same page as my body? Right now when a generate a pdf file, it is printing individual pages instead of 1 one page. Please help me.
    Regards

    HI
    First of all,
    Unless otherwise you selected some option like page break after/before - both body and header/footer will print on same page in report, so in pdf as well.
    If you have difference on report and PDF that you should look into your setup.
    If you want more help, please be particular on your issue
    james. wrote:
    Hi All,
    I am using Oracle Report 10g. How can I add header and footer on same page as my body? Right now when a generate a pdf file, it is printing individual pages instead of 1 one page. Please help me.
    Regards

  • How to Add Header and Footer in Flat file

    HI All,
    I am using ODI 11g.
    MY interface is populating data from joining to 2 tables through sql query and Loads in to Flat file.
    But i need to add Header and Footer in the Flat file.
    In the below 3 lines
    The 1st line is header ....2nd line is Data ....3rd line is Footer.
    Any ideas how to work on this.
    HSB9KT.KTPRTO.EBSDATA.D0000000 20120626020636
    CFFE00263 SOLGSR014991340000527894536058173880207SOLNE06242012072420120000009048382650000247MRS
    T00000000000000000000
    Thanks,
    Lony

    Hi Drieux,
    i am able to add Header and Footer in this.
    But i want the header like Its like HSB9KT.KTPRTO.EBSDATA.D0000000 || SYSDATE (YYYYMMDDHHMMSS)
    In my Out put i only see header as HSB9KT.KTPRTO.EBSDATA.D0000000 .
    I have added a Variable where i am using SELECT to_char(sysdate,'YYYYMMDDHHMMSS') FROM DUAL query.
    create header (HSB9KT.KTPRTO.EBSDATA.D0000000 #v_DATE)
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=FFT_SOLSNP$CRLOAD_FILE=/home/tarak/FFT_SOL.datSNP$CRFILE_FORMAT=FSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=descrSNP$CRTYPE_NAME=STRINGSNP$CRLINE_OFFSET=1SNP$CRLENGTH=994SNP$CRPRECISION=994SNP$CR$$SNPS_END_KEY*/
    Any idea why this sysdate part is not showing in Header.

Maybe you are looking for

  • Start Routine to look Up data in BI 7.0

    Hello friends, I have to write a start routine to get some data from a DSO.I have written the code and i know it use to work fine in BW 3.x but i get errors in BI 7.0.If someone can please adjust the format for me to work with BI. DATA: BEGIN OF ITAB

  • Document flow reference from ECC invoice to mySAP CRM complaint to be made

    Hi, I am using a BAPI program to create complaints in the mySAP CRM system; however the complaints have to be created with reference to invoices that are residing in the back end ECC system. Since the complaints are not being created using the GUI, I

  • Do DVD Studio Pro 2 templates work in 4?

    Hi, I own a version of DVD Studio Pro 2, but was wondering if I bought 4, would these old templates still show up and work in it?

  • How to install front row on mavericks ??

    I'm just updated my mac to maverick, and how can i install front row ??

  • Dreamweaver/ php recordsets

    Hello, I have a query which find featured products from the database. There are three in total. These products are then displayed in little boxes on the site, each with a different background colour. Usually, I would just repeat the region to show ea