Using SOAPUI to test WebService interface detailed steps

Source: Internet
Author: User
Tags soap soapui wsdl

As shown in title, when we have written the WebService interface, it is always necessary to test the interface before it is used, and it is easy to test the interface we write with SoapUI . Below I test a SOAP type interface with SOAPUI to illustrate:

(1) Installation of SOAPUI:

I do not provide here, self-Baidu download and then crack

(2) Prepare a test using the WebService project:

Here's an example of a project I've written in this article: http://www.zifangsky.cn/354.html

As can be seen from the above article, the WebService interface can be published successfully after a WSDL address, this is:http://localhost:8580/CXFDemo/services/services/soap?wsdl

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/FA/wKioL1czVqGzSbjsAAE0TqMiCT4883.png "title=" 20160509142247778.png "alt=" Wkiol1czvqgzsbjsaae0tqmict4883.png "/>

(3) Detailed steps to use the SOAPUI test:

i) Create a new SOAP Project after opening soapui:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/FD/wKiom1czVe3RdHo1AACbB2VG6B4539.png "title=" 20160509142516558.png "alt=" Wkiom1czve3rdho1aacbb2vg6b4539.png "/>

Right-click on "Projects" and select "New SOAP Project"

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/FD/wKiom1czVhTDW-ZUAABlPErKB20691.png "title=" 20160509142648444.png "alt=" Wkiom1czvhtdw-zuaablperkb20691.png "/>

Then the project name can be filled in one, "Initial wsdl" here fill in the above WSDL address

(2) test each of the WebService methods:

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/FD/wKiom1czVjXTxyh4AAEnTCbxAcE039.png "title=" 20160509143302298.png "alt=" Wkiom1czvjxtxyh4aaentcbxace039.png "/>

from the above picture can be seen, first expand a WebService method, followed by double-click a request with the mouse, in the middle of the view to fill in the required parameters, and finally click on the Green Triangle symbol button, the result of this request can be displayed in the right view of the


This article is from "Zifangsky's personal blog" blog, make sure to keep this source http://983836259.blog.51cto.com/7311475/1772451

Using SOAPUI to test WebService interface detailed steps

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.