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. plz can you help me,,,because i need this tomorrow
View Tutorial          By: ivie at 2012-12-12 11:20:35

2. can't build the 2nd code in netbeans,here is the
View Tutorial          By: arshavin at 2010-04-14 23:19:33

3. Hei Kaify What is this????
if we get knowle

View Tutorial          By: Sooraj A.S at 2011-08-26 14:12:36

4. I tried to create an object on my 6th code but i a
View Tutorial          By: AARON VICU√ĎA at 2009-03-24 05:20:24

5. Thank u very much, your topic is very clear, to th
View Tutorial          By: Ahmed Samir at 2011-05-26 23:35:22

6. Thanx!!!!....
It helped me to startup with

View Tutorial          By: RAJITHA REDDY at 2011-03-01 02:47:03

7. Excellent !!!
Never thought about it...

View Tutorial          By: RahulC at 2012-07-03 11:36:57

8. hi could u tell me how to download a file using se
View Tutorial          By: akki at 2013-02-19 05:52:03

9. super
View Tutorial          By: chalamareddy at 2012-10-08 18:08:29

10. this code is not working properly buddies. please
View Tutorial          By: hammad at 2011-06-10 01:53:39