Hi

One possible solution is to wrap the functions in Script B [on windows]
with SOAP and expose it has a service via apache.
You can then access them from Script A has a SOAP client.
Also SOAP supports some level of error handling in its protocol. " the SOAP
message can be parsed like any other XML document. To determine whether an
error occurs, the calling client can simply look for this fault element and
read its contents to determine the exact error. "

There are other alternatives if you require more performance, however this
soltion has the benefit of crossing DMZs|firewalls  over HTTP/S which
usually seats between unix and windows worlds.

Perl has a nice SOAP implementation: SOAPLite

http://cookbook.soaplite.com/

Hope this helps.

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|---------+------------------------------------------------->
|         |           "Maxmelbin Neson (RBIN/EDM3)"         |
|         |           <[EMAIL PROTECTED]>        |
|         |           Sent by:                              |
|         |           [EMAIL PROTECTED]|
|         |           veState.com                           |
|         |                                                 |
|         |                                                 |
|         |           28.02.05 09:46                        |
|         |                                                 |
|---------+------------------------------------------------->
  
>---------------------------------------------------------------------------------------------------|
  |                                                                             
                      |
  |        To:      <[EMAIL PROTECTED]>,                               |
  |        <[email protected]>                          
                      |
  |        cc:                                                                  
                      |
  |        Subject: How to call a perl code in Windows from Unix                
                      |
  |                                                                             
                      |
  |Distribute:                                                                  
                      |
  |Personal?               |-------|                                            
                      |
  |                        | [ ] x |                                            
                      |
  |                        |-------|                                            
                      |
  |                                                                             
                      |
  
>---------------------------------------------------------------------------------------------------|







Hi ,


Here is the situation â


I need to run Script A in Unix , It will generate few parameters that
should be passed to Script B . The Script A will call Script B ..


Script B will be on a Windows Server . Its input parameter is the data
passed by Script A â IT SHOULD RUN IN WINDOWS and not in a shell on Unix â


After Script B completes execution , it should return Success / Failure or
any other information back to Script A â


Is this possible , if so cld u please give me some ideas ..


Thanks and Regards
Maxmelbin Neson _______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs






*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to