Any chance someone can post what the Xml string/stream needs to look like in order to use the wsdl parameter for COM clients using the Service Moniker and WSDL?
Not the MEX (WS-Mex) method, the WSDL method.
From Andy Milligan's PDC presentation, there was a slide (I don't have the demo's) with the following:
wsdlStr = "<xml ... " << -==== What's in the string?
Set monikerProxy =
GetObject("service:address=http://myServer/TestService/,
wsdl='" & wsdlStr & "',
binding=wsProfileBinding,
contract=IWarehouse")
currStock = monikerProxy.GetStockLevel("ID:223")
what's in that "wsdlStr" string/stream?
I have Mex working no problem as follows:
Option Explicit Dim quoteProxy, moniker, result moniker="service:mexAddress=http://localhost/QuickReturnsQuotes/service.svc/mex, " moniker=moniker + "address=http://localhost/QuickReturnsQuotes/service.svc," moniker=moniker + "contract=IQuoteService, contractNamespace=http://PracticalWcf/QuoteService, " moniker=moniker + "binding=WSHttpBinding_IQuoteService, bindingNamespace=http://tempuri.org/" Set quoteProxy = GetObject(moniker) result = quoteProxy.GetQuote("MSFT") WScript.Echo "MSFT's price is " + CStr(resul