[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Exchange Web Services?

Posted on 2010-11-16
8
Medium Priority
?
2,386 Views
Last Modified: 2012-06-27
Hello,

does Exchange Server 2007 and 2010 allows us to create Appointment, Emails, Contacts through EWS (Exchange Web Service)?

I'm truing using SoapUI to test that and I keep getting

   HTTP/1.1 405 Method Not Allowed Allow:

    GET, HEAD, OPTIONS, TRACE Server:

    Microsoft-IIS/7.0 X-Powered-By:

    ASP.NET Date: Tue, 16 Nov 2010

    14:05:48 GMT Content-Length: 0

any suggestions?

cheers
0
Comment
Question by:Data-Base
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 34156427
Yes, E2007 and E2010 support EWS.  I don't know what SoapUI does, but GET, HEAD, OPTIONS and TRACE are not EWS verbs anyway.  With EWS you will only use POST.
0
 

Author Comment

by:Data-Base
ID: 34162067
Thanks

SoapUI is a tool to test SOAP
http://www.soapui.org/

do you know any other tool that we can test with?


cheers
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 34163715
What do you want to test?  If you just want to make sure that EWS is up and running on the server, I have a simple test page here:
http://www.leederbyshire.com/EWS-FindItem-List-Inbox-Exchange-2007.asp
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:Data-Base
ID: 34170855
hello,

we have a software based on Oracle, and it communicate with different web services!
so now we want it to communicate with EWS

usualy with all other web services we use http://www.soapui.org/ to test our XML request (SOAP), and it works with no problems.

I do not know why we are stuck with EWS!

if you get back to my main post, I got really confused now when you wrote "With EWS you will only use POST." so why I got this message that it does not work!

is there some settings I need to change in exchange!?!
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 34173365
Okay, I downloaded SoapUI.  I don't really know what to do with it (I do all my EWS coding using just Notepad), but I did manage to connect it to EWS on my server by entering a 'Initial WSDL/WADL' value of https://myservername/ews/services.wsdl (obviously I used a real server name).  Now, I can see a plus sign in the navigator window, an dif I expand it, I see the object ExchangeServiceBinding, and all the methods.  So, I assume that it's working.  What did you supply when it asked for your WSDL URL?
0
 

Author Comment

by:Data-Base
ID: 34183320
this part is working fine

take a look at this
 SoapUI with Exhange EWS
if you expand the "CreateItem" it shows you example or a template (request 1)
if you create a new request and add some cod from MS site
http://msdn.microsoft.com/en-us/library/dd633661%28EXCHG.80%29.aspx

modify it the way you like
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
               xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"       
               xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"       
               xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <t:RequestServerVersion Version="Exchange2010" />
   </soap:Header>
   <soap:Body>
      <m:CreateItem SendMeetingInvitations="SendToAllAndSaveCopy">
         <m:Items>
            <t:CalendarItem>
               <t:Subject>Status Meeting</t:Subject>
               <t:Body BodyType="Text">The purpose of this meeting is to discuss project status.</t:Body>
               <t:Start>2009-03-01T17:00:00Z</t:Start>
               <t:End>2009-03-01T19:00:00Z</t:End>
               <t:Location>Conf Room</t:Location>
               <t:RequiredAttendees>
                  <t:Attendee>
                     <t:Mailbox>
                        <t:EmailAddress>user1@contoso.com</t:EmailAddress>
                     </t:Mailbox>
                  </t:Attendee>
                  <t:Attendee>
                     <t:Mailbox>
                        <t:EmailAddress>user2@contoso.com</t:EmailAddress>
                     </t:Mailbox>
                  </t:Attendee>
               </t:RequiredAttendees>
               <t:OptionalAttendees>
                  <t:Attendee>
                     <t:Mailbox>
                        <t:EmailAddress>user3@contoso.com</t:EmailAddress>
                     </t:Mailbox>
                  </t:Attendee>
               </t:OptionalAttendees>
            </t:CalendarItem>
         </m:Items>
      </m:CreateItem>
   </soap:Body>
</soap:Envelope>

Open in new window


and then add the end point (https://myservername/ews/services.wsdl)

then click on the green icon (run) you will get the results in a window
0
 
LVL 31

Accepted Solution

by:
LeeDerbyshire earned 2000 total points
ID: 34188026
The endpoint document name should be exchange.asmx, not services.wsdl.
0
 

Author Closing Comment

by:Data-Base
ID: 34211261
Thanks allot :-)
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question