mexMonikerString = "service:mexAddress='http://127.0.0.1:8889/Service.svc/mex'"
mexMonikerString = mexMonikerString + ", address='http://127.0.0.1:8889/Service.svc'"
mexMonikerString = mexMonikerString + ",binding=WSHttpBinding_IService, bindingNamespace='http://tempuri.org/'"
mexMonikerString = mexMonikerString + ", contract=IService, contractNamespace='http://tempuri.org/'"
' Create the service moniker object
Set mexServiceMoniker = GetObject(mexMonikerString)
基本调用如上.但是当返回值byte[]长度超出1600多(默认值)时就报错...如果在这上面加上它的最大值参数设置..有做过相关的支个招吧.谢过!!