Hi,

Could someone please provide some insight on how to solve my issue below? When I tried to access my spring web service, below exception is encountered.

org.springframework.ws.client.WebServiceIOExceptio n: I/O error: Connection timed out: connect; nested exception is java.net.ConnectException: Connection timed out: connect
org.springframework.ws.client.core.WebServiceTempl ate.sendAndReceive(WebServiceTemplate.java:507)
org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 350)
org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 344)
org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 336)
ph.com.sunlife.sunlink.service.client.EightBallCli ent.AskQuestion(EightBallClient.java:28)

Below is my wsdl:
http://localhost:8888/services/share...mfService.wsdl

This is my XSD:
Code:
<?xml version="1.0" encoding="UTF-8"?>
	<xs:schema targetNamespace="http://mycompany.com/mftransaction/service/schema"
		xmlns:tns="http://mycompany.com/mftransaction/service/schema"
		xmlns:xs="http://www.w3.org/2001/XMLSchema">
		<xs:element name="EightBallRequest">
This is the definition I used in spring-ws-servlet.xml:
Code:
<bean id="mfService" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
		<property name="schema" ref="schema" />
		<property name="portTypeName" value="RetrieveMFTransaction" />
		<property name="locationUri" value="http://mycompany.com/mftransaction/service" />
        <property name="targetNamespace" value="http://mycompany.com/mftransaction/service/schema"/>
	</bean>
This is the endpoint:
Code:
@PayloadRoot(localPart = "EightBallRequest", namespace = "http://mycompany.com/mftransaction/service/schema")
	public EightBallResponse doit(EightBallRequest request) {
And this is my client:
Code:
<bean id="eightBallClient" class="ph.com.sunlife.sunlink.service.client.EightBallClient">
		<property name="defaultUri" value="http://mycompany.com/mftransaction/service"/>
		<property name="marshaller" ref="marshaller"/>
		<property name="unmarshaller" ref="marshaller"/>
	</bean>
I'm trying to solve this issue (as well as the 404 not found thing) for almost 5 days but no positive result. Please help. Thanks in advance.