Hi all,

We're using A4D 4 in a 2004 database that needs to query SOAP
services.  I can get 4D to call the SOAP server and return data, but
there is an issue.

According to their API, the first call that must be made is to an
Authenticate method that returns a token when the proper credentials
are sent.  The token is valid for 20 minutes and all subsequent
commands need to have the token embedded in the SOAP header.  I can
push a valid token in to the outgoing SOAP header, and it returns the
data fine.

The problem is retrieving the token.  When the Authenticate method is
run via the SOAP client, it returns the token in the SOAP Response
Header.  And for the life of me, I cannot figure how to get at the
SOAP Response header.  4D Web Services Client only returns the body of
the SOAP request.

I know it is there because I can see the Response Header when I
monitor the http stream that 4D is receiving.

Does anyone know how to get at the SOAP Response Header?

I'm writing here because we need to eventually do all this through A4D
for their main application is running exclusively in A4D.  And because
I know there is a lot of experience here sending data around http both
with and without web services.

Thanks very much,

Michael Check
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to