Amila,

Axis2 supports dispatching based on the Action parameter, but not all
frameworks do. In fact, the WS-I Basic Profile explicitly disallows
dispatching based solely on the Action parameter. It requires that
each message must provide a unique signature (defined as the QName of
the child element of the SOAP Body).

If you want your WSDL to be supported by other frameworks, you should
make the message signature unique. Nick's suggestion of using wrapped
doc/lit is the way to go.

Anne

On Dec 6, 2007 10:59 PM, Amila Suriarachchi <[EMAIL PROTECTED]> wrote:
>
>
>
> On Dec 7, 2007 1:49 AM, Michael Potter <[EMAIL PROTECTED]> wrote:
> > Axis2 Crew,
> >
> > I have a webservice with several operations that have exactly the same
> > input: A customer number.  Each one returns a different output.
> >
> > Is there a reason to make them artificially different?  I have not had
> > a problem, but I ran across this url:
> > http://w.ws-i.org/Profiles/BasicProfile-1.1.html#Operation_Signatures
> >
> > The person who turned me on to that url was having a problem because
> > when the inputs are the same, there was no way to distinguish between
> > different operations based on the input.  He was using a different
> > framework.
> if your transport is HTTP you can use the soap action to dispatch the
> operations.
> Actually this is what axis2 uses as well.
>
> Thanks,
> Amila.
>
> >
> >
> > I am asking this question because I want to make sure my .wsdl files
> > are as portable as I can make them in case I want to support multiple
> > frameworks.
> >
> > --
> > Michael Potter
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.

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

Reply via email to