No,
because the isRPC switch is off when we are doing document style
operations. WRAPPED is document style, but the XML is wrapped in an
element (that has the same name as the operation) to make it appear and act like
an RPC operation.
--
Tom
Jordahl
Macromedia
-----Original Message-----Regarding the following code snippet in org.apache.axis.message.RPCElement:
From: Richard Sitze [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:04 PM
To: [EMAIL PROTECTED]
Subject: [axis] isRPC
protected void outputImpl(SerializationContext context) throws Exception
{
MessageContext msgContext = context.getMessageContext();
boolean isRPC = true;
if (msgContext != null &&
(msgContext.getOperationStyle() != Style.RPC) &&
(msgContext.getOperationStyle() != Style.WRAPPED)) {
isRPC = false;
}
Should that be:
if (msgContext != null &&
(msgContext.getOperationStyle() != Style.RPC) &&
(msgContext.getOperationStyle() != Style.DOCUMENT) &&
(msgContext.getOperationStyle() != Style.WRAPPED)) {
??
*******************************************
Richard A. Sitze [EMAIL PROTECTED]
CORBA Interoperability & WebServices
IBM WebSphere Development