Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
conductorderasynchron
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiemo Bang
conductorderasynchron
Commits
d6372bd1
Commit
d6372bd1
authored
Dec 07, 2016
by
Tiemo Bang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed index.php
parent
4b7acdbe
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
18 deletions
+34
-18
index.php
client/index.php
+18
-16
ConductOrder84.bpel
rev0/ConductOrder84.bpel
+3
-1
ConductOrder84.bpelex
rev0/ConductOrder84.bpelex
+1
-1
ConductOrder84.log
rev0/ConductOrder84.log
+12
-0
No files found.
client/index.php
View file @
d6372bd1
<?php
if
(
isset
(
$_GET
[
"dump"
]))
var_dump
(
$res
);
if
(
isset
(
$_GET
[
"port"
])){
$client
=
NULL
;
if
(
isset
(
$_GET
[
"async"
])){
$client
=
new
SoapClient
(
"ConductOrder84AsyncArtifacts2.wsdl"
);
$client
->
__setLocation
(
"http://46.101.159.46:"
.
$_GET
[
'port'
]
.
"/ode/processes/ConductOrder84/"
);
}
else
{
$client
=
new
SoapClient
(
"ConductOrder84AsyncArtifacts2.wsdl"
);
$client
->
__setLocation
(
"http://46.101.159.46:"
.
$_GET
[
'port'
]
.
"/ode/processes/ConductOrder84/"
);
}
$client
=
NULL
;
if
(
isset
(
$_GET
[
"async"
])){
$client
=
new
SoapClient
(
"ConductOrder84AsyncArtifacts2.wsdl"
);
$client
->
__setLocation
(
"http://46.101.159.46:"
.
$_GET
[
'port'
]
.
"/ode/processes/ConductOrder84/"
);
}
else
{
$client
=
new
SoapClient
(
"ConductOrder84AsyncArtifacts2.wsdl"
);
$client
->
__setLocation
(
"http://46.101.159.46:"
.
$_GET
[
'port'
]
.
"/ode/processes/ConductOrder84/"
);
}
$start
=
microtime
(
true
);
$res
=
$client
->
process
(
array
(
'customerId'
=>
"test"
,
'products'
=>
array
(),
'shippingAddress'
=>
'shippingAddress'
,
'paymentDetails'
=>
array
(
'bankName'
=>
'bankName'
,
'bankAddress'
=>
'bankAddress'
,
'accountNumber'
=>
'accountNumber'
,
'accountHolderName'
=>
'accountHolderName'
)));
$end
=
microtime
(
true
);
if
(
isset
(
$_GET
[
"dump"
]))
var_dump
(
$res
);
$start
=
microtime
(
true
);
$res
=
$client
->
process
(
array
(
'customerId'
=>
"test"
,
'products'
=>
array
(),
'shippingAddress'
=>
'shippingAddress'
,
'paymentDetails'
=>
array
(
'bankName'
=>
'bankName'
,
'bankAddress'
=>
'bankAddress'
,
'accountNumber'
=>
'accountNumber'
,
'accountHolderName'
=>
'accountHolderName'
)));
$end
=
microtime
(
true
);
?>
<h1>
<?=
$res
->
result
?>
</h1>
...
...
@@ -70,10 +69,13 @@ if(isset($_GET["dump"]))var_dump($res);
</form>
<p
id=
"out"
></p>
<div
style=
"float:left; max-width: 49%"
id=
"left"
>
<h2
style=
"background: lightgray;"
>
NO RESPONSE YET!
</h2>
</div>
<div
style=
"float:right; max-width: 49%; border-left: 1px solid;padding-left: 5px;"
id=
"right"
>
<div
style=
"float:left; max-width: 49%; border-left: 1px solid;padding-left: 5px;"
id=
"right"
>
<h2
style=
"background: lightgray;"
>
NO RESPONSE YET!
</h2>
</div>
<script>
var
port
=
32850
;
var
out
=
document
.
getElementById
(
"out"
);
var
left
=
document
.
getElementById
(
"left"
);
var
right
=
document
.
getElementById
(
"right"
);
...
...
@@ -100,7 +102,7 @@ xmlTest.addEventListener("load", () => {
}, false);
xsltResponse.load('ResponseToHTML.xsl');*/
xhr
.
open
(
"GET"
,
window
.
location
.
href
+
"?port=
33005"
,
true
);
xhr
.
open
(
"GET"
,
window
.
location
.
href
+
"?port=
"
+
port
,
true
);
xhr
.
send
();
xhr
.
onreadystatechange
=
(
e
)
=>
{
...
...
rev0/ConductOrder84.bpel
View file @
d6372bd1
...
...
@@ -382,7 +382,9 @@
<![CDATA["http://46.101.159.46:33005/ode/processes/IntentoryCallbackService"]]>
<![CDATA["http://46.101.159.46:32850/ode/processes/IntentoryCallbackService"]]>
</bpel:from>
<bpel:to part="checkAvailabilityAsyncInput" variable="InventoryPLRequest">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[ns:callbackUrl]]></bpel:query>
...
...
rev0/ConductOrder84.bpelex
View file @
d6372bd1
...
...
@@ -18,7 +18,7 @@
</extensions>
<extensions>
<extendedObject
href=
"ConductOrder84.bpel#/"
/>
<extensionObject
xsi:type=
"org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension"
modificationStamp=
"148
0546883457"
processName=
"{group12}ConductOrder84"
processVersion=
"8
"
/>
<extensionObject
xsi:type=
"org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension"
modificationStamp=
"148
1143270196"
processName=
"{group12}ConductOrder84"
processVersion=
"1
"
/>
</extensions>
<extensions>
<extendedObject
href=
"ConductOrder84.bpel#//@activity/@activities.1/@activity"
/>
...
...
rev0/ConductOrder84.log
View file @
d6372bd1
...
...
@@ -17552,4 +17552,16 @@
<parentElement elementType="if" elementName="EmptyRequest" elementXPath="/process/sequence[1]/if[1]"/>
<newElement elementType="assign" elementName="InitStuff" elementXPath="/process/sequence[1]/assign[1]"/>
</modelChange>
<modelChange xsi:type="bplog:ValueChange" changeReason="TextChanged" timestamp="2016-12-07T21:41:10.105+0100">
<containingElement elementType="from" elementName="" elementXPath="/process/sequence[1]/flow[1]/sequence[2]/assign[1]/copy[4]/from[1]"/>
<attribute attributeName="text" oldValue=""http://46.101.159.46:32845/ode/processes/IntentoryCallbackService"" newValue=""http://46.101.159.46:32850/ode/processes/IntentoryCallbackService""/>
</modelChange>
<modelChange xsi:type="bplog:ValueChange" changeReason="AttributeChanged" timestamp="2016-12-07T21:41:10.117+0100">
<containingElement elementType="from" elementName="" elementXPath="/process/sequence[1]/flow[1]/sequence[2]/assign[1]/copy[4]/from[1]"/>
<attribute attributeName="expressionLanguage" oldValue=""/>
</modelChange>
<modelChange xsi:type="bplog:ValueChange" changeReason="AttributeChanged" timestamp="2016-12-07T21:41:10.122+0100">
<containingElement elementType="from" elementName="" elementXPath="/process/sequence[1]/flow[1]/sequence[2]/assign[1]/copy[4]/from[1]"/>
<attribute attributeName="expressionLanguage" oldValue=""/>
</modelChange>
</bplog:Log>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment