WSDL importer generates faulty server

I am trying to get a soap server that implements (is this the correct term?) The wsdl specification made by a third party. I used the Delphi wsdl importer. (Part of) the generated code is as follows:

miniPortType = interface(IInvokable)
['{824D172A-9C1F-D202-5B21-4C324553BCF0}']

  // Cannot unwrap: 
  // - Input element wrapper name does not match operation name
  function miniService(const aMessage: MiniMessageType): MiniAnswerType; stdcall;
end;

When called, the server says that " There is no method named" MiniMessageType "is supported by the interface" miniPortType "."

I can make this work by specifying the function name and the name of the main message element.

I think it should be possible to have different names. At least soapUI doesn't complain. And I have no choice but to implement wsdl as it is. Does anyone know how I can get around this?

I am using Delphi 2007.

Thank you Miel.

+3
1

, SOAP "" , Delphi SOAP . "" , , , , SOAP , .

0

Source: https://habr.com/ru/post/1706727/


All Articles