答案 0 :(得分:0)
有2种项目属性。 通过右键单击项目访问的对象和通过按F4键访问的对象
突出显示移动项目并按F4 然后,您可以看到带有URL的SSL Enabled属性
复制URL并将其粘贴到属性的Web选项卡上的Project Url中
那么您可能要解决下一个问题
下一步是将MainDemo替换为我的解决方案名称
<bindings>
<webHttpBinding>
<binding name="msgSize" maxReceivedMessageSize="2147483647">
</binding>
<binding name="msgSizeSSL" maxReceivedMessageSize="2147483647">
<security mode="Transport">
<transport clientCredentialType="None"></transport>
</security>
</binding>
</webHttpBinding>
</bindings>
<services>
<service name="MainDemo.Mobile.DataService">
<endpoint address="" behaviorConfiguration="" binding="webHttpBinding" bindingConfiguration="msgSize" contract="System.Data.Services.IRequestHandler"/>
<endpoint address="" behaviorConfiguration="" binding="webHttpBinding" bindingConfiguration="msgSizeSSL" contract="System.Data.Services.IRequestHandler"/>
</service>
<service name="MainDemo.Mobile.MetadataService">
<endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="msgSize" contract="DevExpress.ExpressApp.Mobile.Services.IMobileMetadataService"/>
<endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="msgSizeSSL" contract="DevExpress.ExpressApp.Mobile.Services.IMobileMetadataService"/>
</service>
<service name="MainDemo.Mobile.DownloadReportService">
<endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="msgSize" contract="DevExpress.ExpressApp.ReportsV2.Mobile.IXafDownloadReportService" />
<endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="msgSizeSSL" contract="DevExpress.ExpressApp.ReportsV2.Mobile.IXafDownloadReportService" />
</service>
</services>