Results 1 to 4 of 4

Thread: Newbie question -Axis Spring Web Service Client

  1. #1
    Join Date
    Sep 2007
    Location
    U.S.
    Posts
    18

    Default 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. #2
    Join Date
    Sep 2007
    Location
    U.S.
    Posts
    18

    Exclamation Need help...

    /*** Bump ***/

    Any advice is appreciated...

  3. #3
    Join Date
    May 2008
    Location
    Cape Town
    Posts
    17

    Default

    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. #4
    Join Date
    Sep 2007
    Location
    U.S.
    Posts
    18

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

Posting Permissions

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