Upload
hoangkhuong
View
226
Download
2
Embed Size (px)
Citation preview
•
•
•
•
•
•
•
•
Client
Service
Bus
Service
Web Role/
ASP .NET Client/
Device
Worker Role/
Local Server
Service Bus Relay
Visual Studio
PowerShell
Portal
Transforms
Schemas
Assemblies
Partnerships
Profiles
Agreements
Partners Certificates
Xml One-Way
EDI X12
Pass-Through
Xml Request
BizTalk Adapter Service
Server Explorer
(Visual Studio)
PowerShell
CmdLets
Management
Service REST APILob Relay
(Service Host)
The Client App sends a JSON request to a BizTalk Service endpoint.
{"location": "EUROPE",
"operations": [{"op": "+", "op1": "17", "op2": "52"}, {"op": "-
", "op1": "73", "op2": "31"}]}
The Client App sends a request to ACS to acquire a security token.
ACS issues and returns a security token.
The Client App performs the following actions:
Extracts the wrap access token from the security token issued by ACS and
assigns its value the Authorization HTTP request header.
Creates a SOAP envelope to invoke the XML Request-Reply Bridge.
Send the SOAP envelope to the bridge.
The bridge performs the following actions:
The bridge routes the request to the EUROPE or US service.
The Service Bus Relay Service forwards the message to the target service.
The service returns a response to the bridge via Service Bus Relay Service .
The bridge transforms and returns the response to Client App.
Windows Store iOS
Android
Windows Phone 8
iOS
Android
HTML 5/JS
SDKs
Server-Side
Scripts
Custom API
Scheduler
The HTML5/JS site or Windows Store app sends a JSON request to a custom API.
{"location": "EUROPE",
"operations": [{"op": "+", "op1": "17", "op2": "52"}, {"op": "-", "op1": "73", "op2": "31"}]}
The custom API sends a request to ACS to acquire a security token. ACS issues and returns a security token.
The mobile service performs the following actions: Extracts the wrap access token from the security token issued by ACS and
assigns its value the Authorization HTTP request header. Creates a SOAP envelope to invoke the XML Request-Reply Bridge.
Uses the https Node.js module to send the SOAP envelope to the bridge. The bridge performs the following actions:
The bridge routes the request to the EUROPE or US service. The Service Bus Relay Service forwards the message to the target service. The service returns a response to the bridge via Service Bus Relay Service .
The bridge transforms and returns the response to the mobile service. The custom API uses the xml2js Node.js module to change the format of the
response SOAP message from XML to JSON. The mobile service returns data in JSON format to the client application.
1. The client app (HTML5/JS, Windows Phone 8 or Windows Store app) sends authentication credentials to the mobile service.
2. The mobile service redirects the user to the page of the select authentication provider which validates the credentials (username and password) provided by the user and issues a security token.
3. The mobile service returns its access token to the client application. The user sends a new todo item to the mobile service.
4. The insert script for the TodoItem table handles the incoming call. The script validates the inbound data then invokes the authentication provider via REST using the request module.
5. The script sends a request to ACS to acquire a security token. ACS issues and returns a security token. The script calls BizTalk Server via a Service Bus Relay Service to retrieve the user address.
6. The insert script inserts the new item in the TodoItemtable.
7. The insert script retrieves from the Channel table the channel URI of the Windows Phone 8 and Windows Store apps to which to send push a notification.
8. The sendPushNotification function sends push notifications.
9. The insert script calls the sendMessageToServiceBusfunction that uses the azure module to send a notification to BizTalk Server via a Windows Azure Service Bus queue.
http://code.msdn.microsoft.com/windowsazure/How-to-integrate-BizTalk-f0195690
http://code.msdn.microsoft.com/How-to-integrate-BizTalk-07fada58
http://msdn.microsoft.com/en-us/library/hh542796(v=VS.103).aspx
http://msdn.microsoft.com/en-us/library/hh709041(v=VS.103).aspx
http://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer-f2abca5a
http://code.msdn.microsoft.com/windowsazure/How-to-integrate-a-Mobile-8780500c
http://code.msdn.microsoft.com/windowsazure/How-to-integrate-a-Mobile-1ee6a5ea
http://code.msdn.microsoft.com/windowsazure/How-to-integrate-Mobile-6718aaf2
http://code.msdn.microsoft.com/windowsazure/How-to-integrate-Mobiles-77b25d12
http://code.msdn.microsoft.com/windowsazure/How-to-send-a-large-c36ab70e
ios (version 6 or below):
Please input the below URL:
http://aka.ms/WAD306
Other platform:
QR Code: