tags:

views:

143

answers:

1

Is this valid SOAP / XML?

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    <soap:Body>
     <CreateRoute xmlns="urn:Routs">
      <aRoute>
       <name>ToTheTop</name>
       <grade xsi:type="FrencGrade">
        <gradeNumber>7</gradeNumber>
        <gradeModifier>a</gradeModifier>
       </grade>
      </aRoute>
     </CreateRoute>
    </soap:Body>
</soap:Envelope>

And if it is: in what namespace does FrenchGrade belong? Is it in the urn:Routs namespace?

+2  A: 

Yes that's correct. Problem?

Kev
No problem, I just have to handle it...
Kim