I am having trouble trying to use the soapmethod class to create the xml below
I am getting the following error
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://localhost/millenniumsdk/millenniumsdk.asmx?op=Logon.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
adding
mysock.SetRequestHeader(“SOAPAction”, “http://www.harms-software.com/Millennium.SDK/Logon”)
does not help?
thoughts anyone?
TIA
Tim
[code]Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: “http://www.harms-software.com/Millennium.SDK/Logon”
<soap:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
soap:Header
string
</soap:Header>
soap:Body
string
string
</soap:Body>
</soap:Envelope>[/code]