function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gino BassoGino Basso 

Generating Apex code from WSDL when response message is not defined

We have to integrate with a 3rd-party web service whose WSDL does not define a response message for an operation. More specifically, the message element is provided as follows:
<wsdl:message name="OutputMessage" />
Salesforce will not generate Apex code from such a WSDL, insisting that a response message be specified.
Any suggestions as to possible workarounds? To date I have mocked up a simple response message to at least generate the Apex code, but I'm concerned that Salesforce may reject/fail the empty response returned by the third-party web service as a result.