-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathproxyDefault.xml
executable file
·34 lines (34 loc) · 1.13 KB
/
proxyDefault.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProxyEndpoint name="default">
<Description>SOAP proxy generated from undefined</Description>
<FaultRules/>
<PreFlow name="PreFlow">
<Request>
<Step>
<Name>Invalid-SOAP</Name>
<Condition>!(request.header.Content-Type ~~ "(text|application)\/(xml|([a-z]*\+xml))(;(\w)*=(\S*))?") and (request.verb != "GET")</Condition>
</Step>
<Step>
<Name>Extract-Operation-Name</Name>
<Condition>(request.verb != "GET")</Condition>
</Step>
<Step>
<Name>Invalid-SOAP</Name>
<Condition>(envelope != "Envelope") or (body != "Body")</Condition>
</Step>
</Request>
<Response/>
</PreFlow>
<PostFlow name="PostFlow">
<Request/>
<Response/>
</PostFlow>
<Flows/>
<HTTPProxyConnection>
<BasePath>/default</BasePath>
<Properties/>
</HTTPProxyConnection>
<RouteRule name="default">
<TargetEndpoint>default</TargetEndpoint>
</RouteRule>
</ProxyEndpoint>