CN103092620B - A kind of Microsoft Exchange Server 2010 Web service integrated development method - Google Patents
A kind of Microsoft Exchange Server 2010 Web service integrated development method Download PDFInfo
- Publication number
- CN103092620B CN103092620B CN201310020516.8A CN201310020516A CN103092620B CN 103092620 B CN103092620 B CN 103092620B CN 201310020516 A CN201310020516 A CN 201310020516A CN 103092620 B CN103092620 B CN 103092620B
- Authority
- CN
- China
- Prior art keywords
- web service
- mailbox
- server
- service
- com
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A kind of Microsoft Exchange Server 2010 Web service integrated development method, comprises the following steps: (1) application system calls mailbox management Web service by integrated technology;(2) the mailbox management enterprises service of same-interface is called in mailbox management Web service;(3) Windows PowerShell program command row is called in mailbox management enterprises service;(4), after ExchangeServer2010 receives Windows PowerShell program command row, in Exchange Server2010, corresponding mailbox management instruction is finally performed.By instruction → webpage or a series of mailbox creating of client application system → Web Service → COM+ → PowerShell → mailbox and the transmission of maintenance instruction and translation process, the final mode realizing issuing into Web service, can be with the application system Seamless integration-of any called Web service.
Description
Technical field
The present invention relates to computer technology, relate to the integrated of a kind of mailbox system and Explore of Unified Management Ideas.
Background technology
Along with IT application in enterprise constantly advances, it is faced with increasing Heterogeneous Information System, its Technical Architecture and backstage
Data storage is not quite similar.The most only possible causing existing multiple user account, the user account of each system is typically by difference
System manager be managed and safeguard, system becomes to become increasingly complex, and flow process is more and more longer, be increasingly difficult to management, and
And the discordance of same user data can be caused, it is impossible to effectively check, be likely to result in information security hidden danger (as personnel leave office,
The user account of some system deletion the most in time etc.), and also can cause that to be increasingly difficult to follow-up system level integrated and whole
Close, thus cause higher management and maintenance cost.
Enterprise's mailbox is one of very important daily use of enterprise, sets up and safeguard that subscriber mailbox is for system manager
Needing (such as registration and the leaving office etc. of employee) of often operation, Microsoft Exchange Server 2010 is Microsoft
A set of E-mail service assembly, a lot of enterprises all use this as enterprise's mailbox service software.Official of Microsoft provides only at present
Exchange Server 2010 application integration development interface (API): Exchange Web Services Managed API1.1,
This API is mainly (as read the functions such as active user's unread mail, task, contact person, search) towards end user,
But there is no Exchange Server 2010 Web service of system-oriented manager (such as establishment and the deletion of subscriber mailbox, communication
The establishment of group and deletion etc.).Therefore enterprise's mailbox management service and unified account and the system integration of unified rights cannot directly be carried out,
There is no ready-made effective solution, need the integration problem carrying out independent development the corresponding interface to solve system-oriented manager.
Summary of the invention
It is an object of the invention to provide the side of a kind of Exchange Server 2010 Web service that system-oriented manager is provided
Method.
The solution of the present invention is as follows:
A kind of Microsoft Exchange Server 2010 Web service integrated development method, comprises the following steps:
(1) application system calls mailbox management Web service by integrated technology;
(2) the mailbox management enterprises service of same-interface is called in mailbox management Web service;
(3) Windows PowerShell program command row is called in mailbox management enterprises service;
(4) after Exchange Server 2010 receives Windows PowerShell program command row, finally at Exchange
Server 2010 performs corresponding mailbox management instruction.
Also including safety certification step in described step (1), described Web service carries out safety certification to the identity of system manager,
Safety certification calls the instruction of mailbox management Web service by then starting, and otherwise terminates calling.
In described step (2), look forward to by developing and dispose the COM+ of self-defining Exchange Server 2010 mailbox service
Industry serviced component, it is achieved mailbox management Web service directly invokes mailbox management enterprises service.
COM+ serviced component is deployed in Windows server in COM+ service, and described Web service is deployed to windows
In server in IIS, both of which is deployed in the windows server of same mailbox server.
In described development procedure, COM+ serviced component issues into Server mode, and is visual way.
The registration of described COM+ serviced component is realized by MTS.
Described step (1) calls mailbox management Web service by ESB or point-to-point integration mode.
Described step (3) is called the Web Service of Exchange 2010 PowerShell administration order COM+ serviced component.
In described step (4), Exchange Server 2010 create with safeguard and PowerShell script command
Mailbox server is run.
Beneficial effects of the present invention is as follows: by using Windows PowerShell technological development COM+ assembly and combining Web
The integrated application at Microsoft Exchange Server 2010 of service, sets up ESB side in Web service mode
Formula carries out the system integration, the management of Exchange enterprise mailbox service can be integrating seamlessly in ESB (ESB) or
In MOSS platform (OA platform), thus beat based on the unified account centered by Active Directory (AD) and uniform permission administration
Descend good basis, operation can have been simplified as unified account and one of the composition basic components of uniform permission administration or element,
It is effectively increased work efficiency and information security.Whole invention architecturally have certain advance, opening, autgmentability,
The advantages such as maintainability.
Accompanying drawing explanation
Fig. 1 is the Exchange Server 2010 integrated technology Organization Chart of system-oriented manager in one embodiment of the invention;
Fig. 2 is the Exchange Web service integrated flow figure of system-oriented manager in invention one embodiment.
Detailed description of the invention
A kind of Microsoft Exchange Server 2010 Web service integrated development method, comprises the following steps:
(1) application system calls mailbox management Web service by integrated technology;In the present embodiment, step also includes in (1)
Safety certification step.
System manager calls mailbox pipe in office system or other application systems by ESB or point-to-point integration mode
Reason Web service, mailbox management Web service carries out safety certification to the identity of system manager, and safety certification is by calling mailbox pipe
The instruction of reason Web service, otherwise terminates calling.In order to improve security of system, prevent malicious operation, for attended operation (as
Newly-built, the deletion etc. of mailbox) add security authentication mechanism, the present embodiment is mainly carried out by the way of self-defining user/password
Safety certification.
(2) the mailbox management enterprises service of same-interface is called in mailbox management Web service;In the present embodiment, in step (2),
By developing and dispose the COM+ serviced component of self-defining Exchange Server 2010 mailbox service, to realize mailbox management
Web service directly invokes mailbox management enterprises service.
Exploitation and deployment COM+ serviced component, on the one hand realize open the corresponding interface, directly invoke this COM+ for Web service
Enterprises service.During in the present embodiment, COM+ serviced component is deployed to Windows server in COM+ service, Web service is disposed
IIS(Internet information service management device in windows server) in, both it is deployed in same mailbox server
Windows server in.On the other hand by with PowerShell Integration ofTechnology, simulation manager manual entry enterprise mailbox
Input PowerShell script command after server and carry out automatically creating and safeguarding the function of Email Accounts.
The process that COM+ serviced component is specifically developed and disposed is as follows:
Main employing C# development language carries out Integrated Development,
A (), in C# development environment, adds the System.Enterprise.Services that key needs to quote, and
System.Management.Automation, to realize calling ExchangeServer mailbox server by C# Automatic Program
The relevant PowerShell script command of mailbox, i.e. realize the collection with PowerShell technology by this two dynamic link libraries
Become.Due to Exchange Server 2010 be deployed in 64 Windows Server 2008 R2 operating systems in the environment of,
It is thus desirable to the System.Management.Automation.dll quoted under this operation), issue into COM+ serviced component,
In addition it is also necessary to create a strong name key file, such as " PowerShellComponent.snk ".
COM+ assembly provides two kinds of method of service: Server and Library, owing to needing to adjust at follow-up Web Service
With, it is therefore desirable to issue into Server mode, and COM+ is necessary for visual way, otherwise cannot call, can be in exploitation generation
In Ma, Direct Programming is specified.
(b) class graph of a relation.
In code, create ManagementCommands class, and define IManageMailBox interface, mainly realize mailbox
Create, delete, enable, disable, check, the method such as inquiry, create, delete, check the methods such as communication group, mailbox is added
Add or remove to the methods such as communication group, it is achieved that mailbox management and safeguard common function, follow-up can open according to specific needs
Send out extension.
The deployment of (c) COM+ serviced component.
For the deployment of COM+ serviced component, two ways is mainly had to carry out.
A kind of regsvr32.exe that can call carries out the registration of COM+ assembly, and in the present embodiment, the mailbox with lucky company is integrated
Illustrate as a example by management system.By run regsvr32.exed: Geely.WindowsComponent.dll register position
Geely.WindowsComponent.PowerShellComponent.dll under D packing catalogue;
Another kind is at MTS(Microsoft task server) middle registration.Owing to MTS has the advantage that dynamic offloading balances, carry
High assembly and the upgradability of application program based on assembly;Comprise announcement and submission event and the ability of queue element so that more hold
Easily with multiple components in combination.Therefore the use MTS recommended registers.For manual registration, [start menu] can be passed through
→ [program] → [management instrument] → [Component service] → [computer] → [my computer] → [COM+ application program]
Operate.
(3) Windows PowerShell program command row is called in mailbox management enterprises service;In the present embodiment, by calling
The Web Service of Exchange 2010 PowerShell administration order COM+ serviced component.Specific operation process is as follows:
Web Service adds to quote above-mentioned Geely.WindowsComponent.PowerShellComponent.dll the most permissible
Directly invoke Exchange 2010 PowerShell administration order COM+ serviced component, thus realize application architecture based on SOA.
For the data call form of the current main flow of compatibility, system each provides three kinds of data interaction form: Xml(number in early days
According to the mutual universal standard), the current most popular data interaction form of Json(), Binary(Base64 coding, Email is just
It is this exchange format).
(4), after Exchange Server 2010 receives Windows PowerShell program command row, finally exist
ExchangeServer 2010 performs corresponding mailbox management instruction.
In the present embodiment, Exchange Server 2010 create with safeguard and PowerShell script command at mailbox
Server runs.Create due to Exchange Server 2010 mailbox server and safeguard that Email Accounts must be in mailbox service
Carrying out in device (directly cannot operate at client computer), Exchange Server 2010 provides up to hundreds of each simultaneously
The PowerShell script technology that the operation of class mailbox is relevant, the PowerShell script that main use is relevant to Email Accounts
Order.
The Microsoft Exchange Server 2010 Web service integrated development method of the present invention passes through instruction → webpage or visitor
A series of mailbox creating of family end application system → WebService → COM+ → PowerShell → mailbox and the transmission of maintenance instruction
With translation process, finally realize issuing into the mode of Web service, thus be possible not only to call in Web page, and permissible
In client-side program, call (such as OFFICE software), be applicable not only to windows platform, and the platforms such as Linux all may be used
To call, the problem solving cross-platform cross language and cross-system by the way of issue becomes Web service, can call with any
The application system Seamless integration-of Web service.
The present invention use Windows PowerShell technological development COM+ assembly and combine Web service at Microsoft
The integrated application of Exchange Server 2010, such that it is able to be integrating seamlessly in ESB (ESB) or MOSS platform
In (OA platform), owing to employing new technology and new method, for based on the unified account centered by Active Directory (AD) and unification
Rights management has practical function and meaning.
The above-mentioned description to embodiment is to be understood that for ease of those skilled in the art and apply the present invention.It is familiar with
These embodiments obviously easily can be made various amendment by the personnel of art technology, and should General Principle described herein
Use in other embodiments without through performing creative labour.Therefore, the invention is not restricted to embodiment here, this area skill
Art personnel should be at the protection model of the present invention according to the announcement of the present invention, the improvement made without departing from scope and amendment
Within enclosing.
Claims (7)
1. a Microsoft Exchange Server 2010 Web service integrated development method, it is characterised in that: include
Following steps:
(1) application system calls mailbox management Web service by integrated technology;
(2) the mailbox management enterprises service of same-interface is called in mailbox management Web service;
(3) Windows PowerShell program command row is called in mailbox management enterprises service;
(4) after Exchange Server 2010 receives Windows PowerShell program command row, finally at Exchange
Server 2010 performs corresponding mailbox management instruction;
In described step (2), take by developing and dispose the COM+ of self-defining Exchange Server 2010 mailbox service
Business assembly, it is achieved mailbox management Web service directly invokes mailbox management enterprises service;
COM+ serviced component is deployed in Windows server in COM+ service, and described Web service is deployed to windows
In server in IIS, both of which is deployed in the windows server of same mailbox server;
The method of described exploitation and the COM+ serviced component of disposing self-defining Exchange Server 2010 mailbox service is as follows:
Using C# development language to carry out Integrated Development, (a), in C# development environment, adds what key needs were quoted
System.Enterprise.Services, and System.Management.Automation, to realize by C# program certainly
The PowerShell script command that the dynamic mailbox calling ExchangeServer mailbox server is correlated with, i.e. by these two dynamically
Chained library realization is integrated with PowerShell technology;B () class graph of a relation, creates ManagementCommands in code
Class, and define IManageMailBox interface;C the deployment of () COM+ serviced component, uses one of following two mode to carry out:
1) call regsvr32.exe and carry out the registration of COM+ assembly;2) register in MTS.
Microsoft Exchange Server 2010 Web service integrated development method the most according to claim 1, its
It is characterised by: described step (1) also including, the identity of system manager is pacified by safety certification step, described Web service
Full certification, safety certification is called the instruction of mailbox management Web service, is otherwise terminated calling by then starting.
Microsoft Exchange Server 2010 Web service integrated development method the most according to claim 1,
It is characterized in that: in described development procedure, COM+ serviced component issues into Server mode, and is visual way.
Microsoft Exchange Server 2010 Web service integrated development method the most according to claim 1,
It is characterized in that: realized the registration of described COM+ serviced component by MTS.
Microsoft Exchange Server 2010 Web service integrated development method the most according to claim 1,
It is characterized in that: described step (1) calls mailbox management Web service by ESB or point-to-point integration mode.
Microsoft Exchange Server 2010 Web service integrated development method the most according to claim 1,
It is characterized in that: described step (3) is called the Web of Exchange 2010 PowerShell administration order COM+ serviced component
Service。
Microsoft Exchange Server 2010 Web service integrated development method the most according to claim 1,
It is characterized in that: in described step (4), the establishment of Exchange Server 2010 and maintenance and PowerShell script
Order operation in mailbox server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310020516.8A CN103092620B (en) | 2013-01-18 | 2013-01-18 | A kind of Microsoft Exchange Server 2010 Web service integrated development method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310020516.8A CN103092620B (en) | 2013-01-18 | 2013-01-18 | A kind of Microsoft Exchange Server 2010 Web service integrated development method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103092620A CN103092620A (en) | 2013-05-08 |
CN103092620B true CN103092620B (en) | 2016-08-10 |
Family
ID=48205231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310020516.8A Active CN103092620B (en) | 2013-01-18 | 2013-01-18 | A kind of Microsoft Exchange Server 2010 Web service integrated development method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103092620B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106934548A (en) * | 2017-03-13 | 2017-07-07 | 携程旅游信息技术(上海)有限公司 | The automation creation method and establishment system of enterprise-level account |
CN110413333B (en) * | 2018-04-28 | 2022-04-22 | 网宿科技股份有限公司 | Micro-service management method and device of Windows system based on NodeJS and PowerShell |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101692207A (en) * | 2009-09-17 | 2010-04-07 | 上海第二工业大学 | Method for achieving system application integration based on SOA architecture |
-
2013
- 2013-01-18 CN CN201310020516.8A patent/CN103092620B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101692207A (en) * | 2009-09-17 | 2010-04-07 | 上海第二工业大学 | Method for achieving system application integration based on SOA architecture |
Non-Patent Citations (1)
Title |
---|
管理Exchange 2000;Tony Redmond;《WINDOWS 2000 MAGAZINE 国际中文版》;20011130(第11期);第75-95页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103092620A (en) | 2013-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10015264B2 (en) | Generalized proxy architecture to provide remote access to an application framework | |
US20190155813A1 (en) | Interactive social media access to data systems | |
US9274828B2 (en) | Systems and methods for event driven object management and distribution among multiple client applications | |
US20160094492A1 (en) | Personalizing data system components and data sources as chatbots in a group chat session | |
US10007491B2 (en) | Systems and/or methods for cloud-based event-driven integration | |
US20160092567A1 (en) | Social media bot to representational state transfer (rest) proxy for data systems | |
CN110738454A (en) | enterprise management platform system | |
US8973002B1 (en) | Business rules batch processor | |
US11455166B2 (en) | Hosting event-based applications | |
CN110716720A (en) | Method and device for realizing application hot deployment | |
CN103049268A (en) | Naplet based application development and management system | |
CN101576978A (en) | Formulating method, implementing method and implementing system of distribution type workflow | |
US20200304585A1 (en) | System architecture for enabling efficient inter-application communications | |
WO2022159080A1 (en) | Asynchronous distributed modular function calling | |
CN103092620B (en) | A kind of Microsoft Exchange Server 2010 Web service integrated development method | |
CN108154341A (en) | United Dispatching platform and method of work based on data flow and workflow | |
CN114416314A (en) | Service arrangement method based on API gateway | |
CN102945264A (en) | Method for intelligently starting distributed transaction | |
CN103809951A (en) | Graphical service arrangement and management device based on FLEX technology | |
US7684349B2 (en) | Method and system for transparently controlling the behavior of service methods in a service oriented architecture | |
CN108509553A (en) | A kind of item file generation method and platform | |
CN112596711A (en) | Personalized authority management setting method and system based on Web system | |
CN111861383A (en) | On-line home office safety platform | |
Ouedraogo et al. | Model driven security in a multi-cloud context | |
US20090293064A1 (en) | Synchronizing shared resources in an order processing environment using a synchronization component |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |