Next, expose OFBiz services as SOAP Web services
Then we use the SOAPUI tool to test the Web Services
Reference: Test Web Service with SOAPUI
Download SOAPUI free version, such as 5.0.0 64-bit version
Modify the SOAP request data for request 1 as:
<soapenv:envelope xmlns:soapenv= "http://schemas.xmlsoap.org/soap/envelope/" > <soapenv:Body> <getor
Derstatus xmlns= "http://ofbiz.apache.org/service/" > <map-Map> <map-Entry> <map-Key> <std-string value= "orderId"/> </map-Key> &l t;map-value> <std-string value= "Demo1001"/> </map-Value> </ map-entry> <map-Entry> <map-Key> <std-string value= "login.u Sername "/> </map-Key> <map-Value> <std-string value=" adm In "/> </map-Value> </map-Entry> <map-Entry> < ;map-key> <std-string value= "Login.password"/> </map-Key> &
Lt;map-value> <std-string value= "ofbiz"/> </map-Value> </map-Entry> <
;/map-map> </getOrderStatus> </soapenv:Body> </soapenv:Envelope>
The result of the operation is:
<soapenv:envelope xmlns:soapenv= "http://schemas.xmlsoap.org/soap/envelope/" > <soapenv:body > <getorderstatusresponse xmlns= "http://ofbiz.apache.org/service/" > <map-Map> <map-Entry> &NBSP ; <map-Key> <std-string value= "s /> </map-Key> TATUSID nbsp <map-Value> <std-string value= "Order_ Completed "/> </map-Value> &NBS P </map-Entry> <map-Entry> & nbsp <map-key> <std-string value= "Responsemessage"/> </map-Key> & lt;map-value> <std-string value= "Success"/> </map-Value> </map-ent ry> </map-Map> </getOrderStatusResponse> &NB Sp;</soapenv:body> </soapenv:Envelope>