For Programmers: Free Programming Magazines  


Home > Archive > Java Help > September 2006 > SAXException: Attribute "xmlns:env" was already specified ...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SAXException: Attribute "xmlns:env" was already specified ...
Ankit Mehta

2006-09-28, 4:02 am

When I collect data from a web service by running the code in my eclipse I am able to collect fine. However, when I run the same binary on a different machine, from command line, I am getting the following error. I am new the xml/web services programming. Any pointers to where can I begin looking would be useful.


[Fatal Error] :1:77: Attribute "xmlns:env" was already specified for element "en
v:Envelope".
SAX Exception: Attribute "xmlns:env" was already specified for element "env:Enve
lope".

Thanks
-Ankit

Petterson Mikael

2006-09-28, 4:02 am

Ankit Mehta wrote:
> When I collect data from a web service by running the code in my eclipse
> I am able to collect fine. However, when I run the same binary on a
> different machine, from command line, I am getting the following error.
> I am new the xml/web services programming. Any pointers to where can I
> begin looking would be useful.
>
>
> [Fatal Error] :1:77: Attribute "xmlns:env" was already specified for
> element "en
> v:Envelope".
> SAX Exception: Attribute "xmlns:env" was already specified for element
> "env:Enve
> lope".
>
> Thanks
> -Ankit
>


Are you using the same java version ? What line of code do you use to
get the data? Can you post the whole trace?

cheers,

//mikael
Andrew Thompson

2006-09-28, 8:02 am

Ankit Mehta wrote:

Sub: SAXException: Attribute "xmlns:env" was already specified ...

Reply: UsenetAnnoyance: Post "SAXException: Attribute "xmlns:env"
was already specified" - was already posted.

Please refrain from multi-posting in future.

(X-post to c.l.j.h./p., w/ f-u to c.l.j.h. only)

Andrew T.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com