tomj 02/02/28 08:45:51
Modified: java/src/org/apache/axis/message RPCElement.java
Log:
Forgot this file...
Set the property (for now the literal "wrapped") that will compensate for the
peeling back
of the top level element in .NET document/literal WSDL.
If the "wapped" property is set, the client engine emits the operation name as
as wrapping element around the literal argument.
Example:
Instead of generating function GetRank(GetRank in0) to emit the following XML:
<GetRank>
<ISBN>12345</ISBN>
</GetRank>
We emit the function GetRank(String ISBN) and set the operation to "GetRank",
which emits the equivalent XML when the "wrapped" switch is on.
Revision Changes Path
1.38 +1 -1 xml-axis/java/src/org/apache/axis/message/RPCElement.java
Index: RPCElement.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/RPCElement.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- RPCElement.java 28 Feb 2002 13:37:48 -0000 1.37
+++ RPCElement.java 28 Feb 2002 16:45:51 -0000 1.38
@@ -248,7 +248,7 @@
boolean isRPC = true;
if (msgContext != null) {
if ((msgContext.getOperationStyle() != SOAPService.STYLE_RPC) &&
- ! msgContext.isPropertyTrue("wrapit"))
+ ! msgContext.isPropertyTrue("wrapped"))
isRPC = false;
}