Results 1 to 3 of 3

Thread: WSDL from class

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Posts
    27

    Default WSDL from class

    I know that i can generate the wsdl from DefaultWsdl11Definition,but how i can generate wsdl from class?
    What i want is that someone call my web service and give me the right parameters that i define in my method from wsdl..
    It i spossible? or i must generate xsd first,and than generate the wsdl from it?

  2. #2
    Join Date
    Apr 2012
    Posts
    27

    Default

    anyone can help??

  3. #3
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,036

    Default

    Assuming you are using JAXB (un)marshalling...

    You can use JAXB to generate the schema from the java class and then use the WSDL definition bean to generate the WSDL from the schema.

    http://docs.oracle.com/javase/tutori.../examples.html
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

Posting Permissions

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