I've deleted 2 elements with "errors" underlined in VS 2005 in the moodlews.wsdl file...
Now, when I try to generate the proxy using the wsdl.exe, I get the following errors:
Warning: This web reference does not conform to WS-I Basic Profile v1.1.
R2706: A wsdl:binding in a DESCRIPTION MUST use the value of "literal" for the use attribute in all soapbind:body, soapbind:fault, soapbind:header and soapbind:headerfault elements.
- Input element soapbind:body of operation 'soapserver.login' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Output element soapbind:body of operation 'soapserver.login' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Input element soapbind:body of operation 'soapserver.logout' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Output element soapbind:body of operation 'soapserver.logout' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Input element soapbind:body of operation 'soapserver.edit_user' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Output element soapbind:body of operation 'soapserver.edit_user' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Input element soapbind:body of operation 'soapserver.get_user' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Output element soapbind:body of operation 'soapserver.get_user' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Input element soapbind:body of operation 'soapserver.edit_course' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Output element soapbind:body of operation 'soapserver.edit_course' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Input element soapbind:body of operation 'soapserver.get_course' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Output element soapbind:body of operation 'soapserver.get_course' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Input element soapbind:body of operation 'soapserver.get_grades' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Output element soapbind:body of operation 'soapserver.get_grades' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Input element soapbind:body of operation 'soapserver.enrol_students' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
- Output element soapbind:body of operation 'soapserver.enrol_students' on portType 'MoodleWSBinding' from namespace '
http://econ.unitbv.ro/elearning/ws/wsdl'.
For more details on the WS-I Basic Profile v1.1, see the specification
at
http://www.ws-i.org/Profiles/BasicProfile-1.1.html.
Error: Initialization failure. Please review input options and documents for val
idity.
- Invalid wsd:arrayType syntax: '
http://www.w3.org/2001/XMLSchema:string'.
If you would like more help, please type "wsdl /?".