locked
Reverse engineered Java stubs - Exchange wsdl missing methods and classes RRS feed

  • Question

  • No, I'm not using the JavaEWS API, I won't go into why.

    I've generated my stubs from the WSDL and types/message xsd files. Imagine my surprise when my tool reported that the WSDL didn't declare any services. A kind stranger on the web said to add these lines:

    <wsdl:service name="ExchangeService">
        <wsdl:port name="ExchangeServicePort" binding="tns:ExchangeServiceBinding">
            <soap:address location="https://webmail.texasattorneygeneral.gov/ews/exchange.asmx"/>
        </wsdl:port>
    </wsdl:service>

    and suddenly, I had a service. But now I notice that the service does not have methods as shown in the documentation, such as setCredentials. Indeed, the entire WebCredentials class is missing as well.

    I downloaded the wsdl file from the Exchange server itself - so how is it that it was missing an actual service declaration and is also missing the WebCredentails class?

    Tuesday, February 19, 2013 2:20 PM