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



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. its very easy to understand and implements.
View Tutorial          By: ashish at 2011-05-20 03:12:07

2. that is fifo rigth? how about lifo?
View Tutorial          By: galz at 2015-02-18 03:03:31

3. hi Ashray P Shetty,
I'm getting the followi

View Tutorial          By: Balaji at 2010-11-25 14:16:23

4. Hi
I tried to use this on a windows 7 32 b

View Tutorial          By: Asela at 2012-01-26 18:35:57

5. i am in beginning level, i tried by this code. but
View Tutorial          By: Shahana Akter at 2014-09-09 10:30:21

6. for me also The code gives the following exception
View Tutorial          By: RaghunathaReddy.P at 2009-11-06 23:40:05

7. Hi Jon,

It really depends on the ap

View Tutorial          By: Hong at 2009-05-04 20:40:28

8. good work.
if there is a ValidatorForm the

View Tutorial          By: floriano at 2008-10-09 07:23:16

9. Many thanks
View Tutorial          By: tushar at 2010-03-10 01:27:04

10. thnks lot 4 helping me
View Tutorial          By: sandeep dudi at 2011-11-17 06:06:03