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
yama1173yama1173 

Error:Failed to parse wsdl ( output not defined in binding operation )

Hi All,
When I made apex from wsdl with WSDL2Apex,we got error below.

*******************************************************************************************************
 Failed to parse wsdl: output not defined in binding operation '{http://XXXXXXXX/xwf}logout'
 [水 10 18 14:51:02 JST 2017]
Exception in thread "main" java.lang.RuntimeException: Failed to parse wsdl: output not defined in binding operation '{http://XXXXXXXX/xwf}logout'
        at com.salesforce.ide.wsdl2apex.core.WSDL2Apex.doParse(WSDL2Apex.java:314)
        at com.salesforce.ide.wsdl2apex.core.WSDL2Apex.parseAndGenerate(WSDL2Apex.java:408)
        at com.salesforce.ide.wsdl2apex.core.WSDL2ApexGenerator.main(WSDL2ApexGenerator.java:16)
*******************************************************************************************************

Do you know the solution?
Thanks,
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Yama,

May I request you please refer the below link for reference. Let us know if it helps.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar
 
yama1173yama1173
Hi Raul,

Thanks,
I will try it.

Regards,
Yama