You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Parames <kp...@yahoo.com> on 2003/05/23 05:36:50 UTC

Re: SOAP error while connnecting to MS SQl

Hi Scott Nichol & other folks ,

Im  new to this group and having problem .
I have written SOAP Service where getting Customer ID
& i have to fetch Customer details like name,phone no
from database and display it in GUI .im using Swing
,db is MS SQl to accomplish
.
Im using SOAP 2.3.1  with tomcat 4.1.24..
I tested my service with hardcodede value and working
fine.After interaction with database connection ,im
getting error  while deploying :)-

Im sure that client and SOAP services are fine since i
tested ....And then Tomcat also running and can see
soap page also..
I know you are guru in SOAP and hope you can help it


C:\soap-2_3_1\samples\scicom>java
org.apache.soap.server.ServiceManagerClient ht
tp:localhost:8080/soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml

Exception in thread "main" [SOAPException:
faultCode=SOAP-ENV:Client; msg=Error
opening socket: java.net.ConnectException: Connection
refused: connect; targetEx
ception=java.lang.IllegalArgumentException: Error
opening socket: java.net.Conne
ctException: Connection refused: connect]
        at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
tion.java:354)
        at
org.apache.soap.rpc.Call.invoke(Call.java:248)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:142)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:230)

for your refrence ,
im attaching my file.
Expecting to hear form you ASAp,
You help will be more appreciated and thnaks a lot..

Have a good day !
Parames







__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com