Yes,
I've checked the WSDL generated by Java2WSDL and it has the following definition
for the signature
<wsdl:message
name="placeOrderRequest">
<wsdl:part name="in0"
type="tns2:Stock"/>
<wsdl:part name="in1"
type="xsd:int"/>
<wsdl:part name="in2"
type="xsd:int"/>
<wsdl:part name="in3"
type="xsd:long"/>
</wsdl:message>
Thanks!
Kool
-----Original Message-----
From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 4:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Abstract class
Did you mean Java2WSDL generates the wrong binding ?
Please clarify.
thanks,
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Anukool Rege <[EMAIL PROTECTED]> 05/15/2002 10:43 AM
Please respond to axis-dev
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: Abstract class
I have an abstract class in one of the methods signature-
placeOrder (Security in0, quantity in1, tradeType in2, price in3) where
Security is an abstract class. The concrete classes that extend Securities
are Stock, Bond and Mutual Fund.
I have noticed that the WSDL2Java generated bindings always pick Stock as
Security replacement.
interface definition of the same method reads - placeOrder(Stock in0,
quantity in1, tradeType in2, price in3)
Is there any logic behind the choice of concrete class? Why does it pick
stock and not bond? or why not generate three methods for each concrete
type?
Thanks,
Anukool Rege