Test OFBiz Web servcies with the Soapui free version

Source: Internet
Author: User
Tags soap web services xmlns soapui

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> &lt ;map-key> <std-string value= "Login.password"/> </map-Key> &
       Lt;map-value>           <std-string value= "ofbiz"/> </map-Value> </map-Entry> &lt
 ;/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>



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.