Topics: |
Business Service Explorer provides web developers with a simple, consistent mechanism for extending the capabilities of an iWay adapter. The iWay Business Services Provider (iBSP) exposes iWay functionality as a number of web services. It serves as a gateway to heterogeneous backend applications and databases.
A web service is a self-contained, modularized function that you can publish and access across a network using open standards. It is the implementation of an interface by a component, and is an executable entity. For the caller or sender, a web service can be considered a black box that may require input while typically delivering a result.
Web services integrate within an enterprise and across enterprises on any communication technology stack, whether asynchronous or synchronous, in any format.
How to: |
After you browse the business object repository for an application system, and generate XML schemas for an object that you want to use with an iWay adapter, you can create an iWay Business Service for that object.
The Web Service Description Language (WSDL) file is an XML file that describes the web service documents and provides access to the service. It specifies the location of the service and the operations (or methods) that the service exposes.
You can delete an iWay Business Service that you no longer need.
To create an iWay Business Service:
The Add Business Service window in the Select Business License dialog box opens.
Business Service Explorer adds the new iWay Business Service beneath the Business Service Explorer node in the tree.
The right pane displays the available licenses.
The operations (methods) that are supported are displayed.
The test pane for the GetMessage method opens.
To view sample XML request documents that can be used for testing purposes, see Sample XML Request Documents.
The result of the test is displayed in the right pane.
Business Service Explorer stores the exported WSDL file in the folder that you selected, using the name that you supplied.
Topics: |
This section provides sample XML request documents that can be used to test web services that are generated using the iWay Application Adapter for Microsoft Exchange.
The following sample XML request document finds an appointment in Microsoft Exchange.
<?xml version="1.0" encoding="UTF-8"?> <!--Sample XML file generated by XMLSpy v2011 (http://www.altova.com)--> <tns:FindAppointments location="Exchange2007/Calendar/FindAppointments" xsi:schemaLocation="http://schemas.ibi.com/iwexchange2007/services FindAppointments_request.xsd" xmlns:tns="http://schemas.ibi.com/iwexchange2007/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tns:TimeRange> <tns:From>2011-10-06T09:30:47Z</tns:From> <tns:To>2011-10-07T09:30:47Z</tns:To> </tns:TimeRange> </tns:FindAppointments>
The following sample XML request document finds a contact in Microsoft Exchange.
<?xml version="1.0" encoding="UTF-8"?> <!--Sample XML file generated by XMLSpy v2011 (http://www.altova.com)--> <tns:FindContacts location="Exchange2007/Contacts/FindContacts" xsi:schemaLocation="http://schemas.ibi.com/iwexchange2007/services file:///E:/QA%20Testing%20Results/612/exchange/contact/FindContacts_request.xsd" xmlns:tns="http://schemas.ibi.com/iwexchange2007/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tns:Contains> <tns:Name>Automation</tns:Name> <tns:Company></tns:Company> </tns:Contains> </tns:FindContacts>
The following sample XML request document sends a message from one contact to another contact.
<?xml version="1.0" encoding="UTF-8"?> <!--Sample XML file generated by XMLSpy v2014 rel. 2 (x64) (http://www.altova.com)--> <SendMessage xmlns="http://schemas.ibi.com/iwexchange/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" location="Exchange/Inbox/SendMessage" xsi:schemaLocation="http://schemas.ibi.com/iwexchange/services file:///C:/ex/SendMessage_request.xsd"> <Subject>test qa automation</Subject> <Body>No attachmet</Body> <FromEmail>iwaytester@ibi.com</FromEmail> <To> <Email>iwaytester@ibi.com</Email> </To> <Attachments> <Attachment> <Name></Name> <Contents></Contents> </Attachment> </Attachments> </SendMessage>
iWay Software | |
Feedback |