> I just tested the build but it doesn't have a problem, let us know if the
> problem persists. thanks,
> --dasarath
No problem again. If there is build error, I will tell you later.
 
Question 1:
In example InitiatorApp.java, there are two web services: IBM_INTEROP_SERVICE and KANDULA_INTEROP_SERVICE.
Can I call these two web services in one transaction ?
    My reference code is:
 public void testCommit() throws Exception {
  begin();
  getInteropService().commit(null);
  getKandulaInteropService().commit(null);
  commit();
 }
 private String eprOfKandulaInteropService = KANDULA_INTEROP_SERVICE;
 private InteropService_PortType getKandulaInteropService() throws Exception {
  return new InteropServiceServiceLocator().getInteropService(new URL(
    TCPSnifferHelper.redirect(eprOfKandulaInteropService)));
 }
  I don't need to change code in method begin(),rollback(),commit().  
  Am I right ?
 
Question 2:
 I can pass a object as a parameter to a web service and get the result as a object, the reference code is:
        String wsdlUrl = "http://centerhost:8080/services/receiveDate?wsdl";
        Person p = new Person();
  ...
        Service service = new Service();
        Call call = (Call)service.createCall();
        QName qn = new QName("urn:BeanService","Person");
        call.registerTypeMapping(Person.class, qn, new BeanSerializerFactory(Person.class, qn),new BeanDeserializerFactory(Person.class, qn));
  // call the web service's method "receive"
        call.setOperationName(new QName(nameSpaceUri, "receive"));   
        call.setTargetEndpointAddress(new java.net.URL(wsdlUrl));
 Can I do theses things in a transaction ? Where is the example code ?
       
Question 3:
 Tomcat 5.5.12 reports "geronimo-spec-j2ee-1.4-rc4.jar not loaded", maybe I load too many jars in tomcat 5.5.12, I will do a test with minimum jars. The error message is:
"2006-1-22 16:00:35 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\miscsoft\kandula\KandulaProject\webapp\WEB-INF\lib\geronimo-spec-j2ee-1.4-rc4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.
2. Offending class: javax/servlet/Servlet.class
2006-1-22 16:00:55 org.apache.catalina.core.StandardHost start"
 Is there any conflict between geronimo-spec-j2ee-1.4-rc4.jar and other jars ?
 
 Too many questions, but I must pass the testing if I wish to use kandula in a distributed application. Thanks.
 
> Greate, kandula is compiled with maven. But it is strange why It can not
> download commons-logging jar, until I change  something the
> second time.Now I
> will do a test in a test application with kandula. Happy New Year. Thanks. 
>
>
> Wang Jun


Wang Jun

__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com

Reply via email to