Problem SAXParser (SaxParser invalid character exception) using wifi

Greetings to all developers,

I have a problem in the use of SAX parser...

I'm developing an application that will receive the XML data in the web service...

When I try my app using BIS, I got the data correctly... & it's good...

But, when I use only the wifi connection, I got an error like

invalid character '& #x0' encountered in SaxParser exception...

Can you help me with this problem?

Thank you...

Thanks for the reply...

I already found the solution here...

rather than use this to read the input stream:

byte incomingData[] = new byte[length];
is.read(incomingData);
XML = new String(incomingData);

I use the following method:

ByteArrayOutputStream bytestream = new  ByteArrayOutputStream();
int ch;
while ((ch = is.read()) != -1)
{
   bytestream.write(ch);
}
XML = new String(bytestream.toByteArray());
bytestream.close();

I don't know why to use wifi can not do with the first method anyway, but at least it works now using the second method...

Thanks for everything... ^^

HM... For IOUtilities, I'm afraid, I can't use it, because my goal is for OS 5.0...

I think it is appropriate only for OS 6.0

Tags: BlackBerry Developers

Similar Questions

  • Re: problems with an invalid character when passing parameters

    He driver JDBC used in ojdbc6.jar. I use this driver because I compatibility with Java 6 which is on my computer
    The database that I connect is 10.2 (10g) Oracle database.
    The connection works fine, it is the analysis of the SQL query where appeared the problem here is the specific code in this
    No matter the syntax it is a module of JavaFX and the query syntax does not use the concats «+»

    --------------------------------------------------------------------------------
    SQL = "select sfrracl_pidm, \n".
    "sfrracl_term_code, \n".
    "sfrracl_source_cde, \n".
    "sfrracl_reg_access_id \n".
    of"SFRRACL \n".
    "where sfrracl_term_code =? \n ".
    'and sfrracl_pidm = \n '.
    "(select spriden_pidm from spriden\n.
    "where spriden_id =? \n ".
    "" and as spriden_id ' G%'\n ' "
    'and spriden_change_ind is null);';

    stmt = conn.createStatement (sql);
    try {}
    PS = conn.prepareStatement (sql);
    ps.setString (1, stud_id);
    ps.setString (2, term_code);
    }
    catch(fr:SqlException)
    {
    fr.printStackTrace ();
    };

    try {}
    ps.executeUpdate ();
    System.out.Print ("Student ID :"); ")
    System.out.println (stud_id);
    System.out.Print ("term Code: '");
    System.out.println (term_code);
    System.out.println (SQL);
    ps.executeQuery (); error occurs here

    --------------------------------------------------------------------------------
    The output and the exception that is thrown is less than

    --------------------------------------------------------------------------------
    debug output
    Student card: GXXXXXXXX
    Term Code: 201020
    SQL statement in the string
    Select sfrracl_pidm,
    sfrracl_term_code,
    sfrracl_source_cde,
    sfrracl_reg_access_id
    of SFRRACL
    where sfrracl_term_code =?
    and sfrracl_pidm =
    (by selecting spriden_pidm in spriden
    where spriden_id =?
    and spriden_id like '% G '.
    and spriden_change_ind is NULL);
    end debug output

    java.sql.SQLSyntaxErrorException: ORA-00911: invalid character

    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
    to sfrracl. Main.buttonOnMouseClicked (Main.fx:215)
    to sfrracl. Main.buttonOnMouseClicked (Main.fx:215)
    to sfrracl. Main.Invoke $(main.) FX:117)
    to sfrracl. Main.Invoke $(main.) FX:117)
    at com.sun.javafx.functions.Function1.invoke(Function1.java:44)
    at com.sun.javafx.functions.Function1.invoke $(Function1.java:38)
    at javafx.scene.Node.impl_processMouseEvent(Node.fx:2917)
    at javafx.scene.Node.preprocessMouseEvent(Node.fx:2946)
    to javafx.scene.Scene$ MouseHandler.process (Scene.fx:1499)
    to javafx.scene.Scene$ MouseHandler.process (Scene.fx:1361)
    at javafx.scene.Scene.impl_processMouseEvent(Scene.fx:679)
    to javafx.scene.Scene$ ScenePeerListener.mouseEvent (Scene.fx:956)
    to com.sun.javafx.tk.swing.SwingScene$ SwingScenePanel.doMouseEvent (SwingScene.java:446)
    to com.sun.javafx.tk.swing.SwingScene$ SwingScenePanel.mouseClicked (SwingScene.java:454)
    at java.awt.AWTEventMulticaster.mouseClicked (unknown Source)
    at java.awt.AWTEventMulticaster.mouseClicked (unknown Source)
    at java.awt.Component.processMouseEvent (unknown Source)
    at javax.swing.JComponent.processMouseEvent (unknown Source)
    at java.awt.Component.processEvent (unknown Source)
    at java.awt.Container.processEvent (unknown Source)
    at java.awt.Component.dispatchEventImpl (unknown Source)
    at java.awt.Container.dispatchEventImpl (unknown Source)
    at java.awt.Component.dispatchEvent (unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent (unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent (unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent (unknown Source)
    at java.awt.Container.dispatchEventImpl (unknown Source)
    at java.awt.Window.dispatchEventImpl (unknown Source)
    at java.awt.Component.dispatchEvent (unknown Source)
    at java.awt.EventQueue.dispatchEvent (unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter (unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy (unknown Source)
    at java.awt.EventDispatchThread.pumpEvents (unknown Source)
    at java.awt.EventDispatchThread.pumpEvents (unknown Source)
    at java.awt.EventDispatchThread.run (unknown Source)
    BUILD FAILED (total duration: 31 seconds)

    --------------------------------------------------------------------------------

    The invalid character he claims are the? brand but that would mean my setString
    does not work I'm following what the documentation explains why is it?

    Hello. I bet that the character issue is the semicolon at the end of your SQL string...
    HTH,
    Joe

  • "Invalid character" exception procedure ODI

    Hello

    There is an oracle sql code:

    insert into
    KATEGORIE_ZASOBU
    (ID_KTZ,
    UZYT_TWORZACY,
    UZYT_OST_MODYFIKACJI,
    DET,
    DZIEDZICZENIE,
    DATA_OST_MODYFIKACJI,
    DATA_UTWORZENIA,
    DYSPONOWALNA,
    SYSTEMOWA,
    WYBIERALNA,
    OPI,
    NAME,
    USUNIETA,
    ID_KATEGORII1,
    ID_POZ_SL,
    IMPORT)

    values)
    KTZ_SEQ. NEXTVAL,
    "import."
    NULL,
    '0',
    '0',
    NULL,
    SYSDATE,
    '0',
    '0',
    '1',
    NULL,
    "Jednostki WSSE."
    '0',
    NULL,
    (select p.id_poz_sl in the p pozycje_slownikow join slowniki s on p.id_slownika = s.id_sl where s.nazwa like 'TYPY_ZASOBOW' and p.kod = 'OB').
    '1'
    );

    And there are procedure odi, defined as:
    -source technology: Undefined (impossible to define)
    -target technologies: Oracle
    Command0:
    -Technology: Oracle
    -Transaction: autocommit
    -Transaction Isolation: by default
    -Command: the same as above (sql query).

    And, as a result of the SQL Developer:
    1 lines inserted

    Result of ODI (procedure called in the package):
    ODI-1228: ProcDodajKategorie (procedure) of the task fails on ORACLE ISPIK_DB target connection.
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00911: invalid character

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)


    Thus, the same sql code is not run. What's wrong? Any tips? Thank you.

    remove the semicolon (;) - it is not necessary in ODI

  • One of your filters uses a custom header that contains an invalid character.

    When I send an email, you receive the following error message:

    «One of your filters uses a custom header that contains an invalid character, such as ':', a nonprintable character, a non-ascii character or an 8-bit ascii character.» Please change the msgFilterRules.dat file, which contains your filters to remove characters not valid in your custom headers".

    It is followed by a message saying that the email was sent and saved despite the error.

    The problem occurred after the transfer to 10 Windows (from Win 7)

    I deleted all files msgFilterRules.dat and all filters, but the message persists.

    Any suggestions on what else to try?

    Thank you
    Ben

    Problem solved.

    After you delete all files/imap mail entries, the problem disappeared.

  • Using the smart keyboard, I get invalid characters in the standard IOS search box. How can I get the correct character to use?

    The intelligent keyboard on my iPad Pro works fine all the time except when I go to the search feature of iOS. As soon as I go ahead and start typing I'm extended character set characters rather than the face value of the keys I hit. Is there a setting that changes the character set used by the search feature with the Smart keyboard? On-screen keyboard works fine, but it's a nuisance by disconnecting the Smart keyboard everytime I want to search for.

    Thank you

    Steve Lewin

    What you get in the search box when you type asdfg?  Is - this ass∂ƒ?

    What language your OS and keyboard are set on?

  • error "invalid character" using the database link

    Hello!

    I use db 9.2 and trying to connect to a 10g database.
    I created the db link... when I use it (select * from table@dblink), an error occurred: ORA-00911 invalid character. It does not accept the '@'!

    I tried to use it on sql * plus, worked well...

    Any ideas?
    Thank you!

    Can you try to set America/America in preferences - Database - NLS?

    Hope that helps,
    K.

  • ATML Reporting: "an invalid character was found in text content."

    When you use ATML and including non-ASCII characters (code decimal 128 and more), the generated report is not viewable in Internet Explorer (or Firefox, in fact), producing the error "an invalid character was found in text content." I think it's because TestStand isn't actually encoding the content of the report to the UTF-8 format. The same sequence produces a clickthrough report XML declaration. It seems that this issue has been found (and fixed) for the XML declaration but many years back.

    If you open the attached XML file in UTF-8 compatible text editor (I used the Notepad) and re-save specifically in UTF-8 format, IE will happily consider subsequently report. The part that really confuses me is that TestStand generates successfully the temporary HTML version of the report for the integrated report viewer (also attached), the parser used internally by TestStand must be a bit more lenient than IE.

    I've included an example with a VI sequence, which returns only a string of ReportText of these problematic characters.

    ASBO-

    Thank you for bringing This problem to our attention. This will be fixed in a future version of TestStand. In the meantime, you can fix this problem with your current version of TestStand by editing the reportgen_atml.seq file. I've attached an example of how you could modify the reportgen_atml.seq file to fix it in this position. Please, note that this is simply an example of correct behaviour and may not be the final implementation included in future versions of TestStand. I recommend that you do not replace or delete your reportgen_atml.seq file and save the version annexed to your \Components\Models directory.

    I hope this helps. Thanks again for this bring to our attention.

  • "Invalid cast exception" thrown when assigned the AutoCompleteStringCollection AutoCompleteCustomSource of TextBox property

    Hello

    I built a .NET c# wrapper around the TestStand users management module.

    When the application works as a stand-alone Windows Application, there is no exceptions or thrown errors. However, when the dll is integrated with TestStand and called from the FrontEndCallbacks movie file, I got up an invalid "Cast" exception when the AutoCompleteStringCollection is assigned to the textBox AutoCompleteCustomSource property.

    As stated earlier, it works perfectly well when it is a standalone application. I am at a loss to figure why this is happening. I would appreciate if someone could shed some light on this behavior.

    Thank you

    Arun

    Thanks for posting your example. The problem seems to be caused by the fact that your form is created in a thread of execution TestStand using the MTA COM threading model. .NET Windows forms must always be created son marked with the model STA thread. Probably your standalone application uses the STAThread attribute. Here are some references (rule FxCop, STAThread)

    You can work around this problem by creating a new STA thread in TestStand using a sequence of appeal step. Set Options to run to use new discussion and check the box Use Single-Threaded Apartment.

  • Can someone tell me please how to fix this - error 1324. the my documents path contains an invalid character

    Fellows,

    I use a laptop running Vista Ultimate 64 bit and I have problems installing some software.  I get the following error: "Error 1324. The My Documents path contains an invalid character.'  I went through all the registry fixes and redirection of My Documents but I still get this error.  Anyone can shed light on this problem, as I see a lot of blogs out there, but no resolution.

    Hello NetSysAdmin

    You can search the Windows registry for the invalid character that is displayed in the 1324 error message and replace all occurrences of the invalid character with the correct character. For example, if the 1324 error message refers to "system32 /", you should look for "system32 /". If you find all instances in the registry, change them, so that the registry values correctly reference the System32 folder.

    1. Click Startand then click run. In the Open box, type regedit, and then click OK.
    2. On the Edit menu, click find.
    3. In the Search box, type the string reported in the 1324 error message, and then click Next.
    4. If you find the problematic channel, make the necessary changes, and then press F3 to find the next occurrence.
    5. Repeat step 4 until you find and replace all incorrect references.
    6. On the registry menu, click exit.

    Hope this helps you. Let us know anyway. Make it a great day!

    "In the end the love you take is equal to The Love You Make" (The Beatles last song from their latest album, Abbey Road.)

  • Installation of Java 1324 error - invalid character

    It's SO frustrating. Every time I try to install Java, I always get the error message: "Error 1324. The AVG Plugins path contains an invalid character. »
    I remember a folder named 'AVG Plugins' but it is eliminated for some time now and it was located on an external hard drive. I have no idea why he decided to blame for its failure to install on a particular file. Well, I'm sure that the folder has had a registered symbol (®) in its folder I can see where its getting the part "invalid character" of... Before it was deleted, the Plugins of AVG file contained Java installation files, but I deleted them eventually if I could reinstall it on my hard drive. I remember at one point, Java was working fine once again, but after some problems with MP3 Rocket (which depends on Java), I deleted Java and once again tried to reinstall... Which doesn't of course.

    At first I thought that I would just change the destination folder but I tried to save now on many places, but I always get the same exact error message, with the same exact file mentioned (AVG plugins). I tried to install Java the way normal and in one end offline installation, I get finally to the same error message. Can someone help me please?

    Here is part of an old MSINFO report (at the time when Java was installed in AVG Plugins). You can see that Java appears several times in the folder "Plugins AVG", which may have something to do with this current error message... Also, some Java files see the place in my control panel, but I'm unable to uninstall the. Let me know if this is something that I need to study in detail in order to solve this problem...

    [Environment variables]
     
    CLASSPATH. ; J:\AVG Plugins\Java\lib\ext\QTJava.zip   
    QTJAVA J:\AVG Plugins\Java\lib\ext\QTJava.zip

    [Windows error reporting]

    11/03/2011 06:00 application error Faulting application javaw.exe, version 6.0.10.6, time stamp 0x45f7b2e0, failed module Flash10a.ocx, version 10.0.12.36, time stamp 0x48e83175, exception code 0xc0000005, offset 0x000c97a0, process id 0 x 1330 error, start time of application 0x01cbdfa43562f760.
    08/07/2011 16:58 application error Faulting application javaw.exe, version 6.0.240.7, time stamp 0x4d4a0b98, failed module Flash10a.ocx, version 10.0.12.36, time stamp 0x48e83175, exception 0xc0000005, offset error 0x000c97a0, process 0xddc id code, start time of application 0x01cc3d8fe8690aa2.
    SID 2349 = & iBucketTable = 1 & iBucket = 1073051697
    Cabin ID: 0

    Signature of the problem:
    P1: javaw.exe
    P2: 6.0.10.6
    P3: 45f7b2e0
    P4: Flash10a.ocx
    P5: 10.0.12.36
    P6: 48e83175
    P7: c0000005
    P8: 000c97a0
    P9:
    P10:

    Attached files:
    C:\Users\Allen\AppData\Local\Temp\WER36D8.tmp.version.txt

    These files are available here:
    C:\Users\Allen\AppData\Local\Microsoft\Windows\WER\ReportArchive\Report12d952a1
    04/04/2011 bucket 1729795195, type 5 05:01 Windows Error Reporting failure
    Event name: AppHangB1
    Answer: no
    Cabin ID: 0

    Signature of the problem:
    P1: javaw.exe
    P2: 6.0.240.7
    P3: 4d4a0b98
    P4: 6efb
    P5: 6144
    P6:
    P7:
    P8:
    P9:
    P10:

    Attached files:
    C:\Users\Allen\AppData\Local\Temp\WER26DB.tmp.AppCompat.txt

    These files are available here:
    C:\Users\Allen\AppData\Local\Microsoft\Windows\WER\ReportArchive\Report12593dc4
    08/07/2011 type 1729795195, bucket Windows Error Reporting lack of 01:37 5
    Event name: AppHangB1
    Answer: no
    Cabin ID: 0

    Signature of the problem:
    P1: javaw.exe
    P2: 6.0.240.7
    P3: 4d4a0b98
    P4: 6efb
    P5: 6144
    P6:
    P7:
    P8:
    P9:
    P10:

    Attached files:

    These files are available here:
       
    08/07/2011 17:00 Windows Error Reporting crash bucket 2319574050, type 1
    Event name: APPCRASH
    Answer: http://oca.microsoft.com/resredir.aspx?SID=2349&iBucketTable=1&iBucket=-1975393246
    Cabin ID: 0

    Signature of the problem:
    P1: javaw.exe
    P2: 6.0.240.7
    P3: 4d4a0b98
    P4: Flash10a.ocx
    P5: 10.0.12.36
    P6: 48e83175
    P7: c0000005
    P8: 000c97a0
    P9:
    P10:

    Attached files:
    C:\Users\Allen\AppData\Local\Temp\WERD858.tmp.version.txt

    These files are available here:
    C:\Users\Allen\AppData\Local\Microsoft\Windows\WER\ReportArchive\Report0d6172e2
    04/04/2011 05:01 application Hang the javaw.exe version 6.0.240.7 program ceased to interact with Windows and was closed. To see if there is more information about the problem, check the history of the problem in the reports on the problems and Solutions control panel. Process ID: 8Ce Start Time: time of termination 01cbf27550cd99c9: 36

    Hello

    Method 1:
    You can disable the anti-virus installed on the computer and then try to install java and check:
    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software
    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2:
    You can also try the steps in knowledge base article and check the:
    Problems installing and uninstalling programs on Windows computers
    http://support.Microsoft.com/kb/2438651

    Method 3:
    You can also check the link provided and check:
    How to get Java software installation log files?
    http://Java.com/en/download/help/Log_files.XML

  • invalid character in administrative tools

    I get the message error 'administration tools contains an invalid character' when you try to uninstall a program.  What should I do?

    Hi Kathy28,

    A. how you try to uninstall the program?

    B. recent changes made on your computer?

    This problem may occur when the program or the program installer is incompatible with Windows Vista.

    You can try the methods from the article below and check if it helps.

    http://support.Microsoft.com/kb/927395

    Previous post: the result.

    Bindu S - Microsoft Support

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • LPX-00231: 47 invalid character ("/") in a name a Nmtoken

    Hi all, I am trying to analyze a large XML file in an oracle table and get the error below:

    SQL > INSERT IN THIS_XML (customer, 'Date', SequenceNumber, NbMessages, version, relea

    to Agency, area, function, controlNumber, pnrPurgeDate, 'number', companyId, controlN

    umber2, date3, time, typeOfPnrElement, agentId, officeId, iataCode, queueingOfficeId, this

    tyCode, creationOfficeId, agentSignature, creationDate, creatorIataCode, creationTime

    quantity, status, officeId4, agentCode, receiveFrom, originatorId, inHouseIdentificat

    ion1, originatorTypeCode, companyId5, locationId, codedCountry, originatorId6, inHouse

    Identification17, originatorTypeCode8, companyId9, locationId10, codedCountry11, inHo

    useIdentification112, originatorTypeCode13, companyId14, locationId15, codedCountry1

    6, qualifier, numero17, segmentName, family name, quantity18, name, origin,.

    qualifier19, Nombre20, segmentName21, depDate, depTime, arrDate, arrTime, dayChangeIndi

    Cator, cityCode22, cityCode23, identification, identification24, classOfService, detai

    l, qualifier25, date26, time27, status28, function29, companyId30, controlNumber31, quan

    tity32, status33, equipment, day of the week, arrivalTerminal, departTerminal, 'option', original

    atorId34, inHouseIdentification135, originatorTypeCode36, companyId37, locationId38,

    codedCountry39, trueLocationId, trueLocationId40, carrierCode, flight, bookingC

    Lass, flightIndicator, codeShareAgreement, cabinCode, subclassId, sourceQualifier1, co

    untryCode, systemCode, groupingCode, marriageQualifier, tatooNum, marker2, qualifier41

    number42, segmentName43, subjectQualifier, longFreetext, indicator, date44, official

    ceId45, marker3, actionRequestCode)

    2 with t AS (SELECT xmltype (bfilename ('MYXML ',' prdsbr.))) T160640'), nls_charset

    (_id ('WE8ISO8859P1')) xmlcol FROM dual)

    3. SELECT

    4 extractValue (value (x), "/ LINE/Client") client

    5, extractValue (value (x), "/ LINE / 'Date'") 'Date '.

    6, extractValue (value (x), "/ LINE/SequenceNumber") SequenceNumber

    7, extractValue (value (x), "/ ONLINE/NbMessages ') NbMessages

    8, version extractValue (value (x), "/ LINE/version ')

    9, release of extractValue (value (x), "/ LINE/release")

    10, agency extractValue (value (x), "/ LINE/agency ')

    11, area of extractValue (value (x), "/ LINE/field")

    12, extractValue (value (x), "/ LINE / 'function'") 'function.

    13, extractValue (value (x), "/ LINE/controlNumber") controlNumber

    14, extractValue (value (x), "/ ONLINE/pnrPurgeDate ') pnrPurgeDate

    15, extractValue (value (x), "/ LINE / 'number' ') 'number '.

    16, companyId extractValue (value (x), "/ LINE/companyId ')

    17, extractValue (value (x), "/ ONLINE/controlNumber2 ') controlNumber2

    18, date3 extractValue (value (x), "/ LINE/date3")

    19, time of extractValue (value (x), "/ LINE/time")

    20, extractValue (value (x), "/ ONLINE/typeOfPnrElement ') typeOfPnrElement

    21, agentId extractValue (value (x), "/ LINE/agentId")

    22, officeId extractValue (value (x), "/ LINE/officeId")

    23, extractValue (value (x), "/ ONLINE/iataCode ') iataCode

    24, extractValue (value (x), "/ ONLINE/queueingOfficeId ') queueingOfficeId

    25, cityCode extractValue (value (x), "/ LINE/cityCode")

    26, extractValue (value (x), "/ ONLINE/creationOfficeId ') creationOfficeId

    27, extractValue (value (x), "/ ONLINE/agentSignature ') agentSignature

    28, extractValue creationDate (value (x), "/ LINE/creationDate")

    29, extractValue (value (x), "/ ONLINE/creatorIataCode ') creatorIataCode

    30, creationTime extractValue (value (x), "/ LINE/creationTime")

    31, amount of extractValue (value (x), "/ LINE/amount")

    32, status extractValue (value (x), "status/LINE / ')

    33, extractValue (value (x), "/ ONLINE/officeId4 ') officeId4

    34, extractValue (value (x), "/ ONLINE/agentCode ') agentCode

    35, receiveFrom extractValue (value (x), "/ LINE/receiveFrom")

    36, extractValue (value (x), "/ LINE/originatorId") originatorId

    37, extractValue (value (x), "/ ONLINE/inHouseIdentification1 ') inHouseIdentification1

    38, extractValue (value (x), "/ ONLINE/originatorTypeCode ') originatorTypeCode

    39, extractValue (value (x), "/ ONLINE/companyId5 ') companyId5

    40, locationId extractValue (value (x), "/ LINE/locationId")

    41, extractValue (value (x), "/ ONLINE/codedCountry ') codedCountry

    42, extractValue (value (x), "/ ONLINE/originatorId6 ') originatorId6

    43, extractValue (value (x), "/ ONLINE/inHouseIdentification17 ') inHouseIdentification

    17

    44, extractValue (value (x), "/ ONLINE/originatorTypeCode8 ') originatorTypeCode8

    45, extractValue (value (x), "/ ONLINE/companyId9 ') companyId9

    46, extractValue (value (x), "/ ONLINE/locationId10 ') locationId10

    47, extractValue (value (x), "/ ONLINE/codedCountry11 ') codedCountry11

    48, extractValue (value (x), "/ ONLINE/inHouseIdentification112 ') inHouseIdentificatio

    N112

    49, extractValue (value (x), "/ ONLINE/originatorTypeCode13 ') originatorTypeCode13

    50, extractValue (value (x), "/ ONLINE/companyId14 ') companyId14

    51, extractValue (value (x), "/ ONLINE/locationId15 ') locationId15

    52, extractValue (value (x), "/ ONLINE/codedCountry16 ') codedCountry16

    53, qualifier extractValue (value (x), "/ LINE/qualifier")

    54, extractValue (value (x), "/ ONLINE/numero17 ') numero17

    55, extractValue (value (x), "/ ONLINE/segmentName ') segmentName

    56, extractValue (value (x), "/ LINE/name of family ') family name

    57, extractValue (value (x), "/ ONLINE/quantity18 ') quantity18

    58, firstName extractValue (value (x), "/ LINE/firstName")

    59, original extractValue (value (x), "origin/LINE / ')

    60, extractValue (value (x), "/ ONLINE/qualifier19 ') qualifier19

    61, numero20 extractValue (value (x), "/ ONLINE/numero20")

    62, extractValue (value (x), "/ ONLINE/segmentName21 ') segmentName21

    63, extractValue (value (x), "/ LINE/depDate") depDate

    64, extractValue (value (x), "/ LINE/depTime") depTime

    65, extractValue (value (x), "/ ONLINE/arrDate ') arrDate

    66, extractValue (value (x), "/ LINE/arrTime") arrTime

    67, extractValue (value (x), "/ ONLINE/dayChangeIndicator ') dayChangeIndicator

    68, extractValue (value (x), "/ ONLINE/cityCode22 ') cityCode22

    69, extractValue (value (x), "/ ONLINE/cityCode23 ') cityCode23

    70, identification of extractValue ((x) value, "the identification/LINE / ')

    71, extractValue (value (x), "/ ONLINE/identification24 ') identification24

    72, extractValue (value (x), "/ LINE/classOfService") classOfService

    73, extractValue (value (x), "/ ONLINE/retail") detail

    74, extractValue (value (x), "/ ONLINE/qualifier25 ') qualifier25

    75, extractValue (value (x), "/ LINE/date26") date26

    76, extractValue (value (x), "/ ONLINE/time27 ') time27

    77, extractValue (value (x), "/ ONLINE/status28 ') status28

    78, extractValue (value (x), "/ ONLINE/function29 ') function29

    79, extractValue (value (x), "/ ONLINE/companyId30 ') companyId30

    80, extractValue (value (x), "/ ONLINE/controlNumber31 ') controlNumber31

    81, extractValue (value (x), "/ ONLINE/quantity32 ') quantity32

    82, extractValue (value (x), "/ LINE/status33") status33

    83, equipment of extractValue (value (x), "/ LINE/equipment")

    84, extractValue (value (x), "/ LINE/week") during the week

    85, extractValue (value (x), "/ ONLINE/arrivalTerminal ') arrivalTerminal

    86, extractValue (value (x), "/ ONLINE/departTerminal ') departTerminal

    87, extractValue (value (x), "/ LINE / 'option'") 'option '.

    88, extractValue (value (x), "/ ONLINE/originatorId34 ') originatorId34

    89, extractValue (value (x), "/ ONLINE/inHouseIdentification135 ') inHouseIdentificatio

    n135

    90, extractValue (value (x), "/ ONLINE/originatorTypeCode36 ') originatorTypeCode36

    91, extractValue (value (x), "/ ONLINE/companyId37 ') companyId37

    92, extractValue (value (x), "/ ONLINE/locationId38 ') locationId38

    93, extractValue (value (x), "/ ONLINE/codedCountry39 ') codedCountry39

    94, extractValue (value (x), "/ ONLINE/trueLocationId ') trueLocationId

    95, extractValue (value (x), "/ ONLINE/trueLocationId40 ') trueLocationId40

    96, extractValue (value (x), "/ LINE/carrierCode") carrierCode

    97, flight extractValue (value (x), "/ LINE/flight")

    98, extractValue (value (x), "/ LINE/bookingClass") bookingClass

    99, extractValue (value (x), "/ ONLINE/flightIndicator ') flightIndicator

    100, extractValue (value (x), "/ ONLINE/codeShareAgreement ') codeShareAgreement

    101, extractValue (value (x), "/ ONLINE/cabinCode ') cabinCode

    102, extractValue (value (x), "/ ONLINE/subclassId ') subclassId

    103, extractValue (value (x), "/ ONLINE/sourceQualifier1 ') sourceQualifier1

    104, countryCode extractValue (value (x), "/ LINE/countryCode")

    105, extractValue (value (x), "/ ONLINE/systemCode ') systemCode

    106, extractValue (value (x), "/ ONLINE/groupingCode ') groupingCode

    107, extractValue (value (x), "/ ONLINE/marriageQualifier ') marriageQualifier

    108, extractValue (value (x), "/ ONLINE/tatooNum ') tatooNum

    109, extractValue (value (x), "/ LINE/marker2") marker2

    110, extractValue (value (x), "/ ONLINE/qualifier41 ') qualifier41

    111, extractValue (value (x), "/ ONLINE/number42 ') number42

    112, extractValue (value (x), "/ ONLINE/segmentName43 ') segmentName43

    113, extractValue (value (x), "/ ONLINE/subjectQualifier ') subjectQualifier

    114, type extractValue (value (x), "/ LINE/type")

    115, extractValue (value (x), "/ ONLINE/longFreetext ') longFreetext

    116, indicator of extractValue ((x) value, "indicator/LINE / ')

    117, date44 extractValue (value (x), "/ ONLINE/date44")

    118, extractValue (value (x), "/ ONLINE/officeId45 ') officeId45

    119, extractValue (value (x), "/ ONLINE/marker3 ') marker3

    120, extractValue (value (x), "/ ONLINE/actionRequestCode ') actionRequestCode

    T,TABLE(XMLSequence(extract(t.xmlcol,'/ROWSET/ROW 121'))) x;

    With t AS (SELECT xmltype (bfilename ('MYXML ',' prdsbr.))) T160640'), nls_charset_id (')

    WE8ISO8859P1')) xmlcol FROM dual)

    *

    ERROR on line 2:

    ORA-31011: XML parsing failed

    ORA-19202: an error has occurred in the processing of XML

    LPX-00231: 47 invalid character ("/") in a name a Nmtoken

    ORA-06512: at "SYS." XMLTYPE", line 296

    ORA-06512: at line 1

    You can run your file through the utility of xml located in $ORACLE_HOME/bin.

    Always considered a third-party tool, but at least he is readily available in your installation of Oracle and help identify the current problem:

    C:\dev\workspace\chart>XML

    Use: xml [switches] [document URI]

    or xml f [switches] [document filespec]

    Switches:

    B set the Base uri for the XSLT processor.

    Http://pqr/xsl.txt BaseUri resolves to pqr.txt to http://pqr/pqr.txt

    -c compliance check only, no validation

    EI default to specify the encoding of the input file (-ee to force)

    EI specify encoding of output/data/presentation

    f - file - interpret as filespec, no URI

    G evaluates XPointer scheme examples give in a file

    -h help - show this help for use (-hh for more options)

    -i several times to perform an iteration of the XSLT

    -l language error report

    o specify output file of the XSLT processor

    p - print document/DTD structures after analysis

    Pei enough print from root element

    -PP Pretty print of the node root (DOC); includes xmldecl is

    -PE specify encoding for output Pei or - PP

    -PX includes xmldecl is output always

    s

  • SOAP Plugin, parameter setting value raises an invalid key exception.

    Hello

    I try to send a SOAP request to my Java application that requires the parameter as a String object.

    All by setting the value of the parameter in the object properties, pair key-value that is, I get an invalid key exception.

    Request is successful it sends a string NULL to my service request.

    Can anyone suggest me what I'm missing when setting the value of the parameter in orchestrator?

    Thanks in advance

    I'm not sure that you provide enough detail for someone to help you with this...

    Maybe something that might help is this article that I just wrote. I had problems with a SOAP call to a remote system and was unsure of what the header and the body have been really put. The procedures described in this article help you view what is actually generated with the plug-in of SOAP. You can then compare that with a working SOAP request that you test in something like soapUI to see where is the difference.

    How to use the SOAPInterceptor to see the SOAP header and body

  • ORA-00911: invalid character error.

    Hi all

    I use ODI 11 g and Oracle 11 g.

    I use the query in proc in ODI below. When the data in the table is inserted it says ORA-00911: invalid character error.
    INSERT INTO SD_CAMP
    SELECT DISTINCT CAMPGN_NO, PRODUCT, NULL.
    CAMPG_NAM, trunc (sysdate), trunc (sysdate) + 182
    OF SP_ODI_TEMP;

    I also inserted the value also hard coded in ODI, but it still says the same error.
    Values inserted INTO the SD_CAMP ("'SAS06', ' SBC", NULL, 'SB CUST FFT', TO_DATE('02-NOV-12','DD-MON-YY'),)
    TO_DATE('03-MAY-13','DD-MON-YY'));

    I ran this query in Oracle db but his works very well.

    Any help how to solve this problem?

    Thank you
    Lony

    Put it in two different stages.

  • 911: 42000: java.sql.SQLException: ORA-00911: invalid character

    Hi all

    I am trying to load the data in the 1 table to another using ODI 10 g. My approach is error ed out in step 3 - load data showing the exception below
    911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
    
    java.sql.SQLException: ORA-00911: invalid character
    
    
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
    
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
    
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
    
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
    
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
    
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
    
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3026)
    
         at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    
         at com.sunopsis.dwg.cmd.e.k(e.java)
    
         at com.sunopsis.dwg.cmd.g.A(g.java)
    
         at com.sunopsis.dwg.cmd.e.run(e.java)
    
         at java.lang.Thread.run(Unknown Source)
    When I see the description of the sql that runs to the phase I see below
    select     
         _ACTIVITIES_V.ACTIVITY_ID        C1_ACTIVITY_ID,
         _ACTIVITIES_V.ATTRIBUTE15        C42_ATTRIBUTE15
    from     .COM_ACTIVITIES_V   _ACTIVITIES_V
    where     (1=1)
    OBV when this sql is tried of toad is giving the same error.

    Please advice what's not here


    thnks

    Hello

    In topology-> physical schema Manager, where you set the source of Oracle schema, you left the WORKING PATTERN as empty. Put a schema name in the scheme of work and this. will be preceded by the name of this schema

    Also, for better visibility, you change the table alias name in the interface of
    ACTIVITIESV
    TO
    ACTIVITIES_V

    Thank you
    Fati

Maybe you are looking for

  • My Equium crashing in Internet Explorer

    Is there anyway to turn off the POSITION of the Toshiba Eqiuim when booting? Open Internet Explore also takes a lot of time, when the Explorer window is open, it must be closed again that the "not responding" message. It is closed with a dozen other

  • Acer Aspire 5310. Updated my OS for Win 7 (64 bit) but no drivers for PCI FLASH memory.

    In the upgrade the operating system from Vista Home Basic to Win 7 Home Premium (64-bit), all seems to work fine EXCEPT that the device manager says no driver installed for the memory FLASH PCI (3 input lines) and try to reinstall it with internet se

  • I have lost all that you have saved my LABELS in Gmail, how?

    I recently reinstalled my Windows 7 Home Premium and earlier noticed that all my information saved as LABELS in GMAIL IS MISSING, but the labels are there and mu contacts are there but all the info I've saved. Any advice will be appreciated! Not sure

  • Downloadable ACLs for users of VPN

    Hello I replaced the old pix with ASA (7.2). There were groups configured for the remote VPN users authenticated through the ACS and ACS download a specific ACL for each group to the PIX. After the replacement, users cannot establish the VPN connecti

  • Windows Media Player crashes when playing songs and the screen turns white.

    Original title: using Windows Media Player 12. I have a computer dell laptop old 1 year, win 7 64, ie11, when I got this laptop I ripped my CD music and played very well, now the song would begin and about 10 seconds into the song, that the player wi