-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Over the following link you can access the wsdl https://<host>/ews/Services.wsdl
The WSDL references 3 schemas: messages.xsd, types.xsd, xml.xsd
The original WSDL lacks the service definition, this was added manually and is used to generate the binding classes.
This is the added section:
<wsdl:service name="ExchangeService">
<wsdl:port name="ExchangeServicePort" binding="tns:ExchangeServiceBinding">
<soap:address location="https://host/ews/exchange.asmx"/>
</wsdl:port>
</wsdl:service>
You can find the WSDL in the project ews-api
##Strategies to connect over webservice to microsoft exchange server
- You can use the official ms api: http://archive.msdn.microsoft.com/ewsjavaapi
This is implemented in the project ews-ms-api and described here ews-ms-api
- You can generate your own classes
This is implemented in the project ews-api and described here ews-api
Here you find two Authentication Scenarios Authentication
- Negotiated
- Basic
Cause the webservice is encrypted over ssl you need 2 tools to monitor the traffic:
You will connect over http to the tcpmon. The tcpmon forwards the traffic to the stunnel. The stunnel makes the https connection to the exchange server. Like this you can monitor the soap messages on the tcpmon.
The config you use in the config file:
[https]
client = yes
accept = 127.0.0.1:8443
connect = <host>:443
TIMEOUTclose = 0
Listen on :8080 and forward to port 8443.
You can find examples under the soap-examples
- This description was very usefull: http://thinkinginsoftware.blogspot.com/2011/02/exchange-web-services-ews-from-java.html