Now I have a simple SCA C++ component named Calculator. I just can access the simple component locally.
I want to define the SCA component binding with web service, so I add the below code in the Calculator.composite.
And then I start the Axis2/C HTTP server, I have set all the environment variables,such as
but when I type the address:http://localhost:9090/axis2/services in the web browser, I find the numbers of service in the axis2 doesn't changed(the port of axis2 is 9090).
So My question is :
1: can the above code define Calculator component with web service?
2: should I need to make a dir named Calculator in the axis2/services directory. if this, the code "<binding.ws/> " has no function.
in the axis2/services directory, I just need a service.xml and .dll or .so file. And I don't need any *.composite or *.componentType file any more.
3. whethr or not the address(http://localhost:9090/axis2/services
) can display the sca component services? because I don't find any clue about how to deploy the Calculator component in axis2.
I am a new hand of SCA and Axis2/c. Any comment will be welcome! Thanks very much!