WSDL https://outlook.office365.com/EWS/services.wsdl contains no service definition. RRS feed

  • Question

  • I am trying to access EWS from an Office 365 Exchange environment using JAVA. When trying to create a Port with I am able to authenticate with my username and password, but get this exception when trying to instantiate the ExchangeWebService object:

    javax.xml.ws.WebServiceException: WSDL outlook.office365.com/.../services.wsdl contains no service definition.

    Why is there no service definition in the WSDL? Do I need to provide a different WSDL URL?

    Monday, December 7, 2015 9:57 PM