Re: Fw: component type impl

2007-08-23 Thread lee zhenghui
hi, My test case -- multiple serivces per component run into a familiar issue like this: Exception in thread main org.osoa.sca.ServiceRuntimeException: The component doesn't have exactly one service at org.apache.tuscany.sca.core.component.ComponentContextHelper.getSingleService

throws Exception clause of service method create problem

2007-08-23 Thread Nishant Joshi
Hi All, I am creating a simple programme in which when i declared throws clause in my method, following error is occured, when i try to deploy my war file in to Tomcat. WAR is generated using maven. I have also tried using custom Exception but result is same. Now when i have catch

Re: throws Exception clause of service method create problem

2007-08-23 Thread ant elder
Could you raise a JIRA and attach the WSDL you're using so i can debug it? I know the Axis2 guys have done work in this sort of area for their 1.3release so its likely fixed when we move up to Axis2 1.3. ...ant On 8/23/07, Nishant Joshi [EMAIL PROTECTED] wrote: Hi All, I am creating a

Re: throws Exception clause of service method create problem

2007-08-23 Thread Radim Kolarik
Hi ant, when is the move to Axis 1.3 planned? Will it make it to the upcoming release? Thanks, Radim On 8/23/07, ant elder [EMAIL PROTECTED] wrote: Could you raise a JIRA and attach the WSDL you're using so i can debug it? I know the Axis2 guys have done work in this sort of area for their

context annotation

2007-08-23 Thread mayank sharma
hi People, I am newbie looking for some help on @context annotation.Can one of you please explain me or provide me pointers where I can get more information on this annotation. Describing with a small example would be gr8. Thanks in advance. Waiting for a quick reply. Mayank Sharma

Re: throws Exception clause of service method create problem

2007-08-23 Thread ant elder
It wont be in the upcoming 0.99 release, not sure yet about the 1.0 which is currently aiming for late September. User feedback could help decide it, would it be good for you if we used Axis2 1.3? ...ant On 8/23/07, Radim Kolarik [EMAIL PROTECTED] wrote: Hi ant, when is the move to Axis

Re: context annotation

2007-08-23 Thread Simon Nash
This annotation is described here: http://osoa.org/download/attachments/35/SCA_JavaAnnotationsAndAPIs_V100.pdf?version=1 It is used to mark a ComponentContext or RequestContext field or setter method so that the runtime can inject the corresponding object. Simon mayank sharma wrote: hi

Re: throws Exception clause of service method create problem

2007-08-23 Thread ant elder
TUSCANY-1563 is a duplicate of TUSCANY-1277 which i'm working on right now and hope to have a fix committed for shortly. Attaching the WSDL for the exception problem would be good so we can confirm its fixed in Axis2 1.3 or find some other fix. ...ant On 8/23/07, Nishant Joshi [EMAIL

Re: Fw: component type impl

2007-08-23 Thread Raymond Feng
Hi, If the component has more than one services, you need to pass in the service name (componentName/serviceName) for the getService() call. The behavior is required by the spec. Thanks, Raymond - Original Message - From: lee zhenghui [EMAIL PROTECTED] To:

Re: Fw: component type impl

2007-08-23 Thread Luciano Resende
Also, with recent changes to have all non-spec extensions in a Tuscany namespace, you should move your extension to the following namespace : xmlns:tuscany=http://tuscany.apache.org/xmlns/sca/1.0; On 8/23/07, Raymond Feng [EMAIL PROTECTED] wrote: Hi, If the component has more than one