I have to create a link between one of our apps and a client system. The client system is not using a web-service. They have a piece of technology they have used for 12 years (I am told) which consists of posting to an ASP page and getting the result back.
The post is an XML string and the result is an XML string. They have done this successfully with VB6, I need to get this to work from .Net. I have been using the same COM object they suggest and come up with this code:
<code>
Dim AuthResult As New AuthResponse
If Debug = True Then
EventLog.WriteEntry(Me.ServiceName & ".DelegateWithParameters executing", EventLogEntryType.Information)
End If
Dim strXMLLoginString As String
strXMLLoginString = fnBuildAuthString(strServiceID, strUserName, strPwd)
InboundXML = postxml(strXMLLoginString)
AuthResult = fnParseAuthenticationResp(InboundXML)
UpdateLoginAttempt(strVotingRecordID, AuthResult)
</code>
The com object is giving me no end of trouble. I want to use a true .Net class to do the same thing, but I don't know which one or how. This ISN'T a service so I can't just act like it is, and I don't know how to manage that.
I have some (limited) experiene acting as the client for a web-service but I have NEVER tried to do what I need to do here.
Any help would be greatly appreciated.
Thanks.
Ask One/Answer One.