We help IT Professionals succeed at work.

What does "posting well formed XML" mean?

Camillia
Camillia asked
on
Medium Priority
383 Views
Last Modified: 2012-08-15
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

Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019
Commented:
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

Explore More ContentExplore courses, solutions, and other research materials related to this topic.