Hello,

I'm using tuscany-sca-1.0.1-incubating, sun jdk 1.6 and apache-tomcat-6.0.14.
I have successfully run the example calculator-ws-webapp and then try to change 
it a little in order to have more "complex" function on the AddService (i.e. 
function using not only primitive type) and I have issues.

In fact, I have added these methods to the AddService:

      public void simple();
      public void simple2(String catalogNumber);
//KO
      public void simple3(Date requestedDate);
      public void simple4(BeanComposedOfPrimitiveTypeAndAllGetterAndSetter 
myBean);
//KO
      public void simple5(BeanComposedOfPrimitiveTypeButNotAllGetterAndSetter 
myBean);
//KO
      public void simple6(BeanComposedOfNonPrimitiveType myBean);
      public String simple7();
//KO
      public Date simple8();
      public BeanComposedOfPrimitiveTypeAndAllGetterAndSetter simple9();
//KO
      public BeanComposedOfPrimitiveTypeButNotAllGetterAndSetter simple10();
//KO
      public BeanComposedOfNonPrimitiveType simple11();

And here is the result of their call through the WS binding:
Function

Call

Return

Comments

simple

OK

OK

No parameter - void

simple2

OK

OK

String parameter - void

simple3

KO



Date parameter - void

simple4

OK

OK

Bean Composed Of Primitive Type And All Getter And Setter parameter - void

simple5

KO



Bean Composed Of Primitive Type But Not All Getter And Setter parameter - void

simple6

KO



Bean Composed Of Non Primitive Type parameter - void

simple7

OK

OK

No parameter - return String

simple8

OK

KO

No parameter - return Date

simple9

OK

OK

No parameter - return Bean Composed Of Primitive Type And All Getter And Setter

simple10

OK

KO

No parameter - return Bean Composed Of Primitive Type But Not All Getter And 
Setter

simple11

OK

KO

No parameter - return Bean Composed Of Non Primitive Type


Adding these methods on the AddService, implements them on the AddServiceImpl 
and call them in CalculatorServiceImpl service is the only thing I have change 
on the example.

Did I miss something?
Do not hesitate to contact me if you need more details.

Best Regards,

  Jérôme

Reply via email to