• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 373
  • Last Modified:

What does "posting well formed XML" mean?

I have a vendor provided WSDL. I'm trying to call their methods but can't get the code working. I can use a Soap emulator and call their WSDl XML. I emailed the vendor and that is what they wrote:

In the general case, yes, you will need to post well formed XML content to the API, but whether you do that manually or via some stub generator is up to you.

Not sure what that means. This is one example of their XML:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.test.com/IpsApi/xsd" xmlns:ns="http://www.test.com/IpsApi/xsd/2010-01-31">
   <soap:Header>
      <xsd:authHeader>
         <xsd:user>test@test.com</xsd:user>
         <xsd:password>test</xsd:password>
      </xsd:authHeader>
   </soap:Header>
   <soap:Body>
      <ns:checkLoginParam>

         <ns:email>test@test.com</ns:email>
         <ns:password>test</ns:password>
      </ns:checkLoginParam>
   </soap:Body>
</soap:Envelope>

Open in new window

0
Camillia
Asked:
Camillia
1 Solution
 
Julian HansenCommented:
You can find more information here

http://www.javacommerce.com/displaypage.jsp?name=wellform.sql&id=18238
http://www.w3schools.com/xml/xml_dtd.asp

It basically means the document must follow certain rules with respect to what is contained in the document and how you put data in the document.

Another article that discusses this in detail

http://webdesign.about.com/od/xml/a/aa071601a.htm
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now