Results 1 to 2 of 2

Thread: Can anyone help me with this error

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    21

    Default 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. #2

    Default

    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.
    Tareq Abedrabbo

    My Twitter
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •