Removing XML definition & XML tage from the XML message....

Dear All,
We are using PI 7.1 and implementing a scenario in which we need to send a signed payment message to our partner, our implemented scenario goes as follows:
1) We are using SOAP without header to send the message.
2) We are signing the payload using our own java code as UDF in graphical mapping.
3) the main issue that we have is that in the final XML message which is being sent to our partnet, XMl definition and the topmode XML tage are again added to the signed message. Please see the following for reference:
Source Message:
We are using only I node in the graphical mapping and one UDF to sign in between the source and the target node. So after signingwe get the following in the target node:
Signed Message
0u201A#u0152# *u2020Hu2020÷ ### u201A#}0u201A#y###1#0 ##+######0u201A#h# *u2020Hu2020÷ ### u201A#Y#u201A#U
u201A#ý0u201A#¸0u201A#  ######5gu0152yu2022ݬ½´b#¿#u2019 u01780 # *u2020Hu2020÷ #####0�Ý1#0 ##U####US1#0###U# ##VeriSign, Inc.1#0###U####VeriSign Trust Network1;09##U### BLAH BLAH BLAH SOME VERISGIN CERTIFICATE SIGNING INFORMATION
but the final message that get through the SOAP and reaches our partner look liks the following:
, as all this is appearing twice in our final message.
I'll appriciate if anyone can help us finding a solution for that, as we tried to remove it in our java class at the adapter level in the module tab, but that produces java error.
Regards,

Vijaya, we already have solved this problem by creating an EJB and adding it to SOAP Adapter processing modules, so rather signing our payload in the UDF in graphical mapping we are now signing the payload in the SOAP adapter module and removing any unwarranted characters etc over there as well. We cannot send SOAP with header in our scenario as it is adding hell lot of extra bites that our partner system cannot understand, so we have adapted the EJB way of solving it. Thanks anyways for your suggestion.
Athar Ullah Khan

Similar Messages

  • How to remove the header tag in the XML data ?

    Hi All,
    I am sending an XML data from SFTP to Proxy, in that I want to remove the header tag (first tag) from the xml, while loading the data. how to do that ?

    Hi,
          It is not about the thing that, whether your source is XML or flat file. If you dont want some thing in your source file , dont consider it and dont map it with your target structure. think that, your not getting the header in your source.  What is the header here.
    <Emp_details>
    <Emp_Id> Employee No </Emp_Id>
    <Emp_Name> Employee Name </Emp_Name>
    </Emp_details>
    <Emp_details>
    <Emp_Id> 1234 </Emp_Id>
    <Emp_Name> xxxx </Emp_Name>
    </Emp_details>
    <Emp_details>
    <Emp_Id> 5678 </Emp_Id>
    <Emp_Name> yyy </Emp_Name>
    </Emp_details>
    you have two fields under node Emp_details. What do u want to avoid here?
    Regards,
    Reyaz

  • Is there a way to remove the index from the XML output?

    Hi,
    It is easy to remove the index from the WebHelp output.
    We also want to remove it from the XML output.
    How do I do that?
    Thanks,
    Rakefet

    @Jeff: In the Single Source Layouts recipe box is a layout for XML. Although, I'm really not sure why folks would use it, other than to possibly export the project data to another system of some sort.
    @Rakefet: One thought is to try creating a new blank Index. Then choose the empty Index when you use XML Output.
    Cheers... Rick

  • Puttin the name of the file in one tag of the xml message

    Hi all,
    does anybody kowns how to put the name of the file in one tag of the xml message in the adapter, without using a java mapping to get the file name.
    Thanks.

    H Antonio,
    You can  use ASMA( Adapter Specific Message Attributes) for acccessing the file name, along with Dynamic Configuration. You can follow the following blog for that. If you do not want to use the same file name for the reciever, dont select the File Name check box.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Thanks and Regards,
    Sanjeev.

  • How to quick import Tags from a xml file?

    Good morning/afternoon/night everyone.
       I have this client that want me to import something like 1000 tags from a xml file in CQ5.5. I know I can do it programatically and in dev.day.com I have already found some instructions, but, there is some easier way to do this? Or, if the only way is developing a bundle to run in a workflow (and then the client can import tags from xml files anytime he want to), do you guys have some advice or guidelines?
    Thanks!

    I would expect it should be possible using vault. If you export an existing namespace from cq using vault (checkout/update) you can see what format it should be in. Then you should convert your xml to match that format (perhaps using XSLT) and use vault in the other direction (commit).
    We are using vault all the time behind the scenes using a vault plugin for maven. This way we can export content from one developer's cq instance, put it in SVN and have another developer import it in his cq instance, all using maven (and vault). This is especially usefull for general content structures and for tags.

  • Pulling particular attributes from the XML Object

    Hi !
    My requirement is onChange of a value from the first drop down, particular values needs to load in the second drop down. Values that needs to pull are designed in XML Object as Map entries Key,Pair Values.
    We can pull the first drop down values from the XML Object using Rule library and find the following code snippet ;
    <block>
    <set name='appData'>
    <invoke name='getExtension'>
    <invoke name='getObject'>
    <ref>ctx</ref>
    <invoke name='findType' class='com.waveset.object.Type'>
    <s>Configuration</s>
    </invoke>
    <s>Config_SDD_ReferenceData</s>
    </invoke>
    </invoke>
    </set>
    <ref>appData</ref>
    </block>
    Here, Config_SDD_ReferenceData.xml is the file where the map entries are written and the ref name is appData. Later in BPE the code "appData.units" are referred in ValueMap property.
    But we are stuggling to populate the second drop down values based on the valu selected in the first drop down.
    Please find the XML Object also;
    <Attribute name='units'>
    <Map>
    <MapEntry key='1' value='units1'/>
    <MapEntry key='2' value='units2'/>
    <MapEntry key='3' value='units3'/>
    </Map>
    </Attribute>
    Thanks in advance.

    u could use removeChild() method of the node interface....get the parent node named 'xxxxxx' from the DOM and perform a removeChild operation on it specifying the senderID, receiverID and dateTimeStamp Nodes as arguments to the method....
    Hope this helps
    VP

  • How to query from the xml table a single, specified element.

    I'm quite new in Xml Db. Pleas, can anybody tell me how to query from the xml table below a single element (i.e. the element 'rapportoparentela = NIPOTE' related to the element 'codicefiscale = CRRVNC76R52G337R', or the element 'rapportoparentela = FIGLIO' related to the element 'codicefiscale = CRRRNT51L23G337Q')?
    - <dati xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <codiceinterno />
    <codicefiscaleassistito>CRRMNL81R31G337H</codicefiscaleassistito>
    - <famigliare>
    <codicefiscale>CRRVNC76R52G337R</codicefiscale>
    <rapportoparentela>NIPOTE</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CRRRNT51L23G337Q</codicefiscale>
    <rapportoparentela>FIGLIO</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CBRPRN15S65E080W</codicefiscale>
    <rapportoparentela>I.S.</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CRRMNL81R31G337H</codicefiscale>
    <rapportoparentela>NIPOTE</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>BCCCML54C50I845G</codicefiscale>
    <rapportoparentela>NUORA</rapportoparentela>
    </famigliare>
    </dati>
    Using SELECT extractValue(value(t),'/rapportoparentela') into result FROM NF_XMLT X,
    TABLE ( xmlsequence (extract(value(X),'/dati/famigliare/rapportoparentela'))) t
    I get all the elements 'rapportoparentela' and I want to get only one specified.
    Regards.
    Piero

    Piero,
    you can add the condition "CRRVNC76R52G337R" to your xpath-expression like:
    SELECT extractValue(value(t),'/rapportoparentela')
    FROM NF_XMLT x
    ,TABLE ( xmlsequence (extract(value(X),'/dati/famigliare[rapportoparentela="CRRVNC76R52G337R"]'))) tto select only those famigliare-elements that have a child-element rapportoparentela with value "CRRVNC76R52G337R".
    When you stored your XML in an XMLType column in the table, i think the following queries are better:
    SELECT extractValue(x.your_XMLType_column,'/dati/famigliare/rapportoparentela')
    FROM NF_XMLT x
    WHERE extractValue(x.your_XMLType_column,'/dati/famigliare/codicefiscale')
    = 'CRRVNC76R52G337R'or
    SELECT extractValue(x.your_XMLType_column,'/dati/famigliare/rapportoparentela')
    FROM NF_XMLT x
    WHERE existsNode(x.your_XMLType_column,'/dati/famigliare[codicefiscale="CRRVNC76R52G337R"]')
    != 0

  • Any way to find lost data from the xml file?

    Is there any way I can retrieve lost metadata from my mp3’s? I have had 9 months worth deleted, the mps’s are still there but I’ve lost playlists and date added info etc. from the xml file. There are old restores from 9 months ago and now, (the iTunes librarys stored in history are from 9 months ago) the library I currently have has 5 songs ive added this week, and everything from over 9 months ago.
    thanks,
    guy

    I have experienced the EXACT same problem...  can't find a solution but am searching madly.  Please post what you discover, if anything.

  • Error consuming Web service - content type text/xml;charset=utf-8 of the response message does not match the content type of the binding

    Hi all,
    We are trying to interact with Documentum server through DFS exposed WCF which communicates through port 9443 and we are provided with documentum issued Public Key certificates. We have successfully imported the certificates in client machine and configured
    the bindings as below in our .Net web application config file.
    <system.serviceModel>
    <bindings>
    <wsHttpBinding>       
    <binding
    name="ObjectServicePortBinding1">
    <security
    mode="Transport">
    <transport
    clientCredentialType="None"
    proxyCredentialType="None"
    realm=""
    />
    <message
    clientCredentialType="Certificate"
    algorithmSuite="Default"
    />
    </security>
    </binding>
    <binding
    name="QueryServicePortBinding">
    <security
    mode="Transport">
    <transport
    clientCredentialType="None"
    proxyCredentialType="None"
    realm=""
    />
    <message
    clientCredentialType="Certificate"
    algorithmSuite="Default"
    />
    </security>
    </binding>
    </wsHttpBinding>
    </bindings>
    Also, we set the message encoding as MTOM and the wcf client object initialization code snippet is as below,
    ObjectServicePortClient
    serviceClient = new
    ObjectServicePortClient(new
    WSHttpBinding("ObjectServicePortBinding1"),
    new
    EndpointAddress(UriUtil.ObjectServiceUri));
    if (serviceClient.Endpoint.Binding
    is
    WSHttpBinding)
       WSHttpBinding
    wsBinding = serviceClient.Endpoint.Binding as
    WSHttpBinding;
    wsBinding.MessageEncoding =
    "MTOM".Equals(transferMode) ?
    WSMessageEncoding.Mtom :
    WSMessageEncoding.Text;
    serviceClient.Endpoint.Behaviors.Add(new
    ServiceContextBehavior(Config.RepositoryName,
    Config.DocumentumUserName,
    Config.DocumentumPassword));
    When we execute the above code, we are getting error message as below,
    Exception: The content type text/xml;charset=utf-8 of the response message does not match the content type of the binding (multipart/related; type="application/xop+xml"). If using a custom encoder, be sure that the IsContentTypeSupported
    method is implemented properly. The first 407 bytes of the response were: '<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:VersionMismatch</faultcode><faultstring>Couldn't
    create SOAP message. Expecting Envelope in namespace http://schemas.xmlsoap.org/soap/envelope/, but got http://www.w3.org/2003/05/soap-envelope </faultstring></S:Fault></S:Body></S:Envelope>'
    Then, we changed the bindings as below
    <system.serviceModel>
    <bindings>
    <wsHttpBinding>       
    <binding
    name="ObjectServicePortBinding1">
    <security
    mode="Transport">
    <transport
    clientCredentialType="Certificate"
    proxyCredentialType="None"
    realm=""
    />
    <message
    clientCredentialType="Certificate"
    algorithmSuite="Default"
    />
    </security>
    </binding>
    <binding
    name="QueryServicePortBinding">
    <security
    mode="Transport">
    <transport
    clientCredentialType="
    Certificate"
    proxyCredentialType="None"
    realm=""
    />
    <message
    clientCredentialType="Certificate"
    algorithmSuite="Default"
    />
    </security>
    </binding>
    </wsHttpBinding>
    </bindings>
    We are getting another error message,
    Exception: The client certificate is not provided. Specify a client certificate in ClientCredentials.
    Any pointers on resolving this issue would be highly helpful.
    Thanks

    Hi Dhanasegaran,
      As per your case, the corresponding details which may guide you to resolve this issue:
    1. First of all, you can try to call the wcf service directly from the browser & check where it will point out the correct location.
    2. In config file ,Set IncludeExceptionDetailInFaults to true to enable exception information to flow to clients for debugging purposes .
    Set this to true only during development to troubleshoot a service like below :
    <serviceBehaviors>
      <behavior name="metadataAndDebugEnabled">
        <serviceDebug
          includeExceptionDetailInFaults="true"   
    />
        <serviceMetadata
          httpGetEnabled="true"
          httpGetUrl=""   
    />
      </behavior>
    </serviceBehaviors>
    3. I suggest you to change that <security mode ="TransportWithMessageCredential"> instead of <security mode ="Transport">
     for more information, refer the following link :
    https://msdn.microsoft.com/en-us/library/aa354508(v=vs.110).aspx

  • [svn:fx-trunk] 5119: Clean up some ASDoc tags from the addition of the @ productversion/@playerversion tags

    Revision: 5119
    Author: [email protected]
    Date: 2009-03-01 07:19:39 -0800 (Sun, 01 Mar 2009)
    Log Message:
    Clean up some ASDoc tags from the addition of the @productversion/@playerversion tags
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItem Renderer.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/NCManager.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoPlayer.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ContainerRawChildrenList.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface .as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IInteractiveObjectInterface.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISpriteInterface.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstanc e.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInst ance.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/Base64Encoder.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/StringValidator.as
    flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as
    flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/HaloBorder.as
    flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/HaloRectBorder.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/Schema.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/HexEncoder.as

    I am not sure what's happening with IE9 (no live site) but I had real problems viewing your code in Live View - until I removed the HTML comment marked below. Basically your site was viewable in Design View but as soon a I hit Live view, it disappeared - much like IE9. See if removing the comment solves your issue.
    <style type="text/css">
    <!-- /*Remove this */
    body {
        margin: 0;
        padding: 0;
        color: #000;
        background:url(Images/websitebackgroundhomee.jpg) repeat scroll 0 0;
        font-family: David;
        font-size: 15px;
        height:100%;

  • How do I set BI Publisher to read html tags from the database?

    How do I set BI Publisher (Release 10.1.3.4) to read html tags from the database? For example if the text is quoted with a bold tag I want my output to display the text in bold. Is there a setting or something I can set?

    I took a look at Tim Dexter's blog as suggested and the sample worked, but for the elements in the xml file not for the value coming from the database, however this is good to know as well!
    I have data in the data base column which looks like this:
    'MS Applied <B(bold tag)> Mathematics</B(bold tag)>University of Southern California'
    I want the data to be rendered like this:
    'MS Applied <B>Mathematics</B> University of Southern California'.
    In Report Builder on the property sheet I would set Contains HTML Tags property to Yes and the report would render correctly.
    In BI Publisher 10.1.3.4 I can not seem set it to read this I have change the configure properties of the report to Character set to HTML and Make HTML output accessible to True. I just can't figure out what I'm missing.
    Thank you for any assistance you can offer.

  • Remove an oracle home entry from the central repository

    Does anyone know how to remove an oracle home entry from the central repository (inventory.xml file), after the oracle home in question has been deleted. It is left behind and I want to clean it up.
    thanks

    I went to the link you have posted and it did not help me.
    I cannot get rid of my Oracle Home directory. When I attempt to delete this folder, I
    get an error message:
    oci.dll ...is write protected or in use..
    So I deleted this oci.dll file. Then I rebooted and tried to delete the OraHome directory (folder)
    again, and I get the SAME error!!
    Thanks for any advice.

  • I updated iTunes from the update message and now my Windows computer (at work- I use Mac at home) keeps sending me error messages about MobileMe and iTunes. It indicates a .dll error but I can't find any such file. I tried removing the entire ITunes app.

    I downloaded an update to my iTunes app on my work Windows computer and now I am constantly getting error messages about MobileMe, when I download a webpage and marked slowness of my Outlook application. I tried removing iTunes and reloading directly from the Apple site, but no change. One of my peers is having the same issue and messages.
    Any suggestions?

    See note 2 in Troubleshooting issues with iTunes for Windows updates for starters...
    tt2

  • How can i remove the phone number from the text messages that i receive in the notification center

    how can i remove the phone number from the text messages that i receive in the notification center?

    You choose whether to see text messages in Notification Center or not.  If you elect to see them, they will display the phone number (unless they are from a contact in your contacts list).
    You can choose not to see them at Settings > Notification Center > Messages.

  • HT204266 How can I remove my credit card information from the app store?

    How can I remove my credit card information from the app store?  I would like to have an account without the credit card information.
    I would like to put in my credit card only when I am ready to purchase. 

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918
    If you don't get the 'none' option on the payment details screen then do you owe iTunes anything or have any pre-orders/subscriptions due : http://support.apple.com/kb/TS5366 ?

Maybe you are looking for

  • Search for doc's on WIN7 Drive not working

    Hello, I am wondering if any of you know a work around for this. I cant seem to understand why the search for the names of documents does not look in the windows bootcam drive correctly. For example I open the HDD for windows 7 and say I search for a

  • How do you get your ringtone that you bought on your iPad to your Iphone

    I bought several ringtones on my iPad because its a lot faster and I thought it would automatically sync to my iPhone like all my songs. But now I can't find the ringtones anywhere except my iPad sounds. It's not in my purchases or in my iCloud. Idk

  • Change Segment (New GL)

    Is it possible to change the segment assigned to a profit center in New GL PCA? If yes, how can this be done? Please advise, Thanks, Pallavi

  • Split 1 input structure into N output structures how can be implemented?

    Hi friends, The question is how you can implement a split of a message to others(N)  according to mesage elements (of the first) ? Thank you in advance? Antonis

  • Problem using File or URL ....

    i completly formatted my computer , before i did the format for instance whenever i instantiate a File f = new File("testInput.txt");that worked and i could do ouputstream or what ever but now i have to put the complete path .e.g File f = new File("c