Your error looks like it's cause because there's no HeaderOut property defined in current class.
Anyway, you need to create a custom class which would be your header:
Class custom.Header Extends %SOAP.Header
{
Parameter XMLFORMAT = "literal";
Parameter XMLIGNORENULL = "RUNTIME";
Parameter NAMESPACE = "urn:epic-com.2013.Interconnect.Headers";
/// The XMLPREFIX parameter controls the prefix to be used for the XML namespace that
/// is given by the NAMESPACE parameter.
///Parameter XMLPREFIX As STRING = "";
Parameter XMLTYPE = "Epic-Client-ID";
Property Value As %String(XMLPROJECTION = "CONTENT", MAXLEN = 36) [ InitialExpression = "12349fe5-2ff8-4b79-b723-e69efbabcdef" ];
}
After that you need to create an instance of this class and add it to HeaderOut property of your WS client.
- Log in to post comments

