Demetris,

CXF includes the ability to build Soap 1.1 Javascript clients for
doc/lit and rpc/lit services. JAX-WS is relatively neither here nor
there.

The code can be run in two modes. You can run the tool as a
standalone, and you get Javascript that (with the utility file
supplied) will run anywhere that has a compatible request object. Or,
you can ask any CXF-implemented web service to deliver a javascript
client, and one will be returned.

Have you read http://cwiki.apache.org/CXF20DOC/javascript-clients.html?

--benson


On Mon, Aug 10, 2009 at 5:40 PM, Demetris<demet...@ece.neu.edu> wrote:
>
> And one more observation - because wsdl2js utilizes JAX-WS 2.0, RPC/Encoded
> documents are not supported. Is that correct?
>
> Thanks again
>
> Demetris wrote:
>>
>> Ok now that I played a bit with wsdl2js I am beginning to understand what
>> you said below.
>> So one can use the wsdlurl in order to get the server to return the script
>> - can you please
>> clarify a few things since I am new to this -
>> 1. what kind of server are we talking about in this case?
>> 2. The only way to generate the Javascript is through a remote server +
>> URL? If I have the WSDL
>> in my possesion how can I use this tool to generate the script of me?
>>
>> Thanks again
>>
>> Benson Margulies wrote:
>>>
>>> The tool is part of CXF, so it requires Java 1.5. Since its output is
>>> Javascript, I don't understand why you need to run it under J2ME. In
>>> fact, you can just use the ?js URL form from the server to get the
>>> server to generate it on the fly.
>>>
>>> On Mon, Aug 10, 2009 at 2:32 PM, Demetris<demet...@ece.neu.edu> wrote:
>>>
>>>>
>>>> Hi all,
>>>>
>>>>  I am interested in generating Javascript stubs from a WSDL file - I am
>>>> assuming that the WSDL2js tool is the
>>>> appropriate tool to use. Has anyone used this tool so that I can ask a
>>>> couple of Qs?
>>>>
>>>> (1) Which Java version is the tool built on?
>>>> (2) Can I used it under J2ME-CDC to generate stubs for mobile devices?
>>>>
>>>> Thanks in advanced
>>>>
>>>>
>>>>
>>>
>>>
>>
>

Reply via email to