Click or drag to resize
Troubleshooting SOAP
Print this page

This topic will help troubleshoot issues you may experience when using the Fleet API.

This topic contains the following sections:

Binding Failure

You may receive this error when attempting to initialize an instance of the Fleet.Service class. This error may be accompanied by the following message:

The assembly with display name 'MyApplication.XmlSerializers'
failed to load in the 'LoadFrom' binding context of the
AppDomain with ID 1. The cause of the failure was:

System.IO.FileNotFoundException: Could not load file or assembly
'MyApplication.XmlSerializers, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null' or one of its dependencies.

This error is caused when Visual Studio has not generated an XML serializer for your application. To force generation of the serializer, follow these steps:

  1. In Solution Explorer, right-click your project.

  2. Select Properties.

  3. Click the Build tab.

  4. Set Generate Serialization Assembly to On.

HTTP417 'Expectation Failed'

This error is caused by some proxy configurations. To fix this error add the following line of code before your Service object is initialized.

System.Net.ServicePointManager.Expect100Continue = false;