On 10/11/06, Spies, Brennan <[EMAIL PROTECTED]> wrote:

No, that's WSDL 2.0, where it is replaced by "Interface"...

www.w3.org/2002/ws/desc/wsdl20-primer

Sorry, yes...that's what Sanjiva was talking about. :-)

I'm hoping that a O(1) question will save me an O(n) scouring of that
document...does WSDL 2.0 support operator overloading?

-dan




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D.Kreft
Sent: Wednesday, October 11, 2006 1:40 PM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: Re: Support for polymorphism in a service

But wasn't the notion of portType supposed to be nixed in WSDL 1.1?

-dan

On 10/11/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> Please see:
>
http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Distinctive_Ope
rations
>
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to