NAME
Java2WSDL.sh or Java2WSDL.bat - Generates the appropriate WSDL file for a given java class.
These scripts can be found under the bin directory of the Axis2 distribution.
SYNOPSIS
Java2WSDL.sh [OPTION]... -cn <fully qualified class name>
DESCRIPTION
Given a java class generates a WSDL file for the given java class.
-o <output location> output directory
-of <output file name> output file name for the WSDL
-sn <service name> service name
-l <soap address> address of the port for the WSDL
-cp <class path uri> list of classpath entries - (urls)
-tn <target namespace> target namespace for service
-tp <target namespace prefix> target namespace prefix for service
-stn <schema target namespace> target namespace for schema
-stp <schema target namespace prefix> target namespace prefix for schema
-st <binding style> style for the WSDL
-u <binding use> use for the WSDL
-nsg <class name> fully qualified name of a class that implements NamespaceGenerator
-sg <class name> fully qualified name of a class that implements SchemaGenerator
-p2n [<java package>,<namespace] [<java package>,<namespace]...
java package to namespace mapping for argument and return types
-p2n [all, <namespace>] to assign all types to a single namespace
-efd <qualified/unqualified> setting for elementFormDefault (defaults to qualified)
-afd <qualified/unqualified> setting for attributeFormDefault (defaults to qualified)
-xc class1 -xc class2... extra class(es) for which schematype must be generated.
-wv <1.1/2.0> wsdl version - defaults to 1.1 if not specified
-dlb generate schemas conforming to doc/lit/bare style
EXAMPLES
Java2WSDL.sh -cn ../samples/test/searchTool.Search
Java2WSDL.sh -cn ../samples/test/searchTool.Search -sn search
Java2WSDL.sh -cn ../samples/test/searchTool.Search -u -sn search
Java2WSDL.sh -cn ../samples/test/searchTool.Search -sn search -o ../samples/test/wsdl
Wednesday, October 12, 2011
Java2WSDL Reference
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2011
(120)
-
▼
October
(29)
- Using Java to Handle Custom WSDL Data Types
- Parse WSDL effectively
- Create SOAP Request with Java
- Parsing WSDL with Java
- Understanding WSDL - Basics
- Java - Simple Iterator
- Java - Traversing a map
- Creating SOAP Message Handlers in 3 Simple Steps -...
- Adding a new library to NetBeans
- JQuery
- Planning to Build vs. Building the Plan
- Project Workplan
- 7 Tips for Improving the Daily Scrum
- Hide div and the white space it occupies
- Manually Deploy JAX-WS Web Service on Tomcat - Per...
- Web Service Client - Eclipse
- Axis2 RPC Support
- WSDL to JAVA and Axis2
- Web Service Style Types
- Web Services with Complex Data Type
- WSDL2Java Reference
- Java2WSDL Reference
- Axis2 Web Service and Client - Perfect Tutorial
- Determining if an Object is of primitive type
- Associative arrays
- axis2 - Simpe Hello World Service
- Java - getting type of Object
- WSDL - Complex Data Types
- Java - Hash Map Example
-
▼
October
(29)
No comments:
Post a Comment