Hi Tom,
Is there any way to find out active state of a work flow using SOAP interface?
To my understanding, in work flow definition, I can use wf ( work flow object)
object to get lot of information ( active / inactive states, task nodes in a
work flow definition etc. ) . I would really appreciate if you can tell me how
to do it from outside for example to create a status page of the documents.
Methods doGetAllData, doGetHash, doGetProperty are not clear to me. How to
deal with methods which return or take data type : apachesoap:Map.
For example : I tried implanting /*getWorkflowIdList*/.
----------------------------------------------------------------------------------------------------------
elsif ( $cmd =~ /^getWorkflowIdList/ ) {
my $proc = shift @ARGV;
my $username = shift @ARGV;
my $pwd = shift @ARGV;
my %hashWfInfo = ();
print "proc : $proc\n username : $username pwd : $pwd\n";
my $ref=undef;
my @arr = $swamp->getWorkflowInfo( $proc, $username, $pwd );
print "ARR: @arr\n";
%hashWfInfo = %$ref;
if( not defined $ref)
{
print "Error: " . $swamp->error() . "\n";
}
else {
print "Workflow info is: ";
for my $key ( keys %hashWfInfo ) {
my $value = $hashWfInfo{$key};
print "$key => $value\n";
}
}
}
--------------------------------------------------------------
This does not work!
I would appreciate if you can show one example about dealing SOAP has responses.
Thanks and regards,
Deepali
---------------------------------
Once upon a time there was 1 GB storage in your inbox. Click here for happy
ending.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net