Thanks Sharon, this was exactly what I was looking for!!!
Another question, my STAF service (written in Java) executes one main script
which then calls multiple sub-scripts. The results of these scripts are
visible only after the execution of the service is completed. Is it possible
to display these results as the scripts complete execution rather than at
the end of the service?

Thanks
Anna


On Wed, Dec 15, 2010 at 10:41 AM, Sharon Lucas <luc...@us.ibm.com> wrote:

> Yes.  See the "STAF Service Developer's Guide" at
> http://staf.sourceforge.net/current/stafsdg.html for more information on
> the "Accepting Requests Phase".  If you wrote your STAF service in Java, see
> section "5.1.3 Accepting Requests Phase" which shows the fields passed in
> the the *acceptRequests* method via the *
> STAFServiceInterfaceLevel30.RequestInfo* argument.  This object includes a
> physicalInterfaceID field which is a String that contains the physical
> interface identifier (the IP address) for the machine from which the service
> request originated.
>
> Or, if you wrote your STAF service in C++, see section "6.1.4 Accepting
> Requests Phase".
> Or, if you wrote your STAF service in Perl, see section "7.1.3 Accepting
> RequestsPhase",
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin,   luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
>
>
>
>
> From:        Anna Pereira <annazpere...@gmail.com>
> To:        staf-users@lists.sourceforge.net
> Date:        12/15/2010 12:25 PM
> Subject:        [staf-users] IP address of remote machine
> ------------------------------
>
>
>
>
> Hi,
>
> I have written a STAF service that resides on the test server. If a remote
> system uses this STAF service, would it be possible to find out the IP
> address of the system using this service?
>
> Thanks
> Anna
> ------------------------------------------------------------------------------
>
>
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to