Hello everybody. I'm having a problem exposing a web service soap, to be consumed by another system, but this system needs the service contract to be the way I show it in the images.
The problem comes from the situation where I have to have a structure with the same name in the request and the response. Since in outsystems there is no possibility of naming the same structure within the same module, is there any way to get around this situation?
Example part of resquest:
Example part of response:
Thanks
Eduardo
Hello
Even if you use the same structure for input and output it will be enclosed in the tags referent respectively in the case of:
request: the input variable name of your exposed SOAP service.
response: the output variable name of your exposed SOAP service.
This being said, you cannot have both the input and output variables named <numeracoes> , which is a very logical thing.
I am afraid you have a situation that looks like a requirement problem.
The only option for you would be to use a .Net extension to solve your problem but even in .Net it is not easy to manipulate a webservice data contract to have the output XML exacly like the input XML, and sincerely i don't think it's worth the effort if you can talk to the external service responsible and negotiate the XML format.
Regards
JP