3. NetBeans Capability
• Testing Web Services via soupUI
• Create Web Services Client
• Create Web Services Provider
• Create a BPEL Module Project
• Create XML Schema
• Create WSDL Document
• Create BPEL Process
• Create a Composite Application Project
• Deploy/Test Composite Application Project
• Create Web Application as Access Layer 3
4. Testing Web Services via soapUI
• Install a soapUI plugin
• Offers a Web Service testing tool
• Create a Web Service Testing Project
• Define a location of WSDL
• Ability to send SOAP Request & get SOAP response
• Offers commands to generate artifacts for JAX-WS,
JBoss, Axis, Orcale
4
7. Create a Web Service Client
• Create a Web / JavaEE /Java Application project
• Create a New Web Services Client
• Use either JAX-WS or JAX-RPC style
7
8. Create a Web Service Provide
• Create a Web /Java EE Project
– Servlet Container
– EJB Container
• Support Java EE 5 Web Service annotation
• Create a New Web Service
• Can deploy on GlassFish or Tomcat 6.0
8
10. BPEL Module Project
• BPEL Module project is a group of source files which
includes
– XML Schema (*.xsd) files
– WSDL files
– BPEL files
• Within a BPEL Module project, you can author a
business process compliant with the WS-BPEL 2.0
language specification.
• Will be added to a Composite application as a JBI
module
10
12. Create XML Schema
• Use XML Schema designer (of NetBeans)
• Visually analyze and edit XML Schema
• Apply Design Patterns to XML Schema
• Author complex XML Schema
• Support for cross project XML file references
• Schema based code completion for XML instances
12
14. Create WSDL Document
• Use WSDL Designer (of NetBeans)
• Create WSDL files using graphical editor
– Refactor across WSDL, XML and BPEL
– Support different Binding type
14
20. Composite Application Project
• Composite Application project is a project whose
primary purpose is to assemble a deployment unit for
the Java Business Integration (JBI) server
– BPEL Module projects must be added to a Composite
Application project in order to be deployed to the BPEL
runtime.
• The Composite Application Project can also be used to
create and execute test cases that can then be run, in
JUnit fashion, against the deployed BPEL processes.
20
21. Composite Application Project
• With a Composite Application project, you can:
– Assemble an application that uses multiple project types
(BPEL, XSLT, IEP, SQL, etc.)
– Configure external/edge access protocols (SOAP, JMS,
SMTP, and others)
– Build JBI deployment packages
– Deploy the application image to the target JBI server
– Monitor the status of JBI server components and
applications
21
24. Deploy/Test Composite Application
• The Deploy action compiles the files in the
Composite Application project, packages the
compiled BPEL and related web service artifacts
(.wsdl and .xsd files), and deploys them to the
BPEL Service Engine
• Verify that the project has been successfully deployed
to the BPEL service engine
• Create /Run Test Case
24
26. Develop an Access Layer
• Composite Application Project can deploy a BPEL
Module which in turn a Web Services
• Create a Web Service Client
• Using Servlet /JSP
• Support JSF / Struts Framework
26
28. Resources
Some contents are borrowed from the presentation
slides of Sang Shin, Java™ Technology Evangelist,
Sun Microsystems, Inc.
Building SOA-Based Composite Applications Using
NetBeans IDE 6, David Salter
28