Re: how to get real paramerter name instead of in0, in1 in wsdl file.

2005-10-18 Thread jim wang
thanks, you are right, we should start with wsdl file. However,sometimes, just be lazy of doing so.

-JPKetan Deshpande [EMAIL PROTECTED] wrote:
Hi!You can generate WSDL from an interface and at the same time use animplementing class to generate proper param names. java org.apache.axis.wsdl.Java2WSDL -i MyFooClass -l"http://localhost:8080/axis/services/MyFooService" MyFoowhere MyFoo is the interface and MyFooClass implements MyFooTechnically, you should start with WSDL! :-) See other discussion threads formore...-K--- jim wang <[EMAIL PROTECTED]>wrote: Hi, Katan:  Thanks for the quick response.  You are right on using class instead of interface, however, theoratically, we should use Java2WSDL to against interface not class to generate WSDL file, right?  Correct me if i am wrong.  -JP  Ketan Deshpande <[EMAIL PROTECTED]>wrote: Hi Jim,
  This works fine for me if I use a class, not an interface. e.g. if I use an interface Foo, java2wsdl picks up in0 / in1. If I use a class Foo, then the param names are picked up fine. You still need to compile with -g.  -K   --- jim wang wrote:   Folks:I am using Java2WSDL to generate wsdl file, and try to get real parameter  name from interface instead of in0, in1.Someone suggested to me using the following technique:When you compile your source code, turn debugging on. Apache will use your  parameter names in the WSDL file. for example:javac -g Calculator.javajava org.apache.axis.wsdl.Java2WSDL -o calculator.wsdl -l   "http://localhost:8080/axis/Calculator.jws" Calculator  Some
 how, it
 did not work for me, does this sound familiar to you, please  help.Regards,  -JP  -  Yahoo! Music Unlimited - Access over 1 million songs. Try it free.   Ketan Deshpande [EMAIL PROTECTED]__  Yahoo! Music Unlimited  Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/   - Yahoo! Music Unlimited - Access over 1 million songs. Try it free.Ketan Deshpande[EMAIL PROTECTED]__ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
		 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Re: how to get real paramerter name instead of in0, in1 in wsdl file.

2005-10-17 Thread jim wang
Hi, Katan:

Thanks for the quick response.

You are right on using class instead of interface, however, theoratically, we should use Java2WSDL to against interface not class to generate WSDL file, right?

Correct me if i am wrong.

-JPKetan Deshpande [EMAIL PROTECTED] wrote:
Hi Jim,This works fine for me if I use a class, not an interface. e.g. if I use aninterface Foo, java2wsdl picks up in0 / in1. If I use a class Foo, then theparam names are picked up fine. You still need to compile with -g.-K--- jim wang <[EMAIL PROTECTED]>wrote: Folks:  I am using Java2WSDL to generate wsdl file, and try to get real parameter name from interface instead of in0, in1.  Someone suggested to me using the following technique:  When you compile your source code, turn debugging on. Apache will use your parameter names in the WSDL file. for example:  javac -g Calculator.java  java org.apache.axis.wsdl.Java2WSDL -o calculator.wsdl -l  "http://localhost:8080/axis/Calculator.jws" Calculator   Som
 ehow, it
 did not work for me, does this sound familiar to you, please help.  Regards,   -JP   - Yahoo! Music Unlimited - Access over 1 million songs. Try it free.Ketan Deshpande[EMAIL PROTECTED]__ Yahoo! Music Unlimited Access over 1 million songs. Try it free.http://music.yahoo.com/unlimited/
		 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

java.net.ConnectException: Connection refused: connect

2005-07-18 Thread jim wang
Hi: I am the new user to axis, after installing axis on my PC(XP) machine successfully, i try to run some services to apache server in %AXIS_HOME% like: samples.userguide.example1.TestClientSent 'Hello!', got 'Hello!' and got following error: java.net.ConnectException: Connection refused: connect any experter, please. Thanks. -Jim
		 Start your day with Yahoo! - make it your home page