dims 2002/06/13 12:23:15
Modified: java/src/org/apache/axis/client Call.java
Log:
Set a default for portTypeName
Revision Changes Path
1.135 +5 -5 xml-axis/java/src/org/apache/axis/client/Call.java
Index: Call.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Call.java,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -r1.134 -r1.135
--- Call.java 11 Jun 2002 14:53:51 -0000 1.134
+++ Call.java 13 Jun 2002 19:23:15 -0000 1.135
@@ -144,7 +144,7 @@
private boolean parmAndRetReq = true ;
private Service service = null ;
- private QName portTypeName = null ;
+ private QName portTypeName = new QName("");
private QName operationName = null ;
private QName returnType = null ;
@@ -186,7 +186,7 @@
public static final String TRANSPORT_PROPERTY= "java.protocol.handler.pkgs";
// If true, the code will throw a fault if there is no
- // response message from the server. Otherwise, the
+ // response message from the server. Otherwise, the
// invoke method will return a null.
public static final boolean FAULT_ON_NO_RESPONSE = false;
@@ -1386,7 +1386,7 @@
p );
}
// Attach the ParameterDescription to the RPCParam
- // so that the serializer can use the (javaType, xmlType)
+ // so that the serializer can use the (javaType, xmlType)
// information.
rpcParam.setParamDesc(param);
result.add( rpcParam );
@@ -1710,7 +1710,7 @@
}
resMsg = msgContext.getResponseMessage();
-
+
if (resMsg == null) {
if (FAULT_ON_NO_RESPONSE) {
throw new AxisFault(JavaUtils.getMessage("nullResponse00"));
@@ -1718,7 +1718,7 @@
return null;
}
}
-
+
resEnv = (SOAPEnvelope)resMsg.getSOAPEnvelope();
SOAPBodyElement bodyEl = resEnv.getFirstBody();
if (bodyEl instanceof RPCElement) {