Dear, We have implemented the registration function of sipservlet which used SCA binding of Tuscany to encapsulate and call. In implementing, we mainly simulate the example called calculator-webapp in “sample” of Tuscany. The following is the key coding: ... SCADomain scaDomain = (SCADomain) application.getAttribute("org.apache.tuscany.sca.SCADomain"); CalculatorService calculatorService = (CalculatorService)scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent"); ... calculatorService.register(id, contact, registrationTime, expirationTime); ... But this function was not steady and litter strong. Sometimes, it causes error. Some error information are like these:
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6199: Generated servlet error: [javac] C:\sailfin\domains\domain1\generated\jsp\j2ee-modules\calwebapp\org\apache\jsp\calc_jsp.java:104: ??????? "void" ?? [javac] out.print( calculatorService.register(id, contact, registrationTime, expirationTime) ); [javac] ^ [javac] ??? C:\sailfin\domains\domain1\generated\jsp\j2ee-modules\calwebapp\org\apache\jsp\calc_jsp.java ?????????? API? [javac] ??? ??????????? -Xlint:deprecation ?????[javac] 1 ?? What wrong is it? Message from ChinaSIPAPP team. 2008-09-10 lixiang03