GetUriPath obsolete

Hello there.
We are migrating epicor 10.700 to Kinetic. In Customer Shipment Entry, we are now getting a warning about GetUriPath:

Warning: BC40000 - line xxx(xxxx) - ‘Public Shared Function GetUriPath(contractType As System.Type) As String’ is obsolete: ‘Not needed for Web API services.’

The warning line:

Dim baqRep as Ice.Proxy.Rpt.BAQReportImpl = WCFServiceSupport.CreateImpl(Of Ice.Proxy.Rpt.BAQReportImpl)(oTrans.Session, Epicor.ServiceModel.Channels.ImplBase.GetUriPath(GetType(Ice.Contracts.BAQReportSvcContract) ))

What is this warning for and is there a fix to it?

Oh yes in VB…

Thanks.

WCF has been deprecated.

You can still use it, but there are hoops to jump through now.

They want to to migrate to using the REST interfaces, in some form or fashion.

Let me see if I can dig you up a thread. I think @Rich has some on the subject.

1 Like
1 Like

Thanks for fast anwser.