我也一直在为此苦苦挣扎……您可以tSoap
为此目的使用。
tWebServiceInput
不适用于我EWS
。
tSoap->tLogRow
例如:
tSoap
解析给定名称的组件是要解析的方法ResolveNames()
值 =Thierry
- 使用用户名和密码设置“需要身份验证”
- 设置端点,例如“https://yourserver/EWS/Exchange.asmx”
- 设置 SOAP 操作,“http://schemas.microsoft.com/exchange/services/2006/messages/ResolveNames”
- SOAP 版本 1.1
- 设置 SOAP 消息:... 输入带有“.
加入tSoap
到tLogRow
运行作业。瞧,结果...
Starting job xSoap_ResolveNames_LogRow at 13:43 30/05/2012.
[statistics] connecting to socket on port 3682
[statistics] connected
<Header><t:ServerVersionInfo xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" MajorBuildNumber="685" MajorVersion="8" MinorBuildNumber="24" MinorVersion="0" /></Header>|<m:ResolveNamesResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:ResolveNamesResponseMessage ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:ResolutionSet IncludesLastItemInRange="true" TotalItemsInView="1"><t:Resolution><t:Mailbox><t:Name>Thierry TYS. Yen Suin</t:Name><t:EmailAddress>thierry.suin@sc-mauritius.com</t:EmailAddress><t:RoutingType>SMTP</t:RoutingType><t:MailboxType>Mailbox</t:MailboxType></t:Mailbox><t:Contact><t:DisplayName>Thierry Yen Suin</t:DisplayName><t:GivenName>Thierry</t:GivenName><t:EmailAddresses><t:Entry Key="EmailAddress1">SMTP:thierry.suin@sc-mauritius.com</t:Entry></t:EmailAddresses><t:ContactSource>ActiveDirectory</t:ContactSource><t:Surname>Yen Suin</t:Surname></t:Contact></t:Resolution></m:ResolutionSet></m:ResolveNamesResponseMessage></m:ResponseMessages></m:ResolveNamesResponse>|
[statistics] disconnected
Job xSoap_ResolveNames_LogRow ended at 13:43 30/05/2012. [exit code=0]
它应该与创建联系人的方法类似。希望它有所帮助,因为尽管搜索了很长时间Talend
,但我还没有找到很多关于集成的帖子。Exchange Web Services