Access XML Returned from Webservice

Asked

Viewed 30 times

1

I am using the delphi seattle to develop an app and access a webservice asmx/Soap, and that the return of the methods is in xml.

I can access all the methods of the webservice and have already tested on Soapui, where I can see the xml response, which in this case has 3 items, only that the return I’m getting in Delphi is a class "UsuarioRetorno" of the kind TRemotable.

How do I access this class "UsuarioRetorno" and have access to xml data? Or if that’s the case convert it. I can’t understand how to use this return class, because in the generated doc it only has this:

AutenticarUsuarioResult = class(TRemotable) private 

What I did in Delhi to access the methods was:

(HTTPRIOAutenticar as ServiceSoap).Autenticar(dados1.Text, dados2.Text, "");

The method used in this case is to authenticate.

  • you generated the internfaces by the WSDL Importer?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.