+ 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.