Options

Webservices - System.InvalidCastException after new Build

Stefan_GStefan_G Member Posts: 3
NAV 2013 R2 7.1.43391.0 (Cumulative Update 25)
System.InvalidCastException
Unable to cast object of type System.Xml.XmlWhitespace to type System.Xml.XmlElement

After updating to the new build, I got this error, using webservices UPDATE method on an existing ServiceOrder:
<?xml version="1.0"?>
<Soap:Envelope xmlns:Soap="http://schemas.xmlsoap.org/soap/envelope/">
  <Soap:Body>
    <Update xmlns="urn:microsoft-dynamics-schemas/page/serviceorder"> 
      <ServiceOrder>
        <Customer_No>10000</Customer_No>
        <Key>44;DBcAAACLAQAAAAJ7/1IAQQBVADAAMAA1ADUAMwA1ADc=10;29748352700;</Key>
      </ServiceOrder>
    </Update>
  </Soap:Body>
</Soap:Envelope>

Before the update the communications works without any problem.

Is there a bug in the build - or must I change the xml-format?
Sign In or Register to comment.