Web Services Envelope binding

I am getting an error in web services that says:

The prefix "SOAP-ENV" for element "SOAP-ENV:Envelope" is not bound

What does that mean?  What does it mean to bind an envelope?
chuckster_ehAsked:
Who is Participating?
 
Bob LearnedCommented:
There are soooo many resources for Java Web Services, that trying to find the right one to help you learn is difficult.

You might try reading something like this:

Java Architecture for XML Binding (JAXB)
http://www.oracle.com/technetwork/articles/javase/index-140168.html

Now developers have another Java API at their disposal that can make it easier to access XML documents: Java Architecture for XML Binding (JAXB)


Binding: Binding a schema means generating a set of Java classes that represents the schema. All JAXB implementations provide a tool called a binding compiler to bind a schema (the way the binding compiler is invoked can be implementation-specific).
0
 
Bob LearnedCommented:
What kind of web service are you talking about?  
0
 
ramazanyichCommented:
actually it seems it is a problem in your xml soap message. SOAP-ENV prefix is a xml namespace prefix and namespace is not defined in your xml document. Could you provide more info ? your soap xml message sample, which tool do you use to construct/read soap message
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
chuckster_ehAuthor Commented:
I think I have found the solution to my problem.  One of the elements did not have a namespace declaration.  But can someone explain or provide a link that explains binding in Web Services?
0
 
Bob LearnedCommented:
We might be able to, if we knew what type of web service that you were working with...
0
 
chuckster_ehAuthor Commented:
Java Web Services
0
 
Bob LearnedCommented:
That would beg more questions:

What development platform are you using?
Version?
Are you using something like JAXB architecture?
What does your XML schema look like?
0
 
chuckster_ehAuthor Commented:
I am really not sure how to answer that.  I am not developing web services.  Just a beginner who is troubleshooting a problem and learning more.  I know that SOAP messages have an envelope and a body, and there is a concept of binding.  I just wanted to learn more about that.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.