Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

SAXException: Attribute "xmlns:env" was already specified for element "env:Envelope'

Thread view: 
Ankit Mehta - 28 Sep 2006 09:30 GMT
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
Simon Brooke - 29 Sep 2006 22:24 GMT
> 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
[quoted text clipped - 7 lines]
> SAX Exception: Attribute "xmlns:env" was already specified for element
> "env:Enve lope".

You've specified the same namespace prefix twice in the same document. And
for heaven's sake, this is not a Java question!

Signature

simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/

       ((DoctorWho)ChristopherEccleston).act();
       uk.co.bbc.TypecastException: actor does not want to be typecast.
                               [adapted from autofile on /., 31/03/05]



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.