You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/03/22 00:35:39 UTC
svn commit: r387667 - in
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2:
deployment/util/Utils.java description/AxisService.java
Author: dims
Date: Tue Mar 21 15:35:36 2006
New Revision: 387667
URL: http://svn.apache.org/viewcvs?rev=387667&view=rev
Log:
fix compile break
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java?rev=387667&r1=387666&r2=387667&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java Tue Mar 21 15:35:36 2006
@@ -176,7 +176,7 @@
AxisMessage inMessage = operation.getMessage(
WSDLConstants.MESSAGE_LABEL_IN_VALUE);
if (inMessage != null) {
- inMessage.setElementQName(table.getComplexScheamType(jmethod.getSimpleName() +
+ inMessage.setElementQName(table.getComplexSchemaType(jmethod.getSimpleName() +
SchemaGenerator.METHOD_REQUEST_WRAPPER));
}
if (!jmethod.getReturnType().isVoidType()) {
@@ -222,7 +222,7 @@
operation.setName(new QName(opName));
AxisMessage inMessage = operation.getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
if (inMessage != null) {
- inMessage.setElementQName(table.getComplexScheamType(jmethod.getSimpleName() +
+ inMessage.setElementQName(table.getComplexSchemaType(jmethod.getSimpleName() +
SchemaGenerator.METHOD_REQUEST_WRAPPER));
}
return operation;
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java?rev=387667&r1=387666&r2=387667&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java Tue Mar 21 15:35:36 2006
@@ -1035,10 +1035,11 @@
axisService.setClassLoader(axisConfig.getServiceClassLoader());
ClassLoader serviceClassLoader = axisService.getClassLoader();
- SchemaGenerator schemaGenerator = new SchemaGenerator(serviceClassLoader,
- implClass, axisService.getSchematargetNamespace(),
- axisService.getSchematargetNamespacePrefix());
+ SchemaGenerator schemaGenerator;
try {
+ schemaGenerator = new SchemaGenerator(serviceClassLoader,
+ implClass, axisService.getSchematargetNamespace(),
+ axisService.getSchematargetNamespacePrefix());
axisService.setSchema(schemaGenerator.generateSchema());
} catch (Exception e) {
throw new AxisFault(e);