[kepler-dev] [Bug 4118] New: - Web Service Actor stored in Library
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Fri May 29 09:26:26 PDT 2009
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4118
Summary: Web Service Actor stored in Library
Product: Kepler
Version: 1.x dev
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: actors
AssignedTo: berkley at nceas.ucsb.edu
ReportedBy: chrisweed at gmail.com
QAContact: kepler-dev at kepler-project.org
After setting the wsdl and service name in org.sdm.spa.WebService and
org.sdm.spa.WSWithComplexTypes, I store them back in the library.
I then drag these new actors into the workflow desktop.
For WebService I get the error:
Change Failed
String index out of range: -5
For WSWithComplexTypes I get the error:
Error encountered in:
<property name="_type" class="ptolemy.actor.TypeAttribute" value="string">
TypeAttribute can only be contained by instances of TypedIOPort.
in .My WSWithComplexTypes.kepler:query and ._type
For WebService this seems to be a problem with setting the methodName parameter
before setting the url parameter.
I was able to add a check on _urlStr to avoid this:
Line 410:
// System.out.println("Method name before get expression: " +
// _methodNameStr);
_methodNameStr = methodName.getExpression();
_debug("<METHOD_NAME>" + _methodNameStr + "</METHOD_NAME>");
// System.out.println("Method name after get expression: " +
// _methodNameStr);
int slashIndex = _urlStr.lastIndexOf('/');
//if(_urlStr.length()>0)
{
_wsName = _urlStr.substring(slashIndex + 1,
_urlStr.length() - 5);
}
For WSWithComplexType I don't know the problem.
Chris
More information about the Kepler-dev
mailing list