Yes, you are right. I'm using rpc/encoding. I'll have to keep the doc/lit stuff in mind. For now, rpc does the job for me
Steve ----- Original Message ----- From: "Anand Natrajan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 18, 2004 3:40 PM Subject: Re: WSDL2Java overloading functions > Charles and Steve, > > Mostly for my curiousity, are you using an rpc/encoded service or a > document/literal service? My information may be wrong, but I believe the > latter doesn't support overloaded methods. Given that the web services > world is moving to doc/lit, having overloaded methods may be ill-advised > for future compatibility. > > Anand > > On Wed, 18 Aug 2004, Charles Roy wrote: > > : Thanks Steve, > : > : Got it now on the same setup. > : > : > : Looks like the problem was in the WSDL file. > : Explicitly setting the name attribute of the operation within the > : binding and then have it correspond to the name attribute of the input > : in the corresponding portType operation fixed it. > : > : XMLSpy v5 r2 messed up my WSDL file when adding overloading methods and > : I cannot seem to specify the name attribute in the binding operations > : using it, but after fixing the WSDL file by hand it works. > : > : Thanks, > : Charles > : > : Steve Piercey wrote: > : > : >It works for me in Axis 1.1 with Tomcat 5 > : > > : >Steve > : >. > : > > : >----- Original Message ----- > : >From: "Charles Roy" <[EMAIL PROTECTED]> > : >To: <[EMAIL PROTECTED]> > : >Sent: Wednesday, August 18, 2004 1:55 PM > : >Subject: WSDL2Java overloading functions > : > > : > > : > > : > > : >>Hi, > : >> > : >>Is it possible to overload methods and use the WSDL2Java tool to > : >>generate the stubs for the overloaded methods. > : >> > : >>Thanks, > : >>Charles > : >> > : >> > : >> > : >> > : >> > : > : > : >
