swsmile / BPELDemoEclipse

A simple BPEL demo using Eclipse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple BPEL demo using Eclipse

Video Tutorial

Install BPEL in Eclipse

Install Apache ODE

Set up the ODE server on Eclipse

After Deployment

SOAP communication test

1 Test in Eclipse Web Service Explorer

Request Envelope
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://wei.localhost" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body>
    <q0:BpelProcessRequest>
      <q0:input>Hello...</q0:input>
    </q0:BpelProcessRequest>
  </soapenv:Body>
</soapenv:Envelope>
Response Envelope
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <BpelProcessResponse xmlns="http://wei.localhost" xmlns:tns="http://wei.localhost" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <tns:result>Hello...</tns:result>
</BpelProcessResponse>
  </soapenv:Body>
</soapenv:Envelope>

Test in SoapUI

Request Envelope
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wei="http://wei.localhost">
   <soapenv:Header/>
   <soapenv:Body>
      <wei:BpelProcessRequest>
         <wei:input>Hello2...</wei:input>
      </wei:BpelProcessRequest>
   </soapenv:Body>
</soapenv:Envelope>
Response Envelope
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <BpelProcessResponse xmlns="http://wei.localhost" xmlns:tns="http://wei.localhost" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <tns:result>Hello2...</tns:result>
      </BpelProcessResponse>
   </soapenv:Body>
</soapenv:Envelope>

Reference

About

A simple BPEL demo using Eclipse

License:MIT License