OSB (ALSB 2.6) Unwanted changes to XML messages
I have a customer who would like to pass the following XML to OSB 2.6 (ALSB):
</Parameter><Parameter Encoding="plain"><Name>TestParameter2</Name><Value><firsttag><secondtag>text_in_secondtag</secondtag></firsttag></Value></Parameter>
The problem is that once the XML is consumed by OSB it gets changed to the following:
</Parameter><Parameter Encoding="plain"><Name>TestParameter2</Name><Value><firsttag><secondtag>text_in_secondtag</secondtag></firsttag></Value></Parameter>
Is there any way to prevent this from happening?
Sorry, the 2nd XML I pasted here actually got transformed on the forum, I didn't notice that when I first posted this. Let me try to explain in another way.
the sequence "& l t;" is changed to "<"
(I added the spaces this time so it did not get changed again.)
The problem is that the message is a signed message so when it is finally received the signature is different.
Similar Messages
-
Is there a way to change the xml message generated by JDeveloper Proxy
Hi,
I have created jax-ws proxy client using JDeveloper 10g. I need to change the generated xml message tags. I need to remove the namespace prefix tags from the xml message. For ex: the current request message looks like this:
<ns0:EMPLOYEE_NAME>John</ns0:EMPLOYEE_NAME>
should be
<EMPLOYEE_NAME>John</EMPLOYEE_NAME>
without the nso prefix.
How can I do that? Please help me.
Thanks.To original poster, please just select "Problem Solved" to help any future questions about this.
Is there a way to change the text message ringer? No.
End of thread -
Support of exslt in OSB/ALSB
Hi,
Does OSB/ALSb support extended xslt functions i.e exslt(http://exslt.org/functions)?
When I tried to import/save an xslt having exslt functions, it gives an error
An error occurred compiling the XSLT template: javax.xml.transform.TransformerException: weblogic.apache.xml.utils.WrappedRuntimeException: Could not find variable with the name of val.
and the function is defined in xsl as :
<func:function name="ctvf:convertToNumber">
<xsl:param name="val"/>
<xsl:variable name="strVal" select="string($val)"/>
<xsl:choose>
<xsl:when test="$strVal = 'NaN'">
<func:result select="''"/>
</xsl:when>
<xsl:otherwise>
<func:result select="$strVal"/>
</xsl:otherwise>
</xsl:choose>
</func:function>
where namespaces in the header are as:
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:func="http://exslt.org/functions"
Thanks,
RajeshHi all!
Thanx for the answers! I have tried in the past the /text() I tried it again and didn´t worked, some body knows how can I post some screen shots so you can see that I´m using the /text() and maybe with the screen shot you can detect something, also I´m loging the $body in the default branch(cause it is not detecting the value between the tags it goes directly to the Defaul Branch) you will se some differences in the XML since I simplified the XML to make the example and tested this simplified XML it in the TEST Tool in the console and had the same results that with the original evendough I put the /text() at the end
Here is the Body I loged in the default Branch:
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<imp:iniciarCambio xmlns:imp="http://bea.com/albpm/MMME/ImpactarCambiosClienteBILLING">
<cambios xmlns:bea="http://bea.com/">
<bea:ListaDeCambios>
<!--1 or more repetitions:-->
<bea:Cambio>
<bea:campoNombre>Cambio1</bea:campoNombre>
<bea:valorAnterior>antes</bea:valorAnterior>
<bea:valorNuevo>despues</bea:valorNuevo>
</bea:Cambio>
</bea:ListaDeCambios>
<bea:companiaId>32</bea:companiaId>
<bea:companiaNombre>MMRedes</bea:companiaNombre>
<bea:companiaTipo>Servicio</bea:companiaTipo>
</cambios>
</imp:iniciarCambio>
</soapenv:Body>>
as you can see it is Servicio and it should have gone to one of the branches instead of the default but it didn´t
Can´t see what I´m doing wrong, but maybe some of you can.
Thanx in advanced!
Gerardo J -
OSB (ALSB) Logging Redirect
Hi all,
how to redirect all the OSB(ALSB) related message logs ( Errors and transport exceptions included ) to a log4j custom file.
Now, given this discussion:
alsb logging
The way to go is, apparently, to
1. create filters at domain level by subsystem (or context_id or whatever else)
2. create a startup class to catch all log messages and to filter in only those ones you are interested in using, in your filter class, filters like " startsWith("ALSB)) " (equivalent of domain filter "Subsystem LIKE ALSB% " )
Now given all the following list of OSB (ALSB) related subsystems
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/messages/indexa.html
*Is there a better approach then creating a filter class per each subsystem ?*
Regards,
Tony P.There doesn't seem to be 64bit version of OSB at all for Windows. [http://download.oracle.com/docs/cd/E13196_01/platform/suppconfigs/configs_al10gr3/osb10gr3/overview.html]
-
How to Change the XML data that got stuck up in XI
Hi,
I am executing a scenario which sends the data from HTTP client>Xi->SAP(R/3 4.6).We are queuing the messages in XI, through QoS EOIO.Sender side we have configured the HTTP adapter and on receiver side we have configured RFC adapter.RFC at receiver side throws an exception, if I try to call rfc from XI by sending wrong data to it from HTTP client.The message which is failed gets stuck up in the queue , whose status will be shown as System Error.So, No messages will be further processed from that queue.
Our Requirement is, We need to manually change the xml file which is failed while trying to post data in to SAP.Could any one help me to find where the Failed xml file gets stored in XI and how can we change the file .
Regards,
Kiran kumar.Mario,
This is possible from SP 19 onwards...
Have a look @
/people/gourav.khare2/blog/2007/02/28/sapxi--message-editing-150-responsibility-and-liability-150-sp19
Also, the comments in the blog. Really good
http://help.sap.com/saphelp_nw04/helpdata/en/43/4a576b5b7430f3e10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/4a576b5b7430f3e10000000a11466f/frameset.htm
Regards,
Jai Shankar -
is it possible with SYS_XMLGEN and xmlelement
to change the xml tag <?xml version="1.0"?> and add a encoding attr like <?xml version="1.0" encoding="UTF-8" ?>
when making xmltype from a query?select xmltype( '<?xml version="1.0" encoding="UTF-8" ?>' ||
xmlelement( "xx", dummy ).getclobval()
).getclobval()
from dualCode like this will result in a CLOB, which uses the characterset of the database and NOT the characterset specified in the encoding of the XML-header
Anton -
File adapter - change of encoding in the header of the xml message
Hello!
I would like to change the encoding in the header of an xml message (sent to a a receiver file adapter)
from <?xml version="1.0" encoding="UTF-8" ?>
to <?xml version="1.0" encoding="ISO-8859-1" ?>
We have XI 3.0 with SP15.
Can anybody help me please?
Kind regards
ChrisHi Chris,
An XSLT map can convert the encoding for you.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='xml' encoding="ISO-8859-1"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Thanks,
-Russ -
PDF comments change to XML after copying and pasting
Has anyone experienced a problem with comments in mark-ups where they appear as normal text until they have been copied (and pasted into Indesign, though this part is not relevant) but when ticked as completed they change to xml formatted text? See before and after pics below:
Oops, sorry, cannot load images, must be an error with the upload software. Not accepting TIFF/JPEG or PNG.As a follow up to this I have just experienced another similar situation where the the pdf comment changes to Greek text...
the left hand pic is from the comment window, the right hand pic is from the mark-up in the text. Very odd... -
Changing the XML Structure in "Submit as XML"
Dear all,
We have two PDF Templates which are submitted via a WebService using Submit as XML. For both templates we need the same structured XML output.
Form 1 has the hierarchy like this (all subforms):
Company
Subsdiary
Responsibles
Footer
so the xml looks like
<creditrequest>
<company>...</company>
<subsdiary>...</subsdiary>
<responsible>...</responsible>
<footer>...</footer>
</creditrequest>
Form 2 has the hiearchy like this (all subforms):
Responsibles
Subsidiary
Company
Footer
and the xml looks like
<creditrequest>
<responsible>...</responsible>
<subsdiary>...</subsdiary>
<company>...</company>
<footer>...</footer>
</creditrequest>
So my question is how can influence the XML output order without changing the PDF hiearchy. This way I can change the XML output for Form 1 or Form 2 and both files would have the same XML structure to submit.
I have checked the presubmit event and the javascript API to change XML string programmaticly but I couldn't find any possiblity to read/write the XML to submit.
Thanks,
KorayYou can use JDOM and DOM. They are classes that load the XML File on memory and then you can modify it. I strongly recommend JDOM.
-
Fm11 does not have the buttons to change from XML to WYSIWYG views
Hi, my Fm11 does not have the buttons to change from XML to WYSIWYG views. It only has the WYSIWYG view, and it does not have the Structure Tools,DITA, S1000D menu options.
In File>New, there is not XML option neither…. What am I doing wrong? ThanksHi Arnis, Thank you very much for your help, that was it !!! Greetings from Mexico
-
Hi,
I am trying to convert the logged changes into XML file.But the contents are not coming up correctly.Please help me in solving out this issue.
I have coded is like this :
CALL FUNCTION 'HR_INFOTYPE_LOG_GET_LIST'
EXPORTING
tclas = 'A'
begda = sy-datum
endda = sy-datum
auth_check = 'X'
USE_ARCHIVE = ' '
IMPORTING
SUBRC =
TABLES
PERNR_TAB =
INFTY_TAB =
infty_logg_key_tab = test
DATUM_TAB =
UNAME_TAB =
LOOP AT test INTO wa.
CALL FUNCTION 'HR_INFOTYPE_LOG_GET_DETAIL'
EXPORTING
logged_infotype = wa
auth_check = 'X'
USE_ARCHIVE = ' '
IMPORTING
SUBRC =
TABLES
infty_tab_before = test1
infty_tab_after = test2
fields = test3
CHECK sy-subrc = 0.
ENDLOOP.
And i am appending INFTY , PERNR from TEST1 table and FNAME ,NEWDT from TEST3 table into one new internal table called struct and converting that internal table contents into xml.
For XML conversion*********************************
CALL TRANSFORMATION ('ID')
SOURCE tab = struct[]
RESULT XML xml_out1.
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
text = xml_out1
IMPORTING
LENGTH = lv_length
TABLES
ftext_tab = itab1.
CHECK sy-subrc = 0.
After downloading i am getting the xml file like this :
<?xml version="1.0" encoding="UTF-16"?>
-<asx:abap version="1.0" xmlns:asx="http://www.sap.com/abapxml">-<asx:values>-<TAB>-<item><INFTY>0002</INFTY><PERNR>00070297</PERNR><FNAME/><NEWDT/></item>-<item><INFTY/><PERNR>00000000</PERNR><FNAME>ITXEX</FNAME><NEWDT/></item>
But i want in this way:
<?xml version="1.0" encoding="UTF-8"?>
-<NewDataSet> -<PA0002> <PERNR>8000</PERNR> <TITEL>DLEM 6</TITEL> <VORNA>Raj</VORNA> <NACHN>Halli</NACHN> <NAME2>RB</NAME2> <INITS/> <RUFNM/> <SPRSL/> <GESCH/> <GBDAT/> <GBORT/> <GBLND/> <NATI0/> <GBDEP/> <NATI2/> <NATI3/> <FAMST/> <FAMDT/> <ANZKD/> <KONFE/> <BEGDA/> <AEDTM/> </PA0002>
Regards,
HelmaHi Patlolla,
Goto SPRO : Personnel Administration -> Tools -> Revision -> Set up change document.
There, add IT 0021 as an infotype to be logged.
Best Regards,
Dilek -
SOA suit 11g uses both ESB and OSB(ALSB)
Hi, I am newbie to SOA suit 11g. Can somebody please explain the use of ESB and OSB(ALSB) both in SOA 11g.In SOA 11g ESB is being used only for mediation.Even OSB(ALSB) has same capability.Then why both needs to be used?Can't we use one of these?
~Pradeephello Pradeep,
there is quite some literature on this hot topic - actually it's one of the most frequently asked question from people who are using OSB and Soa Suite.
if you google "OSB vs Mediator" you will find some useful links:
http://www.scribd.com/doc/23622536/Oracle-SOA-Suite-11g-Mediator-vs-Oracle-Service-Bus-OSB
SOA SUITE 11g - Mediator & OSB
http://oracle-fusion-blogs.com/oracle-fusion-osb-mediator/
and so on.... -
OSB: Is it possible to change throttling settings with WLST?
Hi all,
I am trying to find a solution to change the throttling settings of a business service with WLST, since it is not possible to set it in the customization file.
I already know the parameter alsbImportPlan.setPreserveExistingOperationalValues(boolean) to preserve or change the operational values with the imported jar file, but I cannot find how to change the parameters separately for a business service (e.g. throttling state, max concurrency).
Thanks for any help,
KatjaHi Fabio,
thanks for your approach. Could you give me some more ideas how to do that exactly? What do you mean with "write a code"? With WLST it does not work, I think. So you mean some code to extract the jar, change the xml, package the jar again and then deploy it? We need the changes at deployment time, because the settings have to be adjusted for the different environments.
Best regards,
Katja -
Revision: 15360
Revision: 15360
Author: [email protected]
Date: 2010-04-12 23:23:29 -0700 (Mon, 12 Apr 2010)
Log Message:
Removing a few unwanted changes to the positioning of drag proxy.
QE notes:
Doc notes:
Bugs: FLEXDMV-2365 ( When layoutDirection is 'rtl', image of the chart item which is being dragged is seen away from mouse pointer)
Reviewer:
Tests run: checkintests - PASS
Is noteworthy for integration:
Ticket Links:
http://bugs.adobe.com/jira/browse/FLEXDMV-2365
Modified Paths:
flex/sdk/branches/4.x/frameworks/projects/datavisualization/src/mx/charts/chartClasses/Ch artBase.asIs letterboxing on in your preferences?
Yes - that's checked. I've removed it and started a
new import. It says 19 mins - so I'll follow up when
done.
Done. And - still looks like a letterbox
Am not sure I'm describing it properly.
Here's a capture of the QT window:
http://www.chrissearle.org/stuff/QT.tiff
And here's the iMovie window - two clips - both the same import - one with letterboxing turned on (first clip in clips list) and one turned off (second clip and selected in main part of window)
http://www.chrissearle.org/stuff/iMovieHD.tiff
You can see that the aspect ratio from QT and iMovieHD is different
Mac Mini Mac OS X (10.4.5) -
Will updating from CS6 to CC Indesign cause any unwanted changes to existing CS6 documents?
Will updating from CS6 to CC Indesign cause any unwanted changes to existing CS6 documents?
The update itself will not affect exisiting files, but if you open and save them in CCC you will no longer be able to open them in CS6.
Maybe you are looking for
-
I have Maverick 10.9.1 installed I scanned a photo on my HP D 110 series but it won't let me print or save it: An error has occurred saving the file because it could not be written to. Check the properties for the file to make sure it is not read-on
-
Namespace problem when using B1iSN V8.8 web service on B1 8.8 objects
Dear all Investigating web services in B1iSN V8.8, we are trying to run, as a test, the tutorial example (thanks to Maria Trinidad) detailed in: Exposing and Hosting WebServices for SAP Business One with B1iSN ArticleTrinidad Martinez (Yatsea Li)SAP
-
Cut the field from the string output.
I have a column in my database which might have string value as field1="string1" field2="string2 field="string3" .... I want to cut the subtring "string2" in my select query. I know it can be done easily with some unix command, but I want to do it in
-
Retain existing versions after KM transport
Hi SDNers, I need to transport xml articles (created using xml form builder) from Dev to QA system. I am doing so using the KM export and import features. However, my requirement is such that these xml articles are already present in both the Dev and
-
Cannot stream a 3gp file to a mobile phone
Hello everyone, I downloaded a 3gp from my opertor's portal which was streamed. I recorded it into my cell phone and tried to stream it from my own QTSS server for a demonstration. I tried to watch from Quicktime or my cell phone and it doesn't work.