You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tom Jordahl <to...@macromedia.com> on 2003/05/09 20:23:01 UTC

RE: Java2WSDL: Support Style=RPC/Document on a per Operation basi s?

I would *really* recommend against publishing any web service that mixes styles on a per operation basis.

This is a sure way to have problems with interop.

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Steve Pannier [mailto:Steve_Pannier.CST@jacada.com] 
Sent: Friday, May 09, 2003 11:08 AM
To: axis-user@ws.apache.org
Subject: Java2WSDL: Support Style=RPC/Document on a per Operation basis?

We have cases where some methods in our web service require
RPC style binding, while other methods in the same service require
Document style.  We are using Java2WSDL to generate the WSDL.
Is there a way to specify the binding style on a per method/operation
basis using Java2WSDL?

The WSDL spec describes the "soap:operation" element ( see
http://www.w3.org/TR/wsdl; section 3.4) where you can specify the
style for each operation within the binding.

I know that the "-y" flag to Java2WSDL allows you to set the binding
style; but this is for the binding itself.  I want to set the style on the
soap:operation element.

Anyone know if this is possible?

Regards.


Steve Pannier