MII 12.1.5 problem: XML-Doc not initialized in second transaction call

(Sorry- I don't know why the lines are not seperated as in my input text...)
Hello!
We are migrating our projects from MII 12.5 to 12.1.5(Build 99).
Most of the problems we found last year during our 12.1 rampup tests are fixed now.
We are very happy about the improved expression parser- it now finds all syntax errors which are ignored in 12.0 (like missing parenthesis).
The new tracing options make is easy to remove such errors.
We found some small problems but this problem ist not easy to see and the result are some hundred wrong SAP postings:
In a called transaction we have a XML-Doc action block  which manually configured fields.
Then we adds rows to this document using the ROW-action block.
Note: In the calling main transaction the option "reload transaction after each execution" is UNchecked (the default)
This works fine for the first call of this transaction.
The problems starts with the second call.
Some initalization for the XML-Doc ist not executed (see trace below)
VERY BAD: the ROW-actions to fill the document are executed WITHOUT errors!
Result: an EMPTY XML-Doc!
The solution is to check the option "reload transaction after each execution" in the Transaction call action.
In MII 12.0 the XML-Doc was initalized and filled correctly for both calling options.
Questions:
- Is this a bug or a known behaviour?
  During the rampup test we found some problems with local variables and discussed this with SAP (Mr Schuette).
  what I remeber: with the unchecked option the local transaction variables should keep the old values of the last call -
  but XML-Docs should be initialzed always. The big problem is that the ROW action don't raise an error. 
- Should the option "reload transaction after each execution" be checked as default?  
- Are there performance differences for both options?
Best regards,
Roger Zuehlsdorf
Trace output:
==========================================================
FIRST CALL of Sub-Transaction
[DEBUG] [TESTSUB1] Loading action: Document_0, type: IlluminatorDocument
[DEBUG] [TESTSUB1] [Sequence]: Started sequence execution
[DEBUG] [TESTSUB1] [Document_0]: Started action execution
[DEBUG] [TESTSUB1] [Document_0]: Type: IlluminatorDocument, Description:
[DEBUG] [TESTSUB1] [Document_0]: [Initializing Action][Initializing Parameters: [Document_0.EndDate = Document_0.EndDate=[timestamp:2010-08-23T12:58:51]][Document_0.StartDate = Document_0.StartDate=[timestamp:2010-08-23T12:58:51]][Document_0.Output = Document_0.Output=[xml:<?xml version="1.0" encoding="UTF-8"?>
<Rowsets DateCreated="2010-08-23T16:09:59" EndDate="2010-08-23T12:58:51" StartDate="2010-08-23T12:58:51" Version="12.1.5 Build(99)">
<Rowset>
<Columns>
<Column Description="" MaxRange="1" MinRange="0" Name="TESTTEXT" SQLDataType="1" SourceColumn="TESTTEXT"/>
</Columns>
<Row>
<TESTTEXT>STRING</TESTTEXT>
</Row>
</Rowset>
</Rowsets>]][Document_0.ColumnSpecifications = Document_0.ColumnSpecifications=[xml:<?xml version="1.0" encoding="UTF-8"?>
<ColumnSpecifications>
<ContextItem>
<Name>TESTTEXT</Name>
<Description/>
<MinRange>0</MinRange>
<MaxRange>1</MaxRange>
<Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="string">STRING</Value>
<ReadOnly>false</ReadOnly>
</ContextItem>
</ColumnSpecifications>]]]
[DEBUG] [TESTSUB1] [Document_0]: Resolving Input Links
[DEBUG] [TESTSUB1] Action parameter creating time [ <1 ms]
[DEBUG] [TESTSUB1] Entering action 'Document_0' implementation.
[DEBUG] [TESTSUB1] Exiting action 'Document_0' implementation
[DEBUG] [TESTSUB1] [Document_0]: Resolving Output Links
[DEBUG] [TESTSUB1] [Document_0]: Finished[ <1 ms] Succeeded: true
Add Row***
[DEBUG] [TESTSUB1] [Row_0]: Started action execution
[DEBUG] [TESTSUB1] [Row_0]: Type: IlluminatorRow, Description:
[DEBUG] [TESTSUB1] [Row_0]: [Initializing Action][Initializing Parameters: [Row_0.IlluminatorDocument = Row_0.IlluminatorDocument=[string:Document_0.Output]]]
[DEBUG] [TESTSUB1] [Row_0]: Resolving Input Links
[DEBUG] [TESTSUB1] [Row_0]: Link Stats: Row_0.TESTTEXT, Type [Assign], Time [ <1 ms], Expression: "xxxxxx xTHIS IS MY TEXT xxxxxxxxx "
[DEBUG] [TESTSUB1] Action parameter creating time [ <1 ms]
[DEBUG] [TESTSUB1] Entering action 'Row_0' implementation.
[DEBUG] [TESTSUB1] Exiting action 'Row_0' implementation
[DEBUG] [TESTSUB1] [Row_0]: Resolving Output Links
[DEBUG] [TESTSUB1] [Row_0]: Finished[ <1 ms] Succeeded: true
>>>> Result  OK, Teststring is added to Document_0
[INFO] [TESTSUB1] [Tracer_0]Exit SUB: TESTTEXT in XML: <?xml version="1.0" encoding="UTF-8"?>
<Rowsets DateCreated="2010-08-23T16:14:15" EndDate="2010-08-23T12:58:51" StartDate="2010-08-23T12:58:51" Version="12.1.5 Build(99)">
<Rowset>
<Columns>
<Column Description="" MaxRange="1" MinRange="0" Name="TESTTEXT" SQLDataType="1" SourceColumn="TESTTEXT"/>
</Columns>
<Row>
<TESTTEXT>xxxxxx xTHIS IS MY TEXT xxxxxxxxx </TESTTEXT>
</Row>
</Rowset>
</Rowsets>
===============================================================================
SECOND CALL of Sub-Transaction => XML-Doc NOT initalized!?
[DEBUG] Entering action 'Transaction_Call_0' implementation.
[DEBUG] [TESTSUB1] [Sequence]: Started sequence execution
[DEBUG] [TESTSUB1] [Document_0]: Started action execution
[DEBUG] [TESTSUB1] [Document_0]: Type: IlluminatorDocument, Description:
[DEBUG] [TESTSUB1] [Document_0]: [Initializing Action][Initializing Parameters: ]
[DEBUG] [TESTSUB1] [Document_0]: Resolving Input Links
[DEBUG] [TESTSUB1] Action parameter creating time [ <1 ms]
[DEBUG] [TESTSUB1] Entering action 'Document_0' implementation.
[DEBUG] [TESTSUB1] Exiting action 'Document_0' implementation
[DEBUG] [TESTSUB1] [Document_0]: Resolving Output Links
[DEBUG] [TESTSUB1] [Document_0]: Finished[ <1 ms] Succeeded: true
Add Row***  =>  NO error message!?
[DEBUG] [TESTSUB1] [Row_0]: Started action execution
[DEBUG] [TESTSUB1] [Row_0]: Type: IlluminatorRow, Description:
[DEBUG] [TESTSUB1] [Row_0]: [Initializing Action][Initializing Parameters: ]
[DEBUG] [TESTSUB1] [Row_0]: Resolving Input Links
[DEBUG] [TESTSUB1] [Row_0]: Link Stats: Row_0.TESTTEXT, Type [Assign], Time [ <1 ms], Expression: "xxxxxx xTHIS IS MY TEXT xxxxxxxxx "
[DEBUG] [TESTSUB1] Action parameter creating time [ <1 ms]
[DEBUG] [TESTSUB1] Entering action 'Row_0' implementation.
[DEBUG] [TESTSUB1] Exiting action 'Row_0' implementation
[DEBUG] [TESTSUB1] [Row_0]: Resolving Output Links
[DEBUG] [TESTSUB1] [Row_0]: Finished[ <1 ms] Succeeded: true
>>>>  Result=> PROBLEM !??? Document_0 is empty:
[INFO] [TESTSUB1] [Tracer_0]Exit SUB: TESTTEXT in XML: <?xml version="1.0" encoding="UTF-8"?>
<Rowsets DateCreated="2010-08-23T16:14:15" EndDate="2010-08-23T12:58:51" StartDate="2010-08-23T12:58:51" Version="12.1.5 Build(99)">
<Rowset>
<Columns>
<Column Description="" MaxRange="1" MinRange="0" Name="TESTTEXT" SQLDataType="1" SourceColumn="TESTTEXT"/>
</Columns>
</Rowset>
</Rowsets>
===================================================================================
Edited by: Roger Zuehlsdorf on Aug 24, 2010 4:51 PM

Hi.
It is very hard to read your description, but have a look at SP6 patch 2. This contains a fix for initialising of XML documents in transactions. I am not sure weather that is your problem but have a look.
BR
Poul.

Similar Messages

  • 9.3.0.2 Shredded XML Doc not retrieveable

    Hey guys, been making progress, been able to create a schema, get it registered, and upload XML documents can see the documents are being shredded as they show up in an SQL query's, and you can browse to them through HTTP or FTP. Wonderful, but touchy stuff!
    HOWEVER, the shredded documents cannot be retrieved though a browser, SPY, or FTP. It just comes back blank. If I upload documents with the XDBDEMO user, I actually can pull back documents uploaded by XDBDEMO user, with my schema and data. This is really odd. I cannot find a permissions difference in the EMConsole, but this seems to be some sort of permissions issue and I've been ripping the DEMO apart trying to find out what I'm missing.
    My thinking was that it might be the creation of the directories, and those permissions. We ended creating our directories the same as in the demo (no dice). The data in the RESOURCE_VIEW res even seems to compare fine, between a readable and non-readable file.
    I'm not sure what to post here to assist, as the schema and data seem to be working ok.
    Thx

    Mark thanks for the suggestions, but here is what was actually going on. Turns out NOT to be a permission problem (as I first thought), but an issue with the Schema.(I'll attempt to fit in the schema, and sample data in this post at the end) To sum up the symptoms of this issue:
    - Version 9.2.0.3 of the DB
    - Our Schema would register, and the tables are created
    - Xml documents are shredded, and stored
    - SQL query's can be performed to see the data in the tables
    * HOWEVER, the XML file is not retrieveable with Http and FTP, even though visable in the repository.
    After some closer inspection it turns out that our Schmea was not registering as intended, as the Collection Objects were not being created. I'm not sure what the proper method is to code a schema where Collection Elements actually have Values, the demo XML dosen't have elements like this. The following schema line is what was causing all our grief.
    <xs:element name="holdingref" maxOccurs="unbounded" xdb:SQLName="HOLDINGREF" xdb:SQLCollType="XDBXREF_HOLDINGREF_COLL" xdb:SQLType="VARCHAR2">
    Since our 'holdingref' element actually does have a string value, we assigned a SQLType of VARCHAR2 to it, however, the combination of that with the SQLCollType breaks the retrieval and dosen't allow the the creation of the Collection Objects when registering the schema. The following line fixed the problem:
    <xs:element name="holdingref" maxOccurs="unbounded" xdb:SQLName="HOLDINGREF" xdb:SQLCollType="XDBXREF_HOLDINGREF_COLL">
    Re-registering the schema produced the expected results, and the world started spinning again. Enclosed below are the Broken schema, and some sample data.
    SCHEMA:
    <!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
    <xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" xdb:storeVarrayAsTable="true">
         <xs:element name="qrxref" type="qrxrefType" xdb:defaultTable="QRXREF"/>
         <xs:complexType name="qrxrefType" xdb:SQLType="XDBXREF_TYPE">
              <xs:sequence>
                   <xs:element ref="casenumber"/>
                   <xs:element ref="quarterending"/>
                   <xs:element ref="pathid"/>
                   <xs:element name="q2qinfo" type="q2qinfoType" xdb:SQLName="Q2QINFO"/>
                   <xs:element name="intendedalloc" type="intendedallocType" xdb:SQLName="INTENDEDALLOC"/>
                   <xs:element name="securitylist" type="securitylistType" xdb:SQLName="SECURITYLIST"/>
                   <xs:element name="qrkey" type="qrkeyType" xdb:SQLName="QRKEY"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="account" type="xs:string" xdb:SQLName="ACCOUNT" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
         <xs:complexType name="allocationType" xdb:SQLType="XDBXREF_ALLOCATION_TYPE">
              <xs:simpleContent>
                   <xs:extension base="xs:string">
                        <xs:attribute name="code" type="xs:string" use="required"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="assetclassType" xdb:SQLType="XDBXREF_ASSETCLASS_TYPE">
              <xs:sequence>
                   <xs:element name="security" maxOccurs="unbounded" xdb:SQLName="SECURITY" xdb:SQLCollType="XDBXREF_SECURITY_COLL" xdb:SQLType="VARCHAR2">
                        <xs:complexType>
                             <xs:simpleContent>
                                  <xs:extension base="securityType">
                                       <xs:attribute name="rank" type="xs:string" use="required"/>
                                       <xs:attribute name="forced" type="xs:string" use="optional"/>
                                  </xs:extension>
                             </xs:simpleContent>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
              <xs:attribute name="code" type="xs:string" use="required"/>
              <xs:attribute name="quarter" type="xs:string" use="required"/>
         </xs:complexType>
         <xs:complexType name="assetclassnameType" xdb:SQLType="XDBXREF_ASSETCLASSNAME_TYPE">
              <xs:simpleContent>
                   <xs:extension base="xs:string">
                        <xs:attribute name="code" type="xs:string" use="required"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:element name="casenumber" type="xs:integer" xdb:SQLType="INTEGER" xdb:SQLName="CASENUMBER" xdb:defaultTable=""/>
         <xs:element name="pathid" type="xs:string" xdb:SQLName="PATHID" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
         <xs:complexType name="intendedallocType" xdb:SQLType="XDBXREF_INTENDEDALLOC_TYPE">
              <xs:sequence>
                   <xs:element name="allocation" type="allocationType" maxOccurs="unbounded" xdb:SQLType="VARCHAR2" xdb:SQLName="ALLOCATION" xdb:SQLCollType="XDBXREF_ALLOCATION_COLL"/>
                   <xs:element name="holdingref" maxOccurs="unbounded" xdb:SQLName="HOLDINGREF" xdb:SQLCollType="XDBXREF_HOLDINGREF_COLL" xdb:SQLType="VARCHAR2">
                        <xs:complexType>
                             <xs:simpleContent>
                                  <xs:extension base="holdingrefType">
                                       <xs:attribute name="code" type="xs:string" use="optional"/>
                                       <xs:attribute name="id" type="xs:string" use="required"/>
                                       <xs:attribute name="exclude" type="xs:string" use="optional"/>
                                  </xs:extension>
                             </xs:simpleContent>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="fund" type="xs:string" xdb:SQLName="FUND" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
         <xs:complexType name="q2qinfoType" xdb:SQLType="XDBXREF_Q2Q_TYPE">
              <xs:sequence>
                   <xs:element name="assetclass" type="assetclassType" maxOccurs="unbounded" xdb:SQLCollType="XDBXREF_ASSETCLASS_COLL" xdb:SQLName="ASSETCLASS"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="qrkeyType" xdb:SQLType="XDBXREF_QRKEY_TYPE">
              <xs:sequence>
                   <xs:element name="assetclassname" type="assetclassnameType" maxOccurs="unbounded" xdb:SQLName="ASSETCLASSNAME" xdb:SQLCollType="XDBXREF_ASSETCLASSNAME_COLL" xdb:SQLType="VARCHAR2"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="quarterending" type="xs:string" xdb:SQLName="QUARTERENDING" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
         <xs:complexType name="securityType" mixed="true" xdb:SQLType="XDBXREF_SECURITY_TYPE">
              <xs:simpleContent>
                   <xs:extension base="xs:string"/>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="holdingsType" mixed="true" xdb:SQLType="XDBXREF_HOLDINGS_TYPE">
              <xs:sequence>
                   <xs:element ref="value"/>
                   <xs:element ref="fund"/>
                   <xs:element ref="account"/>
              </xs:sequence>
              <xs:attribute name="code" type="xs:string" use="optional"/>
              <xs:attribute name="id" type="xs:string" use="required"/>
         </xs:complexType>
         <xs:complexType name="holdingrefType" mixed="true" xdb:SQLType="XDBXREF_HOLDINGREF_TYPE">
              <xs:simpleContent>
                   <xs:extension base="xs:string"/>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="securitylistType" xdb:SQLType="XDBXREF_SECURITYLIST_TYPE">
              <xs:sequence>
                   <xs:element name="holdings" type="holdingsType" maxOccurs="unbounded" xdb:SQLName="HOLDINGS" xdb:SQLCollType="XDBXREF_HOLDINGS_COLL"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="value" type="xs:decimal" xdb:SQLName="VALUE" xdb:SQLType="DECIMAL" xdb:defaultTable=""/>
    </xs:schema>
    SAMPLE DATA:
    <qrxref xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://achilles:8001/home/MATRIXDB/qrxrefSource/xsd/qrxref.xsd">
         <casenumber>1001</casenumber>
         <quarterending>03/31/2003</quarterending>
         <pathid>SearchRequest/68/Sample1</pathid>
         <q2qinfo>
              <assetclass code="AG" quarter="1st Quarter Ranking- '03">
                   <security rank="1" forced="FUI">FMI Focus Fund</security>
                   <security rank="2">Wasatch:Micro Cap Fund</security>
                   <security rank="3">Kinetics Internet</security>
                   <security rank="4">Bjurman Micro Cap Grth</security>
                   <security rank="5">Quaker Aggressive Grth/A</security>
                   <security rank="6">CGM Focus</security>
                   <security rank="7">Calamos Growth/A</security>
                   <security rank="8">Meridian Value Fund</security>
                   <security rank="9">FBR Small Cap Financial</security>
                   <security rank="10">Mutual Financial Serv/A</security>
                   <security rank="90" forced="MFUI">Money-Market Taxable Avg</security>
              </assetclass>
              <assetclass code="AG" quarter="2nd Quarter Ranking- '03">
                   <security rank="1" forced="FUI">FMI Focus Fund/A</security>
                   <security rank="2">Wasatch:Micro Cap Fund</security>
                   <security rank="3">Kinetics Internet</security>
                   <security rank="4">Bjurman Micro Cap Grth</security>
                   <security rank="5">Quaker Aggressive Grth/A</security>
                   <security rank="6" forced="FUI">FMI Focus Fund/B</security>
                   <security rank="7">Calamos Growth/A</security>
                   <security rank="8">Meridian Value Fund</security>
                   <security rank="9">FBR Small Cap Financial</security>
                   <security rank="10">Mutual Financial Serv/A</security>
                   <security rank="100" forced="MFUI">Money-Market Taxable Avg</security>
              </assetclass>
              <assetclass code="WE" quarter="1st Quarter Ranking- '03">
                   <security rank="1" forced="FUI">Eaton Vance Wrldwd Hlth/A</security>
                   <security rank="2">Matthews Korea</security>
                   <security rank="3">Commonwealth:New Zealand</security>
                   <security rank="4">BlackRock Itl Opp/Svc</security>
                   <security rank="5">Evergreen Asst Alloc/A</security>
                   <security rank="6">First Eagle Overseas/A</security>
                   <security rank="7">First Eagle Glbl Fd/A</security>
                   <security rank="8">MFS Intl New Discovery/A</security>
                   <security rank="9">Merrill Global Sm Cp/A</security>
                   <security rank="10">Mutual European Fund/A</security>
                   <security rank="130" forced="MFUI">Money-Market Taxable Avg</security>
              </assetclass>
              <assetclass code="WE" quarter="2nd Quarter Ranking- '03">
                   <security rank="1" forced="FUI">Eaton Vance Wrldwd Hlth/A</security>
                   <security rank="2">Matthews Korea</security>
                   <security rank="3">Commonwealth:New Zealand</security>
                   <security rank="4">BlackRock Itl Opp/Svc</security>
                   <security rank="5">Evergreen Asst Alloc/A</security>
                   <security rank="6">MFS Intl New Discovery/A</security>
                   <security rank="7">Merrill Global Sm Cp/A</security>
                   <security rank="8">Mutual European Fund/A</security>
                   <security rank="1">First Eagle Overseas/A</security>
                   <security rank="125" forced="MFUI">Money-Market Taxable Avg</security>
                   <security rank="200">First Eagle Glbl Fd/A</security>
              </assetclass>
         </q2qinfo>
         <intendedalloc>
              <allocation code="G">18.52</allocation>
              <allocation code="WE">28.52</allocation>
              <allocation code="SV">5</allocation>
              <allocation code="AG">11.62</allocation>
              <allocation code="GI">36.34</allocation>
              <holdingref code="WE" id="ETHSX">277902813</holdingref>
              <holdingref code="AG" id="FMIOX">302933106</holdingref>
              <holdingref code="GI" id="OAKBX">413838400</holdingref>
              <holdingref code="G" id="OFALX">681383105</holdingref>
              <holdingref code="SV" id="PGA">PGA</holdingref>
              <holdingref code="G" id="LMVTX">524659109</holdingref>
              <holdingref code="GI" id="PQNAX">693389223</holdingref>
              <holdingref code="SV" id="ACR">ACR</holdingref>
              <holdingref exclude="1" code="" id="219350105">219350105</holdingref>
         </intendedalloc>
         <securitylist>
              <holdings code="WE" id="ETHSX">
                   <value>25212.51</value>
                   <fund>Eaton Vance Wrldwd Hlth/A</fund>
                   <account>2098</account>
              </holdings>
              <holdings code="AG" id="FMIOX">
                   <value>1385.77</value>
                   <fund>Fmi Focus Fund</fund>
                   <account>2098</account>
              </holdings>
              <holdings code="GI" id="OAKBX">
                   <value>24992.92</value>
                   <fund>Oakmark Equity & Income</fund>
                   <account>2098</account>
              </holdings>
              <holdings code="G" id="OFALX">
                   <value>23515.96</value>
                   <fund>Olstein Financial Alert/C</fund>
                   <account>2098</account>
              </holdings>
         </securitylist>
         <qrkey>
              <assetclassname code="SV">Stable Value Asset Class</assetclassname>
              <assetclassname code="TB">General Bond Asset Class</assetclassname>
              <assetclassname code="WB">World Bond Asset Class</assetclassname>
              <assetclassname code="WE">World Equity Asset Class</assetclassname>
              <assetclassname code="GEB">General Bond Asset Class</assetclassname>
         </qrkey>
    </qrxref>

  • JSTL unicode xml does not display after x:parse call

    I am trying to display an xml file on the web using JSTL xml tags. The file is encoded in utf-8 containing ancient Greek characters (x1f92, etc.). The file displays properly from a servlet + xslt (http://163.1.169.41/testapp), but I want to use JSTL.
    The JSTL produces intricate spaghetti on the screen (e.g. ��������������� ). I have seen this before --it would seem that unicode is indeed being directed at the screen but is not being interpreted properly. (Not strings of question marks mind you; the unicode seems to be there in this case).
    The code producing the spaghetti is below. I am just dumping in on the screen for now and will use xpath calls later for more precise extraction.
    Does the JSTL want character entities for the x arse call? I would not think so: parsing a utf-8 file would be a very common operation. How can I get the xml unicode file to display properly using the JSTL below?
    [headers]
    <%@ page contentType="text/html; charset=utf-8"pageEncoding="utf-8" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <c:import var="papyrus" url="blabula.xml" />
    <x:parse var="doc" xml="${papyrus}" />
    <x:out select="$doc" />
    ....

    Is it the parse or the import tag that is at fault?
    Try just printing the results of the <c:import> and see what it produces.
    you might try <c:import var="papyrus" url="blabula.xml" charEncoding="utf-8" />

  • Problem in BDC: Not Picking the second entry of file

    Dear Friends,
    I have been working on a BDC and have been facing a problem. This code uploads the first entry of my file properly but repeats the same entry again second time, doesn't refresh or take the second entry of the file.
    Please have a look at the code & suggest the necessary corrections.
    Regards,
    Alok.
    report ZFBPS_BDC
           no standard page heading line-size 255.
    data: bdcdata1 like bdcdata occurs 0 with header line.
    data : vf_index type i.
    *include bdcrecx1.
    DATA: BEGIN OF ENTRIES OCCURS 0,
            RECNO(5),
            NEWBS(2),
            NEWKO(17),
            NEWNUM(1),
            WRBTR(13),
            GSBER(4),
            KOSTL(10),
            SECCO(4),
            ZFBDT(8),
            zuonr(18),
            SGTXT(50),
            FMORE(1),
            HKONT(10),
            PRCTR(10),
            AUFNR(3),
            MWSKZ(2),
            XBLNR(16),
            BKTXT(25),
    END OF ENTRIES.
    DATA: TEMP(8),
          DOCDATE(8),
          SPLGL(1),
          PKEY(2),
          GL(17),
          VCHAMT(13),
          BUSAREA(4),
          SECCODE(4),
          FBDT(8),
          zzuonr(18),
          COSTCEN(10),
          AUFNR(3),
          SGTXT(50).
    data : vf_start_col type i value '1',      "start column
           vf_start_row type i value '1',      "start row
           vf_end_col   type i value '256',    "maximum column
           vf_end_row   type i value '65536',  "maximum row
           p_text(20).                         "stores error messages
    Internal Table
    data : it_excel type  kcde_cells occurs 0 with header line.
    */ Field symbol
    field-symbols : <fs>.
    parameters: p_file   LIKE rlgrap-filename MEMORY ID M01,
                NOHEADER AS CHECKBOX.
    parameters: COMPANY(4) TYPE C DEFAULT 'SCL',
                GROUP(12) TYPE C DEFAULT 'BDCTEST',
                USER(12) TYPE C DEFAULT SY-UNAME,
                KEEP(1) TYPE C DEFAULT 'X',
                POSTDATE LIKE SY-DATUM DEFAULT SY-DATUM,
                DOC_TYPE(2) TYPE C DEFAULT 'KR',
                HOLDDATE LIKE SY-DATUM.
    ***********************************************upload data from excel
    CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
      EXPORTING
        filename                      = p_file
        i_begin_col                   = VF_START_COL
        i_begin_row                   = VF_START_ROW
        i_end_col                     = VF_END_COL
        i_end_row                     = VF_END_ROW
      tables
        intern                        = IT_EXCEL
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3 .
    IF sy-subrc <> 0.
              WRITE: / 'EXCEL UPLOAD FAILED :', p_file, SY-SUBRC.
    else.
      sort it_excel by row col.
          loop at it_excel.
         IF NOHEADER = 'X'
        AND It_EXCEL-row = 1.
          CONTINUE.
        ENDIF.
         vf_index = it_excel-col.
       assign component vf_index of structure ENTRIES to <fs>.
            move  it_excel-value to <fs>.
          at end of row.
            append ENTRIES.
            clear ENTRIES.
          endat.
          endloop.
      endif.
    start-of-selection.
    LOOP AT ENTRIES.
      WRITE: /  ENTRIES-RECNO,
                ENTRIES-NEWBS,
                ENTRIES-NEWKO,
                ENTRIES-NEWNUM,
                ENTRIES-WRBTR,
                ENTRIES-GSBER,
                ENTRIES-SECCO,
                ENTRIES-ZFBDT,
                ENTRIES-ZUONR,
                ENTRIES-SGTXT.
    ENDLOOP.
    WRITE: / 'THIS IS THE BDC PROGRAM FOR SAMTEL'.
    perform bdc_dynpro      using 'SAPMF05A' '0100'.
    perform bdc_field       using 'BDC_OKCODE' '/00'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR' 'RF05A-NEWKO'.
    TEMP = POSTDATE.
    DOCDATE = TEMP+6(2).
    DOCDATE2(2) = TEMP4(2).
    DOCDATE4(4) = TEMP0(4).
    *PERFORM BDC_FIELD USING 'BKPF-BLDAT' DOCDATE.
    *PERFORM BDC_FIELD USING 'BKPF-BLART' DOC_TYPE.
    *PERFORM BDC_FIELD USING 'BKPF-BUKRS' COMPANY.
    *PERFORM BDC_FIELD USING 'BKPF-WAERS' 'INR'.
    *PERFORM BDC_FIELD USING 'BKPF-BUDAT' DOCDATE.
    *PERFORM BDC_FIELD USING 'BKPF-XBLNR' 'Deepak'.
    *PERFORM BDC_FIELD USING 'BKPF-BKTXT' 'Sahib'.
    LOOP AT ENTRIES.
    REFRESH BDCDATA1.
    perform bdc_dynpro      using 'SAPMF05A' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWKO'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    PERFORM BDC_FIELD USING 'BKPF-BLDAT' DOCDATE.
    PERFORM BDC_FIELD USING 'BKPF-BLART' DOC_TYPE.
    PERFORM BDC_FIELD USING 'BKPF-BUKRS' COMPANY.
    PERFORM BDC_FIELD USING 'BKPF-WAERS' 'INR'.
    PERFORM BDC_FIELD USING 'BKPF-BUDAT' DOCDATE.
    PERFORM BDC_FIELD USING 'BKPF-XBLNR' 'Deepak'.
    PERFORM BDC_FIELD USING 'BKPF-BKTXT' 'Sahib'.
    perform bdc_field       using 'RF05A-NEWBS'
                                  ENTRIES-NEWBS.
    perform bdc_field       using 'RF05A-NEWKO'
                                  ENTRIES-NEWKO.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'BSEG-SGTXT'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  ENTRIES-WRBTR.
    perform bdc_field       using 'BSEG-ZUONR'
                                  ENTRIES-ZUONR.
    perform bdc_field       using 'BSEG-SGTXT'
                                  ENTRIES-SGTXT.
    perform bdc_field       using 'DKACB-FMORE'
                                  ENTRIES-FMORE.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'COBL-KOSTL'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-GSBER'
                                  ENTRIES-GSBER.
    perform bdc_field       using 'COBL-KOSTL'
                                  ENTRIES-KOSTL.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWKO'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  ENTRIES-WRBTR.
    perform bdc_field       using 'BSEG-ZUONR'
                                  ENTRIES-ZUONR.
    perform bdc_field       using 'BSEG-SGTXT'
                                  ENTRIES-SGTXT.
    perform bdc_field       using 'RF05A-NEWBS'
                                  ENTRIES-NEWBS.
    perform bdc_field       using 'RF05A-NEWKO'
                                  ENTRIES-NEWKO.
    perform bdc_field       using 'DKACB-FMORE'
                                  ENTRIES-FMORE.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'COBL-GSBER'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-GSBER'
                                  ENTRIES-GSBER.
    perform bdc_field       using 'COBL-KOSTL'
                                  ENTRIES-KOSTL.
    perform bdc_field       using 'COBL-PRCTR'
                                  ENTRIES-PRCTR.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWKO'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  ENTRIES-WRBTR.
    perform bdc_field       using 'BSEG-SGTXT'
                                  ENTRIES-SGTXT.
    perform bdc_field       using 'RF05A-NEWBS'
                                  ENTRIES-NEWBS.
    perform bdc_field       using 'RF05A-NEWKO'
                                  ENTRIES-NEWKO.
    perform bdc_field       using 'DKACB-FMORE'
                                  ENTRIES-FMORE.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'COBL-GSBER'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-GSBER'
                                  ENTRIES-GSBER.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'BSEG-WRBTR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  ENTRIES-WRBTR.
    perform bdc_field       using 'DKACB-FMORE'
                                  ENTRIES-FMORE.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'COBL-GSBER'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-GSBER'
                                  ENTRIES-GSBER.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWKO'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  ENTRIES-WRBTR.
    perform bdc_field       using 'BSEG-SGTXT'
                                  ENTRIES-SGTXT.
    perform bdc_field       using 'RF05A-NEWBS'
                                  ENTRIES-NEWBS.
    perform bdc_field       using 'RF05A-NEWKO'
                                  ENTRIES-NEWKO.
    perform bdc_field       using 'DKACB-FMORE'
                                  ENTRIES-FMORE.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'COBL-GSBER'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-GSBER'
                                  ENTRIES-GSBER.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWKO'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  ENTRIES-WRBTR.
    perform bdc_field       using 'BSEG-SGTXT'
                                  ENTRIES-SGTXT.
    perform bdc_field       using 'RF05A-NEWBS'
                                  ENTRIES-NEWBS.
    perform bdc_field       using 'RF05A-NEWKO'
                                  ENTRIES-NEWKO.
    perform bdc_field       using 'DKACB-FMORE'
                                  ENTRIES-FMORE.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'COBL-GSBER'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-GSBER'
                                  ENTRIES-GSBER.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWKO'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  ENTRIES-WRBTR.
    perform bdc_field       using 'BSEG-SGTXT'
                                  ENTRIES-SGTXT.
    perform bdc_field       using 'RF05A-NEWBS'
                                  ENTRIES-NEWBS.
    perform bdc_field       using 'RF05A-NEWKO'
                                  ENTRIES-NEWKO.
    perform bdc_field       using 'DKACB-FMORE'
                                  ENTRIES-FMORE.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'COBL-GSBER'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-GSBER'
                                  ENTRIES-GSBER.
    perform bdc_dynpro      using 'SAPMF05A' '0302'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'BSEG-SGTXT'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=AB'.
    perform bdc_field       using 'BSEG-HKONT'
                                  ENTRIES-HKONT.
    perform bdc_field       using 'BSEG-WRBTR'
                                  ENTRIES-WRBTR.
    perform bdc_field       using 'BSEG-MWSKZ'
                                  ENTRIES-MWSKZ.
    perform bdc_field       using 'BSEG-ZFBDT'
                                  ENTRIES-ZFBDT.
    perform bdc_field       using 'BSEG-SGTXT'
                                  ENTRIES-SGTXT.
    perform bdc_dynpro      using 'SAPLFWTD' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'WITH_ITEM-WT_WITHCD(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=GO'.
    perform bdc_dynpro      using 'SAPMF05A' '0700'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWBS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BS'.
    perform bdc_field       using 'BKPF-XBLNR'
                                  ENTRIES-XBLNR.
    perform bdc_field       using 'BKPF-BKTXT'
                                  ENTRIES-BKTXT.
    perform bdc_dynpro      using 'SAPMF05A' '0700'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWBS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BU'.
    perform bdc_field       using 'BKPF-XBLNR'
                                  ENTRIES-XBLNR.
    perform bdc_field       using 'BKPF-BKTXT'
                                  ENTRIES-BKTXT.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=YES'.
    call transaction 'FB01' using bdcdata1 mode 'A'.
    ENDLOOP.
           Start new screen                                              *
    form bdc_dynpro using program dynpro.
       clear bdcdata1.
      bdcdata1-program  = program.
      bdcdata1-dynpro   = dynpro.
      bdcdata1-dynbegin = 'X'.
    append bdcdata1.
    endform.
           Insert field                                                  *
    form bdc_field using fnam fval.
       clear bdcdata1.
        bdcdata1-fnam = fnam.
        bdcdata1-fval = fval.
    append bdcdata1.
    endform.

    Hi
    You better use LSMW instaed of using BDC for FB01 Transaction. The Problem is not with REFRESH.
    Regards,
    Anji

  • Very small problem RE: Variable not initializing

    //Hey, folks! Having a small problem here. Compiler keeps telling me that "result" variable may not have been initialized for this method. This is probably an issue of variable scope? It's staring me in the face and I can't see the problem. Can you see the problem?      
    public Shape randomShape()
              Random generator = new Random();
              intShapeDecider = generator.nextInt(3);
              int intCrdntX1 = generator.nextInt(500);
              int intCrdntY1 = generator.nextInt(500);
              int intCrdntX2 = generator.nextInt(500);
              int intCrdntY2 = generator.nextInt(500);
              int intWidth = Math.abs(intCrdntX1 - intCrdntX2);
              int intHeight = Math.abs(intCrdntY1 - intCrdntY2);
              Shape result;
              if (intShapeDecider == 0)
                   result = new Line2D.Double(intCrdntX1,intCrdntY1,intCrdntX2,intCrdntY2);
              else if (intShapeDecider == 1)
                   result = new Rectangle(intCrdntX1,intCrdntY1,intWidth,intHeight);
    else if (intShapeDecider == 2)
              result = new Ellipse2D.Double(intCrdntX1,intCrdntY1,intWidth,intHeight);
              return result;
         }

    Nope...don't think that's the problem. My random ints are only 3 possible nums ...0,1, or 2. I have an if for each possible condition. Therefore, nothing "else" can really happen. No?

  • Iphone 4 S 64 gb. Welcome screen problem! Could not open. Very often calls dropped down! Very often bad or no signal.

    Welcome screen was very big, buttons was hidden. Could not open. Also very often calls dropped down! Very often bad or no signal.

    so... my out of warranty iPhone 4 power button stopped functioning all of a sudden and it also no longer made that "click" when pressed.
    As I already said, it's already out of warranty. This is actually my 2nd iPhone 4. Apple replaced my previous because of a faulty home button. Now my "new" phone has a faulty power button. This phone is of course out of warranty because it's been over a year.

  • Trouble with popup not initialized until addPopUp is called

    I am having troubles with initialization.  I have a class given below.  I new() it at the start and use PopUpManager.addPopUp to display it.
    My problem is that the line query:QueryWIthOption id="filterComp" is a class with a lot of variables.  However, if I try to set any of them before I call addPopUp, it doesn't work because filterComp is null.
    I therefore either need to initialize filterComp earlier, store the data until AddToPopup is called, or change the way I am implementing this.  If I store the data in variables, I have to add a whole bunch either to the class below or to the calling class.
    Doing this once is managable, but I have other similar examples with a similar problem. This code was flex 3 before where filterComp was always initialized.
    Is there any good way to do this?  I guess I am interested in both the way to do this in a minimal way, and what is the best way to code to avoid this issue (if I am adding something new in the future).
    Jay
    QueryWithOptionWrapper class:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    xmlns:query="com.niksun.dashboard.components.query.*">
        <fx:Script>
            <![CDATA[
                import com.niksun.common.managers.ResourceManager;           
            ]]>
        </fx:Script>
        <mx:VBox horizontalAlign="center" width="100%" height="100%" paddingTop="5">
            <query:QueryWithOption id="filterComp" showFilter="true"/>
            <mx:HBox width="100%" horizontalAlign="center" horizontalGap="10">
                <!-- enabled="{!ModelLocator.getInstance().progress}" -->
                <mx:Button id="update" label="{ResourceManager.getString('Update')}"
                           horizontalCenter="0"/>
                <mx:Button id="reset" label="{ResourceManager.getString('Reset')}"/>
                <mx:Button id="cancel" label="{ResourceManager.getString('Cancel')}"/>
            </mx:HBox>
        </mx:VBox>
    </mx:TitleWindow>

    I was thinking about what I would want and came up with the following suggested enhancement for Flex 4.
    Add a preinitialize="true/false" type flag for UI type Components that indicates whether to initialize everything like was done in Flex 3, or whether to hold off initialization until used like is currently done.  It would default to false.
    Is there a way I can ask for/suggest this enhancement for a later version of Flex 4? 
    This change would greatly reduce the time needed to convert from flex 3 to flex 4.

  • Process Order API not initiating PO Acknowledgment Transaction.

    I have set up a Customer as trading partner in XML Gateway, taking care that the primary Sold To site is used for set up in XML Gateway. When i am creating orders using API, it is not triggering the Purchase Order Acknowledgment transaction.
    Does API support calling POA transaction ?

    All of order processing in order management is done using a private version of the process order API. (i.e the OE_PROCESS_ORDER_PVT package.) Hence, it will not matter to the PO acknowledgment transaction, how you create the order. The acknowledgment should get created. POAO is the transaction for the EDI acknowledgment (US: EDI 855 document)
    Do you see the "_ACK" tables getting populated with acknowledgment data? If yes, you will need to investigate the extraction program for POAO. If not, you will need to investigate in OM.
    Hope this helps.
    Thanks.
    Kannan

  • Problems while writing xml doc to a  file

    Hi all , in my project (of distributed xml databases) i need to write the xml files from the main server to the clients.
    These xml files i had formed by fragmenting one xml doc and i did the fragmentation using ....
    TransformerFactory tf = TransformerFactory.newInstance();
              Transformer transformer = tf.newTransformer();
              transformer.transform(new DOMSource(root),
              new StreamResult(new FileOutputStream(outputFile)));
    Now the problem is that on the client where these fragments reside..i m not able to do the indexing of the document properly ie...
    some extra text nodes with no values are coming in the index...
    i dont know how to deal wid the extra nodes that i m getting after parsing the file and craeting an index for the same..
    may be its coz of the transformer func i m using....don know(???)
    Note : i m fragmenting the xml files into text files using the above function and then sending thm to the client via sockets.
    Also,after fragmenting i am getting sumthng like
    <?xml version="1.0" encoding="UTF-8"?>
    in all the files..is this a source of any problem....
    plz reply soon....

    You have not described how you "index" the files and what you mean by that.
    Are you processing them with SAX or DOM, or one of the variations of those means?
    Is there a chance that the "extra" nodes are simply text nodes with newlines ("\n")? There are usually a lot of extra text nodes in a file each containing only one newline.
    If you are using SAX, there is no requirement for the parser to collect all of the text inside an element into a single block before calling the characters method. You may get several calls to characters between the start of an element and the end. If you change parsers, you may even get a different number of calls, but the character data will always be the same.
    Dave Patterson
    As to the <?xml version="1.0" encoding="UTF-8"?> line, that is perfectly fine. It means that your file thinks it is valid XML. Whether or not it REALLY is valid depends on a validation of the file.

  • 10g XE WebDav does not load XML doc

    Hi,
    I am experimenting with XE XMLDB. I have successfully registered a simple schema and was able to insert XML doc from sqlplus into XML DB. But when I drop a XML doc into the WebDav folder, the document did not get loaded. My 10g XE is installed on my laptop running Win XP, and I have both ftp (2100) and http (8080) ports actived. everything is local in my laptop.
    I had no problem at all when (doing the same testing) dropping the the doc into another WebDAV folder, which points to the XML DB on an ora92 EE installation running on a UNIX server.
    Don't know What i have missed?

    The following command will also do the trick without bouncing your database:
    alter system register;

  • Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc. This is a new problem and was not the case before.

    Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc.
    This is a new problem and was not the case before.

    Works perfectly fine for me with the latest Reader version (11.0.09).
    You write that it worked "before"; before what?  An update?  Update from what version to what version?

  • Problem inserting XML doc (character set)

    Hi all,
    I'm having trouble trying to insert XML either "posting" it (xsql) or "putting" it
    (OracleXML putXML).
    The error that I get: "not supported
    oracle-character-set-174".
    The environment is:
    Oracle 8i 8.1.5
    (NLS_CHARACTERSET EL8MSWIN1253 for greek)
    JDK 1.2.2
    Apache Web Server 1.3.11
    Apache JServ 1.1
    XSQL v 0.9.9.1 and
    XMLSQL, XML parser v2 that comes with it.
    I had dropped all java classes and reloaded
    them using oraclexmlsqlload batch file.
    But still getting the same error.
    The thing that is that I am
    able to insert XML doc that was generated
    with an authoring tool called W4F that extracts data from HTML pages and map them to
    XML document, even with greek characters
    in it. But when XML is generated using
    an editor or the servlet like the following:
    newschedule.xsql like
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="latestschedules.xsl"?>
    <page connection="dtv" xmlns:xsql="urn:oracle-xsql">
    <xsql:insert-request date-format="DD'/'MM'/'YYYY" table="schedule_details_view"
    transform="request-to-newschedule.xsl"/>
    <xsql:query table="schedule"
    tag-case="lower" max-rows="5" rowset-element="latestschedules"
    row-element="schedule">
    select *
    from schedules
    order by schedule_id desc
    </xsql:query>
    </page>
    request-to-newschedule.xsl like
    <?xml version = '1.0'?>
    <ROWSET xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0">
    <xsl:for-each select="request/parameters">
    <ROW>
    <SCHEDULE_ID><xsl:value-of select="Schedule_id_field"/></SCHEDULE_ID>
    <DESCRIPTION><xsl:value-of select="Description_field"/></DESCRIPTION>
    <DETAILS>
    <DETAILS_ITEM>
    <STARTING_TIME><xsl:value-of select="Starting_Time_field_1"/></STARTING_TIME>
    <DURATION><xsl:value-of select="Duration_field_1"/></DURATION>
    </DETAILS_ITEM>
    <DETAILS_ITEM>
    <STARTING_TIME><xsl:value-of select="Starting_Time_field_2"/></STARTING_TIME>
    <DURATION><xsl:value-of select="Duration_field_2"/></DURATION>
    </DETAILS_ITEM>
    <DETAILS_ITEM>
    <STARTING_TIME><xsl:value-of select="Starting_Time_field_3"/></STARTING_TIME>
    <DURATION><xsl:value-of select="Duration_field_3"/></DURATION>
    </DETAILS_ITEM>
    <DETAILS_ITEM>
    <STARTING_TIME><xsl:value-of select="Starting_Time_field_4"/></STARTING_TIME>
    <DURATION><xsl:value-of select="Duration_field_4"/></DURATION>
    </DETAILS_ITEM>
    <DETAILS_ITEM>
    <STARTING_TIME><xsl:value-of select="Starting_Time_field_5"/></STARTING_TIME>
    <DURATION><xsl:value-of select="Duration_field_5"/></DURATION>
    </DETAILS_ITEM>
    </DETAILS>
    </ROW>
    </xsl:for-each>
    </ROWSET>
    Hope that someone could help me on this ...
    Any advice is highly appreciated.
    Thanks in advance
    Nicos Gabrielides
    email: [email protected]

    Hi,
    How about applying an XSL on the existing XML doc to create another XML doc to filter out the table column not found in the target db table, so that all the columns are matched and then use putXML to load?
    Hope that helps.
    OTN team@IDC

  • Problem inserting xml doc into tables

    I'm trying to load and xml doc into a table/columns using putXML. I clearly have elements in my xml doc that I do not want to load into the table. I am receiving the following error: The XML element tag 'VERB' does not match the name of any of the columns/attributes of the target database. I'm having difficulty figuring out how to exclude of ignore these elements.
    Any help would be greatly appreciated.
    Thanks,
    John

    Hi,
    How about applying an XSL on the existing XML doc to create another XML doc to filter out the table column not found in the target db table, so that all the columns are matched and then use putXML to load?
    Hope that helps.
    OTN team@IDC

  • Client-cert auth impl in web.xml does not work in Oracle Application Server

    Hi,
    I am new to implementing security features on the web applications.. I have developed a new web service using jdev1012 and deployed in OAS 10.1.2. Its working fine according to the business requirements, but I am in need of implementing client-cert authentication to enable the web service available to only those who have client certificate.
    My server details are:
    Oracle Application Server 10g Release 2 (10.1.2)
    Server certificate is in place and SSL mode have been already enabled.. able to access my web service through https://<mydomain.com>/myws/TreqWS as well able to see the WSDL file through https://<mydomain.com>/myws/TreqWS?WSDL.
    I tried to include the following in my web.xml file as part of implementing CLIENT-CERT authentication.
    <security-constraint>
    <display-name>SecurityConstraint</display-name>
    <web-resource-collection>
    <web-resource-name>WSCollection</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>CLIENT-CERT</auth-method>
    <realm-name>WSCollection</realm-name> <!-- am not sure about this realm-name and its purpose -->
    </login-config>
    It is not woking as expected, though I have restarted my oc4j container after including this content to the web.xml file. i.e, I am able to invoke the web service though my sample java client program, though I donot have client certificate/keystore.
    I believe I am missing something..Can anyone help me in this regard to implement CLIENT-CERT authentication successfully?
    Thanks,
    Ms

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • Configuration file "config\jazn.xml" does not exist

    I have just installed 10g and am trying to setup iSQL*PLUS/dba. I found directions here http://download-west.oracle.com/docs/cd/B12037_01/server.101/b12170/ch3.htm#BCEIHEJF, however, when I try to start the JAZN shell or run the command line to create the dba user, I receive this error:
    oracle.security.jazn.JAZNRuntimeException: Configuration file "config\jazn.xml"
    does not exist. Check your JAAS configuration settings.
    at oracle.security.jazn.JAZNConfig.getJAZNProperties(Unknown Source)
    at oracle.security.jazn.JAZNConfig.access$100(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.util.Dbg$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.util.Dbg.getJAZNProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.getBoolJAZNAndSystemProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.<clinit>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.fileExists(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getDefaultJAZNConfigFilePath(Unknown
    Source)
    at oracle.security.jazn.JAZNConfig.access$000(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.tools.Admintool.refresh(Unknown Source)
    at oracle.security.jazn.tools.Admintool.init(Unknown Source)
    at oracle.security.jazn.tools.Admintool.main(Unknown Source)
    User does not exist in system.
    Has anyone run in to this and found a solution? Is there something more that I need to do? I know nothing about JAAS.

    I have the same problem. Did you resolve this problem?

Maybe you are looking for