Comment on Tutorial - XML and Java - Parsing XML using Java Tutorial By totheriver.com



Comment Added by : Madhu

Comment Added at : 2011-06-29 09:47:51

Comment on Tutorial : XML and Java - Parsing XML using Java Tutorial By totheriver.com
xml response is :

<?xml version="1.0" encoding="UTF-8"?><oas:changeNotificationTriggerStatus xmlns:oas="http://xml.massive.com.au/bt/oas/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.massive.com.au/bt/oas/api oas_changeNotificationTriggerStatusRequest3.0 v2.xsd "><numberOfResultsReturned>1</numberOfResultsReturned><triggerStateResults> <triggerStateResult> <triggerDocId>1234</triggerDocId> <triggerReference>1234</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerReference : 1234]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1236</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1237</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1111</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1222</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1333</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1777</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>null</triggerDocId> <triggerReference>1212</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :null]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>null</triggerDocId> <triggerReference>1313</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :null]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult></triggerStateResults></oas:changeNotificationTriggerStatusResult>

but i m getting this error :

[Fatal Error] :1:4730: The end-tag for element type "oas:changeNotificationTriggerStatus" must end with a '>' delimiter.
org.xml.sax.SAXParseException: The end-tag for element type "oas:changeNotificationTriggerStatus" must end with a '>' delimiter.

pls suggest..


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. This explaination is good to understand the basic
View Tutorial          By: Nisha Thankachan.F at 2013-02-13 05:29:13

2. Comment: Just for future readers: (apart from the
View Tutorial          By: Anonymous at 2013-05-17 08:53:20

3. realy good explanation
View Tutorial          By: pandit at 2009-07-19 11:24:55

4. When copying this code into my java IDE, should i
View Tutorial          By: Barabas at 2010-02-11 03:57:09

5. Thanks ,got useful information on toString().
View Tutorial          By: jaffar at 2011-08-01 10:15:04

6. i understand but i want many information and prog
View Tutorial          By: malathi at 2013-03-29 23:52:28

7. just looking for it, useful!
View Tutorial          By: ymfeng at 2009-03-20 00:09:56

8. scriptlets when used in a page - helper pattern...
View Tutorial          By: tony at 2009-03-04 17:03:03

9. This is a great idea if I am targeting the require
View Tutorial          By: Shanthamurthy Hanumantharayappa at 2015-09-14 16:45:22

10. Thx, this helped a lot.

How can I I

View Tutorial          By: Marko at 2008-10-09 01:32:37