Announcement Announcement Module
Collapse
No announcement yet.
Newbie question -Axis Spring Web Service Client Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Newbie question -Axis Spring Web Service Client

    Hello all,

    I have a web service exposed and I am able to access the wsdl.

    I have tried to follow the guidelines as they're listed here: http://static.springframework.org/sp.../remoting.html

    However, I have a question regarding the value for the serviceInteface property of the JaxRpcPortProxyFactoryBean.

    Is this value supposed to reflect the client's local interface, or is it meant to reference the interface on the server?

    I am unable to test my web service client due to the following exception:

    Code:
    org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.lang.Class] for property 'serviceInterface'; nested exception is java.lang.IllegalArgumentException: Cannot find class [...] Root cause: java.lang.ClassNotFoundException:
    Can anyone help me with this?
    I appreciate any feedback regarding this issue.


  • #2
    Need help...

    /*** Bump ***/

    Any advice is appreciated...

    Comment


    • #3
      I think you have to have the service interface available locally as a Java defined interface.

      But I am not the expert. Maybe the only option is WSDL2Java?

      Comment


      • #4
        Thank you

        You were correct, I had to define the local interface to use, not the interface of the server side... Thanks for the reply.

        Comment

        Working...
        X