Not able to replace & special character in WCF service XML response

Hi,
I am trying to replace a string which is & with "&". In the XML response, I m getting &
I tried with "&" also, but still not working.
Any suggestions will be helpful. thanks
Regards,
Harish
Harish

See webpage below.  The & needs to be replace with U+0026.
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
jdweng

Similar Messages

  • Not able to handle Special Character in Bpel using UTF-8 Encoded XML

    I am using UTF-8 encoded xml for my application,but during conversion of XML from one source to other using simple BIOS java programme , i am not able to convert special characters like(Göblyös Tünde,Makaróni etc).All getting converted to (G�bly�s T�nde,Makar�ni etc).As a result data corruption occurred.Please let me know if any go across this issue.

    Hi,
    Possibly the data you receiving is not UTF-8... Have you check with the data provider?
    Try with other encoding... like ISO-8859-1 for example...
    oracle.soa.common.util.Base64Decoder.decode(zipname.getBytes("ISO-8859-1"));
    Cheers,
    Vlad

  • Not able to read Special  character in reciver side

    Hi experts,
    I am doing one file to file tuneeling where I am picking source file from legacy sytem and puting the same file into Sap system without any transformation or convertion. However facing one probem there is a text BOMPREÇO coming in the source file same text my sender adapter is picking I can view the same text in my MONI payload but when the same file is getting placed in SAP application server it is coming as BOMPRE?O. I have used  many encoding option including ISO-8859-2 and  others but no result when I am changing it to binary mode from text mode it is coming as BOMPRE#O same for UTF-8 and ascii encoding option.
    Please guide me in this regards
    Regards,
    Saurabh

    Hi Saurabh
    How do you put the file on the application server?
    Might help to have a look at:
    [How to Work with Character Encodings in Process Integration (NW7.0)|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42]
    Best regards,
    Chris

  • Adobe Javascript in PDF Form for replacing special character

    How to replace special character "/"  in to "\" in the text field of PDF Form by using Adobe Javascript.

    In PDF Form java script,  returns the file path with "/" forward slash, but need to get default in "\" backward slash in the file path.

  • Not able to generate AS2 MDN when receiving custom XML via AS2

    Hi friends,
    I have setup the trading partner and the corresponding TP certificate import for receiving the custom XML via AS2 channel.
    I am receiving the custom xml properly to oracle b2b and able to receive the same to bpel as well. however in the oracle b2b console under reports tab i am seeing only one record for inbound document receive and i am not seeing the other record for the AS2 MDN going back to vendor. I have setup the AS2 channel under the external trading partner --> Channel using the vendor AS2 URL and selected all the security parameters while creating the Outbound AS2 channel.
    1. Not able to generate AS2 MDN when receiving custom XML via AS2.
    2. eventhough i am able to decrypt the inbound custom XML and ablr to recieve it in bpel also for processing, in the reports tab the inbound message state is changing to MSG_ERROR and it has the folloing error message:
    Error Code
    B2B-50037
    Error Description
    Machine Info: (***********)  Description: B2B inbound message processing error
    Error Level
    ERROR_LEVEL_COLLABORATION
    for AS2 MDN generation for custom XML receiving using As2 protocol, do we need to setup anything other than the outbound As2 Channel using the external vendor AS2 URL?
    Can you please help me how can i generate the AS2 MDN for the inbound custom XML document i have received and also why the inbound message is failing even though i am receiving the custom XML properly to bpel?
    Thanks,
    Amirineni.

    Hi Prasanna,
    Vendor has enabled the ACK mode as SYNC.
    Below are the headers for the inbound message to B2B. and we are able to receive the input message to bpel also.
    Protocol Transport Binding
    ChannelName=******** AS2-To=****AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=****** Recipient-Address=https://******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=****** Content-Disposition=attachment; filename="smime.p7m" Host=****** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=****** Mime-Version=1.0
    Message Digest
    Message Digest
    Digest Algorithm
    sha1
    Transport Protocol
    HTTP
    Transport Protocol Version
    1.0
    Url
    http://******
    security
    Transport Headers
    ChannelName=****** AS2-To=******AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****AS2_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=***** Recipient-Address=*******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=******* Content-Disposition=attachment; filename="smime.p7m" Host=***** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=***** Mime-Version=1.0
    Thanks,
    Amirineni

  • I am not able to put in complected status in service desk

    Hello,
    I am not able to put in complected status in service desk message .
    can i know the reson ?
    Regards,
    Swaroop

    Hello Swaroop,
    may be it is not activated.
    Please confirm if you had used SLFN0001 profile while configurig service desk
    try doing this,it willl help:
    go to spro-SAP solution manager-advanced configuration-service desk-status profile-change status profile for user status-double click on SLFN0001-here all the status wil be there in german language just check this once and if possible send me the screenshot for this
    now go back and double click on SLFI0001-just have a look at this and send me a screenshot if possible
    Rohit

  • Portal Theme - not able to replace horizontal divider

    Hi All,
    I want to replace the blue colored bar under the TLN. But I am not able to do so.
    I tried changing it through Theme -> Horizontal Divider but it takes the blue color again. (Separator.gif)
    I am also trying to modify it thru com.sap.portal.navigation.toplevel.par but I am not getting where to change it. I am unable to find where exactly it refers to the bar.
    Please guide where should I change in the par file . Any pointers will be helpful.
    Regards
    Shilpa Bhanot

    Hi,
    one CRUDE method is, right click on the 'blue colored bar'  and click properties. By this method u can identify image name atleast if nothing else. In com.sap.portal.navigation.toplevel.par ; search for the image.
    Regards,
    Ganga

  • Not able to send euro character ' €' via socket

    OS : Solaris - The solaris login profile is set with LC_CTYPE, LC_CTYPE, LC_LANG=ISO-8859-15 and we are able to see this when we run the set command and also locale in solaris.
    JRE : 1.6
    Application deployed in Weblogic 10.3
    I m trying to send a euro character in java via socket, but in the receiving end not able to receive properly. Even I have to tried to set the Charset ( in the java code )
    as ISO-8859-15 , but still it didn't work properly. Code snippet for the sample program to display euro symbol
    import java.io.UnsupportedEncodingException;
    import java.nio.charset.Charset;
    public class Euro {
    public static String createString( byte[] bytes, String enc )
    String CResult = null;
    try {
    CResult = new String( bytes, enc );
    } catch (UnsupportedEncodingException e) {
    e.printStackTrace();
    return CResult;
    // ISO8859-15 is same as ISO8859-1 but with EUR character
    public static String createStringISO8859_15( byte[] bytes )
    String CResultISO = null;
    CResultISO = new String( bytes, Charset.forName("ISO-8859-15" ));
    return CResultISO;
    public static void main(String[] args) throws Exception {
    //String enc = "€";
    byte[] iso8859_15 = { (byte) 0xA4 }; // euro sign
    //byte[] iso8859_15 = "0xA4".getBytes(); // euro sign
    /*     String Cresult = Euro.createString (iso8859_15, enc);
    System.out.println("createString Result : " + Cresult);*/
    String CresultISO = Euro.createStringISO8859_15(iso8859_15);
    System.out.println("createStringISO8859_15 Result : " + CresultISO);
    When I 'm running the above code in windows it is working fine whereas in Solaris it is not working. The console just displays ?, rather than the actual '€' symbol. Is this a display problem in console of vt100 or porgramming? Kindly suggest. How to make this work in Solaris.

    Please repost or edit that mess with {noformat}{noformat} tags and proper indenting so it can actually be read.
    And then explain what sockets have to do with the price of fish.                                                                                                                                                                                                                                                                                                                                                                                   

  • Special Character Restrictions for Native XML Driver

    Hi,
    I have found the following special character restrictions in the documentation:
    "Because they are handled specially by the Native XML driver, do not use the following special characters to define element types and attributes in your XML schema:u201C.u201D, u201C/u201D, u201C\u201D, u201C:u201D u201C@u201D."
    After checking the createad XML-Files in our projects that we will use for CR4E there is often a  u201C.u201D in the definition. Because this is delivered from third-party, we wish that the  u201C.u201D  will be enabled.
    In the moment we create the XSD-Files from the XML-File with XML2XSD.
    It is possible in the future?
    Best Regards
    Arnold Meier

    The changes aren't in XI Release 2, but in 2008.
    Do you still have Nha's XML data?  I edited Document_Policy, Policy_AllCoverages, Policy_Beneficiary to Document.Policy, Policy.AllCoverages, Policy.Beneficiary, then use the following code in CR4E 2.0:
    reportClientDocument reportClientDocument;
    ConnectionInfo connectionInfo;
    PropertyBag propertyBag;
    * Connect to the Java Print Engine and create a new document.
    reportClientDocument = new ReportClientDocument();
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
    reportClientDocument.newDocument();
    * Define connection to the XML and XSD files.
    propertyBag = new PropertyBag();
    propertyBag.put("Local XML File", "C:\\Documents and Settings\\tueda\\Desktop\\nha.xml");
    propertyBag.put("Local Schema File", "C:\\Documents and Settings\\tueda\\Desktop\\nha.xsd");
    propertyBag.put("Convert Multivalue to Table", Boolean.FALSE);
    propertyBag.put("Database DLL", "crdb_xml.dll");
    connectionInfo = new ConnectionInfo();
    connectionInfo.setAttributes(propertyBag);
    * Specify the dataset in the XML as a Table, and add to the report.
    Table table = new Table();
    table.setConnectionInfo(connectionInfo);
    table.setName("Document.Policy/Policy.Beneficiary");
    table.setAlias("Document_Policy/Policy_Beneficiary");
    reportClientDocument.getDatabaseController().addTable(table, null);
    * Save report to file C:\local_xml.rpt
    reportClientDocument.saveAs("nha_local_xml.rpt", "C:\\", ReportSaveAsOptions._overwriteExisting);
    reportClientDocument.close();
    Sincerely,
    Ted Ueda

  • Not Able to Connect to the Hyperion shared Services or any other components

    Hi All,
    I am not able to login to Any of the Hyperion components, It was working fine until today afternoon. But now I get the following error
    EPMCSS-00387: Failed to authenticate user from user directory MSAD. Invalid password. EPMCSS-07047:Failed to get connection pool from user directory MSAD. Error executing query. Verify User Directory Configuration.
    I am able to login using the Native directory user, but It does not have admin rights.
    Any help in this regard will be greatly appreciated.

    This forum is about Oracle Database, not about Hyperion.
    You have posted in the wrong forum.
    Click on 'Discussion Forums', in the upper right click search, type 'Hyperion' and decide which forum you need to have, either Hyperion DRM or Essbase.
    Sybrand Bakker
    Senior Oracle DBA

  • Planning Appl not able to register and unregister with shared services

    Hi All,
    I created a planning application before that I created a datasource. After crearting an application I got an error as Application  not able to register with shared services .
    And also I am facing one more issue that is if I delete any particular planning application at that time I got an error as Application  not able to unregister with shared services.
    I am able to open the planning application through http://<planningmachine>:8300/HyperionPlanning/AppWizard.jsp and its working fine. I am able to open the Shared Services though Workspace but I am not able to find the option for planning application.
    Kindly guide me how to overcome it.
    Thanks and Regards
    ChiDam

    Have you checked the logs? Found something?
    This normally happens when there is issue with Planning app and cluster mapping. For some reason, the application maps to non-existent cluster in Planning system schema resulting in failure of HSS registration. you can manually re associate the cluster using configuration tool and try registering again.
    Cheers..!!

  • CRM WEBic - not able to find letter created for a service order

    Hi Friends
                       while creating a service order in web ic, trying to attach a letter using letters link from navigation areas of web ic,  able to select a draft(word document) already provided and able to save the changes(document is saved from web ic and not from ms word) and also able to see the letter attached to  my service order in business context area of service order, but when i close the session and re-logn, i am not able to see the letter created in previous session.  If i attach a file from pc, it is saved to the service order.
             No enhancement is done on letter section of web is and its crm5.0
    I will try to find any OSS note for this and update here once i find something.
    Many thanks
    Rama

    Hi
         letter creation is working properly after system restarted(due to memory leak) but the problem is  in Business context area, DATE and TIME fileds are 00:00:00:00.....,
    any inputs highly apprecaited.
    OSS not is notpplied so far.... and looking into this as well.
    Cheers
    Gopi

  • I am not able to login afer making obiee Admin service as windows service

    Hi all,
    I recentry intalled obiee1g. All is working fine. However, I followed
    http://gerardnico.com/wiki/dat/obiee/windows_service_11g
    to obiee11g Admin service as windows service. I made it successfully. I am able to start this service via windows service. Now I m not able to on any obiee11g tool. Can you please help me?
    Thank you
    Raja

    Hi all,
    I recentry intalled obiee1g. All is working fine. However, I followed
    http://gerardnico.com/wiki/dat/obiee/windows_service_11g
    to obiee11g Admin service as windows service. I made it successfully. I am able to start this service via windows service. Now I m not able to on any obiee11g tool. Can you please help me?
    Thank you
    Raja

  • Not able to see iby_fd_extract_ext_pub custom tags of in XML data

    Hi Experts,
    I have customized the iby_fd_extract_ext_pub package to add the custom tags in the payment format xml data.Package status is valid but I am not able to see any of the custom element in the XML Data.
    Please share your experience if you faced similar issue.
    Regards,
    Brajesh

    1. Do not prefix it just put your code in and compile - unless you want to call XX_IBY_FD_EXTRACT_EXT_PUB from IBY_FD_EXTRACT_EXT_PUB to have minimal impact to IBY_FD_EXTRACT_EXT_PUB.
    2. You won't be able to put in an additional parameter, you'll need to derive the Payment Process Profile from SQL by linking from payment document to payment process to payment process profile; or just get the org from, say, the first invoice in the batch - as long as you always group by organization this will be fine.
    3. Yes, it is probably that a patch will overwrite your customization - make sure you test it after each IBY patch - use applcust.txt and make sure your DBA's check adpatch logs for the file being overwritten!
    Regards,
    Gareth
    http://garethroberts.blogspot.com
    http://www.virtuate.com

  • Replace special character in links.

    Hi everyone,
    I am trying to create an application for WP which is basically an RSS Reader of multiple feeds.
    My RSS Feed contain links, specifically image links, which sometimes contain special characters. For example, the character [ë] on my RSS Feed code is shown as [&#xeb;], thus making
    it impossible for my app to fetch those images, even though they are displayed correctly on browser.
    I thought a way to fixing that would be modifying html2xaml.cs to convert [&#xeb;] to [ë], but do not have any idea on how to really implement that.
    Any suggestion would be greatly appreciated!

    Update:
    I have figured out HtmlAgilityPack should have taken care of my problem, but it is not doing its job, I think a manual string replacement is what needs to be done, and I will try it and get back here with the results.
    I was hoping for a better community here but anyway I'm going to post updates and the solution to this problem if I ever do find it that is, and I`m sure I will.
    This must be a simple task for anyone experienced with Windows app development, but I do not really know why the hell do you people have to remain silent. I was told there would be people that would help me, never have I been so wrong.
    Cheers for this amusing community that we've got here !

Maybe you are looking for

  • AR Credit memo

    One of my customers, would like to print the AR Credit memo in the form of a journal. They would like the GL Accounts and Posting amt to show up, just like a journal entry of the credit memo would show otherwise. How to achieve this on the credit mem

  • RUNING STANDARD REPORT ON DEVELOPER

    we are using solaris operating system on our server machine, while we are running windows on our client site, we want to run standard report of Oracle Fixed Assets (Cost Sumary Report). we had tried to comment that parameters it gives error of REP-14

  • Is there a maximum size for a library to sync with apple tv?

    Trying to sync my library (from a pc with windows7) with apple TV. The sync starts and after a minute or so it stops everytime. The sn´ync with my macbook air is just fine. Is it ossible that die size of the library is an problem?

  • How do I pinpoint the program execution?

    Hi all, I am wondering how to pinpoint the program's execution point?  I have a problem with all of the loops not stopping properly.  I hit the "Hilight Program execution" and it went to one loop, that is, it appeared greyed out, but I can't figure o

  • Prelude to Premiere: Scale to Frame option

    I have ingested/organized Red 4k files in Prelude and have sent the files over to premeire "sucessfully". The problem comes when I pull a 4k file into a red timeline; (1080p). Even though my premiere's "scale to frame size" option by default is ON, t