use *-or* to overwrite .

 wsdl2java.sh *-or* -uri http://192.168.1.3:9763/services/HelloService?wsdl
<http://192.168.1.3:9763/services/HelloService?wsdl>

-Ajith

On Wed, Feb 4, 2015 at 4:47 AM, Irham Iqbal <[email protected]> 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
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  [email protected]
Mobile : +1-812-360-5335
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to