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

Newbie trying to validate xml file to xsd file.

$
0
0

When I validate I get the error on line 5: Cannot find the declaration of element 'soapenv:Header'.

Thank you for any help. This is my xml

<?xml version="1.0" encoding="UTF-8"?><soapenv:Header xmlns:urn4="urn:us:gov:treasury:irs:msg:irsacabulkrequesttransmitter"
xmlns:urn3="urn:us:gov:treasury:irs:msg:acasecurityheader"
xmlns:urn2="urn:us:gov:treasury:irs:msg:acabusinessheader" xmlns:urn1="urn:us:gov:treasury:irs:common"
xmlns:urn="urn:us:gov:treasury:irs:ext:aca:air:6.2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><urn:ACATransmitterManifestReqDtl><urn:PaymentYr>2015</urn:PaymentYr><urn:PriorYearDataInd>false</urn:PriorYearDataInd><urn1:EIN>57-0809787</urn1:EIN><urn:TransmissionTypeInd>O</urn:TransmissionTypeInd><urn:TestFileInd>T</urn:TestFileInd><urn:TransmitterNameGrp><urn:PersonFirstName>Andrew</urn:PersonFirstName><urn:PersonLastName>Taylor</urn:PersonLastName></urn:TransmitterNameGrp><urn:CompanyInformationGrp><urn:CompanyNm>BUCKSPORT WATER SYSTEM, INC.</urn:CompanyNm><urn:MailingAddressGrp><urn:USAddressGRP><urn:AddressLine1Txt>PO BOX 1032</urn:AddressLine1Txt><urn:AddressLine2Txt></urn:AddressLine2Txt><urn1:CityNm>CONWAY</urn1:CityNm><urn:USStateCd>SC</urn:USStateCd><urn1:USZIPCd>29528-1032</urn1:USZIPCd></urn:USAddressGRP></urn:MailingAddressGrp><urn:ContactNameGroup><urn1:PersonFirstName>BILLY</urn1:PersonFirstName><urn1:PersonLastName>BOB</urn1:PersonLastName></urn:ContactNameGroup><urn:ContactPhoneNumber>(843) 248-3195</urn:ContactPhoneNumber></urn:CompanyInformationGrp><urn:VendorInformationGrp><urn:VendorInd>V</urn:VendorInd><urn:ContactNameGrp><urn1:PersonFirstName>Andrew</urn1:PersonFirstName><urn1:PersonLastName>Taylor</urn1:PersonLastName></urn:ContactNameGrp><urn:ContactPhoneNum>8433937800</urn:ContactPhoneNum></urn:VendorInformationGrp><urn:TotalPayeeRecordCnt>11</urn:TotalPayeeRecordCnt><urn:TotalPayerRecordCnt>1</urn:TotalPayerRecordCnt><urn:SoftwareID>12345678</urn:SoftwareID><urn:FormTypeCd>1094/1095C</urn:FormTypeCd><urn1:BinaryFormatCd>application/xml</urn1:BinaryFormatCd><urn1:ChecksumAugmentationNum>poUM0vF7gH8h47U9+lXutA==</urn1:ChecksumAugmentationNum><urn1:AttachmentByteSizeNum>396288</urn1:AttachmentByteSizeNum><urn:DocumentSystemFileNm>1094C_Request_BY01G_20151026T132056Z.xml</urn:DocumentSystemFileNm></urn:ACATransmitterManifestReqDtl></soapenv:Header>                                                                                                                                                                                                                                             

This is the Schema..

<?xml version="1.0" encoding="UTF-8"?><!-- edited with XMLSpy v2010 rel. 3 sp1 (http://www.altova.com) by IRS (IRS) --><xsd:schema xmlns="urn:us:gov:treasury:irs:msg:acabusinessheader" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:irs="urn:us:gov:treasury:irs:common" xmlns:air6.2="urn:us:gov:treasury:irs:ext:aca:air:6.2" targetNamespace="urn:us:gov:treasury:irs:msg:acabusinessheader" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1"><xsd:annotation><xsd:documentation><Component><DictionaryEntryNm>HHS IRS Message - ACA (Affordable Care Act) User Interface Business Header</DictionaryEntryNm><MajorVersionNum>1</MajorVersionNum><MinorVersionNum>1</MinorVersionNum><VersionEffectiveBeginDt>2012-10-25</VersionEffectiveBeginDt><VersionDescriptionTxt>Removed root type definitions and added the reference to the root element declarations</VersionDescriptionTxt><DescriptionTxt>Message for the User Interface for obtaining information used for the ACA Business header</DescriptionTxt></Component></xsd:documentation></xsd:annotation><!-- ===== Imports ===== --><xsd:import namespace="urn:us:gov:treasury:irs:ext:aca:air:6.2" schemaLocation="../EXT/IRS-EXT-ACA-AIR-6.2.xsd"/><!-- ================================== --><!-- ===== Root Element Declarations ===== --><!-- ================================== --><xsd:element name="ACAUIBusinessHeader" type="TransmitterACAUIBusinessHeaderType"><xsd:annotation><xsd:documentation><Component><DictionaryEntryNm>ACA (Affordable Care Act) User Interface Business Header Detail Type</DictionaryEntryNm><MajorVersionNum>1</MajorVersionNum><MinorVersionNum>0</MinorVersionNum><VersionEffectiveBeginDt>2015-04-08</VersionEffectiveBeginDt><VersionDescriptionTxt>Initial version</VersionDescriptionTxt><DescriptionTxt>Message pay load for the UI  service that obtains information for the ACA business header detail</DescriptionTxt></Component></xsd:documentation></xsd:annotation></xsd:element><!-- ======================== --><!-- === Type Defintions ==== --><!-- ======================== --><xsd:complexType name="TransmitterACAUIBusinessHeaderType"><xsd:annotation><xsd:documentation><Component><DictionaryEntryNm>Transmitter User Interface Business Header Request Type</DictionaryEntryNm><MajorVersionNum>1</MajorVersionNum><MinorVersionNum>1</MinorVersionNum><VersionEffectiveBeginDt>2015-04-08</VersionEffectiveBeginDt><VersionDescriptionTxt>Initial Version</VersionDescriptionTxt><DescriptionTxt>Transmitter User Interface Business Header detail type for 1094-1095B/C Forms Upstream</DescriptionTxt></Component></xsd:documentation></xsd:annotation><xsd:sequence><xsd:element ref="air6.2:ACATransmitterBusinessHeaderRequest"/><xsd:element ref="air6.2:ACATransmitterManifestReqDtl"/></xsd:sequence></xsd:complexType></xsd:schema>


Viewing all articles
Browse latest Browse all 935

Trending Articles



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