Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Class and XSD generation

$
0
0

Hi, 

could anyone help me to generate sample XSD and Class for the below XML. 

I have converted XML to XSD and while converting XSD to class, i am  receiving error namespace not found or element undefined.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:aud="http://www.test.com//response/audit" 
xmlns:head="https://www.test1.com/oneservice/response/header" 
xmlns:res="https://www.test1.com/oneservice/response">
   <soapenv:Header>
      <aud:GHeader>
         <ProviderTxnID>12345</ProviderTxnID>
         <ProviderTxnStatus>S</ProviderTxnStatus>
      </aud:GHeader>
      <head:IResponse>
         <MsgDateTime>20140514T105539.123 GMT</MsgDateTime>
         <!--Optional:-->
         <ProviderTxnErrorCode/>
         <!--Optional:-->
         <ProviderTxnErrorDescription/>
      </head:IResponse>
   </soapenv:Header>
   <soapenv:Body>
      <res:CreateNewCaseResponse>
         <CaseDetails>
            <CentralCaseID>000001-02</CentralCaseID>
            <AgencyCaseID>0001</AgencyCaseID>
            <CentralCaseStatus>Assigned</CentralCaseStatus>
            <AgencyCaseStatus>Accepted</AgencyCaseStatus>
         </CaseDetails>
      </res:CreateNewCaseResponse>
   </soapenv:Body>
</soapenv:Envelope>



Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>