patil deepali wrote:
> 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.
Hi, please generate the documentation for the methods as
described here:
http://swamp.sourcefo
rge.net/index.php?seite=doc2html&docpage=html-adminguide
/x455.html
There are also examples how to deal with these methods in
the example
script swampsoaptest.pl
>
> 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 : $procn username : $username
pwd : $pwdn";
>
> my $ref=undef;
> my arr = $swamp->getWorkflowInfo( $proc, $username,
$pwd );
> print "ARR: arrn";
> %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 => $valuen";
> }
> }
> }
>
------------------------------------------------------------
--
> This does not work!
>
> I would appreciate if you can show one example about
dealing SOAP has responses.
I attached an script that reads and outputs the workflow
state
(running=1, closed=0), hope that helps.
Greetings
--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development ::
Internal Tools
"Wer die Vergangenheit kontrolliert, kontrolliert die
Zukunft.
Wer die Gegenwart kontrolliert, kontrolliert die
Vergangenheit."
1984
------------------------------------------------------------
-------------
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
|