Try

<sourceDirectory>sso/wsdl/</sourceDirectory>

Instead of Url.

BTW, 1.1-SNAPSHOT is more stable than the release 1.0

-D


On 10/17/06, tulasi <[EMAIL PROTECTED]> wrote:


ok.

I have configured like as follows:

           <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>axistools-maven-plugin</artifactId>
              <configuration>
                 <urls>
                       <url>${basedir}\sso\wsdl\ClientInfo.wsdl</url>
                 </urls>
                 <packageSpace>citistreet.sso</packageSpace>
                 <testCases>true</testCases>
                 <serverSide>true</serverSide>
                 <subPackageByFileName>true</subPackageByFileName>
              </configuration>
              <executions>
                <execution>
                  <!--phase>generate-source</phase-->
                  <goals>
                    <goal>wsdl2java</goal>
                  </goals>
                </execution>
              </executions>
           </plugin>


but i am getting following exceptiion. please check one.


org.apache.maven.lifecycle.LifecycleExecutionException: error executing
plugin
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
       at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
       at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: error executing
plugin
       at
org.codehaus.mojo.axistools.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:320)
       at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:412)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
       ... 16 more
Caused by: org.codehaus.mojo.axistools.axis.AxisPluginException: unable to
open connection for download of WSDL file from URL
E:\mvn-j4\cs-sso\sso\wsdl\ClientInfo.wsdl. Reason:
java.net.MalformedURLException: unknown protocol: e
       at

org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.downloadWSDLFromUrl
(DefaultWSDL2JavaPlugin.java:332)
       at
org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.execute(
DefaultWSDL2JavaPlugin.java:255)
       at
org.codehaus.mojo.axistools.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:316)
       ... 18 more
Caused by: java.net.MalformedURLException: unknown protocol: e
       at java.net.URL.<init>(URL.java:574)
       at java.net.URL.<init>(URL.java:464)
       at java.net.URL.<init>(URL.java:413)
       at

org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.downloadWSDLFromUrl
(DefaultWSDL2JavaPlugin.java:327)
       ... 20 more


Please give me some suggestion on this.

Thanks in advance.



dan tran wrote:
>
> check out http://mojo.codehaus.org It has both axis and jaxws
> implementations
>
> On 10/17/06, tulasi <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi all,
>>
>> How will compile .wsdl to generate java files.
>>
>>
>> Thanks in adavance
>> --
>> View this message in context:
>> http://www.nabble.com/maven-wsdl2java-tf2458959.html#a6853459
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>

--
View this message in context:
http://www.nabble.com/maven-wsdl2java-tf2458959.html#a6869320
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to