This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Spring and the fly likes Cannot call Spring WS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Cannot call Spring WS" Watch "Cannot call Spring WS" New topic

Cannot call Spring WS

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92

I am new to Spring WS and created my first ws with it. But I am not able to call the web service or generate wsdl. Probablu the problem is I dont know the URL to use to call the web service. Everytime O call it, I get I/O error: Connection refused: connect; nested exception is Connection refused: connect

My Web.xml has following entries




and spring-ws-servlet.xml has entries as

<bean id="endPointMapping"
<property name="mappings">
<prop key="{http://localhost:80}getTradeByGenericID">

<bean id="getTradeByGenericID"
<property name="marshaller" ref="casterMarshaller" />

<bean id="casterMarshaller"

<bean id="spring-ws"
<constructor-arg value="/spring-ws.wsdl"></constructor-arg>

Can you please help me to find what is wrong I am doing.

I have called it using the URL : http://localhost:80/spring-ws
The application is deployed on Websphare.

Thanks a lot,
I agree. Here's the link:
subject: Cannot call Spring WS
Similar Threads
Doubt regarding how to specify servlet mapping URL patterns in web.xml
Bridge between REST & WS
BeanDefinitionStoreException when running Spring web app
Spring Web Service - Echo example
[Security:090398]Invalid Subject: weblogic :java.lang.SecurityException: [nested exception is java.l