Hi Steven,
Right now I'd be happy to login and logout w/o doing any business.
Login works. When I login I receive the session key
soapmesg = "<?xml version=""1.0"" encoding=""ISO-8859-1"" ?>" & _
"<cardtel_request>" & _
"<login>******</login>" & _
"<password>******</password>" & _
"</cardtel_request>"
respstr = proxy.validate(soapmesg).ToString()
sessionKey = respstr.Substring(11)
but apparently it's not sent in the logout. When I asked the
programmers on the server side what to send to logout this is what they
emailed me back.
You send the following XML:
<cardtel_request><stop>stop</stop></cardtel_request>
the session information kept in the SOAP headers will tell the
server what session to terminate.
When I told them it wasn't working they told me:
My server doesn't know that your logoff xml is part of a current
session.
This is where you need to figure out how to tell you client to
keep a persistent connection with my server.
Remember they don't know .net. They do non-MS Java development. So I'm
hoping someone here can help me figure this out.
Steven Cheng[MSFT] wrote:
Welcome Cj,
Seems the webservice you're trying to cosuming is not quite simple. From
your description the service side ask you to persist the session, I think
this means that when you first time call the service and login the service,
it will return some data represent the authenticated ticket. Then, in the
sequential requests, you need to use this ticket to perform other
operations, I'm not sure how it require you to attach the ticket, is there
any further info or specification about the server-side service's
communiation interface?
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)