wsimport - to generate JAVA files from WSDL
If you go to your java installation folder/bin dir you can see wsimport tool.
This tool generates proxy classes from WSDL file. Using the proxy classes we can write our client application.
you can find wsimport--> C:\Program Files\Java\jdk1.6.0_07\bin
command to use wsimport :
generating code...
org\tempuri\ExecutePSApplication.java
org\tempuri\ExecutePSApplicationResponse.java
org\tempuri\IMIPService.java
org\tempuri\ImportXMLDataTransactionService.java
org\tempuri\ImportXMLDataTransactionServiceResponse.java
org\tempuri\MIPService.java
org\tempuri\ObjectFactory.java
org\tempuri\package-info.java
com\prdcinfotech\types\AcknowledgeType.java
com\prdcinfotech\types\MIPExecuteRequest.java
com\prdcinfotech\types\MIPExecuteResponse.java
com\prdcinfotech\types\ObjectFactory.java
com\prdcinfotech\types\RequestBase.java
com\prdcinfotech\types\ResponseBase.java
com\prdcinfotech\types\package-info.java
com\microsoft\schemas\_2003\_10\serialization\ObjectFactory.java
com\microsoft\schemas\_2003\_10\serialization\arrays\ArrayOfstring.java
com\microsoft\schemas\_2003\_10\serialization\arrays\ObjectFactory.java
com\microsoft\schemas\_2003\_10\serialization\arrays\package-info.java
C:\Program Files\Java\jdk1.6.0_07\bin>
This tool generates proxy classes from WSDL file. Using the proxy classes we can write our client application.
you can find wsimport--> C:\Program Files\Java\jdk1.6.0_07\bin
command to use wsimport :
C:\Program Files\Java\jdk1.6.0_07\bin>wsimport -keep -verbose http://abcdsvr08.
rd.com:82/MIIPIService.svc?wsdl
parsing WSDL...
rd.com:82/MIIPIService.svc?wsdl
parsing WSDL...
generating code...
org\tempuri\ExecutePSApplication.java
org\tempuri\ExecutePSApplicationResponse.java
org\tempuri\IMIPService.java
org\tempuri\ImportXMLDataTransactionService.java
org\tempuri\ImportXMLDataTransactionServiceResponse.java
org\tempuri\MIPService.java
org\tempuri\ObjectFactory.java
org\tempuri\package-info.java
com\prdcinfotech\types\AcknowledgeType.java
com\prdcinfotech\types\MIPExecuteRequest.java
com\prdcinfotech\types\MIPExecuteResponse.java
com\prdcinfotech\types\ObjectFactory.java
com\prdcinfotech\types\RequestBase.java
com\prdcinfotech\types\ResponseBase.java
com\prdcinfotech\types\package-info.java
com\microsoft\schemas\_2003\_10\serialization\ObjectFactory.java
com\microsoft\schemas\_2003\_10\serialization\arrays\ArrayOfstring.java
com\microsoft\schemas\_2003\_10\serialization\arrays\ObjectFactory.java
com\microsoft\schemas\_2003\_10\serialization\arrays\package-info.java
C:\Program Files\Java\jdk1.6.0_07\bin>
Comments
Post a Comment