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



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
.



Relevant Pages

  • Re: A constructive debate: Eclipse or NetBeans?
    ... that Linux and command-line driven languages like OCaml are so much more ... That's because most people never learn to use a command line or a simple ... Trying to run other people's OpenGL-based Java demos from the web I find ... OpenGL). ...
    (comp.lang.java.softwaretools)
  • Process.waitFor() returns, but threads reading output/error streams are blocked on read
    ... threads to read in the out/err streams, ... i'll include the java source below, but the problem seems extremely specific ... passed in on the command line). ... process is hung if i terminate the process the command line tool connects to ...
    (comp.lang.java.programmer)
  • Re: Timed wait fails under WebStart in Java 1.6 prerelease?
    ... the java command line. ... that I show you the jnlp specs for the configuration which does not run: ... java.specification.vendor: <Sun Microsystems Inc.> ...
    (comp.lang.java.programmer)
  • Re: Regexes on the command line
    ... When the java command inside the script executes it reanalyzes the command string and since the single quotes are gone it misinterprets the special characters. ...
    (comp.lang.java.programmer)
  • Re: My shell cant find Java
    ... I downloaded java with netbeans from Sun ... >> Each time I type java I get an unknown command error. ... how you set environment variable depends on what shell you're using. ...
    (comp.lang.java.help)