Forum Moderators: open
<RateV4Request USERID="THIS-USER">
<Revision>2</Revision>
<Package ID="1ST">
<Service>All</Service>
<ZipOrigination>91942</ZipOrigination>
<ZipDestination>97526</ZipDestination>
<Pounds>59</Pounds>
<Ounces>4</Ounces>
<Container>RECTANGULAR</Container>
<Size>Large</Size>
<Machinable>FALSE</Machinable>
<Width>6.00</Width>
<Length>36.00</Length>
<Height>30.00</Height>
<ReturnLocations>91942</ReturnLocations>
<ReturnServiceInfo>blah blah</ReturnServiceInfo>
<ShipDate>30-Jan-2012</ShipDate>
</Package>
</RateV4Request>
Invalid XML Element content is invalid according to the DTD/Schema. Expecting: ReturnLocations, ReturnServiceInfo, ShipDate. line= 11 pos= 10
ie all values that appear after the <Height> element. Is there something wrong with the <Height>? Is the XML being truncated?
where is the DTD/Schema defined...
Were you me I would be on the phone with USPS... or maybe on hold with USPS (sadLOL)
read this and see if you get any inspiration from it:
<RateV4Request USERID="the-user">
<Revision>2</Revision>
<Package ID="1ST">
<Service>All</Service>
<ZipOrigination>91942</ZipOrigination>
<ZipDestination>97526</ZipDestination>
<Pounds>48</Pounds>
<Ounces>4</Ounces>
<Container>RECTANGULAR</Container>
<ShipDate>30-Jan-2012</ShipDate>
<Size>Large</Size>
<Machinable>FALSE</Machinable>
<Width>6</Width>
<Length>36</Length>
<Height>30</Height>
</Package>
</RateV4Request>
<RateV4Request USERID="the-user">
<Revision>2</Revision>
<Package ID="1ST">
<Service>All</Service>
<ZipOrigination>91942</ZipOrigination>
<ZipDestination>97526</ZipDestination>
<Pounds>48</Pounds>
<Ounces>4</Ounces>
<Container>RECTANGULAR</Container>
<Size>Large</Size>
<Width>6</Width>
<Length>36</Length>
<Height>30</Height>
<Machinable>FALSE</Machinable>
</Package>
</RateV4Request>