Bob Alston
2011-04-23 22:20:39 UTC
I used WSDL.exe to generate a proxy class to generate a web service
client. I then compiled it into a DLL.
The soap message required uses to parameters in the soap header. I
can see references to them in this "partial class' which was generated
Partial Public Class CMBHSAuthenticationHeader
Inherits System.Web.Services.Protocols.SoapHeader
Private cMBHSUserNameField As String
Private cMBHSPasswordField As String
Private anyAttrField() As System.Xml.XmlAttribute
'''<remarks/>
Public Property CMBHSUserName() As String
Get
Return Me.cMBHSUserNameField
End Get
Set
Me.cMBHSUserNameField = value
End Set
End Property
'''<remarks/>
Public Property CMBHSPassword() As String
Get
Return Me.cMBHSPasswordField
End Get
Set
Me.cMBHSPasswordField = value
End Set
End Property
However I don't know how to set these two fields from my VBA code.
Suggestions?
Bob
client. I then compiled it into a DLL.
The soap message required uses to parameters in the soap header. I
can see references to them in this "partial class' which was generated
Partial Public Class CMBHSAuthenticationHeader
Inherits System.Web.Services.Protocols.SoapHeader
Private cMBHSUserNameField As String
Private cMBHSPasswordField As String
Private anyAttrField() As System.Xml.XmlAttribute
'''<remarks/>
Public Property CMBHSUserName() As String
Get
Return Me.cMBHSUserNameField
End Get
Set
Me.cMBHSUserNameField = value
End Set
End Property
'''<remarks/>
Public Property CMBHSPassword() As String
Get
Return Me.cMBHSPasswordField
End Get
Set
Me.cMBHSPasswordField = value
End Set
End Property
However I don't know how to set these two fields from my VBA code.
Suggestions?
Bob