Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • java2wsdl

    9 answers - 1851 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi
    I'm trying to generate wsdl file from my java code so I did:
    <build>
    <plugins>
    <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>axistools-maven-plugin</artifactId>
    <configuration>
    <sourceDirectory>
    </sourceDirectory>
    <testCases>true</testCases>
    <serverSide>false</serverSide>
    <implClass>
    </implClass>
    <location>http://dummy-url</location>
    <namespace>
    </namespace>
    <typeMappingVersion>1.2</typeMappingVersion>
    <servicePortName>NotificationsPort</servicePortName>
    <filename>notifications.wsdl</filename>
    </configuration>
    <executions>
    <execution>
    <goals>
    <goal>wsdl2java</goal>
    </goals>
    </execution>
    </executions>
    </plugin>
    </plugins>
    </build>
    But when I run the task I got:
    [INF] [axistools:wsdl2java]
    [INF] about to add compile source root
    [INF] Nothing to generate. All WSDL files are up to date.
    [INF]
    [INF] BUILD SUCCESSFUL
    [INF]
    [INF] Total time: 8 seconds
    [INF] Finished at: Mon 09 13:48:03 CEST 2006
    [INF] Final Memory: 3M/6M
    [INF]
    But no wsdl file was generated !!!
    I noticed that parameters in docs are not explained so, may be I'm
    asuming a parameter use in a wrong way.
    I've no idea about how to use required parameters "filename" and
    "project" and wich parameter allow me to say which is my webservice
    interface.
    Thanks in advance
    J
    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.1 | | 2192 bytes | |

    hi,
    i have never used axistools plugin but for other code-generation plugins,
    normally sourceDirectory is the source of your java files which are supposed
    to go thru the code-generation tool

    hth
    marco

    10/9/06, Javier Leyba <xleyba (AT) gmail (DOT) comwrote:

    Hi

    I'm trying to generate wsdl file from my java code so I did:

    <build>
    <plugins>
    <plugin>
    <groupId>org.codehaus.mojo</groupId>

    <artifactId>axistools-maven-plugin</artifactId>
    <configuration>
    <sourceDirectory>

    </sourceDirectory>
    <testCases>true</testCases>
    <serverSide>false</serverSide>
    <implClass>

    </implClass>
    <location>http://dummy-url
    </location>
    <namespace>

    </namespace>
    <typeMappingVersion>1.2
    </typeMappingVersion>

    <servicePortName>NotificationsPort</servicePortName>
    <filename>notifications.wsdl
    </filename>
    </configuration>
    <executions>
    <execution>
    <goals>

    <goal>wsdl2java</goal>
    </goals>
    </execution>
    </executions>
    </plugin>
    </plugins>
    </build>

    But when I run the task I got:

    [INF] [axistools:wsdl2java]
    [INF] about to add compile source root
    [INF] Nothing to generate. All WSDL files are up to date.
    [INF]

    [INF] BUILD SUCCESSFUL
    [INF]

    [INF] Total time: 8 seconds
    [INF] Finished at: Mon 09 13:48:03 CEST 2006
    [INF] Final Memory: 3M/6M
    [INF]

    But no wsdl file was generated !!!

    I noticed that parameters in docs are not explained so, may be I'm
    asuming a parameter use in a wrong way.

    I've no idea about how to use required parameters "filename" and
    "project" and wich parameter allow me to say which is my webservice
    interface.
    --
    Thanks in advance

    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    --
  • No.2 | | 681 bytes | |

    10/9/06, Marco Mistroni <mmistroni (AT) gmail (DOT) comwrote:
    hi,
    i have never used axistools plugin but for other code-generation plugins,
    normally sourceDirectory is the source of your java files which are supposed
    to go thru the code-generation tool

    , but java2wsdl use to need to know wich is the interface. It needed
    from command line and use to need it from ant.

    I couldnt imagine how it will know wich is my interface with only the
    path to source code.

    Thanks

    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.3 | | 853 bytes | |

    I think you specified the wrong goal.

    10/9/06, Javier Leyba <xleyba (AT) gmail (DOT) comwrote:

    10/9/06, Marco Mistroni <mmistroni (AT) gmail (DOT) comwrote:
    hi,
    i have never used axistools plugin but for other code-generation
    plugins,
    normally sourceDirectory is the source of your java files which are
    supposed
    to go thru the code-generation tool
    >
    >
    >

    , but java2wsdl use to need to know wich is the interface. It needed
    from command line and use to need it from ant.

    I couldnt imagine how it will know wich is my interface with only the
    path to source code.
    --
    Thanks

    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    --
  • No.4 | | 1131 bytes | |

    Hello,
    i see
    in my case, my wstools (jboss) can see the Java file from which generate the
    wsdl because i am specifying it as an ant task, and i am specifying the
    classpath that's why the tool sees my interface

    check on plugin docs if there is a way to specify classpath

    hth
    marco

    10/9/06, Javier Leyba <xleyba (AT) gmail (DOT) comwrote:

    10/9/06, Marco Mistroni <mmistroni (AT) gmail (DOT) comwrote:
    hi,
    i have never used axistools plugin but for other code-generation
    plugins,
    normally sourceDirectory is the source of your java files which are
    supposed
    to go thru the code-generation tool
    >
    >
    >

    , but java2wsdl use to need to know wich is the interface. It needed
    from command line and use to need it from ant.

    I couldnt imagine how it will know wich is my interface with only the
    path to source code.
    --
    Thanks

    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    --
  • No.5 | | 789 bytes | |

    10/9/06, Marco Mistroni <mmistroni (AT) gmail (DOT) comwrote:
    Hello,
    i see
    in my case, my wstools (jboss) can see the Java file from which generate the
    wsdl because i am specifying it as an ant task, and i am specifying the
    classpath that's why the tool sees my interface

    check on plugin docs if there is a way to specify classpath

    Thanks for the help but I give up. I've tried to clean my code and to
    place each parameter according to docs btu plugin docs are a joke.

    I can't lose more time with this.

    I guess I'll try to use ant tasks from maven

    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.6 | | 1049 bytes | |

    so you tried to generate a set of wsdl files from your java source,
    but you ran the wsdl2java instead. is it a miss typed?
    -D
    10/11/06, Javier Leyba <xleyba (AT) gmail (DOT) comwrote:

    10/9/06, Marco Mistroni <mmistroni (AT) gmail (DOT) comwrote:
    Hello,
    i see
    in my case, my wstools (jboss) can see the Java file from which generate
    the
    wsdl because i am specifying it as an ant task, and i am specifying the
    classpath that's why the tool sees my interface

    check on plugin docs if there is a way to specify classpath
    >
    >
    >

    Thanks for the help but I give up. I've tried to clean my code and to
    place each parameter according to docs btu plugin docs are a joke.

    I can't lose more time with this.
    --
    I guess I'll try to use ant tasks from maven

    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    --
  • No.7 | | 415 bytes | |

    10/11/06, dan tran <dantran (AT) gmail (DOT) comwrote:
    so you tried to generate a set of wsdl files from your java source,
    but you ran the wsdl2java instead. is it a miss typed?

    , I've fixed this before sent my last post.

    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.8 | | 614 bytes | |

    btw, did you give 1.1-snapshot a try? it has lots bug fixes since 1.0

    10/11/06, Javier Leyba <xleyba (AT) gmail (DOT) comwrote:

    10/11/06, dan tran <dantran (AT) gmail (DOT) comwrote:
    so you tried to generate a set of wsdl files from your java source,
    but you ran the wsdl2java instead. is it a miss typed?
    >
    >
    >

    , I've fixed this before sent my last post.
    --
    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    --
  • No.9 | | 435 bytes | |

    10/11/06, dan tran <dantran (AT) gmail (DOT) comwrote:
    btw, did you give 1.1-snapshot a try? it has lots bug fixes since 1.0

    Thanks for your help but I'm now testing Ivy. I found it more
    flexible, documented and practical than Mavenby now :)

    J

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

Re: java2wsdl


max 4000 letters.
Your nickname that display:
In order to stop the spam: 2 + 1 =
QUESTION ON "Java"

EMSDN.COM