Another option, in your BO add:
Property LocalInterface As %String(MAXLEN = 255);
Parameter SETTINGS = "LocalInterface:Connection:selector?context={Ens.ContextSearch/TCPLocalInterfaces}";Then before calling the service (..Adaper.Invoke*()) add this:
If 'IsObject(..Adapter.%Client.HttpRequest) {
Set ..Adapter.%Client.HttpRequest=##class(%Net.HttpRequest).%New()
}
Set ..Adapter.%Client.HttpRequest.LocalInterface=$ZStrip($P(..LocalInterface,"("),"*W")
Edit to add: Why are you extending EnsLib.SOAP.GenericOperation?
For a SOAP BO using EnsLib.SOAP.OutboundAdapter the class signature is supposed to be:
Class osuwmc.Nutrition.OSU.CBOARDNetMenuOperation.CBORDHL7Port Extends Ens.BusinessOperation
- Log in to post comments