Skip to content

Commit 60376a3

Browse files
committedAug 15, 2015
b2b edits and keywords
1 parent 69e6c51 commit 60376a3

30 files changed

+285
-306
lines changed
 

‎.gitconfig

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[filter "media"]
2+
clean = git media clean %f
3+
smudge = git media smudge %f
4+
required = true
5+
[user]
6+
name = george-hoffer
7+
email = george.hoffer@mulesoft.com
77.7 KB
Loading
48.4 KB
Loading
114 KB
Loading
321 KB
Loading
158 KB
Loading
49 KB
Loading
44.3 KB
Loading
110 KB
Loading
185 KB
Loading
79.4 KB
Loading
80.1 KB
Loading
62.3 KB
Loading
114 KB
Loading
166 KB
Loading
116 KB
Loading
95.8 KB
Loading
52.7 KB
Loading
91.7 KB
Loading
111 KB
Loading
175 KB
Loading
63.2 KB
Loading
138 KB
Loading
179 KB
Loading

‎anypoint-b2b/as2-and-edi-x12-purchase-order-walkthrough.adoc

+112-135
Large diffs are not rendered by default.

‎anypoint-b2b/as2-connector-2.0.0-rc.adoc

+37-36
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
= AS2 Connector
2+
:keywords: b2b, as2, connector
23

34
The AS2 Connector allows you to send and receive data from AS2 certified servers.
45

@@ -14,7 +15,7 @@ After reading this page you should be able to accomplish the following:
1415

1516
This document assumes that you are familiar with Mule, the http://www.mulesoft.org/documentation/display/current/Anypoint+Studio+Essentials[Anypoint Studio interface], and http://www.mulesoft.org/documentation/display/current/Global+Elements[Global Elements]. Further, it is assumed that you are familiar with AS2 endpoints and have received endpoint configuration requirements.
1617

17-
=== Namespace & Schema Location
18+
=== Namespace and Schema Location
1819

1920
The XML namespace and schema location are as follows:
2021

@@ -87,74 +88,74 @@ The following example requires basic familiarity with AS2, Anypoint Studio, and
8788

8889
Create a new Mule Project with Mule Server 3.6.0 EE as runtime:
8990

90-
image:/docs/download/attachments/131467593/receive-example-step-1.png?version=1&modificationDate=1435344041211[image] +
91+
image:receive-example-step-1.png[receive-example-step-1] +
9192

9293
==== Step 2
9394

9495
Locate the AS2 Connector on the right hand-side palette:
9596

96-
image:/docs/download/attachments/131467593/receive-example-step-2.png?version=1&modificationDate=1435344041221[image]
97+
image:receive-example-step-2.png[receive-example-step-2]
9798

9899
==== Step 3
99100

100101
Drag the connector over to the canvas:
101102

102-
image:/docs/download/attachments/131467593/receive-example-step-3.png?version=1&modificationDate=1435344041229[image]
103+
image:receive-example-step-3.png[receive-example-step-3]
103104

104105
==== Step 4
105106

106107
The connector requires an AS2 Connector Configuration. To create a connector configuration, you must first create a global HTTP endpoint and then bind the connector configuration to the endpoint. The connector’s operations leverage the HTTP endpoint to receive and send AS2 messages.
107108

108109
Click on the Global Elements tab and create an HTTP endpoint:
109110

110-
image:/docs/download/attachments/131467593/4+http+global.png?version=1&modificationDate=1435344041010[image]
111+
image:4+http+global.png[4+http+global]
111112

112113
==== Step 5
113114

114115
Give the HTTP endpoint a more descriptive name like “receive-as2-http-endpoint”. Click on the Connector Configuration add symbol to bring up the HTTP connector configuration dialog:
115116

116-
image:/docs/download/attachments/131467593/5+configure+http.png?version=1&modificationDate=1435344041016[image]
117+
image:5+configure+http.png[5+configure+http]
117118

118119
==== Step 6
119120

120121
Give the HTTP connector name a more descriptive name like “as2-http-connector” and press OK to go back to the global HTTP endpoint dialog box:
121122

122-
image:/docs/download/attachments/131467593/6+as2+http.png?version=1&modificationDate=1435344041022[image]
123+
image:6+as2+http.png[6+as2+http]
123124

124125
==== Step 7
125126

126127
Press OK to close the global HTTP endpoint dialog box:
127128

128-
image:/docs/download/attachments/131467593/7+endpoint.png?version=1&modificationDate=1435344041028[image]
129+
image:7+endpoint.png[7+endpoint]
129130

130131
==== Step 8
131132

132133
In this step, you will make an AS2 connector configuration and bind it to the global HTTP endpoint. Create an AS2 Connector Configuration from the Global Elements view:
133134

134-
image:/docs/download/attachments/131467593/image2015-6-25+21%3A7%3A49.png?version=1&modificationDate=1435344041079[image]
135+
image:image2015-6-25+21%3A7%3A49.png[image2015-6-25+21%3A7%3A49]
135136

136137
==== Step 9
137138

138139
Type “receive-as2-http-endpoint” in the attribute Global HTTP Endpoint Reference to bind the AS2 connector to the previously created global HTTP endpoint. Press OK.
139140

140-
image:/docs/download/attachments/131467593/image2015-6-25+21%3A10%3A5.png?version=1&modificationDate=1435344041048[image]
141+
image:image2015-6-25+21%3A10%3A5.png[image2015-6-25+21%3A10%3A5]
141142

142143
==== Step 10
143144

144145
After completing the previous steps, you should have the following in the Global Elements view:
145146

146-
image:/docs/download/attachments/131467593/image2015-6-25+21%3A11%3A5.png?version=1&modificationDate=1435344041054[image]
147+
image:image2015-6-25+21%3A11%3A5.png[image2015-6-25+21%3A11%3A5]
147148

148149
Back to the Message Flow view, on the AS2 message source, select “AS2” from the Connector Configuration drop-down list and select “Receive” from the Operation drop-down list:
149150

150-
image:/docs/download/attachments/131467593/image2015-6-25+21%3A13%3A1.png?version=1&modificationDate=1435344041060[image]
151+
image:image2015-6-25+21%3A13%3A1.png[image2015-6-25+21%3A13%3A1]
151152

152153
==== Step 11
153154

154155
* The connector’s Key Store Path attribute must be configured in either of the following scenarios:
155156

156-
. Connector receives a signed request +
157-
. Connector receives an encrypted request +
157+
. Connector receives a signed request
158+
. Connector receives an encrypted request
158159
. Sender requests a signed receipt
159160

160161
For scenario 1, the key store has to contain the certificate used by the AS2 connector to verify the request’s authenticity. +
@@ -169,41 +170,41 @@ For the sake of keeping the example simple, no key store is set so no security i
169170

170171
Add a File outbound endpoint to save the sender’s AS2 message content. Drag a File outbound endpoint from the palette next to the AS2 Connector. Set the Path attribute to “inbox” and Output Pattern to “data.txt”:
171172

172-
image:/docs/download/attachments/131467593/image2015-6-25+21%3A15%3A36.png?version=1&modificationDate=1435344041067[image]
173+
image:image2015-6-25+21%3A15%3A36.png[image2015-6-25+21%3A15%3A36]
173174

174175
==== Step 13
175176

176177
Finally, run the example as a Mule application:
177178

178-
image:/docs/download/attachments/131467593/image2015-6-25+21%3A16%3A12.png?version=1&modificationDate=1435344041073[image]
179+
image:image2015-6-25+21%3A16%3A12.png[image2015-6-25+21%3A16%3A12]
179180

180-
The connector will save the content of valid AS2 messages in the file “data.txt” inside the project root directory “inbox”.
181+
The connector saves the content of valid AS2 messages in the file “data.txt” inside the project root directory “inbox”.
181182

182-
=== Send a clear and unsigned AS2 message over HTTP
183+
=== Send a Clear and Unsigned AS2 Message Over HTTP
183184

184185
==== Step 1
185186

186187
Create a new Mule Project with Mule Server 3.6.0 EE as runtime:
187188

188-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A7%3A18.png?version=1&modificationDate=1435344041204[image]
189+
image:image2015-6-26+9%3A7%3A18.png[image2015-6-26+9%3A7%3A18]
189190

190191
==== Step 2
191192

192193
Drag a File inbound endpoint to the canvas to create a message source for a flow. Set the Path attribute to “outbox”:
193194

194-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A18%3A1.png?version=1&modificationDate=1435344041104[image]
195+
image:image2015-6-26+9%3A18%3A1.png[image2015-6-26+9%3A18%3A1]
195196

196197
==== Step 3
197198

198199
Locate the AS2 Connector on the right hand-side palette:
199200

200-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A19%3A48.png?version=1&modificationDate=1435344041111[image]
201+
image:image2015-6-26+9%3A19%3A48.png[image2015-6-26+9%3A19%3A48]
201202

202203
==== Step 4
203204

204205
Drag the connector over to the canvas next to the File message source:
205206

206-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A21%3A35.png?version=1&modificationDate=1435344041117[image]
207+
image:image2015-6-26+9%3A21%3A35.png[image2015-6-26+9%3A21%3A35]
207208

208209
==== Step 5
209210

@@ -213,55 +214,55 @@ HTTP transport to receive and send AS2 messages.
213214

214215
Click on the Global Elements tab and create an HTTP endpoint:
215216

216-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A23%3A54.png?version=1&modificationDate=1435344041124[image]
217+
image:image2015-6-26+9%3A23%3A54.png[image2015-6-26+9%3A23%3A54]
217218

218219
==== Step 6
219220

220-
Give the HTTP endpoint a more descriptive name like “send-as2-http-endpoint”. Set the host, port and path +
221+
Give the endpoint HTTP connector a more descriptive name like “send-as2-http-endpoint”. Set the host, port and path +
221222
attributes to point to an AS2 receiver. Click on the Connector Configuration add symbol to bring up the HTTP connector +
222223
configuration dialog:
223224

224-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A25%3A58.png?version=1&modificationDate=1435344041130[image]
225+
image:image2015-6-26+9%3A25%3A58.png[image2015-6-26+9%3A25%3A58]
225226

226227
==== Step 7
227228

228229
Give the HTTP connector a more descriptive name like “as2-http-connector” and press OK to go back to the global HTTP endpoint dialog box:
229230

230-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A36%3A29.png?version=1&modificationDate=1435344041171[image]
231+
image:image2015-6-26+9%3A36%3A29.png[image2015-6-26+9%3A36%3A29]
231232

232233
==== Step 8
233234

234235
Press OK to close the global HTTP endpoint dialog box:
235236

236-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A28%3A33.png?version=1&modificationDate=1435344041144[image]
237+
image:image2015-6-26+9%3A28%3A33.png[image2015-6-26+9%3A28%3A33]
237238

238239
==== Step 9
239240

240-
In this step, you will make an AS2 connector configuration and bind it to the global HTTP endpoint. From the Global Elements view, create an AS2 Connector Configuration:
241+
In this step, you make an AS2 connector configuration and bind it to the global HTTP connector. From the Global Elements view, create an AS2 Connector Configuration:
241242

242-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A30%3A2.png?version=1&modificationDate=1435344041151[image]
243+
image:image2015-6-26+9%3A30%3A2.png[image2015-6-26+9%3A30%3A2]
243244

244245
==== Step 10
245246

246-
Type “send-as2-http-endpoint” in the attribute Global HTTP Endpoint Reference to bind the AS2 connector to the previously created global HTTP endpoint. Press OK.
247+
Type “send-as2-http-endpoint” in the attribute Global HTTP Endpoint Reference to bind the AS2 connector to the previously created global HTTP connector. Press OK.
247248

248-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A31%3A14.png?version=1&modificationDate=1435344041157[image]
249+
image:image2015-6-26+9%3A31%3A14.png[image2015-6-26+9%3A31%3A14]
249250

250251
==== Step 11
251252

252253
After completing the previous steps, you should have the following in the Global Elements view:
253254

254-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A32%3A54.png?version=1&modificationDate=1435344041164[image]
255+
image:image2015-6-26+9%3A32%3A54.png[image2015-6-26+9%3A32%3A54]
255256

256257
Back to the Message Flow view, on the AS2 processor, select “AS2” from the Connector Configuration drop-down list and select “Send” from the Operation drop-down list:
257258

258-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A37%3A25.png?version=1&modificationDate=1435344041177[image]
259+
image:image2015-6-26+9%3A37%3A25.png[image2015-6-26+9%3A37%3A25]
259260

260261
==== Step 12
261262

262263
Populate the AS2-From and AS2-To attributes. The AS2 -To identifier is typically provided out-of-band by the AS2 receiver.
263264

264-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A38%3A57.png?version=1&modificationDate=1435344041184[image]
265+
image:image2015-6-26+9%3A38%3A57.png[image2015-6-26+9%3A38%3A57]
265266

266267
==== Step 13
267268

@@ -283,15 +284,15 @@ For the sake of keeping the example simple, no key store is set so no security i
283284

284285
Viewing the receipt returned by the AS2 receiver is optional but useful for testing. Append to the flow a Byte Array to String transformer followed by a Logger processor to print the receipt's content to console.
285286

286-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A41%3A2.png?version=1&modificationDate=1435344041190[image]
287+
image:image2015-6-26+9%3A41%3A2.png[image2015-6-26+9%3A41%3A2]
287288

288289
Note that the Logger in the screenshot has its Message attribute set to "#[payload]"
289290

290291
==== Step 15
291292

292293
Finally, run the example as a Mule application:
293294

294-
image:/docs/download/attachments/131467593/image2015-6-26+9%3A41%3A51.png?version=1&modificationDate=1435344041197[image]
295+
image:image2015-6-26+9%3A41%3A51.png[image2015-6-26+9%3A41%3A51]
295296

296297
Drop a file in the "outbox" directory to send it to the receiver over AS2. If you have followed step 14, you should see the receiver's receipt in the console.
297298

‎anypoint-b2b/edifact-module.adoc

+64-68
Large diffs are not rendered by default.

‎anypoint-b2b/x12-module.adoc

+61-63
Large diffs are not rendered by default.

‎mule-user-guide/v/3.6/multicast-transport-reference.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ You can define your endpoints 2 different ways:
9797

9898
. Non-prefixed URI:
9999
+
100-
[source, xml<multicast:connector name="multicastConnector"/>]
100+
[source, xml]
101101
----
102+
<multicast:connector name="multicastConnector"/>
102103
<inbound-endpoint address="multicast://localhost:65433"/>
103-
104104
----
105105

106106
See the sections below for more information.

‎mule-user-guide/v/3.7/multicast-transport-reference.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ You can define your endpoints 2 different ways:
9797

9898
. Non-prefixed URI:
9999
+
100-
[source, xml<multicast:connector name="multicastConnector"/>]
100+
[source, xml]
101101
----
102+
<multicast:connector name="multicastConnector"/>
102103
<inbound-endpoint address="multicast://localhost:65433"/>
103-
104104
----
105105

106106
See the sections below for more information.

0 commit comments

Comments
 (0)
Please sign in to comment.