Announcement Announcement Module
Collapse
No announcement yet.
Can anyone help me with this error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can anyone help me with this error

    I am using tomcat and eclipse
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'webServiceTemplate' defined in class path resource [com/springinaction/poker/itest/poker-ws-client.xml]: Cannot resolve reference to bean 'urlMessageSender' while setting bean property 'messageSender'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'urlMessageSender' defined in class path resource [com/springinaction/poker/itest/poker-ws-client.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException : Invalid property 'url' of bean class [org.springframework.ws.transport.http.HttpUrlConne ctionMessageSender]: No property 'url' found
    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'urlMessageSender' defined in class path resource [com/springinaction/poker/itest/poker-ws-client.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException : Invalid property 'url' of bean class [org.springframework.ws.transport.http.HttpUrlConne ctionMessageSender]: No property 'url' found

  • #2
    The HttpUrlConnectionMessageSender has no longer a "url" property (since 1.0 RC1 I reckon) so I guess the example you are trying to run is pretty outdated.
    The URI to connect to should be specified on theWebServiceTemplate you're using:
    To use the HTTP transport, either set the defaultUri to something like http://example.com/services, or supply the uri parameter for one of the methods.
    Please refer to the http transport section in the manual for an example.

    Comment

    Working...
    X