I'm attempting import and call functions from com.ibm.staf, specifically 
'STAXUtilImportSTAFVars'.  

This is how I'm attempting the import:
<script>from com.ibm.staf import STAFUtil</script>

I believe this is working because if I change the library name to something 
that doesn't exist, execution of my STAX job terminates with an error pointing 
to that name.  The following fails, though:

<call function="'STAXUtilImportSTAFVars'">
    [
      {'some remote variable': 'local variable name'},
      'remote machine name'
    ]
</call>

STAXUtilImportSTAFVarsv doesn't exist, according to the error.  Is there 
anything obviously wrong there?  Are there some rules about qualifying the 
function name?

If I understand correctly, there is another way of importing with STAX, and 
that's with the <import> tags.  If I wanted to attempt this same thing by 
importing xml functions, is it correct that the same operation could be done 
using the library here 
(http://staf.sourceforge.net/current/STAXLibraries/libraries/package-overview.html)?

Thank you.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to