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

Discussion in 'Java' started by Ankit Mehta, Sep 28, 2006.

  1. Ankit Mehta

    Ankit Mehta Guest

    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
     
    Ankit Mehta, Sep 28, 2006
    #1
    1. Advertising

  2. Ankit Mehta

    Simon Brooke Guest

    in message <FKLSg.425$>, 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".


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

    --
    (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]
     
    Simon Brooke, Sep 29, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. cxc
    Replies:
    0
    Views:
    6,462
  2. babaxter1
    Replies:
    0
    Views:
    1,829
    babaxter1
    Nov 14, 2006
  3. shrikant
    Replies:
    0
    Views:
    2,205
    shrikant
    Dec 20, 2006
  4. Replies:
    2
    Views:
    1,350
  5. Fealfu
    Replies:
    1
    Views:
    1,750
    Jan =?UTF-8?B?VGhvbcOk?=
    Aug 28, 2007
Loading...

Share This Page