connection « Web Service « Java Enterprise Q&A





1. Losing connection to a webservice via https "No X509TrustManager implementation available"    stackoverflow.com

I have a really weird issue with Java and SSL certificates. Hope someone can help.

  • A web is running in a cluster of 3 identical servers
  • All servers contain "Application A" which ...

2. J2me web service connection problem    stackoverflow.com

i'm trying to connect to a php web service using kxml-rpc api and the code is as simple as this:

XmlRpcClient xmlrpc = new XmlRpcClient("http://***ip here***:88/secure/service");

Vector parameters = new Vector();
parameters.addElement("value");

String result = ...

3. Do RMI and web services both use a socket connection?    stackoverflow.com

In another question I was worried about using a web service that takes a five minutes to complete. I was thinking about using RMI instead of web services for ...

4. Keep connection open for multiple web service requests    stackoverflow.com

I would have question regarding web services. Let's say I have webservice client that has to perform under high load. And I cannot use another technology. Is it possible somehow to keep ...

5. WebService: Firefox can't establish a connection to the server at 192.168.10.203:8080    stackoverflow.com

I am trying to create a WebService. I am not able to access the URL. If I try to connect to

http://192.168.10.203:8080/EchoBeanService/EchoBean?wsdl
I get an error:
Firefox can't establish a connection to the ...

6. How to apply different certificates for each webservice connection?    stackoverflow.com

I have two applications that connects to a webservice that requires client certificate authentication. The two applications needs to run on the same Tomcat and have to provide a different client ...

7. "The underlying connection was closed: An unexpected error occurred on a send." (VB .NET client to Java/Apache SSL-encrypted web service)    stackoverflow.com

I am really hoping that someone here can help. Let me also preface my question by saying that I am not a .NET expert and have very little experience with ...

8. Java Web service using ssh (remote linux connection)    stackoverflow.com

I am more than novice in Linux. Nevertheless, I need to create a Java Web Service hosting in apache server in a Linux system. The Web service must use ssh to ...

9. connection is timed out when i access the yahoo web services from java program and it opens in web browswer    stackoverflow.com

I am using MVC 3.1 Rest web services here is my controller, in that i am calling yahoo web services for sport information. @Controller

public class WelcomeController {

    @Autowired
  ...





10. webservice - does http connection pool make sense?    stackoverflow.com

I'm in the progress of implementing a webservice server and client with apache cxf, after reading this HTTP Connection Pooling discussion, i'm really confuse about this. Does pooling http ...

11. Coldfusion consuming webservice -> java.net.SocketTimeoutException: connect timed out    stackoverflow.com

I'm consuming a webservice over Coldfusion 9 for getting property data and saving the result to our local database. The script gets executed via scheduler once a day. The problem is ...

12. Web service connection    bytes.com

Figured out how the web service interacts with a jsp page. now i just want to know. in the web service when connection to a db it creates a datasource using ...

13. Connection Refused    coderanch.com

15. How to Log a Connection refused error ?    coderanch.com

Hi All, I am new to Webservice and i am not trying to lookup for a web service, that is hosted on a remote server. I have created a SOAP request and am trying to access the Web Service. My Question is, Whenever the Web service-hosted server is down, i want to log the request data as an XML file. Basically ...

16. Connection reset by peer    coderanch.com

Our application has a screen for customer registration/modification which is accessed by 45-50 users simultaneously. while accessing those screens the following error message comes and it hangs the web Server. The web server then needs to be restarted. [05/Apr/2005:12:53:51] failure ( 820): Error accepting connection -5961, oserr=997 (Connection reset by peer) Is it related to the number of users accessing the ...





17. "Connection timed out" with HttpClient.    coderanch.com

Hi, My goal is to consume a web service using Apache AXIS. This web service uses Integrated Windows Authentication. I use IE have configured Proxy server address and Proxy server port using IE's Tools -> Internet Options -> Connections Tab -> LAN Settings -> Proxy serer. If type the webservice endpoint address of the form http://239.271.380.120/serveme/WS.asmx in my browser then I ...

18. Connection pooling of SOAPConnection objects    coderanch.com

From your post it seems that you use HTTP as your transport mechanism. You can't pool HTTP connections. They're opened, a request is sent, a response is received, then they're closed. The only way to reuse them is via a mechanism called HTTP pipelining, which lets you send several requests in a row over the same connection. But that has nothing ...

21. ConnectDeadException: failed to make new pool connection: java    coderanch.com

Hi, I am getting the following exception while starting my managed server. This setup was working fine for quite some time but started giving problems. I am running weblogic 6.1 sp5 over iPlanet. Thanks for your help. (OracleConnection.java:271) 130 ...

22. JAXR connection problem    coderanch.com

23. JAXR connection problem    coderanch.com

25. (Q by S)exception faultString: java.net.ConnectException: Connection refused: connect    coderanch.com

Hi Iam new to webservice, while I get some sample code using webservice and trying to run I getting exception like below can any body help me out to resolve it.... Processing file C:\\samama\\kkkak\\kaka\\rarara\\WebService\\fibonacci\\ws\\deploy.wsdd Exception: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.ConnectException: Connection refused: connect faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at ...

26. webservice connection    coderanch.com

27. Setting a Connection to 'keep-alive'    coderanch.com

28. java.net.ConnectException: Connection timed out: connect    coderanch.com

Hello, I am using Tomcat 5.0.25, Axis 1.4, Java 1.6 and NetBeans 5.5. I try the example but can't connect the server. java.net.ConnectException: Connection timed out: connect My tomcat port is 8080. Here is the code. import org.apache.axis.client.Call; import org.apache.axis.client.Service; import javax.xml.namespace.QName; public class TestClient { public static void main(String [] args) { try { String endpoint = "http://nagoya.apache.org:5049/axis/services/echo"; Service service ...

30. connection pooling    coderanch.com

I'm running weblogic 9.2, but I did not think this topic is product specific, so I'm posting it here: I need to write or implement a connection pool to another piece of hardware that I communicate with over ethernet. It's not a database. Does something like this already exist, and if not, does anyone know of any examples of this? Thanks. ...

31. Connection with web service    coderanch.com

33. Needing new endpoint per connection    coderanch.com

Hi, i am using spring web services and i have run into some problems. I want to have a new endpoint per connection, or some method to pass the dto between the interceptors and then to the endpoint invokeInternal method. Whats happening now is that once the server is booted and i type the input fields and press run, i get ...

34. Connection refused    coderanch.com

35. PLEASE HELP ! Desperate : Can't connect to SOCKS proxy:Connection refused    coderanch.com

Hi guys Im trying to run an axis web service client... nothing special. When I try to invoke the service it tells me Can't connect to SOCKS proxy:Connection refused submitting. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.SocketException: Can't connect to SOCKS proxy:Connection refused faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Can't connect to SOCKS proxy:Connection refused at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:463) at java.net.Socket.connect(Socket.java:520) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ...

36. Web service connection    coderanch.com

Hello! I am developing a JAX-WS web service using EJB 3.0 and Glassfish application server which receives some information from the clients, performs some buisness methods and saves information to a database. The service can write information to database only if the connection with the client exists because of necessity of notification of the client about accomplished persisting to a database, ...

37. WSWS3713E: Connection to the remote host XXXXXXXX failed.Received the following error: Invalid    coderanch.com

Hi All, We are accessing one webservice which is https, it will work fine for few hours after bounce the jvm. Then it will returning the following exception and not able to connect the service. again if we bounce the JVM it will start working. Is it some thing wrong with my proxy creation? Can some body will help me to ...

38. Error in connection.setCredentials(creds) while get authorization to UDDI Registry    coderanch.com

Dear All, I use jwsdp-1.5 + Sun GlassFish Enterprise Server 2.1 + Xindice + RegistryServer from wars from jswdp (JAXR Architecture). When I try to get an authorization from UDDI Registry for creating a new organization by using the following code: public void executePublish(String username, String password) { RegistryService rs = null; BusinessLifeCycleManager blcm = null; BusinessQueryManager bqm = null; try ...

40. webservice Https connection    coderanch.com

hi, i can establish https connection throw rampart module with signature SOAP xml. But i am getting 15 seconds delay for every transaction. i debug my SSL message, i assume - fist it takes TLSv1 Protocol connection wont establish [taken 14 sec] then try to connect SSLv2 Protocol. with in one second entire transaction happened. Question: How do i specify SSLv2 ...

41. Difference between Web Services and calling a Url through http connection?    coderanch.com

Note that a request to a URL is completely open-ended with respect to what is returned. SOAP is a very strictly controlled protocol for both the request and return formats. REST provides a formal way of thinking about web services which provides for great flexibility in returned data format and is easier to program than SOAP. Bill

42. Difference between Web Services and URL Connection    coderanch.com

The term "web service" is commonly used to refer to a resource that's accessible through SOAP- or REST-based protocols. While SOAP is theoretically transport-independent, it's overwhelmingly used with HTTP; other transport mechanisms do exist though (like messaging, email and raw TCP/IP). REST is tied intimately to HTTP. URConnection and HttpClient are ways to enable HTTP communication, thus they can be used ...

43. Server.generalException faultString: java.io.IOException: Connection close:    coderanch.com

Hi, New to the forums and new to Web Services so any help appreciated. The Client of our Web Service is getting the following error intermittently: WebServicesFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultString: java.io.IOException: Connection close: Read failed. Possible end of stream encountered. faultActor: null faultDetail: java.io.IOException: Connection close: Read failed. Possible end of stream encountered. I've read a few posts that explain this ...

44. Web service client implementation (Connection refused error)    coderanch.com

import java.net.MalformedURLException; import org.apache.soap.Constants; import org.apache.soap.SOAPException; import org.apache.soap.rpc.Call; import org.apache.soap.rpc.Parameter; import org.apache.soap.rpc.Response; import org.apache.soap.transport.http.SOAPHTTPConnection; import java.net.URL; import java.util.Vector; public class ProxyTest { public static void main(String test[]){ ProxyTest test=new ProxyTest(); System.out.println(test.getUser()); } public String getUser() { String codeApplication = "ABCAPPLICATION"; String jeton = "CKJDJFJKDS09349090349043904NNN"; URL m_url = null; try { m_url=new URL ("http:////wwwu.urlWebServicesIsDeployed.com//serviceweb//ServiceDeployed")); } catch( MalformedURLException e ) { } Vector ...

46. My First Basic Web Service Client - AxisFault Connection refused: connect    coderanch.com

I have deployed a hello world web service running on a tomcat server on my home system. From the browser, I was able to test using wsdl url and it is accessible from the browser. I have generated the stub using WSDL2Java and wrote a sample test client to connect to a web service and getting the following error: Please suggest. ...

47. exception: java.net.ConnectException: Connection timed out: connect while consuming a web service    coderanch.com

Hi Ahuti, I have tried this URL, through eclipse webservice explorer, but I too get the connection refused exception. I tried SOAPUI and it also gives me same exception. So I'm thinking it is nothing wrong you are doing, but the endpoint service is not allowing any connections. Or may be Firewalls blocking to reach the service. One thing which I ...

48. closing web services connection    coderanch.com

Hi! Bhagat Singh Rawat is correct in that you do not have to explicitly close any connection after having used web service stubs. The connection used is, most likely, a HTTP connection over which the request is sent and a response received. This HTTP connection is automatically closed when the request-response message exchange is completed. What you do not need to ...

49. ASPERA Connection Reusability    coderanch.com

50. java.net.SocketException: Connection reset - when calling .NET web services from java    coderanch.com

Dear All, I am getting below error while calling .NET web services from java client. Connection is available from my server to .NET web services server. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.SocketException: Connection reset faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at ...

51. connection error when servers runs fine    coderanch.com

Hello I'm running webservice on apache-tomcat-6.0.26, axis 1.4 installed succesfuly and the server-config.wsdd includs it and the service deployed on axis. The service works but throws this exception: [13:36:49:145 IST 27/03/11] 00000aed SystemErr are AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.SocketException: Connection reset faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:197) at java.io.BufferedInputStream.fill(BufferedInputStream.java:229) at java.io.BufferedInputStream.read1(BufferedInputStream.java:267) at java.io.BufferedInputStream.read(BufferedInputStream.java:324) at java.io.FilterInputStream.read(FilterInputStream.java:134) at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) ...

52. SOAP-ENV:Client; msg=Connection reset;    coderanch.com

53. Restlet connection is not closing    coderanch.com

54. Persistent Connection : Sping-ws Client    coderanch.com

Hello Friends, I am using a spring-ws client to invoke a web service in two way ssl mode. I need to make sure that I don't end up creating a new connection everytime - instead I re-use connections. I did some re-search and found that by default HTTP 1.1 always makes persistent http(s) connections. Is that true? Do I need any ...

57. HTTP Connection Pool for Web Services    forums.oracle.com

58. Webservice connection in Java Application    forums.oracle.com

Hello, When i test my JAX-WS webservice within my IDE everything works perfect. But when i want to run my application outside the IDE the SSL handshake hangs. How is this possible? Do i need a sandbox or something else? It looks like i am missing a runtime part. Keystore and everything else is the same as within the IDE. Thanx ...