Create function that receives an XML in the SOAP Server (Delphi)

Asked

Viewed 431 times

1

Good morning.
Reading several files, tutorials, etc on the net, I managed to understand and develop a SOAP server (Delphi 7 and Tokyo).
I created several functions to receive values and return response..
I created a client (Delphi 7 and Tokyo) and managed to consume without any mystery ALL the functions of the SOAP server by importing the WSDL that the SOAP server provides.
But All functions I developed on the SOAP server receive parameters like String or integer.
I would like to do a function on the SOAP SERVER that receives an XML, however I can not find any article to help me to remedy this need.
Could one of you point me in the right direction, or give me something I can read to clarify??
I’m sorry if I wrote something outside the context of SOAP SERVER, but I’m starting in this strange SOAP world now and I don’t know the right words yet to describe my need.
If not clear enough, please signal or ask for more information that I will try to clarify in other words.

  • Ricardo, because instead of receiving an XML, you do not create a class that serves as a model, with attributes and sub-classes and serialize it in the webservice output. I believe it can be simpler to manipulate information.

  • 1

    Good afternoon @Andre Mesquita. In reality this specific need is due to the fact that a client already has an xml ready that he sends through his system. It presses the button there on his system and sends the file. The only thing it can change is where the file goes. He already has a whole structure on his side. Do you understand me? And from the little knowledge I have at the moment, I didn’t quite understand your suggestion.. :(

  • I understand your case. Take a look at this OS thread that can help you receive XML and directly click on the object. (https://stackoverflow.com/a/15688157/2788478)

  • Good evening @Andre Mesquita. I will take a look at the link you mention. Thank you for your attention :)

No answers

Browser other questions tagged

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