You might want to try posting the code your using and asking questions around what isn't working for you. While some of what OWA does uses EWS it also has some private functions not available to EWS (one example is getting the address list id's). Generally
if you use something like fiddler you can see what its doing and tell the difference between the two.
Cheers
Glen