• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[Fatal Error] :2:15: The prefix "env" for element "env:Envelope" is not bound.

 
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,

I'm trying to run a SOAP (version 1.2) web service, here are the request.xml and response.xml:


And here are my servlet class and a simple client takes nine blocks of infoSymbol and a URL. The client firstly build a request file in xml like I listed above and then send the xml file to the URL where the service exists. My code list:



The servlet is deloyed at my localhost, in a Tomcat 5.0. There was this error:

[Fatal Error] :2:15: The prefix "env" for element "env:Envelope" is not bound.
org.xml.sax.SAXParseException: The prefix "env" for element "env:Envelope" is not bound.


when the client ran. I'm new to web service and SOAP programming, could anyone please enlighten me about what was wrong? Thank you very much in advance!


Regards,
Ellen
 
Ellen Zhao
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ah ha! it's funny, I haven't got the SOAP server up and running..... Working on that....
 
Evacuate the building! Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic