Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find Command can't be parsed by the EAS inspector #3

Open
ITF10 opened this issue Oct 25, 2023 · 0 comments
Open

Find Command can't be parsed by the EAS inspector #3

ITF10 opened this issue Oct 25, 2023 · 0 comments

Comments

@ITF10
Copy link

ITF10 commented Oct 25, 2023

When I use the EAS Inspector in Fiddler Classic to review WBXML content Request and Responses it works for all EAS commands except "Find"

Request and Response:
Error in decoding EAS body.
 System.IO.InvalidDataException: Unknown code page ID 0x0 encountered in WBXML 
at VisualSync.ASWBXML.LoadBytes(Byte[] byteWBXML, Boolean smartView) in e:\msft tools\EASInspectorForFiddler\EasInspector\ASWBXML.cs:line 909 
at VisualSync.ASWBXML.LoadBytes(Byte[] byteWBXML) in e:\msft tools\EASInspectorForFiddler\EasInspector\ASWBXML.cs:line 850 
at VisualSync.ASCommandResponse..ctor(Byte[] wbxml) in e:\msft tools\EASInspectorForFiddler\EasInspector\ASCommandResponse.cs:line 71 
at EASView.EASInspector.Parse(Byte[] bytesFromFiddler) in e:\msft tools\EASInspectorForFiddler\EasInspector\EASInspector.cs:line 318

Looking at the same request in the EAS Mailbox logs it seems pretty normal:
<?xml version="1.0" encoding="utf-8" ?> <Find xmlns="Find:"> <SearchId>SOME-String</SearchId> <ExecuteSearch> <MailBoxSearchCriterion> <Query> <Class xmlns="AirSync:">Email</Class> <CollectionId xmlns="AirSync:">123</CollectionId> <FreeText>to:&quot;Ipsum&quot; OR cc:&quot;Ipsum&quot; OR from:&quot;Ipsum&quot; OR subject:&quot;Ipsum&quot; OR &quot;Ipsum&quot;</FreeText> </Query> <Options> <Range>0-99</Range> <DeepTraversal/> </Options> </MailBoxSearchCriterion> </ExecuteSearch> </Find>

Am I missing something which I would need to change to make this work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant