Please see:
http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Distinctive_Operations
thanks,
-- dims
On 10/11/06, D. Kreft <[EMAIL PROTECTED]> wrote:
I'm writing a service that I'm trying to integrate into a legacy
system bit by bit. In the old system, a "request ID" is a String of
the format "rqYYYYMMDDHHMMSSXXX", but in the new system, a request ID
is simply a row identifier (a Long).
What I'd like to do is use the power of polymorphism to keep my
service API clean and sane:
public Request getRequestByID(String legacyRequestID) {
// ...
}
public Request getRequestByID(Long requestID) {
// ...
}
But when I try this, java2wsdl (Axis1) pukes with the following fault:
Attempted to write duplicate schema element :
{http://pkgbuild.amazon.com/PBQS}getRequestByID
...which makes me sad. :-( <-- See?
Is this a WSDL 1.0 restriction or a deficiency in java2wsdl? Will such
use of polymorphism be possible under Axis2?
-dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]