THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
This example shows making a HelloWorld component available as a Web service endpoint. All the Web service binding defaults are used so the endpoint of the Web service will be http://localhost:8080/HelloWorldComponent.
Code Block |
---|
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://helloworld" xmlns:hw="http://helloworld" name="helloworldws"> <service name="HelloWorldService" promote="HelloWorldComponent"> <interface.java interface="helloworld.HelloWorldService" /> <binding.ws /> </service> <component name="HelloWorldComponent"> <implementation.java class="helloworld.HelloWorldImpl" /> </component> </composite> |