Announcement Announcement Module
No announcement yet.
Newbie question -Axis Spring Web Service Client Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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:

    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:

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


    • #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?


      • #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.