Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9269

office365 and wsdl

$
0
0

First time trying web services from PB 12.5 classic... Client is moving from groupwise email to outlook (cloud). Unfortunately things go slow here so I don't have an exchange server yet. I signed up for a free 30 day trial of office365 exchange, I will be using the Exchange Web Services API.  Currently I am pulling my hair out trying to figure out how to connect.  Eventually want to access mail, tasks and calendar. Not sure if I am doing this right.... but Using 'web proxy service wizard' Check (on) to use the .net. I have .net 4.5 loaded (and win 7 sdk) Using the internet I get the wsdl file (http://outlook.office365.com/ews/services.wsdl) after logging in it displays the code (not the file itself) I copy and paste it into notepad and save it as wsdl file. Select that file from the proxy wizard, give it an assembly name xyz and select next. Get error on the wsdl file. (needed to remove a space or two from the first line then save it) try again and this time receive the following error. WSDL: error WSDL1: There was an error processing 'file:///H:/PB-ExchangeTest/services.wsdl'.      The document at the url file:///H:/PB-ExchangeTest/services.wsdl was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'WSDL Document' is 'There is an error in XML document (2, 1).'. - Data at the root level is invalid. Line 2, position 1. - Report from 'XML Schema' is 'Data at the root level is invalid. Line 2, position 1.'. - Report from 'DISCO Document' is 'Data at the root level is invalid. Line 2, position 1.'. Not sure what the problem is. Note: I did notice that if I enter http://schemas.microsoft.com/exchange/services/2006/messages into a browser this can't be found its in serveral places..but I have no idea what to replace it with.. assuming this could be the error. Any help would be appreciated... and thanks Dave V.


Below is the wsdl file code

did not know the wsdl file would not show up here so I am attaching it as a file hopefully that will work.



Viewing all articles
Browse latest Browse all 9269

Trending Articles