How to change the input variable xml structure before invoking an ext. serv

Hi all;
I have a bpel. in my bpel i have an invoke activity which calls an external webservice. I call my bpel with the input below.
*<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">*
*<SOAP-ENV:Body>*
*<requestCustomerAccountBalance xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">*
*<header xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">*
*<application xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">CSI</application>*
*<operationDate xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">03/14/2011 14:51:37</operationDate>*
*<operationName xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">CSI</operationName>*
*<transactionId xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">3424342</transactionId>*
*<userId xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">tuba</userId>*
*</header>*
*<msisdn xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">5356474828</msisdn>*
*<applicationName xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">CSI</applicationName>*
*<channel xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">CSI</channel>*
*<clientTimeStamp xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">03/14/2011 14:51:37</clientTimeStamp>*
*<transactionId xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">3424342</transactionId>*
*<accountType xmlns="http://impl.ejb.service.almanak.baca.turkcelltech.com/">ACC</accountType>*
*</requestCustomerAccountBalance>*
*</SOAP-ENV:Body>*
*</SOAP-ENV:Envelope>*
Before invoking the ext. service i want to change the input as follows.
*<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="http://impl.ejb.service.almanak.baca.turkcelltech.com/">*
*<soapenv:Header/>*
*<soapenv:Body>*
*<impl:requestCustomerAccountBalance>*
*<!--Optional:-->*
*<header>*
*<!--Optional:-->*
*<application>?</application>*
*<!--Optional:-->*
*<operationDate>?</operationDate>*
*<!--Optional:-->*
*<operationName>?</operationName>*
*<!--Optional:-->*
*<transactionId>?</transactionId>*
*<!--Optional:-->*
*<userId>?</userId>*
*</header>*
*<!--Optional:-->*
*<msisdn>5356474828</msisdn>*
*<!--Optional:-->*
*<applicationName>CSI</applicationName>*
*<!--Optional:-->*
*<channel>CSI</channel>*
*<!--Optional:-->*
*<clientTimeStamp>20101010</clientTimeStamp>*
*<!--Optional:-->*
*<transactionId>676767</transactionId>*
*<!--Optional:-->*
*<accountType>ACC</accountType>*
*</impl:requestCustomerAccountBalance>*
*</soapenv:Body>*
*</soapenv:Envelope>*
HOW TO ACHIEVE THIS.???
Any comment would be appreciated.
Best Regards

You can go through the below thread for removing the namespce
Removing namespace from xml  created
http://beatechnologies.wordpress.com/2008/09/25/stripping-namespace-from-an-xml-using-xquery/
Edited by: 333333 on Mar 17, 2011 6:44 PM
Edited by: 333333 on Mar 17, 2011 6:45 PM

Similar Messages

  • How to change the input language ?

    Hello,
    I am writing an Add-on that needs to change the input language when the user
    clicks on the Item Code field ("5") in the "Item Master Data" form.
    I can perform the change when I am out side of the SAP application (for example if I create a Windows Form), however I cannot control the input language of the SAP itself through code.
    I even tried using Application.Sendkeys, however I was unable to send a combination of ALT+SHIFT, or at least it did not have any affect
    Here is the code on how to change the input language on a Windows Form:
    For Each Lng As system.Windows.Forms.InputLanguage In system.Windows.Forms.InputLanguage.InstalledInputLanguages
       sValue = Lng.Culture.DisplayName.ToUpper()
       If sValue.StartsWith("ENGLISH") Then
                        system.Windows.Forms.InputLanguage.CurrentInputLanguage = Lng
                        Exit For
        End If
    Next
    Any ideas ?

    I am not sure I understand the problem. Anyway in B1 you change the language by
    changing it from the Administration module. This raises a Application event that
    is sent to all the add-ons. The event is aet_LanguageChanged and you should
    then change the language handled by your add-on when you receive it.

  • How to change the input and output schema in BPEL process

    hi',
    Please tell me how to change the input and output schema in BPEL process after the process is made.
    thanks
    Yatan

    If your intention is just changing the content you are passing to bpel/returning from bpel
    Here is another way
    just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
    Regards,
    Praveen

  • How to change the text variables for a standard report-writer report ?

    I am trying to change the text variables for a report -writer report and transport the same so as to change the title page and the report output heading  .I know the Report-Group 6Z02 and the library 6O1 to which it belongs.I tried using the change transaction GR32 after going to the area menu through FGRP . I try to change the text variables through  but it throws an error "You chose a name in the reserved name range - try different name ".
    I have also tried copying this report into another report and changing the new report . I was able to change and save the text variables . Now when I try to overwrite the original report 6Z02-001 with this new report , it does not allow that.
    Let me know how I can change the text variables for the same

    Can anyone please suggest me what to do here ?

  • How to change the characterstic variable

    Hi Friends,
    I have to change the characterstic variable Variable Represents = u201CSelection Option to interval option.
    Can any body help me in this regard
    Thanks
    Kiran

    Unfortunately Rakesh is right. you cant change this property once the variable is created. You will need to create a new one.
    best regards,
    Jerome

  • How to change the outbound variable?

    Hi..
    we are trying to change the outbound variable tag <http:http-response-code>, we tried with replace activity it was not working as what we expected.
    By default we are getting the following value "<http:http-response-code>200</http:http-response-code>" we are trying to change it from "200" to some other value.
    Thanks.

    Hi..
    Thanks for ur reply..
    Replace node contents of ./ctx:transport/ctx:response/http:http-response-code in inbound variable with "202"
    we tried insert also Insert
    <http:http-response-code>202</http:http-response-code> as last child of ./ctx:transport/ctx:response in inbound variable.
    Its not working
    Thanks

  • How to change the name / IP address and domain name for BOE Server

    Hello,
    We want to change the name / IP address and domain name for BOE Server, please could you indicate the steps or procedure to follow?
    I need your help
    thank you

    If it's 3.1 just change them, shouldn't cause any issues if by domain name you are referring to changing the domain the computer belongs to. If you are changing your domain for AD authentication then you will may have to take quite a few steps if the old domain is going away. Let us know.
    Regards,
    Tim

  • How to change the input field's color in SE51

    Hi:
    I need to change the color of input fields in module pool.
    I tried to modify its screen-color but it did not work.
    Need your suggestion.
    Regards
    Shashi

    hi,
    Check this similar thread
    Regarding the input field color
    thanks

  • How to change the input method

    My own mother language is Chinese,I want to open the Chinese input(wubi) when editing in a textarea automatically.How to implement that?I think it can be done cause I saw a similar function on a Japanese software.
    thank u.

    up

  • How to change the image dynamically depend upon the input parameter

    Hi All
    I have one report running depend upon the Organization specific, I have 15 operating unit and 15 different logo for each operating unit.
    How to change the Logo dynamically depend upon the input passed by the user.
    If I have three or four logo i can add in my layout using if else statement and its works fine but i have more that 10 logos so its no possible to keep these in My RTF Template.
    Is it possible to change the logo according to the input without keeping this in Template.
    I have seen this link but its not working fine
    http://erpschools.com/articles/display-and-change-images-dynamically-in-xml-publisher
    Regards
    Srikkanth.M

    Hi,
    I have not completed fully,so sorry i cant able to share the files, could you please give me some tips and steps to do.
    Without having the logo in RTF if it possible to bring the logo depends on the user input (Ie Operating unit).
    Regards
    Srikkanth

  • How to change the default structure when exporting data in CSV format?

    Hello,
    can some one tell us how to change the default structure in CRM when exporting lists in CSV format (with Option "Always use unformatted list format (CSV) for download" ? Because we want to add a new structure for our own -is it possible ?
    If it is possible where can we find these structure ? In the blueprint customizing ?
    Thank you very much,
    Christian

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • How can we change the input field on a view stop showing zeros

    Hello,
           To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
    Edited by: sap_learner on Mar 25, 2010 5:44 PM
    Edited by: sap_learner on Mar 25, 2010 5:49 PM
    Edited by: sap_learner on Mar 25, 2010 5:55 PM

    hello Manas Dua,
                           Thanks for your help. I am able to resolve my problem.
    My code will help  the future comers to resolve this kind of issues.
    *The code is applied to method WDDOINIT of the default view.
      DATA lo_nd_terms_input    TYPE REF TO if_wd_context_node.
      DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
      DATA lv_zeros             TYPE wdy_attribute_format_prop.
      lv_zeros-null_as_blank = 'X'.
      lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
      lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
      lo_nd_terms_input_i->set_attribute_format_props(
        EXPORTING
          name              = `ENTER THE ATTRIBUTE NAME`
          format_properties = lv_zeros     ).
    Edited by: sap_learner on Mar 26, 2010 5:02 PM

  • How to change the Credential domain Value in XML gateway?

    How to change the Credential domain Value in XML gateway?
    configured the XML Gateway trading partner . It is generating the header as given below. but need to change the Credential domain to DUNS.
    <Header>
    <From>
    <Credential domain="olgridap1.lan">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>
    Desired XML header
    <Header>
    <From>
    <Credential domain="DUNS">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>

    You might want to check WLP 10.3 & deployment plan & log4j.xml for a similar topic.

  • How to change the HTML/XML test data to test my_abap_proxy in SE80?

    Hello,
    I am trying to test my_abap_proxy in SE80 by usng a HTML/XML file of my desk top, the test data is as below
      <LoadingDate>20110422</LoadingDate>
      <DocumentDate>20110422</DocumentDate>
      <SDDocumentCategory>G</SDDocumentCategory>
    so on.......
    Now, i want to change the Loading date in this test data, so, i tried after Loading file in Test Service Provider screen of my_abap_proxy of SE80, but i could not make change ANY data in this test data, pls. let me know how to change the data?
    Thank you

    Hello ABAP_SAP_ABAP ,
                                          Youneed to select the option "generate template data " and then on the displaying template there you will see the option for editing in the top left corner toolbar.
    Then after editing you can do a XMl syntax check and test your proxy.
    Hope this helps.
    Thanks,
    Greetson

  • How to change the output directory of .xml files

    Hi,
    There are lots of .xml files generated under
    $ORACLE_AS_HOME/j2ee/home/applications/xmlpserver/xmlpserver/xml.
    (ex:/usb/bipub3/oracle/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xml).
    I found these files are generated in the following operation;
    1.Log in BI Publisher.
    2.Select the Schedules tab.
    I think they are kind of temp files so we will be able to delete them.
    But I'd like to know how to change the output directory.
    Can we change the above directory to other path?
    Regards.

    Why? As that may invalidate support since you configure/alter the deployment.
    The location is specified in oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver.war, so you could go into the war file and alter it.

Maybe you are looking for