7- Deploying and testing SOA Project


In our last post, we have created a project demonstrating the use of Mediator and File Adapter. So now we will deploy that project and test it, using the following steps:


  • Make sure that Integrated Weblogic Server is up and running  (Click here to see)
  • Right Click the Project name and select Deploy Option.

  • Choose "Deploy to Application Server" option and click Next
  • You can enter the revision id to differentiate the current deployment from previous deployed versions. Click next to proceed.

  • Select IntegratedWeblogicServer as target server and click Next

  • Choose the server which is in running status and click next
  • Check the summary and click finish. it will take some time to deploy the project.
  • You will see the message "Deployment Finished" in the deployment log window which confirms that deployment is successful
  • Go to enterprise manager, normally the URL http://localhost:7101/em (username: weblogic and password: welcome1). You can refer the deployment log to get the port number.

  • Once you're logged in. Go to soa-infra (Default Server) in SOA section. 
  • Now go to Deployed Composites and click on your project name. You will see the version id with that also.
  • You will see the components deployed in your project. Click the Test button to test the composite.
  • Go to Request Section and enter the request data and then click Test Web Service. Once you see the response as successful, check the output directory to see the created file.

  • Check the output directory and the created file:
  • You can also switch the input view to XML view and save the soap envelope as an XML file and then next time directly use that file to test your composite.

Comments