小编k4c*_*cho的帖子

F#SOAP客户端,参数中带有保留字

我正在使用Bing的LanguageService(翻译服务).我产生与SvcUtil工具F#的SOAP客户端代码(和修改了它一点点地得到它的工作),但卡住了一些方法是用这个词在他们的参数.它在F#中保留.

 [<System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/V2/LanguageService/Translate", ReplyAction="http://api.microsofttranslator.com/V2/LanguageService/TranslateResponse")>]
 abstract Translate :appId:string * text:string * from:string * to:string * contentType:string * category:string -> string
Run Code Online (Sandbox Code Playgroud)

我已经尝试过_to__to而没有运气.

我不知道是否有任何方法可以取消定义关键字或以其他方式定义参数(类似于:SOAPpy - 命名参数列表中的保留字).

提前致谢!

wcf f# soap

4
推荐指数
1
解决办法
468
查看次数

使ocamlbuild忽略dirs

有没有办法告诉ocamlbuild不要进入某些目录?

我的_tags里面有以下内容:

<dir1> or <dir2>: include
Run Code Online (Sandbox Code Playgroud)

但ocamlbuild说有一些.dll dir3(拒绝构建,直到我清理它们),不应该使用该_tags配置进行扫描.无法在手册中获得任何内容.

我在Debian Linux上,对.dll没有错.

谢谢!

ocaml ocamlbuild

2
推荐指数
1
解决办法
392
查看次数

标签 统计

f# ×1

ocaml ×1

ocamlbuild ×1

soap ×1

wcf ×1