Solved

Exchange Web Services?

Posted on 2010-11-16
8
2,293 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
When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

 

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 500 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

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Read this checklist to learn more about the 15 things you should never include in an email signature.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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