Hi

Our goal of a service layer is to have a service description which is
platform- and language dependent. Therefore, the platform specific things
must be wrapped otherwise you won't have a well-designed web service and
are never able to reuse or migrate the web service implementation to
another platform without an impact on the client side.

Why don't you define a single operation called:
String runProg (String args)

The implementation of this operation will then call the three methods on
the legacy system in the desired order.

Regards
Oliver

******************************************************************
«Zurich» Financial Services
Global IT, Shared ASP Europe, UKISA,  Asia / Pacific
Business Application Management Switzerland
CHKIEAMI - Application Integration
OPTA - PST A616
Talackerstrasse 1
CH-8152 Opfikon-Glattbrugg

Phone: +41- 1 628 58 07
Fax: +41 - 1 623 58 07
E-Mail: [EMAIL PROTECTED]



                                                                       
                      "Nice To Know"                                   
                      <[EMAIL PROTECTED]        An:       [EMAIL PROTECTED]
                      .com>                    Kopie:                  
                                               Thema:    Web Service with state
                      22.12.2004 11:03                                 
                      Bitte antworten                                  
                      an axis-user                                     
                                                                       
                                                                       




Hi!
I'm building a web service that need a internal state. This is needed
because the web service will start a legacy program that takes input from a
prompt. This is my calls:

int threadId : runProg( String args )
void sendInput( threadId, String args)
String getResult( threadId)

Have read that web service has to be state-less. Why is that?
Unfortunately I have no choice here because I cant rewrite the legacy
application.

Thanks in advance

/Kalle

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/









******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.

Reply via email to