Monday 9 May 2016

Test a SOA Application using EM Console or SOAPUI

In this post we will discuss about the deployment and testing of the SOA application.  We have already described, how to start a SOA server and how to deploy a composite over it in the last post .


 Now in this post we are going to test our application using two methods

1. Using Enterprise Manager 
2. Using SOA UI (Need SOAP UI software) Open Source is recommended.



1. Using Enterprise manager 
  a. Your integrated sever should be up and running for this step, if not then run it using the Run-> Start integrated server and now go to http://locahost:<Port>/em . This is the same port which you configured in our last post .





 b. Enter weblogic user name and password, this is same user and password which we configure in the last blog. Once enter this window will open up click on SOA folder.


  c. No Open SOA infra and then click on the composite we have deployed, so far we have only deployed the Activity1 Composite hence we are going to use this composite only. Click on it.


d. It will show the different option available for it now lick on the test button.

e. Provide some value for the input its mandatory, once done click on the button test webservice. 


f. It will show you output which is response of the webservice. 



h. This is end of testing of webservice using the EM Console. 


2. Testing Using SOAPUI  


Now we will see how to test same application using the SOAPUI. You need to first install the SOAUP and open up the application. 


a) First take the WSDL from the EM Console 
 b). Download and SOAPUI and open the application.

 c) This will open a UI like given below.

  d) Now add a new project and add the WSDL to it it will create not only project but one Request message.
f) Once open create a new project and then add the WSDL from EM. Give some value to the input





g) Now click on the test webservice button and it will give you response on other window.





f) Test the application is now completed using the SOAPUI.





1 comment:

  1. Simply wish to say your article is as astonishing. The clarity in your post is simply great, and I could assume you are an expert on this subject. Same as your blog i found another one Oracle Service-Oriented Architectures .Actually I was looking for the same information on internet for Oracle SOA Suite and came across your blog. I am impressed by the information that you have on this blog. Thanks a million and please keep up the gratifying work.


    ReplyDelete