Microsoft Exchange Integration GetUserOofSettings
Looking to get user OOO settings from outlook.
For that, I am using the below component to integrate with Outlook 365.
I am able to run the services that are provided as part of this component like SyncFolderItems, GetUserAvailability.
The service GetUserOofSettings has its class and properties available in this component, but not the XML stream and connect soap rules.
We created the required rules and are trying to connect, but getting errors.
Compared the sample request xml with the one present on Microsoft site, its exactly same.
Still, we are getting below error
'Request content for the specified method is null or invalid., Request content for the specified method is null or invalid.'
Request:
Looking to get user OOO settings from outlook.
For that, I am using the below component to integrate with Outlook 365.
I am able to run the services that are provided as part of this component like SyncFolderItems, GetUserAvailability.
The service GetUserOofSettings has its class and properties available in this component, but not the XML stream and connect soap rules.
We created the required rules and are trying to connect, but getting errors.
Compared the sample request xml with the one present on Microsoft site, its exactly same.
Still, we are getting below error
'Request content for the specified method is null or invalid., Request content for the specified method is null or invalid.'
Request:
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><ns1:ExchangeImpersonation xmlns:ns1="http://schemas.microsoft.com/exchange/services/2006/types"> <ns1:ConnectingSID> <ns1:PrimarySmtpAddress> Proprietary information hidden</ns1:PrimarySmtpAddress> </ns1:ConnectingSID> </ns1:ExchangeImpersonation></soapenv:Header><soapenv:Body><ns2:GetUserOofSettingsRequest xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:ns1="https://schemas.microsoft.com/exchange/services/2006/types"> <ns1:Mailbox> <Address> Proprietary information hidden</Address> </ns1:Mailbox> </ns2:GetUserOofSettingsRequest></soapenv:Body></soapenv:Envelope>
Response
<?xml version='1.0' encoding='utf-8'?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" MajorVersion="15" MinorVersion="20" MajorBuildNumber="5612" MinorBuildNumber="22"/></s:Header><s:Body><GetUserOofSettingsResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ResponseMessage ResponseClass="Error"><MessageText>Request content for the specified method is null or invalid., Request content for the specified method is null or invalid.</MessageText><ResponseCode>ErrorInvalidParameter</ResponseCode><DescriptiveLinkKey>0</DescriptiveLinkKey></ResponseMessage></GetUserOofSettingsResponse></s:Body></s:Envelope> |