You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by mu...@apache.org on 2003/11/21 05:39:58 UTC
cvs commit: ws-axis/contrib/axismora/src/org/apache/axismora/client ClientRequestContext.java Call.java
muthulee 2003/11/20 20:39:58
Modified: contrib/axismora/src/org/apache/axismora/client
ClientRequestContext.java Call.java
Log:
Using the enum "Style style" instead of "QName Style". Using a QName to support style is not correct.
Revision Changes Path
1.2 +4 -4 ws-axis/contrib/axismora/src/org/apache/axismora/client/ClientRequestContext.java
Index: ClientRequestContext.java
===================================================================
RCS file: /home/cvs/ws-axis/contrib/axismora/src/org/apache/axismora/client/ClientRequestContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ClientRequestContext.java 10 Oct 2003 01:55:50 -0000 1.1
+++ ClientRequestContext.java 21 Nov 2003 04:39:58 -0000 1.2
@@ -74,7 +74,7 @@
private QName methodName;
private Serializable[] inparams;
- private QName style;
+ private Style style;
private String encoding;
public ClientRequestContext(
@@ -82,7 +82,7 @@
QName soapAction,
QName methodName,
Serializable[] inparams,
- QName style,
+ Style style,
String encoding)
throws AxisFault {
if (soapAction == null)
@@ -92,7 +92,7 @@
this.inparams = inparams;
this.soapAction = soapAction;
this.methodName = methodName;
- this.style = (style == null ? Style.RPC.getProvider() : style);
+ this.style = (style == null ? Style.RPC : style);
this.encoding = encoding;
}
@@ -113,7 +113,7 @@
/**
* @return
*/
- public QName getStyle() {
+ public Style getStyle() {
return style;
}
1.2 +8 -9 ws-axis/contrib/axismora/src/org/apache/axismora/client/Call.java
Index: Call.java
===================================================================
RCS file: /home/cvs/ws-axis/contrib/axismora/src/org/apache/axismora/client/Call.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Call.java 10 Oct 2003 01:55:50 -0000 1.1
+++ Call.java 21 Nov 2003 04:39:58 -0000 1.2
@@ -81,6 +81,7 @@
import org.apache.axismora.wrappers.simpleType.StringParam;
import org.apache.axis.AxisFault;
+import org.apache.axis.enum.Style;
import org.apache.axis.soap.SOAPConstants;
/**
@@ -110,7 +111,7 @@
/* if authentication used the passwd */
private char[] passwd;
- private QName style;
+ private Style style;
private SOAPConstants constants = SOAPConstants.SOAP12_CONSTANTS;
@@ -409,17 +410,15 @@
}
/**
- * @param name
- */
- public void setStyle(QName name) {
- style = name;
- }
-
- /**
* @param string
*/
public void setUsername(String string) {
username = string;
}
-}
+ /**
+ * @param name
+ */
+ public void setStyle(Style st) {
+ style=st;
+ }}