Commits

Michael Sumerano committed b6590f4

Some minor changes as FedEx starts to get implemented

  • Participants
  • Parent commits 5b8cd90

Comments (0)

Files changed (3)

File SeeSharpShip.Tests/FedEx/RateServiceTests.cs

         public void Get_EmptyRequest_ThrowsException() { 
             var service = new Services.FedEx.RateService();
             RateRequest request = new RateRequest();
-            Assert.Throws(typeof (Exception), () => service.Get(request));
+            Assert.Throws(typeof(NotImplementedException), () => service.Get(request));
         }
     }
 }

File SeeSharpShip/SeeSharpShip.csproj

       <DesignTime>True</DesignTime>
       <DependentUpon>Reference.svcmap</DependentUpon>
     </Compile>
+    <Compile Include="Services\FedEx\RateService.cs" />
     <Compile Include="Services\Usps\IRequest.cs" />
     <Compile Include="Services\Usps\ITrackService.cs" />
     <Compile Include="Services\Usps\PostRequest.cs" />
     <None Include="Docs\USPS-Track-Confirm-v4-1a.pdf" />
     <None Include="license.txt" />
     <None Include="SeeSharpShip.nuspec" />
-    <None Include="Service References\FedExRateService\RateServiceDefinitions.wsdl" />
-    <None Include="Service References\FedExRateService\SeeSharpShip.FedExRateService.RateReply.datasource">
-      <DependentUpon>Reference.svcmap</DependentUpon>
-    </None>
     <None Include="Service References\UpsFreightRateService\common.xsd">
       <SubType>Designer</SubType>
     </None>

File SeeSharpShip/Services/FedEx/RateService.cs

 
 namespace SeeSharpShip.Services.FedEx
 {
+    public class RateResponse {}
+
+
     public class RateService
     {
         //private RateReply CallRateService(RateRequest request) { return new RateReply(); }
         public RateResponse Get(RateRequest request) {
-            var service = new FedExRateService.RateService();
-            var response = service.getRates(request);
+            throw new NotImplementedException();
 
-
+            return new RateResponse();
         }
     }
 }