Hi Ant,

Thanks for the reply. I understand by reading SCA specs that holders are not 
supported. But is it possible that in/out parameters are supported in SCA 
through other ways other than using JAX_WX holders (though I do not think I 
found anything mentioned in spec)? If in/out parameters are really not 
supported in SCA, I wonder how can a SCA based application communicate with 
other web service applications using SCA Web Service binding? 

Jim Marino mentioned early today in his email that there are spec changes 
happening in the SCA spec group. If in/out parameters are not supported 
currently, is there plan to support it in the near future?

Sorry for raising more questions. :-)

Jervis Liu

-----Original Message-----
From: ant elder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 5:26 PM
To: [email protected]
Subject: Re: JAX_WX holders and in/out parameters support in SCA


Hi Liu, sorry your questions have been around for awhile without any
replies.

In/out parameters and holders are not supported right now.

There are Tuscany tools for WSDL2Java and Java2WSDL, the code is at:
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/tools/src/main/java/org/apache/tuscany/tools/.
You can see these being used in some of the samples,  for example, this
maven pom.xml uses WSDL2Java for a WS client:
http://svn.apache.org/repos/asf/incubator/tuscany/java/testing/interop/clients/webserviceInteropDoc/pom.xml

Hope this helps,

   ...ant

On 6/2/06, Liu, Jervis <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have been reading relevant SCA specs, according to the spec, holders are
> not supported by SCA. I wonder, how in/out parameters can be done in SCA
> without holders? Lets say I have a wdsl like below:
>
> .....
>         <wsdl:message name="sayHi">
>                 <wsdl:part name="sayIn" element="x1:sayHi"/>
>         </wsdl:message>
>         <wsdl:message name="sayHiResponse">
>                 <wsdl:part name="sayIn" element="x1:sayHi"/>
>         </wsdl:message>
>         <wsdl:portType name="Greeter">
>                 <wsdl:operation name="sayHi">
>                         <wsdl:input name="sayHiRequest"
> message="tns:sayHi"/>
>                         <wsdl:output name="sayHiResponse"
> message="tns:sayHiResponse"/>
>                 </wsdl:operation>
>         </wsdl:portType>
> .....
>
> In a JAX_WS compliant implementation, this wsdl will result in using a
> holder class as parameter for method sayHi. In Tuscany, what does the
> corresponding Java interface look like? And does Tuscany support in/out
> parameters?
>
> Another question I would like to ask is that do we have a wsdltojava and
> javatowsdl tool in Tuscany?  If I take a WSDL-first approach, without such a
> tool, how can I make sure my Java interface that implements web service is
> actually compliant to the WSDL interface?
>
> I am new to SCA, excuse my ignorance if I have misunderstood some SCA
> concepts.
>
> Thanks,
> Jervis Liu
>
>

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

Reply via email to