Hi Irham,

Did you try running command line interface as administrator ? (right click
cmd icon and click on run as administrator) I think it doesn't have
privileges to overwrite files. Also you can try axis2 wsdl2java.bat and see
if there's something wrong with wsdl2java.bat in AS pack.

Regards,

On Wed, Feb 4, 2015 at 3:17 PM, Irham Iqbal <iq...@wso2.com> wrote:

> Hi,
>
> When running wsdl2java.bat on windows as shown below i am getting the
> following result.
>
> C:\Users\wso2\Desktop\wso2as-1\bin>wsdl2java.bat -uri
> http://192.168.1.3:9763/services/HelloService?wsdl
>
> BUILD SUCCESSFUL
> Total time: 7 seconds
> Using CARBON_HOME:   C:\Users\wso2\Desktop\wso2as-1
> Using JAVA_HOME:    C:\Program Files\Java\jdk1.6.0_23
> Retrieving document at 'http://192.168.1.3:9763/services/HelloService?wsdl
> '.
> [2015-02-04 14:58:11,088]  INFO 
> {org.apache.axis2.wsdl.codegen.writer.FileWriter}
> -  The .\src\org\wso2\www\types\HelloServiceCallbackHandler
> .java file cannot be overwritten.
> [2015-02-04 14:58:11,120]  INFO 
> {org.apache.axis2.wsdl.codegen.writer.FileWriter}
> -  The .\src\org\wso2\www\types\HelloServiceStub.java file
> cannot be overwritten.
>
> But src folder is not created in bin folder.
>
> But when running the wsdl2java.sh on mac as  wsdl2java.sh -uri 
> http://192.168.1.3:9763/services/HelloService?wsdl
>
> <http://192.168.1.3:9763/services/HelloService?wsdl>creates folder
> structure with the java classes.
>
>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
>  WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to