Hi Dan,

Yes, i did what ever you suggested.
No Error its showing.  Nothing converting wsdl2java. 

its showing normal compilation errors.




dan tran wrote:
> 
> Did you try out the suggestion Iprovided? what is the error? it is hard to
> help you without
> knowing what is the error is ;-)
> 
> 
> On 10/18/06, tulasi <[EMAIL PROTECTED]> wrote:
>>
>>
>> Actully i have xml files contain wsdl file location, path. First Read xml
>> file, from thr its will converts to java and it compile.
>>
>> I have checked for configuration with axistool. but i could n't able to
>> find
>> out.
>>
>> At the worst cased i moved Ant-run plugin.
>>
>>
>>
>>
>>
>> dan tran wrote:
>> >
>> > what is the problem with axistools-maven-plugin?
>> >
>> > On 10/18/06, tulasi <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hi,
>> >>
>> >> I tried with axistools-maven-plugin. but its not converting to java
>> >> files.
>> >> I
>> >> have shifted to maven-antrun-plugin
>> >>
>> >> while Compiling  WSDL files i am getting following error.
>> >>
>> >> generate-mapping-crypto:
>> >> [wscompile] error : com.sun.tools.javac.Main is not available in the
>> >> classpath..
>> >> [wscompile] error: compilation failed, errors should have been
>> reported
>> >> [wscompile] Command invoked: wscompile C:\jdk1.5.0_03\jre\bin\java.exe
>> >> -classpath
>> >> E:\mvn-j4\cs-sso\lib\FastInfoset.jar;E:\mvn-j4\cs-sso\lib\GLUE-STD.jar
>> >> ;E:\mvn-j4\cs-sso\lib\activation.jar;E:\mvn-j4\cs-sso\lib\jaxrpc-
>> api.jar
>> >> ;E:\mvn-j4\cs-sso\lib\jaxrpc-impl.jar;E:\mvn-j4\cs-sso\lib\jaxrpc-
>> spi.jar
>> >>
>> ;E:\mvn-j4\cs-sso\lib\jsr173_api.jar;E:\mvn-j4\cs-sso\lib\mail.jar;E:\mvn-j4\cs-sso\lib\saaj-
>> >> api.jar;E:\mvn-j4\cs-sso\lib\saaj-impl.jar
>> ;E:\mvn-j4\cs-sso\lib\sjsxp.jar
>> >> com.sun.xml.rpc.tools.wscompile.Main -d E:\mvn-j4\cs-sso\classes
>> >> -gen:client
>> >> -Xprintstacktrace E:\mvn-j4\cs-sso\temp\config-crypto.xml
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Error executing ant tasks
>> >>
>> >> Embedded error: The following error occurred while executing this
>> line:
>> >> E:\mvn-j4\cs-sso\sso-build.xml:76: wscompile failed
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] For more information, run Maven with the -e switch
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Total time: 7 seconds
>> >> [INFO] Finished at: Wed Oct 18 14:28:07 GMT+05:30 2006
>> >> [INFO] Final Memory: 5M/10M
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >>
>> >>
>> >> and I have configures my pom as
>> >>
>> >>            <plugin>
>> >>                    <artifactId>maven-antrun-plugin</artifactId>
>> >>                    <executions>
>> >>                      <execution>
>> >>                        <phase>generate-sources</phase>
>> >>                        <goals>
>> >>                          <goal>run</goal>
>> >>                        </goals>
>> >>                        <configuration>
>> >>                          <tasks>
>> >>                            <ant inheritRefs="true"
>> >> antfile="sso-build.xml"
>> >> dir="${basedir}">
>> >>                            </ant>
>> >>                          </tasks>
>> >>
>> >> <sourceRoot>${project.build.directory
>> }/generated-sources/java</sourceRoot>
>> >>                        </configuration>
>> >>                      </execution>
>> >>                    </executions>
>> >>        </plugin>
>> >>
>> >> and I have enclosed my build.xml
>> >>
>> >> http://www.nabble.com/file/3733/sso-build.xml sso-build.xml
>> >>
>> >> Where was i m the wrong.  please help me
>> >>
>> >> thanks in advance.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> dan tran wrote:
>> >> >
>> >> > 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]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/maven-wsdl2java-tf2458959.html#a6872093
>> >> 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#a6876436
>> 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#a6877257
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