I tried it with the hello_world wsdl in the wsdl first example.

bin\wsdl2js.bat -p http://apache.org/hello_world_soap_http=fred
hello_world.wsdl and I still got the fully scoped names.

I also tried bin\wsdl2js.bat -p
http://apache.org/hello_world_soap_http/types=fred hello_world.wsdl and
got the same result.

Using the released 2.1 kit.

-----Original Message-----
From: Benson Margulies [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 23, 2008 2:46 PM
To: [email protected]
Subject: Re: wsdl2js question

Say that you read the js code and see a function named

com_basistech_rnt_ws_NameTranslator

and you would really rather it was just named

rnt_NameTranslator.

You'd say: -p http://ws.rnt.basistech.com=rnt

Best to try some experiments and make sure it works :-)

On Fri, May 23, 2008 at 11:21 AM, Johnson, Eric <[EMAIL PROTECTED]>
wrote:
> What does the -p wsdlNamespace=jsPrefix option do? What is the syntax 
> used to specify the jsPrefix?
>
> Thanks,
> Eric
>

Reply via email to