On 7/12/07, Brady Johnson <[EMAIL PROTECTED]> wrote:
I've been looking into loading and invoking Tuscany services from a container other than Axis, and have found what seems to be erroneous service access from Axis. In particular the CppBigBank TuscanySCA CPP service. The URL used to invoke the service is: http://localhost/bigbank.phpwsclient/bigwelcome.php , which invokes the AccountServiceComponent. Looking at the bigbank.account.composite, the AccountService service is the service for the AccountServiceComponent component. The AccountService has an empty <binding.ws/> element, but nothing specifying how to access the AccountServiceComponent remotely. Nor are there any relavent <reference/> elements. Is it correct to be able to invoke the AccountService as a web service if there are no <binding.ws/> elements? I can see that this works because the client puts the component name and service name in the http URL, allowing the component and service to be retrieved. The Axis2Service code gets a Component, the Composite, the CompositeService (which is a Component ???). Then from the CompositeService, it gets a Composite (again??), a Reference, a Binding, and then a WSServiceProxy which is invoked. But logically, I would envision Web Service invocations working by obtaining the Composite, the Component, the Service, and then the Binding, on which you would get the ServiceWrapper. (or something similar with a reference) Am I understanding this correctly? Does the option I suggest make sense, or am I missing something? What would be really cool would be to have a runtime service invocation map, where you map the operation name (or some other piece of info retrieved from the SOAP message) to the ServiceWrapper. So runtime invocation would just involve a map lookup and an invocation of the ServiceWrapper. -------------------- Brady Johnson Lead Software Developer - HydraSCA Rogue Wave Software - [EMAIL PROTECTED]
Hi, a point about the URL in your post ( http://localhost/bigbank.phpwsclient/bigwelcome.php). This refers to a PHP file that is part of a PHP SCA client intended to show how PHP SCA/SCA can be used to invoke CPP SCA. I know that that's not the meat of your question but I thought I would point out why this PHP file is there. Simon
