> You have correctly visualized the whole situation: > > >First, let me try re-phrasing what you've said to see if I understand. > >1. An Apache SOAP service is deployed on machine A. > >2. An HTML page is on machine B. > >3. The HTML page has a form that will invoke a servlet on machine ? when > >submitted. > > service is on machine A. > HTML client page is on Machine B. > Servlet is on machne B. > I want machine B invoke a servlet on itself via an HTML page so that it > will somehow direct the SOAP request to Machine A where service is > deployed. > Then Machine A will respond by sending an HTML or XML page back to Machine > B. > > >4. The servlet will invoke the SOAP service on machine A. > >5. The servlet will use the SOAP service response to construct HTML to > >return to the browser. > > Hope I am able to convey what I mean... > > I think the code you send me is a simple client...needs to be embedded in > servlet somehow so as to make an HTTP request and response > needed by servlet...
If I understand what you are trying to do, your servlet is a server to the web browser, but it is a client to the SOAP service. It is taking values posted by the web browser and using those as parameters in its SOAP service call, then using the SOAP service response to create HTML or XML to return to the browser. Scott Nichol -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>