Author: mriou
Date: Thu Jul 20 12:24:12 2006
New Revision: 424026
URL: http://svn.apache.org/viewvc?rev=424026&view=rev
Log:
Improved examples and added start messages.
Added:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/DynPartner/testRequest.soap
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/testRequest.soap
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/testRequest.soap
Modified:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/HelloWorld2.wsdl
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.bpel
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.wsdl
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/deploy.xml
Added:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/DynPartner/testRequest.soap
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/DynPartner/testRequest.soap?rev=424026&view=auto
==============================================================================
---
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/DynPartner/testRequest.soap
(added)
+++
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/DynPartner/testRequest.soap
Thu Jul 20 12:24:12 2006
@@ -0,0 +1,10 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+ <!-- test soap message -->
+ <SOAP-ENV:Body>
+ <ns1:execute xmlns:ns1="http://pxe/bpel/unit-test.wsdl">
+ <ns2:payload xmlns:ns2="http://pxe/bpel/responder.wsdl">
+ <ns2:dummy>fire!</ns2:dummy>
+ </ns2:payload>
+ </ns1:execute>
+ </SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
Modified:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/HelloWorld2.wsdl
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/HelloWorld2.wsdl?rev=424026&r1=424025&r2=424026&view=diff
==============================================================================
---
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/HelloWorld2.wsdl
(original)
+++
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/HelloWorld2.wsdl
Thu Jul 20 12:24:12 2006
@@ -39,7 +39,7 @@
</wsdl:binding>
<wsdl:service name="HelloService">
<wsdl:port name="HelloPort" binding="tns:HelloSoapBinding">
- <soap:address
location="http://localhost:@PXE_HTTP_PORT@/pxe/soap/helloWorld"/>
+ <soap:address
location="http://localhost:@PXE_HTTP_PORT@/axis2/processes/helloWorld"/>
</wsdl:port>
</wsdl:service>
Added:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/testRequest.soap
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/testRequest.soap?rev=424026&view=auto
==============================================================================
---
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/testRequest.soap
(added)
+++
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/HelloWorld2/testRequest.soap
Thu Jul 20 12:24:12 2006
@@ -0,0 +1,8 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+ <!-- test soap message -->
+ <SOAP-ENV:Body>
+ <ns1:hello xmlns:ns1="http://pxe/bpel/unit-test.wsdl">
+ <TestPart xmlns="">Hello</TestPart>
+ </ns1:hello>
+ </SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
Modified:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.bpel
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.bpel?rev=424026&r1=424025&r2=424026&view=diff
==============================================================================
---
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.bpel
(original)
+++
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.bpel
Thu Jul 20 12:24:12 2006
@@ -15,6 +15,8 @@
<partnerLinks>
<partnerLink name="responderPartnerLink"
partnerLinkType="test:ResponderPartnerLinkType"
myRole="main" partnerRole="responder"
initializePartnerRole="yes"/>
+ <partnerLink name="executePartnerLink"
partnerLinkType="test:ExecutePartnerLinkType"
+ myRole="executor"/>
</partnerLinks>
<variables>
@@ -30,8 +32,8 @@
<sequence>
<!-- Start message -->
- <receive name="start" partnerLink="responderPartnerLink"
- portType="test:MSMainPortType" operation="execute"
createInstance="yes" variable="dummy"/>
+ <receive name="start" partnerLink="executePartnerLink"
+ portType="test:MSExecutePortType" operation="execute"
createInstance="yes" variable="dummy"/>
<!-- Initializing message, starting the responder process with the magic
session
and expecting a callback -->
@@ -81,8 +83,8 @@
<to variable="result" part="ack"/>
</copy>
</assign>
- <reply name="end" partnerLink="responderPartnerLink"
- portType="test:MSMainPortType" operation="execute"
variable="result"/>
+ <reply name="end" partnerLink="executePartnerLink"
+ portType="test:MSExecutePortType" operation="execute"
variable="result"/>
</sequence>
</process>
Modified:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.wsdl
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.wsdl?rev=424026&r1=424025&r2=424026&view=diff
==============================================================================
---
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.wsdl
(original)
+++
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/Main.wsdl
Thu Jul 20 12:24:12 2006
@@ -54,11 +54,13 @@
<wsdl:part name="payload" element="wsa:EndpointReference"/>
</wsdl:message>
- <wsdl:portType name="MSMainPortType">
+ <wsdl:portType name="MSExecutePortType">
<wsdl:operation name="execute">
<wsdl:input message="tns:ExecuteMessage" name="Execute"/>
<wsdl:output message="tns:ResultMessage" name="Result"/>
</wsdl:operation>
+ </wsdl:portType>
+ <wsdl:portType name="MSMainPortType">
<wsdl:operation name="callback">
<wsdl:input message="tns:CallbackMessage" name="Callback"/>
</wsdl:operation>
@@ -82,7 +84,7 @@
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="MSMainBinding" type="tns:MSMainPortType">
+ <wsdl:binding name="MSExecuteBinding" type="tns:MSExecutePortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="execute">
<soap:operation soapAction="" style="document"/>
@@ -93,6 +95,9 @@
<soap:body namespace="http://pxe/bpel/unit-test.wsdl" use="literal"/>
</wsdl:output>
</wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MSMainBinding" type="tns:MSMainPortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="callback">
<soap:operation soapAction="" style="document"/>
<wsdl:input>
@@ -141,6 +146,12 @@
</wsdl:port>
</wsdl:service>
+ <wsdl:service name="MSMainExecuteService">
+ <wsdl:port name="MSExecutePort" binding="tns:MSExecuteBinding">
+ <soap:address
location="http://localhost:8080/axis2/processes/MSMainExecuteService"/>
+ </wsdl:port>
+ </wsdl:service>
+
<wsdl:service name="MSResponderService">
<wsdl:port name="MSResponderPort" binding="tns:MSResponderBinding">
<soap:address
location="http://localhost:8080/axis2/processes/MSResponderService"/>
@@ -150,6 +161,10 @@
<plnk:partnerLinkType name="ResponderPartnerLinkType">
<plnk:role name="responder" portType="tns:MSResponderPortType"/>
<plnk:role name="main" portType="tns:MSMainPortType"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="ExecutePartnerLinkType">
+ <plnk:role name="executor" portType="tns:MSExecutePortType"/>
</plnk:partnerLinkType>
</wsdl:definitions>
Modified:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/deploy.xml
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/deploy.xml?rev=424026&r1=424025&r2=424026&view=diff
==============================================================================
---
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/deploy.xml
(original)
+++
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/deploy.xml
Thu Jul 20 12:24:12 2006
@@ -5,6 +5,9 @@
<process name="main:MagicSessionMain">
+ <provide partnerLink="executePartnerLink">
+ <service name="mws:MSMainExecuteService"
port="MSExecutePort"/>
+ </provide>
<provide partnerLink="responderPartnerLink">
<service name="mws:MSMainService" port="MSMainPort"/>
</provide>
Added:
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/testRequest.soap
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/testRequest.soap?rev=424026&view=auto
==============================================================================
---
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/testRequest.soap
(added)
+++
incubator/ode/scratch/pxe-iapi/axis2-examples/src/examples/MagicSession/testRequest.soap
Thu Jul 20 12:24:12 2006
@@ -0,0 +1,6 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+ <!-- test soap message -->
+ <SOAP-ENV:Body>
+ <ns1:execute
xmlns:ns1="http://pxe/bpel/unit-test.wsdl">fire!</ns1:execute>
+ </SOAP-ENV:Body>
+</SOAP-ENV:Envelope>