2. Creation of the first Web service
For convenience, let's write it in a file , it will need later . Let us return then to the
flow and specify the interface to our Web service for the component CXF :
4. Note that from the " Operation " we specified as type " JAX - WS service" . Now we
insert a Java component that represents the Web service implementation by
adding the information to the class that implements the Web service:
5.
Now right-click on our project and select " Run As / Mule Application " ; if
everything is done correctly we will be able to achieve our Seb service WSDL URL
localhost : 8081 / soap ? wsdl . Now for the construction of the main flow that will
provide for an entry- point represented by the component HTTP ; always on " 8081
" port ( but we can choose a different one ) we should see a prompt similar to the
following: