axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laxma Reddy Dendi <axis_...@yahoo.com>
Subject Re: java2wsdl Help needed
Date Mon, 12 Jul 2004 20:28:06 GMT
try this
java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl
-l"http://localhost:8080/axis/services/EchoIntService"
-n "EchoIntService" -p"samples.myEchoInt"
"EchoIntService" samples.myEchoInt.EchoIntService

from your axis_devhome.

regards
Laxma


--- Mayur Shetye <mayurkumar@yahoo.com> wrote:
> this is a simple java class , I want to generate a
> simple WSDL frile from it and then use that WSDL to
> create stubs on the client side .
> 
> The code is as follows
> 
> ____________
> 
> package samples.myEchoInt;
> 
> public class EchoIntService 
> {
> 	public int echoInt(int i) 
> 	{
> 		return i;
> 	}
> }
> 
> 
> 
> _____________
> 
> 
> My java2wsdl arguement is 
> 
> java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl  
>
-l"http://localhost:8080/axis/services/EchoIntService"
> -n  "urn:myservice.com" -p"samples.myEchoInt" 
> "urn:myservice.com" 
> samples.myEchoInt.EchoIntService
> 
> 
> 
> I get an error saying 
> 
> The <class-of-portType> has already been specified
> as,
> .  It cannot be specifie
> d again as samples.myEchoInt.EchoIntService.
> Java2WSDL emitter
> Usage: java org.apache.axis.wsdl.Java2WSDL [options]
> class-of-portType
> 
> 
> Can anyone please tel me why ?
> 
> regards
> Mayur Shetye
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

Mime
View raw message