Page 1 of 1

Discontinuation of monetary cost optimization (v2.30!)

Posted: Wed Jul 19, 2023 7:39 am
by Bernd Welter
Hi there,

Just wanted to let you know that we decided to discontinue the monetary cost minimization - it will be unavailable from v2.30. Here's the official statement which is also mentioned in the release notes of v2.29:
Discontinuation: Please note that from the next release on the monetary cost minimization will no longer be supported. The quality of the function did not meet our requirements and therefore it unfortunately has to be removed again. We are working on a follow-up solution.
Some sidenote from me:
:!: Once we installed the v2.30 in the XServer Internet cloud you will run into an error message if your request tries to set the com.ptvgroup.xserver.xtour.PlanToursOptions.enableMonetaryCostMinimization=TRUE.

Best regards,
Bernd

Re: Discontinuation of monetary cost optimization (v2.30!)

Posted: Fri Aug 25, 2023 10:03 am
by Bernd Welter
ANd here's what you'll see with v2.30 :

Code: Select all

{
  "ClassName": "System.Web.Services.Protocols.SoapException",
  "Message": "Monetary cost minimization is no longer supported.",
  "Data": {
    "code": {
      "Namespace": "http://www.w3.org/2003/05/soap-envelope",
      "Name": "Receiver",
      "IsEmpty": false
    },
    "actor": "",
    "role": "",
    "subCode": null,
    "lang": ""
  },
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)\r\n   
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)\r\n   
  at XServer2.XTour.fetchToursResponse(JobRequest request) in C:\\ptv-xserver\\PARTNER\\202201-DaytimeDima\\XServer-2.28.cs:line 43743\r\n   
  at DaytimeDIma.Form1.btnPlanTours_Click(Object sender, EventArgs e) 
  in C:\\ptv-xserver\\PARTNER\\202201-DaytimeDima\\DaytimeDIma\\Form1.cs:line 691",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": "8\nReadResponse\nSystem.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\nSystem.Web.Services.Protocols.SoapHttpClientProtocol\nSystem.Object[] ReadResponse(System.Web.Services.Protocols.SoapClientMessage, System.Net.WebResponse, System.IO.Stream, Boolean)",
  "HResult": -2146233087,
  "Source": "System.Web.Services",
  "WatsonBuckets": null
}

Re: Discontinuation of monetary cost optimization (v2.30!)

Posted: Thu Jan 11, 2024 1:15 pm
by Bernd Welter
Here's an alternative representation of the error message - it's raw JSON response.

Code: Select all

{
  "faultInfo": {
    "$type": "InvalidValueFault",
    "hint": "Do not use monetary cost minimization.",
    "parameter": "/planToursRequest/tourRequestOptions/@enableMonetaryCostMinimization",
    "value": "true"
  },
  "message": "Monetary cost minimization is no longer supported."
}
Demonstrated on my laptop with v2.31.