Two sets of identical SOAP services on the same server

2001-12-07 Thread Somas, Arun

We are using Apache Tomcat Servlet Engine 3.2.1 and SOAP 2.0.

We want to deploy identical SOAP services on the same server but talking to
different databases.  For eg http://server/soap/servlet/rpcrouter would talk
to DB1 and http://server/soap2/servlet/rpcrouter would talk to DB2.  

I know there are neat ways you can do this.  However the clients are not
flexible in changing the code.  Is there a way you can deploy identical set
of services in two different places in the same server to achieve the above
result.

Any help would be appreciated.



RE: Two sets of identical SOAP services on the same server

2001-12-07 Thread Podlipski, Alex (GXS, Staffing Alternatives)
Title: RE: Two sets of identical SOAP services on the same server





Creating two different servlet contexts will give you two SOAP endpoints talking to different DBs.


-Original Message-
From: Somas, Arun [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 11:41
To: '[EMAIL PROTECTED]'
Subject: Two sets of identical SOAP services on the same server



We are using Apache Tomcat Servlet Engine 3.2.1 and SOAP 2.0.


We want to deploy identical SOAP services on the same server but talking to
different databases.  For eg http://server/soap/servlet/rpcrouter would talk
to DB1 and http://server/soap2/servlet/rpcrouter would talk to DB2.  


I know there are neat ways you can do this.  However the clients are not
flexible in changing the code.  Is there a way you can deploy identical set
of services in two different places in the same server to achieve the above
result.


Any help would be appreciated.





Sending Soap but getting fault

2001-12-07 Thread Lombard Frank - flomba
Title: RE: Two sets of identical SOAP services on the same server



I'm serializing a 
Element in Visual Basic as :
 
 
POST 
/soap/servlet/rpcrouter HTTP/1.0Host: laiisms1dContent-Type: text/xml; 
charset=utf-8Content-Length: 649SOAPAction: ""
 

 
flombaok12345BAR231126278B
 
 
 
and I'm getting back 
from Apache Soap Server:
 
SOAP-ENV:Server.Exception:java.lang.NullPointerException/soap/servlet/rpcrouter
 
Anyone have any idea 
as to why this is happening? 
I'd appreciate any 
suggestions, thanks.


RE: Sending Soap but getting fault

2001-12-07 Thread Lombard Frank - flomba
Title: RE: Two sets of identical SOAP services on the same server



Acutally its SOAP on WebSphere, Sorry, but I'm using 
the Apache API for the server.

  -Original Message-From: Lombard Frank - flomba 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, December 07, 2001 
  3:07 PMTo: '[EMAIL PROTECTED]'Subject: Sending 
  Soap but getting fault
  I'm serializing a 
  Element in Visual Basic as :
   
   
  POST 
  /soap/servlet/rpcrouter HTTP/1.0Host: laiisms1dContent-Type: text/xml; 
  charset=utf-8Content-Length: 649SOAPAction: ""
   
  
   
  flombaok12345BAR231126278B
   
   
   
  and I'm getting 
  back from Apache Soap Server:
   
  SOAP-ENV:Server.Exception:java.lang.NullPointerException/soap/servlet/rpcrouter
   
  Anyone have any 
  idea as to why this is happening? 
  I'd appreciate any 
  suggestions, thanks.