Hi, Jérôme.

We really appreciate your efforts to try out different data combinations for the binding.ws. Would you please go ahead to create a JIRA @ https://issues.apache.org/jira/browse/TUSCANY? If you could contribute your test case to Tuscany, that would be great. I can definitely try it and get back to you.

Thanks,
Raymond

----- Original Message ----- From: "Jérôme Besnainou" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 29, 2008 6:58 AM
Subject: Tuscany - WS Binding - Issue with "complex" function


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to