[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Tue Jun 10 21:59:58 UTC 2008
gordonp
Tue Jun 10 17:59:57 EDT 2008
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util
In directory dev.open-bio.org:/tmp/cvs-serv25145/src/main/ca/ucalgary/services/util
Modified Files:
WSDLConfig.java
Log Message:
better sentinel value use
moby-live/Java/src/main/ca/ucalgary/services/util WSDLConfig.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/WSDLConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/WSDLConfig.java 2008/03/13 23:08:26 1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/WSDLConfig.java 2008/06/10 21:59:57 1.2
@@ -140,27 +140,27 @@
throw new Exception("Part element " + partName + " of WSDL message " +
messageName + " has no type attribute defined");
}
- String modelReference = partElement.getAttributeNS(MobyPrefixResolver.SAWSDL_NAMESPACE, "modelReference");
+ String modelReference = partElement.getAttributeNS(MobyPrefixResolver.SAWSDL_NAMESPACE, SAWSDL_MODEL_ATTR);
if(modelReference == null || modelReference.length() == 0){
throw new Exception("Part element " + partName + " of WSDL message " +
- messageName + " has no SAWSDL modelReference attribute defined");
+ messageName + " has no SAWSDL " + SAWSDL_MODEL_ATTR + " attribute defined");
}
String schemaMapping = null;
if(isInputMessage){
- schemaMapping = partElement.getAttributeNS(MobyPrefixResolver.SAWSDL_NAMESPACE, "loweringSchemaMapping");
+ schemaMapping = partElement.getAttributeNS(MobyPrefixResolver.SAWSDL_NAMESPACE, SAWSDL_INMAP_ATTR);
if(schemaMapping == null || schemaMapping.length() == 0){
throw new Exception("Part element " + partName + " of WSDL message " +
- messageName + " has no SAWSDL loweringSchemaMapping attribute defined");
+ messageName + " has no SAWSDL " + SAWSDL_INMAP_ATTR + " attribute defined");
}
inputs.put(partName, wsdlParam2MobyParam(partName, partType, modelReference));
inputTypes.put(partName, partType);
inputMappings.put(partName, schemaMapping);
}
else{
- schemaMapping = partElement.getAttributeNS(MobyPrefixResolver.SAWSDL_NAMESPACE, "liftingSchemaMapping");
+ schemaMapping = partElement.getAttributeNS(MobyPrefixResolver.SAWSDL_NAMESPACE, SAWSDL_OUTMAP_ATTR);
if(schemaMapping == null || schemaMapping.length() == 0){
throw new Exception("Part element " + partName + " of WSDL message " +
- messageName + " has no SAWSDL liftingSchemaMapping attribute defined");
+ messageName + " has no SAWSDL " + SAWSDL_OUTMAP_ATTR + " attribute defined");
}
outputs.put(partName, wsdlParam2MobyParam(partName, partType, modelReference));
outputTypes.put(partName, partType);
More information about the MOBY-guts
mailing list