Bug in XML DB?

HI Gentlemen,
When I try to register my schema with Enterprise Manager OR dbms_xmlschema, I get an error message stating that an enumeration value is invalid. This is true when I go with blockDefault="all" or "substitution".
However, if I say blockDefault="restriction" or "extension" then it is OK.
Here are the two versions of the corresponding line in the schema file, wrong and right:
<xs:schema targetNamespace="urn:ehd/001" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="substitution" xmlns="urn:ehd/001" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="urn:ehd/001" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="extension" xmlns="urn:ehd/001" xmlns:xs="http://www.w3.org/2001/XMLSchema">
Please help if you can how to register because this is vital for the further operations.
Thanks, best regards from
Miklos HERBOLY

Miklos,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxml/html/comptypder.asp
Has information regarding derivation. Possibly you have derivated your complex type and therefore all and subsitution are invalid.

Similar Messages

  • Bug in XML DOM

    there is a bug in XML DOM API in Safari for Windows. The same bug was in FireFox 2 https://bugzilla.mozilla.org/show_bug.cgi?id=206053
    Hmm... how to report it to Apple?

    You should use the following function instead:
    public NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
    java.lang.String localName)

  • 10g: Bug with XML\Jazn Security

    For days I've been trying to get my migrated apps (from 9.0.3.1) to run with the internal JDev OC4J using JAZN security. I've been able to deploy to the packaged OC4J just fine, yet whenever I run it internally, it's never accepted my username and password.
    I just now found that JDev added a...
    <jazn provider="XML" location="[AppName]-jazn-data.xml" default-realm="jazn.com"/>
    to my App-oc4j-app.xml. I'm guessing this is for the Current Workspace settings, which is fine... however, for the Global settings, JDev never looks into system9.0.5.0.0.1375 \ oc4j-config for the global jazn-data.xml file when you run your app. (It will obfuscate passwords and everything, just won't look up your credentials)
    To fix the problem, I ended up copying my global jazn-data.xml file to my app's main directory (where App-oc4j-app.xml exists) from the system directory, then changing the location of the jazn provider in the App-oc4j-app.xml file to jazn-data.xml. (I suppose I could have just changed the location to point to the System directory as well).
    Anyways, figured this might help someone.

    I have the same problem. My app works fine with Stand alone OC4J. I tried to migrate my app into 10g Env.
    But I had the problem the JAZN Authentication. I tried all solutions, it still failed. I decided to create
    very simple EJB project to test Embedded OC4J debugging.
    I create a simple Test Workspace and testEJB project.
    I followed the steps to create a simple TestSesssionEJB with one method: insert.
    I right clicked on the TestSesssionEJB to generate New Sample EJB Client, named TestSessionEJBClient.
    1) To start the debug EJB, I right cliked the TestSesssionEJB and selected Degug TestSesssionEJB.
    2) Embedded OC4J Server started fine.
    3) I ran TestSessionEJBClient I got javax.naming.AuthenticationException
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Invalid username/password for current-workspace-app (admin); nested exception is:
         javax.naming.AuthenticationException: Invalid username/password for current-workspace-app (admin). Root exception is javax.naming.AuthenticationException: Invalid username/password for current-workspace-app (admin)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2298)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2129)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1665)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:680)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at test.TestSessionEJBClient.main(TestSessionEJBClient.java:17)
    Here is TestSessionEJBClient generated by JDeveloper
    package test;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import test.TestSessionEJB;
    import test.TestSessionEJBHome;
    import javax.naming.NamingException;
    public class TestSessionEJBClient
    public static void main(String [] args)
    TestSessionEJBClient testSessionEJBClient = new TestSessionEJBClient();
    try
    Context context = getInitialContext();
    TestSessionEJBHome testSessionEJBHome = (TestSessionEJBHome)PortableRemoteObject.narrow(context.lookup("TestSessionEJB"), TestSessionEJBHome.class);
    TestSessionEJB testSessionEJB;
    // Use one of the create() methods below to create a new instance
    testSessionEJB = testSessionEJBHome.create();
    // Call any of the Remote methods below to access the EJB
    // testSessionEJB.insertClob( );
    catch(Throwable ex)
    ex.printStackTrace();
    private static Context getInitialContext() throws NamingException
    // Get InitialContext for Embedded OC4J.
    // The embedded server must be running for lookups to succeed.
    return new InitialContext();
    Test-oc4j-app.xml content
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
    <orion-application>
    <ejb-module path="file:/C:/jdev905WorkSpaces/testEJB/classes/"/>
    <library path="C:\jdev905WorkSpaces\testEJB\classes">jdev-generated</library>
    <library path="C:\Tools\oracle\jdev905\jdev\system9.0.5.0.1349\oc4j-config\.client">jdev-generated</library>
    <library path="C:\Tools\oracle\jdev905\lib\xmlparserv2.jar">jdev-generated</library>
    <library path="C:\Tools\oracle\jdev905\lib\xmlcomp.jar">jdev-generated</library>
    <log>
    <file path="Test-oc4j-app.log"/>
    </log>
    <jazn provider="XML" location="Test-jazn-data.xml" default-realm="jazn.com"/>
    <data-sources path="Test-data-sources.xml"/>
    </orion-application>
    Test-jazn-data.xml content
    <jazn-data>
    <jazn-realm>
    <realm>
    <name>jazn.com</name>
    <users>
    <user>
    <name>jdevuser</name>
    <credentials>!jdevuser</credentials>
    </user>
    </users>
    <roles>
    <role>
    <name>jdevrole</name>
    </role>
    </roles>
    </realm>
    </jazn-realm>
    </jazn-data>
    .../system9.0.5.0.1349\oc4j-config/server.xml
    <application-server application-directory="applications" deployment-directory="application-deployments" connector-directory="connectors" transaction-log="log/transaction.state" recovery-procedure="ignore" taskmanager-granularity="5000" taskmanager-interval="5000" auto-unpack-applications="true">
         <rmi-config path="./rmi.xml"/>
         <sep-config path="./internal-settings.xml"/>
         <!-- JMS-server config link, uncomment to activate the JMS service -->
         <jms-config path="./jms.xml"/>
         <log>
              <file path="log/server.log"/>
         </log>
    <java-compiler name="ojc" in-process="false" bindir="C:\Tools\oracle\jdev905\jdev\bin\"/>
         <global-application name="default" path="application.xml"/>
    <application name="bc4j" path="C:\Tools\oracle\jdev905\jdev\system9.0.5.0.1349\oc4j-config\applications\bc4j.ear"/>
    <application name="larcis" path="C:\larcis3\jdev905\larcis3-oc4j-app.xml"/>
    <application name="current-workspace-app" path="C:\jdev905WorkSpaces\Test-oc4j-app.xml"/>
         <global-web-app-config path="global-web-application.xml"/>
         <!-- <web-site path="./secure-web-site.xml" /> -->
         <web-site default="true" path="./default-web-site.xml"/>
         <!-- Compiler, activate this to specify an alternative compiler such
              as jikes for EJB/JSP compiling. -->
         <!-- <compiler executable="jikes" classpath="/myjdkdir/jre/lib/rt.jar" /> -->
    </application-server>
    I think this is a bug in XML/JAZN that Tim mentioned in the first post.
    I also tried the solution suggested by Tim. But it still did not work.
    Any one have another suggestion?

  • Bug in XML Java parser v2.0.2.8

    Hi, XML Team:
    When i try to transform some documents ( about 39Kb ) they not gets correctly parsed.
    At some point in the document a numeric entity reference get uncorrectly parsed.
    It parses a word like "relaci&#243;n" to "relacion&38;#243" and from that point part of the document is badly parsed, to some point in that the parses get resynchronized newly, and from this point to the end, the rest of the document get correctly parsed.
    When i say badly parsed i want to say that the "<" & ">" get parsed as entity references and not as part of an element,it seems to parse all that follows the badly parsed word as text() and not as elements.
    In the other hand, i discovered a very simple workaround: delete a single char from a point in the part of the file preceding the dangerous word, with this measure everything goes well, but it's not very good because my files are static ( not sql generated ) and i can do that, when i use the parser trought XSQL how can i prevent some query to have the dangerous lenth?.
    It seems that this bug is related to boundaries detection inside the code that reads from file, when the "&" character is read in the last byte of the buffer, it's not detected as part of entity reference and the entity reference is not readed as a whole but as a 2 things a "&" and after a "#243" that follows...
    I can send you a test bed that reproduces the bug, cleanly and consistetly.
    Saludos, Ignacio J. Ortega
    null

    Please email me test cases of both problems
    and we'll look into it ASAP. Thanks.
    The Jit one looks especially interesting.
    null

  • A bug in XML::attributes()

    In the past, if you run these:
    var xml:XML = <xml a="1" b="2"/>
    var a:XML = xml.attributes()[0];
    trace(a.toXMLString());
    you'll get a right callback like:
    <a>1</a>
    But if you run the same in the latest version,
    you'll get a callback like:
    1
    The xml objects in the xmlist returned from attributes() is
    unexpected in the latest version.
    for another example:
    In early version:
    var xml:XML = <xml a="1" b="2"/>
    var list:XMLList = xml.attributes();
    var xml2:XML = <xml><node/></xml>
    xml2.appendChild(list[0]);
    trace(xml2.toXMLString());
    you will get a right one :
    <xml>
    <node/>
    <a>1</a>
    </xml>
    current version you will get a terrible callback:
    <xml>
    <node/>
    1
    </xml>
    How can I accept with this bug? Please check your SDK and
    runtime Player!!!!
    (excuse for my week English)

    keep in mind that flex 3 should be released in Q4 2007.
    Maybe you should try to work with Flex2.01 or maybe you can
    use multiple SDKs in flex 3 (
    http://flashenabled.wordpress.com/2007/06/19/running-your-flex2-application-in-flexbuilder -3/
    I was also struggling with webservice calls in flex 2 hotfix
    2 and now I went back to Flex 2.01

  • SDK 4.0.0.5: CM.jar Is Not Copied BUG-cm_jars_structure.xml.example Missing

    Could someone please help me out. I am trying to fix this bug with:
    SDK 4.0.0.5: CM.jar Is Not Copied into the Package To Be Deployed [ID 1315169.1]
    And according to Oracle support I need to:
    Solution
    In SDK version 4.0.0, the cm.jar gets copied only in etc/lib folder. In the target environment it gets distributed by executing initialSetup.sh, which is part of the CM installation.
    The structures/cm_jar_structure.xml should be created for the cm.jar distribution. You can see an example of the structure under the pkg scripts folder: etc/cm_jars_structure.xml.example (it just needs to be copied to structures/cm_jar_structure.xml). The cm.jar will then be copied to the correct locations in the application.
    But I am missing the file cm_jars_structure.xml.example.
    Does some have that file please?

    Hi,
    Here the comment from the FW_jars_strucure.xml.
    <!-- for list_of_AND_conditions all conditions must be true for jar to be distributed       -->
    <!-- for list_of_OR_conditions any of the conditions must be true for jar to be distributed -->
    <!--
       example:
       <jar_name>
          <source_dir_jar>source directory where the jar file is located (mandatory)</source_dir_jar>
          <dest_folders>
             <dest_folder_1>destination 1</dest_folder_1>
             <dest_folder_2>destination 2</dest_folder_2>
             <dest_folder_3>destination 3</dest_folder_3>
          </dest_folders>
          <list_of_AND_conditions>
                <condition_1>SPLWAS=WLS</condition_1>
                <condition_2>DBNAME=TESTING</condition_2>
          </list_of_AND_conditions>
          <list_of_OR_conditions>
                <condition_1>DBUSER=cisuser</condition_1>
                <condition_2>DBUSER=CISUSER</condition_2>
          </list_of_OR_conditions>
          if child jvm path exists, then the jar file from the location specified
          here will be added to class_path (child_jvm_option)
          <child_jvm_path>PATH where jar file is located</child_jvm_path>
          <target_folder>(subfolder under java/target used as basedir for jar creation)</target_folder>
          <copy_classes>true (set to true if during install single fixes the class should just copied to $SPLEBASE/java/target)</copy_classes>
          <update_source_jar>
             <update_source_jar_1>(list here the folder that should be updated in base-shared-${jversion}-src.jar. eg.: source/base)</update_source_jar_1>
             <update_source_jar_2></update_source_jar_2>
          </update_source_jar>
       </jar_name>
       Uncomment the following block for testing
       ensure you have a test.jar under $SPLEBASE/etc/lib
       The jar file will be copied if SPLWAS=WLS and DBNAME=TESTDB and
       DBUSER is either cisuser or CISUSER.
    -->
    <!--
       <test.jar>
          <source_dir_jar>@SPLEBASE@/etc/lib</source_dir_jar>
          <dest_folders>
             <dest_folder_1>@SPLEBASE@/splapp/applications/XAIApp/WEB-INF/lib</dest_folder_1>
             <dest_folder_2>@SPLEBASE@/splapp/applications/root/WEB-INF/lib</dest_folder_2>
             <dest_folder_3>@SPLEBASE@/splapp/businessapp/lib</dest_folder_3>
             <dest_folder_4>@SPLEBASE@/splapp/mpl/lib</dest_folder_4>
             <dest_folder_5>@SPLEBASE@/splapp/standalone/lib</dest_folder_5>
          </dest_folders>
          <list_of_AND_conditions>
                <condition_1>SPLWAS=WLS</condition_1>
                <condition_2>DBNAME=TESTDB</condition_2>
          </list_of_AND_conditions>
          <list_of_OR_conditions>
                <condition_1>DBUSER=cisuser</condition_1>
                <condition_2>DBUSER=CISUSER</condition_2>
          </list_of_OR_conditions>
          <child_jvm_path>@SPLEBASE@/splapp/standalone/lib</child_jvm_path>
          <target_folder>base</target_folder>
       </test.jar>
    -->/Markus

  • Dreamweaver bug?: XML closing tag ( _/ ) is flawed.

    This is the original code:
    <_bug>hello</_bug>
    And this is how it's opened by DW (CS4):
    <_bug>hello<_bug>
    Sorry but I can't try it in CS5

    Hello Murray! Thanks for your help. The title of my post is wrong and the underscore it's really an underscore. Just copy-paste the code i wrote, save it as .xml, and then open it with DW. You will see the slash of the closing tag is missing   But if you open it with notepad, for example, you will see the slash again.
    The problem comes when you save the file with DW... Your slash will be deleted forever.

  • Is this a bug in XML SQL utility?

    insertxml includes the leading and trailing spaces of a value while inserting into the varchar2 columns. Whereas the XSchema parser ignores them while parsing. Is there a work around?

    Sounds like you may not have connected to the right database on the server.
    Check the default database for the username/passwd combo you are logging in with.

  • Sax parse xml bug , I can't figure it out!

    (1) orginal xml file as followings:
    <row>
    <field name="productBundleId">22456</field>
    <field name="localPath">/products/01092008/RealArcade/STD_StonesOfKhufu_NOK6030_EN_v1_0_12.jar</field>
    <field name="description">/products/01092008/RealArcade/STD_StonesOfKhufu_NOK6030_EN_v1_0_12.jad</field>
    </row>
    (2) task parsing the above and and retrieve the value and set it to a javabean:
    (3) Using the SAX as the xml file is very big , about 1M
    * @author mertef
    public class XerseHandlerImp extends DefaultHandler implements MF_CONSTANTS
         List                              m_data               = new ArrayList();
         private CompareSimpleBean     m_csb               = null;
         private String                    m_tmpVal          = "";
         private boolean                    m_id               = false;
         private boolean                    m_jar               = false;
         private boolean                    m_jad               = false;
         private String                    m_whitespace     = "";
         private boolean                    m_character          = false;
         @Override
         public void characters(char[] ch, int start, int length) throws SAXException
    *          // System.out.println(new String(ch,start,length));*
              m_tmpVal = new String(ch, start, length);*
    if (jad) System.out.println(tmpVal);*
         @Override
         public void endElement(String uri, String localName, String name) throws SAXException
              m_character = false;
              if (name.equals(MOVAYA_ROW))
                   m_data.add(m_csb);
              if (name.equals(MOVAYA_FIELD))
                   if (m_id)
                        m_csb.setId(m_tmpVal);
                        m_id = false;
                        m_jar = false;
                        m_jad = false;
                   else if (m_jar)
                        m_csb.setJarPath(m_tmpVal);
                        m_id = false;
                        m_jar = false;
                        m_jad = false;
                   else if (m_jad)
                        m_csb.setJadPath(m_tmpVal);
                        m_id = false;
                        m_jar = false;
                        m_jad = false;
         @Override
         public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
              m_whitespace = new String(ch, start, length);
    (4) please pay attention to the bold area , the method:
    character()
    I declare a variable "m_character" to decide if the parser don't read content of
    an item in above xml file ,such as
    /products/01092008/RealArcade/STD_StonesOfKhufu_NOK6030_EN_v1_0_12.jar
    (5)error:
    but some time it only reads part of the character contents:
    eg:
    /products/01092008/RealAr
    cade/STD_StonesOfKhufu_UnitedStates_LGCU515_EN_v1_0_12.jad
    It means that they parser comes across some character when parsing,
    but in fact it doesn't.
    You can use println() to monitor the outputs.
    So I need to declare some boolean variable to decide whether all the content of one item has read fully.
    (6)
    May be its a bug, my xml file don't include any special charactor.

    The problem is that the character data might be delivered in multiple chunks, this means that the characters method might be called more than once for the same element.
    One way around this is to create a StringBuilder or something similar in the startElement() method, and fill it with the characters in the characters() method and read it in the endElement() method.
    For more information: http://forum.java.sun.com/thread.jspa?threadID=5255925

  • Bugs after Patch 27

    Hi everyone,
    this weekend I have applied PL 27 to all of my EP6 SP2 Components (J2EE, Platform and CM with HF1). There were some issues which came to my attention:
    1. Especially the CM Patch 27 has a very long runtime (9hrs in my 2 CPU and 4GB RAM System). And if you have a look at the config.X.trc file in the server directory all the packages take exactly the same amount of time (+- a few seconds), no matter what size they are. No ohter Patch or Hotfix showed such a behaviour. Has anyone else experienced this?
    2. The Log Admin (Logging Console) doesn't work anymore:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.monitoring/portal/com.sap.portal.logAdmin
    Component Name : com.sap.portal.runtime.admin.logadmin.default
    Unable to Find Method : name.
    Exception id: 10:55_06/12/04_0059
    See the details for the exception ID in the log file
    Has anyone seen this, too? Or even found a soltion?
    3. The Workset and Role Editor seem to have some problems too:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : com.sap.portal.appdesigner.framework.editorAreaFullLayout
    Component Name : com.sap.portal.appdesigner.framework.editorAreaFullLayout
    Error in executing a process for compilation, /usr/sap/EPI55/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/com.sap.portal.appdesigner.framework/work/jsp/_sapportalsjsp_editorareafull.java:67: cannot resolve symbol symbol : variable jspxth_log_checkbox_0 location: class jsp._sapportalsjsp_editorareafull jspxth_lyt_template_1.setParent(_jspx_th_log_checkbox_0); ^ 1 error .
    Exception id: 11:00_06/12/04_0062
    See the details for the exception ID in the log file
    Anyone seen or solved that one?
    Thanks and regards,
    Jochen

    Hi Jochen,
    I have the same patch/hf-level, but none of these problems. I had a lot of others, but these arose by some portal changes in classloader usage, so that a Xerces implementation (which I had added in J2EEs additional-lib with reference to irj) became the used XML implementation instead of inqmy-xml. (For the portal having a many bugs concering xml, these now came up where inqmy 'solved' them by being implemented the same wrong way.)
    Especially CM P27 it didn't take 9 hours, and I'm talking of a developer notebook, 1 GB, 1 CPU.
    For your third issue I just compared my work/*.java file and saw that the line you gave I do not have. The most similar is
    jspxth_lyt_template_0.setParent(null);
    Please check if the corresponding JSPs have been updated by the patch?!
    Also check you patch level of Basic Java Libs (15!?).
    If all this does not solve your problem, I would open an OSS message, but - it's not directly dependent on this patch/hotfix
    Hope it helps
    Detlev

  • Data change after call xml transformation for RAW data type

    Hi,
      Can someone explain what is workarround or any help for below problem
    when call transformation is called for usr02 records, after xml string is generated is showing different data for RAW data type for example content of fields BCODE,PASSCODE etc get convert into different data
    for example: content of BCODE fields before xml transformation say -7F8087472FB996E5
    after xml transformation it display as f4CHRy+5luU=
    why is this so happening?  is this known behaviour after xml transformation or it is bug in xml transformation?
    thanks in advance.
    Regards,
    John.

    Hi,
    I think this is because RAW data is BASE64 encoded when using CALL TRANSFORMATION.
    Old post, but did you ever find a way to change that?
    Thanks

  • Nested XML and attributes

    Hi all,
    Not sure if this is me doing things wrong, or a bug.
    XML:
    <schedules>
    <entry>
    <groupTitle group="test">Nice Test
    Title</groupTitle>
    <type>testtype</type>
    <items qty="2">
    <item>number 1</item>
    <item>number 2</item>
    </items>
    </entry>
    </schedules>
    I have two datasets:
    ds1 = new...XMLDataSet ("data/data.xml", "schedules/entry");
    ds2 = new...NestedXMLDataSet(ds1, "items/item");
    Everything seems to work fine except for accessing the @qty
    attribute for items. From reading the docs on datasets, I should be
    able to access that using {ds2::@qty} I believe ?
    If I add a @qty attribute to <entry> as a test, I can
    access that via {ds1::@qty}, or if I change ds2's XPath to just
    "items" then I can access it through {ds2::@qty} ... but then
    repeat on ds2 doesnt step through the child items.
    Am I doing something wrong or is there a bug accessing
    attributes on nested xml datasets ?
    Thanks in advance as always!
    Regards
    Dave

    Hi Dave,
    to access the @qty attribute, you don't need to create a
    nested data set. You can add a sub -path for the XML data set.
    The code should look like this:
    var ds1 = new Spry.Data.XMLDataSet("test.xml",
    "/schedules/entry", {subPaths: "items"});
    <div spry:region="ds1">
    <ul spry:repeat="ds1">
    <li>{items/@qty}</li>
    </ul>
    </div>
    Diana

  • Error invoking web service deployed in SOA Suite

    I have implemented a stateful web service in Jdeveloper 10.1.3.2.
    I can test succesfully an operation of the web service from the embedeed oc4j of jdeveloper, but i can not succes when i try do the same from the application server control of soa suite.
    The response of the web service in the second case, is the xml of the request.I can not understand.
    I implemented a web service proxy in jdeveloper that invokes the web service deployed in soa suite.When i run it, it gives me an exception like this:
    unexpected element name: expected={http://orclproject/types/}doLoginResponseElement, actual={http://orclproject/types/}doLoginElement
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:231)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._deserialize_doLogin(OrclLoginWSSoapHttp_Stub.java:1022)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._readFirstBodyElement(OrclLoginWSSoapHttp_Stub.java:891)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub.doLogin(OrclLoginWSSoapHttp_Stub.java:484)
         at orclproject.OrclLoginWSSoapHttpPortClient.doLogin(OrclLoginWSSoapHttpPortClient.java:65)
         at orclproject.OrclLoginWSSoapHttpPortClient.main(OrclLoginWSSoapHttpPortClient.java:28)
    where doLogin is the operation of the web service.
    any idea?
    thanks in advance...

    Hi,
    almost 8 months passed since this post, but if still actual then look at BUG: Request XML returned as response when result too large thread. It may be the same problem with large data sets.
    Regards,
    Patrik

  • Incorrect value: Namespace prefix q1 of QName q1:RequestArray is undeclared

    Can someone please help me understand this error message?
    Incorrect value: Namespace prefix q1 of QName q1:RequestArray is undeclared
    Exception of class CX_SLIB
    I get this error when generating the Proxy Class.
    The URL of the Web Service WSDL is:
    https://addresscheck.melissadata.net/v2/SOAP/Service.svc?wsdl
    I found an OSS note which looked promising, but even after implementing the note I still get the error.
    OSS Note # 0001229799  -  "Workaround for kernel bug with xml namespace context"
    Thank you very much !
    -Chris

    Hope you would get everything from this link
    http://www.saphelp.com/ERP/archive/index.php?f-118.html
    regards
    nag

  • Selection issue with editable Spark DataGrid

    Hi everyone,
    I am evaluating the new Spark DataGrid and I'm having a very strange issue with the behavior of selection in an editable instance.
    Here is my test application: http://www.playcalliope.com/flex/DataGridSelectionIssue.html (code here: https://gist.github.com/1129160)
    And here are the steps to reproduce the issue:
    select the very first cell at the top-left corner of the grid (the one with "Gabriele");
    click on it once more, the editor appears;
    now click on the cell just to the right of it (the one with "Genta").
    You should see that editing ends as it supposed to do, but selection is placed on the third cell (the one with a 5 in it) instead on the one you clicked on. Playing a little with the grid you should see that this isn't the only case, but selection is really behaving randomly.
    I am using SDK 4.5.1.21328.
    I think this is a very basic usage case.. I can't believe this is not working properly, what am I missing?
    Thanks a lot,
    Gabriele Genta
    Message was edited to add live example

    Your running into a known bug, https://bugs.adobe.com/jira/browse/SDK-30088.
    The  bug will be fixed in the Mega release. To work around the bug you can  create a custom editor and remove the  "dataGrid.validateNow();" call in  DataGridEditor.save().
    Here's how I modified your example to workaround the bug:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   minWidth="955" minHeight="600"
                   backgroundColor="#E7E7E7"
                   creationComplete="application1_creationCompleteHandler(event)">
        <s:layout>
            <s:HorizontalLayout horizontalAlign="center" verticalAlign="middle"/>
        </s:layout>
        <fx:Script>
            <![CDATA[
                import mx.collections.XMLListCollection;
                import mx.events.FlexEvent;
                protected function application1_creationCompleteHandler(event:FlexEvent):void
                    testGrid.dataProvider = new XMLListCollection(testData.item);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <fx:XML id="testData" xmlns="">
                <items>
                    <item>
                        <id>1</id>
                        <cognome>Gabriele</cognome>
                        <nome>Genta</nome>
                        <uhm>5</uhm>
                        <bene>molto</bene>
                    </item>
                    <item>
                        <id>10</id>
                        <cognome>Pinco</cognome>
                        <nome>Pallino</nome>
                        <uhm>10</uhm>
                        <bene>poco</bene>
                    </item>
                </items>
            </fx:XML>
            <fx:Component className="MyDefaultEditor">
                <s:DefaultGridItemEditor>
                    <fx:Script>
                        <![CDATA[
                            import mx.collections.ICollectionView;
                            import mx.collections.ISort;
                            override public function save():Boolean
                                if (!validate())
                                    return false;
                                var newData:Object = value;
                                var property:String = column.dataField;
                                var data:Object = data;
                                var typeInfo:String = "";
                                for each(var variable:XML in describeType(data).variable)
                                    if (property == [email protected]())
                                        typeInfo = [email protected]();
                                        break;
                                if (typeInfo == "String")
                                    if (!(newData is String))
                                        newData = newData.toString();
                                else if (typeInfo == "uint")
                                    if (!(newData is uint))
                                        newData = uint(newData);
                                else if (typeInfo == "int")
                                    if (!(newData is int))
                                        newData = int(newData);
                                else if (typeInfo == "Number")
                                    if (!(newData is Number))
                                        newData = Number(newData);
                                else if (typeInfo == "Boolean")
                                    if (!(newData is Boolean))
                                        var strNewData:String = newData.toString();
                                        if (strNewData)
                                            newData = (strNewData.toLowerCase() == "true") ? true : false;
                                if (property && data[property] !== newData)
                                    // If the data is sorted, turn off the sort for the edited data.
                                    var sort:ISort = null;
                                    if (dataGrid.dataProvider is ICollectionView)
                                        var dataProvider:ICollectionView = ICollectionView(dataGrid.dataProvider);
                                        if (dataProvider.sort)
                                            sort = dataProvider.sort;
                                            dataProvider.sort = null;
                                    var oldData:Object = data[property];
                                    data[property] = newData;
                                    dataGrid.dataProvider.itemUpdated(data, property, oldData, newData);
                                    // Restore the sort. The data will not be sorted due to this change.
                                    if (sort)
                                        ICollectionView(dataGrid.dataProvider).sort = sort;
                                return true;
                        ]]>
                    </fx:Script>               
                </s:DefaultGridItemEditor>
            </fx:Component>
        </fx:Declarations>
        <s:DataGrid id="testGrid" width="100%" height="100%"
                    editable="true" selectionMode="singleCell"
                    itemEditor="{new ClassFactory(MyDefaultEditor)}">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn headerText="Prova" dataField="cognome"/>
                    <s:GridColumn headerText="Prova1" dataField="nome"/>
                    <s:GridColumn headerText="Prova3" dataField="uhm"/>
                    <s:GridColumn headerText="Prova4" dataField="bene"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
    </s:Application>

Maybe you are looking for