Setting doctype reference in out going message

Hi
I have to publish an xml message that must include the system doctype reference because the target system uses DTD's to validate incoming messages. I have managed to do this by bodging it and using an xquery replacement that populates the contents of $body with a string which happens to start with <!DOCTYPE.......... (it has no opening xml declaration as I could not get this to work, but this seems to be OK for the target) I publish the results to MQ and the target system is consuming them. But after this step (and it must be after) I want to audit the proxy service by doing another replace on the contents of $body and publishing to a generic auditing proxy service. However OSB simply refuses to replace the contents of $body. The xquery I use is not failing it is just not replacing the contents. I have used every combination of serialize and inlinedXML to no avail - they generally make it worse. Even if I just attempt a simple replace of the contents of $body with <test>HelloWorld</test> it does not work - it does not fail it simply publishes the previous contents of $body. When I log the contents of $body after the first replace I can see that the entire content of $body has been wrapped in a CDATA tag - whic perhaps makes sense as it is escaping all the tags.
Ideally I'd like to do the job properly and set the doctype parameter using the serialize function in the first replace and publish a "proper" xml message to the target, but the OSB function does not seem to support the standard parameters. Hoping to get a barrage of "oh yes it does" but if not can any body add any advice on how I take my string and replace it. (Iam not even using the content of $body as a source for any data - I want to replace the entire content of $body with a totally new fomat sourced from previously assigned variables).
Pete H

do the conversion of xml to doctype in the scope of 1st publish,so that main body variable will not change.

Similar Messages

  • Re: How to have an out going message for voicemail

    Hi there, I have a Surface 8.1 RT tablet and I am trying to set up VM. The instructions say to go to the Menu Bar, but I do not have one (or don't know where it is) in my version of Skype 3.1.0.1005. I have swiped in and up and looked through everything to no avail. Help!

    Hi, Steveadler76, and welcome to the Community,
    How right you are.  This is the best I could find as far as updated FAQ instructions:
    https://support.skype.com/en/faq/FA10848/how-do-i-use-voice-messaging-and-call-forwarding-on-skype-o...
    https://support.skype.com/en/faq/FA10473/setting-up-and-listening-to-voice-messaging-windows-desktop...
    https://support.skype.com/en/faq/FA10791/setting-up-voice-messaging-mac
    Thank you for raising this!
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • How to set up Mail - hotmail - out going mail server?

    Hi,
    I need a help in that particular case, I cant set up Mail on Mac OS X 10.5.8, Outgoing Mail Server - what should I wrote down there?
    I cant sort that out.
    Please help
    Thanks Kate

    See if this helps...
    http://matthill.eu/tutorials/outlook-hotmail-imap-setup-osx-mail/

  • Pictures in out going messaes

    In mail I now have a small picture in the uppeer right hand corner of all out going messages. I can't remember what I did to get that picture or how to change it to a business logo. Please advise
    Roger

    Hello Roger.
    You add a user picture via System Preferences/Users under the Picture tab for your login account and this can also be done with your contact information in the Address Book.
    Adding a user picture via System Preferences/Users is an easy process but removing it from there isn't as easy.
    To remove the existing, go to your contact information in the Address Book. Select Edit to edit your contact information. Select the "Me" picture area to highlight it and then the Delete key.
    The user picture or logo selected is not sent with your messages. In order to do so requires storing the picture or icon on the .Mac server (if you have a .Mac account) and even then, it would only appear if the recipient is a Mail.app user.

  • System failure during locking GL account 5555 by 13113910 Message no. 8I076  and the time of saving out going excise invoice.

    Hi SAP Gurus,
    We are configuring the CIN Settings for our client and at the time of testing, while saving the Out going excise invoice the system is giving the error as “Balance in Transaction Error” and when pressed enter the system displays the error as “ system failure during locking GL account 5555 by 13113910.”
    We have configured Out going excise duty condition types  in the SD pricing procedure
    and
    also maintained the same condition types  as mentioned below  in the path IMG / LOGISTICS GENERAL  / TAX ON GOODS MOVEMENT  /  INDIA / BASIC SETTINGS/ DETERMINATION OF EXCISE DUTY / MAINTAIN EXCISE DEFAULTS
    under the headings
    AR BED Cond – JEXP
    AR Cess Cond – JECS
    ECS AR – JHEC
    And also maintained the settings in the Path IMG / LOGISTICS GENERAL  / TAX ON GOODS MOVEMENT  / INDIA  / SPECIFY  EXCISE ACCOUNTS PER  EXCISE  TRANSACTION and also in SPECIFY G/L ACCOUNTS  PER EXCISE TRANSACTION .
    But still the above mentioned error is comming.
    Note : error in not coming when I am removing the  JHEC condition type  from the path IMG / LOGISTICS GENERAL  / TAX ON GOODS MOVEMENT  / INDIA / BASIC SETTINGS/ DETERMINATION OF EXCISE DUTY / under the heading ECR AR, But we need the JHEC(ie. Higher education cess) also in out going excise invoice.
    Please let me know what is the issue and how to resolve it.
    Thanks & Regards
    Shashi

    Dear We faced the same issue and  almost for 20 days to  get it resolved.
    For this kind of error firstly Check have you activated the Liable for AT1 indicator in(IMG>>Log.General>>Tax on goods Movement>>India>>Basic Settings>>Maintain Excise registrations)
    Also Have you assigned Proper GL account in (IMG>>Log.General>>Tax on Good Movement>>>India>>>Account Determination>>Account determination per Excise transaction type.
    Here pl check the relevant GL has been assigned for
    1.RG23A BED(for Both incoming and outgoing excise invoice  updations against your ETT)
    2 RG23C BED, (for Both incoming and outgoing excise invoice updations against your ETT)
    3 .OFF SET,(for Both incoming and outgoing excise invoice  updations against your ETT)
    4 MODVAT.CLEARING, (for Both incoming and outgoing excise invoice updations against your ETT)
    5 PLA BED& AED & SED,(for Both incoming and outgoing excise invoice updations against your ETT at the time of utilizations)
    6 PLA CESS(for Both incoming and outgoing excise invoice updations against your ETT at the time of utilizations)
    7 CENVAT ON HOLD(for Both incoming and outgoing excise invoice updations against your ETT at the time of utilizations)
    8.CENVAT SUSPENSE(for Both incoming and outgoing excise invoice updations against your ETT at the time of invoice posting)
    9.PLA ON HOLD((for Both incoming and outgoing excise invoice updations against your ETT at the time of TR6c)
    10. CENVAT REVERSAL(For cancellations vs ETT)
    11. RG23A ECS(for Both incoming and outgoing excise invoice  updations against your ETT)
    12. RG23C ECS(for Both incoming and outgoing excise invoice  updations against your ETT)
    13. PLA ECS(for Both incoming and outgoing excise invoice  updations against your ETT )
    14. RG23A AT1(check this more carefully)
    15. RG23C AT1(check this more carefully)
    16. PLA AT1(check this more carefully)
    Hope this helps you...
    Phanikumar

  • Out going mail setting

    I'm having problems with out going email setting. Are the settings different for each email account? I've an Ipad2 with 3G connection and WiFi. Do I also need to change the out going email settings when using a different onnecting mode?

    Absolutely. Can you receive incoming emails on each account? Can you send emails fom all accounts except one in specific? Check the Wesite of the problem ccount of the outgoing settings. Eg., google outgoing settings with the name of your ISP.

  • I set up my daughter ipad mini. Now she cannot send out text messages.

    I set up my daughter's ipad mini. Now she can't send out text messages.

    1. Messages on the iPad can only be sent to other iDevices
    2. They must also be registered with iMessage
    Note: The two above conditions must be met.

  • How do i set up and automatic out of the office message while I am away on vacation?

    How do I set up an automatic out of the office reply while I'm on vacation?

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access web mail, you need to seek support from your service provider or a forum for that service.
    If your problem is with Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/]
    or this one
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • Setting Attachment limits for incoming & outgoing messages

    In the Netscape console for the Iplanet Messaging Server 5.1 there is an option
    under HTTP for maximum size limit for outgoing attachments. I would like to set a
    size limit for all incoming and outgoing messages to 4096 KB (4 MB). These would
    include connecting IMAP & POP3 clients as well. I found documentation in the
    Reference Manual under Absolute Message Size Limits (blocklimit, noblocklimit,
    linelimit, nolinelimit, sourceblocklimit). However, I am unsure if this is the right
    information I am looking for and if it is how to go about setting it. Can anyone
    help??

    that is the correct way to set the limits. You can control weather or not it applies to incoming or outgoing messages based on that channel you place the limit on.
    For example your clients sending mail out come in on the tcp_intranet channel. Messages from the internet come in on the tcp_local channel.
    To limit the attachemtns you accept from the internet you would place the restrictions on the tcp_local channel. To limit attachements from local users you'd place the restrictions on the tcp_intranet channel.

  • Terminate out going email?

    Can anyone tell me how to stop an outgoing email that is continually trying to send and is unsuccessful?

    aeeowhead125 wrote:
    After 14 month of normal service my out going email on 2 computers will not send messages out but will rev. Incoming emails fine.. I have not changed anything in my set up on 2 different. Email programs Outlook & Incedamail.
    Is this with a verizon.net account or another provider? Verizon recently made some changes to their POP/SMTP servers, so you might want to switch to the latest settings if it's a Verizon account.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Widescreen setting in video - tv out has no effect

    after a couple of hours of experimentation, i have concluded that the widescreen setting (on/off) in the tv out section of the video settings has no effect. i believe what it SHOULD do is adjust the signal to display properly on a widescreen (16x9) tv. i believe it does nothing. video displays stretched and squashed (photos too btw). this is after experimenting with the same itunes-purchased and non-itunes purchased videos on both my ipad and my iphone 3gs, using the same tv and the apple component av cable. the iphone works fine. the only way to get a semi-acceptable display on the tv with the ipad is to the set to tv to normal 4x3 display. (late model sony lcd hdtv). then you get thick black bars around the picture. with the iphone i can leave the tv display setting at it's regular "full" option and the picture fills the screen properly. i tried both sd and hd videos on the ipad. (sd only on the iphone obviously). does anyone else have this issue? is there a bug in the ipad software? is there a problem with MY ipad? will a software restore help?
    Message was edited by: Michael Rosenberg

    i tried a fair amount of stuff. here's 2 examples:
    1) itunes store copy of an episode of the office in both hd and sd.
    2) digital copy of the new star trek movie
    so the first is 16x9 and the second is a widescreen movie 2.35-1.
    both look fine when playing back off the iphone 3gs (sd copy of the office). both looked stretched horizontally and squashed vertically when playing off the ipad. note that everything looks fine on the ipad itself. it just messed up when connecting
    the ipad to my tv. in all cases, the widescreen setting in the tv out section of the video panel on the ipad has NO effect.
    i can change the screen settings ON THE TV to fix the distortion but then i end up with thick black bars on all 4 sides. and i don't need to do this with the iphone 3gs. i continue to believe something is wrong with the ipad (or MY ipad).

  • Issue in PLD of Out going Payment

    Hi All,
            I have a pld on out going payment where when we select the Account, we also get field to add description. Now when i try to caputre this detail in PLD, the system shows an error message, "The requested action is not supported for this object". In the pld, i have selected table RCT4, description.  Can anyone please tell me whats the cause of this error and ho can I capture the Doc. Remarks in PLD??
    Thanks in advance,
    Joseph

    Hi Joseph,
    It is not possible on Outgoing Payments.
    Try to Create QPLD.
    IF you need Outgoing Payments row details. Try to Create Query Print Layout Designer(QPLD).
    If you need to Print rows of Accounts in Outgoing Payments.
    Try this Query and you will design QPLD.
    SELECT T0.DocNum, T0.DocDate, T0.CardCode, T0.CardName, T0.Address, T1.AcctCode, T1.AcctName,
    T1.Descrip, T0.CashAcct, T0.CheckAcct, T0.Comments, T0.DocTotal,  CASE WHEN T0.CashSum > 0 THEN 'Cash'
    WHEN T0.CreditSum > 0 THEN 'CC' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Mode'
    FROM OVPM T0
    LEFT JOIN VPM4 T1 ON T0.DocEntry = T1.DocNum
    INNER JOIN OPID T2 ON T0.PIndicator = T2.Indicator
    WHERE T0.[DocNum]>='[%0]' and T0.[DocNum]<='[%1]' and T2.[Indicator]='[%2]'
    ORDER BY T0.[DocNum]
    If you need to Print rows of Accounts and Cheque Details in Outgoing Payments.
    Try this,
    SELECT T0.DocNum, T0.DocDate, T0.CardCode, T0.CardName, T0.Address, T1.AcctCode, T1.AcctName,
    T1.Descrip, T0.CashAcct, T0.CheckAcct,
    T4.[DueDate],
    T4.[CheckNum],
    T4.[BankCode] as 'Bank Name',
    T4.[Branch],
    T4.[AcctNum] as 'Check A/C No.',
    T0.[CheckSum],
    T0.[CashSum],
    T0.[TrsfrSum],
    T0.[TrsfrDate],
    T0.[Comments],
    T0.DocTotal,  CASE WHEN T0.CashSum > 0 THEN 'Cash'
    WHEN T0.CreditSum > 0 THEN 'CC' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Mode'
    FROM OVPM T0 full outer JOIN VPM1 T4 ON T0.DocEntry = T4.DocNum
    LEFT JOIN VPM4 T1 ON T0.DocEntry = T1.DocNum
    INNER JOIN OPID T3 ON T0.PIndicator = T3.Indicator
    WHERE T0.[DocNum]>='[%0]' and T0.[DocNum]<='[%1]' and T3.[Indicator]='[%2]'
    ORDER BY T0.[DocNum]
    IF you want extra some details, Check this thread.
    Re: PLD- outgoing payment .(RCT4 ,tables data is not comming)
    Re: PLD-How to increments rows of accounts in O/g payment.
    Regards,
    Madhan.

  • JMS Adapter setting the header data of MQ message

    Hi All,
    I need to set the properties in JMS adapter for setting the header data of MQ message.
    JMS_IBM_MQMD_Format = MQFMT_NONE.
    Thanks in advance
    Ravijeet

    Hi All,
    I am stuck in a typical XI issue.......I have a scenario where my input to XI is IDoc and output is xml message going to IBM MQ.
    The IDoc is sending some chineese character which is fine is SXMB_MONI Integration server and also fine in the payload of message monitoring, so feel the message is going fine from XI to MQ.
    But the receiver EDI system which is picking the message from MQ queue says the chinese characters are getting corrupted. They say that you need to set the additional properties in MQ header data
    JMS_IBM_MQMD_Format = MQFMT_NONE.
    How do I do this in communication channel for jms adapter ? How to I set the MQ header data in jms communication channel ?
    Thanks in advance
    Ravijeet
    Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM
    Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM

  • Error in the Out going payments

    Am getting error when making an out going payment : -
    Cannot add or update this document , its rows are missing [Outgoing payments - invoices -sequence no.][Line 0][Message 131 - 197]
    Any one had this before, what's causing it ?
    Edited by: Martin Kamau on Mar 24, 2009 10:00 AM

    My problem was with missing detail in the database tables. The outgoing data table OVPM, VPM2 etc were not posted correctly. The system hanged at some point and the table inserts were not completed. Try check on those tables and see if the data postings are ok
    Good luck.
    Edited by: Martin Kamau on Apr 8, 2009 9:48 AM

  • Is it possible to set delivery retry time-interval between messages?

    Hello!
              I use Wls 8.1.5 and would love to be able to set delivery retry time-interval between message.
              The complete situtaion looks like this.
              We got one queue (queue_A) that retrives alot of messages.
              At queue_A we got a BMT-MDB that consumes all messages (one by one).
              The BMT-MDB is supposed to forward the messages to an other queue (queue_B). (We also do some other things as well)
              But if we can not forward the message to queue_B because of some Exception is thrown, the transaction is Rolledback exactly as we want.
              But when this happens (for eg the server where queue_b resides is down) our BMT-MDB keeps trying to post the message like an enegizer-bunny. It would feel better if it waited for some seconds before it try again.
              We have tried to set play around with RedeliveryDelayOverride="5000" at the queue_B. But if we set to anything bigger then RedeliveryDelayOverride="-1", then other messages is passing throug and also put into "pending". This ended up in out of memory when the load was big.
              So what we would love to be able is to have all messages in a FIFO-row at the queue_A. And if queue_B is out of order then keep on trying consume the firts messagesd for every 5 sec.
              So if any one know if and how to configure a Wls 8.1.5 please let us know!
              Best regards
              Fredrik

    Hello Again Fredrik!
              Later versions have several more options, but here are some that might work on 8.1:
              (A) A good bit of coding: Write code that undeploys the MDB on certain failures, and redeploys it sometime later.
              (B) A small amount of coding: On a failure, simply force a tx rollback, then put a Thread.currentThread.sleep() in the MDB application itself. (Just make sure the MDB is setup with a dedicated thread pool to avoid using up default threads.)
              (C) Requires no coding: Have the MDB forward the message to a local destination rather than the remote destination (so the forward always succeeds), then use the messaging bridge to forward the message onward. The messaging bridge automatically does a periodic retry on failure, and doesn't need to use redelivery delays.
              (D) Requires no coding: Raise a support case with BEA - I personally consider the fact that redelivery delay messages fail to page out likely indicates that there's a bug in 8.1. (Upgrade to 9.x quite likely doesn't have this problem.)
              Hope this helps,
              Tom

Maybe you are looking for

  • Inventory Management: Valuated Stock Value

    Hello Experts - We're using inventory management. We're just bringing in 2lis_03_bf which is the material movements and the standard price datasource. The plant valuated stock quantity and the valuated stock value are fine. The SLOC valuated stock qu

  • Photoshop CS6 hanging in Mountain Lion

    I have the latest 17inch macbook pro - and just installed mountain lion. And now my photoshop CS6 is hanging. I cannot work at all. Everytime I select a tool - the beachball shows up and hangs for 5-10 seconds. Everytime a make any  action it hangs f

  • Photostream issues

    I have some issues with photo stream. When I copy photos from my Windows PC to Photostream (I have iCloud Control Panel installed), only some (41 out of 224) appear on the iPad. Can anyone explain why, and how to get them ALL to appear on iPad? Also,

  • General issue with class declaration

    Hi all, Iam very new to OO programming. can any one tell as how i should call a CLASS FOR FM , i know we use click pattern and give the required FM name and it would bring up the code in the editor and we have to pass the necessary parameters but how

  • Disconnects every 5-30 minutes

    Been happening to me the last few days. I've tried to research my problem, but nothing that I've found has been able to solve on my issue. DSL light on my Westell 7500 dies every few minutes, internet goes after that. Internet light is also constantl