What is the difference between wscompile and wsimport. Can you please let me know when to wscompile. I normally use wsimport to get all ws artifacts from wsdl. I am confused when to use wscompile?
What is the difference between wscompile and wsimport?
2.7k Views Asked by Loks At
2
There are 2 best solutions below
0
Murtaza Khursheed Hussain
On
The tool wsimport works on a WSDL file which is an XML document describing the web service. The tool wsimport does not care to the style of the service (RPC/DOCUMENT) as described in the WSDL. If the WSDL has RPC-style, it will generate the client stubs for consuming RPC-style web services and similarly for document-style.
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in WEB-SERVICES
- couldn't copy pdb file to another directory while consuming wcf web service
- .net rest service with JSON string and consumed with java client
- How to send Rest GET request that contains "#" value in url parameters?
- Looking the Method that MANUALLY INSTALL PHP on OSX Yosemite
- How to use @queryparam when using array in Java
- How to accept cookies when using a webservice - Android?
- zend soap server reading xml attributes
- Web Service Error path property must set before calling the send method
- Error with kSOAP2
- JAX-RS service response is returning double fields without decimal places
- How can I call a ASP.Net webservice using AJAX without calling controller
- Generate clients for multiple WSDL files and place it in different package through Spring Gradle
- File upload in AXIS2 webservice
- How to route by call method in proxy with WSO2?
- fetch data from web service to dataset in Delphi
Related Questions in JAX-WS
- Method invocation failed when throwing exception from web service
- JAX-WS WebService via CXF provides inaccurate wsdl
- Not finding RequestParams with Rest service
- Javamail ClassCastException when sending multipart messages
- Error invoking SOAP service "No binding operation"
- Calling java webservice from Android using ksoap2: parameters are all null
- Create Enveloped Signature with CXF and WSS4J
- How to expose custom object in web service
- SpringBeanAutowiringSupport vs WebApplicationContextUtils
- spring+jaxws: is there a better way than static variables to keep global status?
- Is it possible to use Jax-WS with a Generic interface?
- How to configure Jax-WS with Spring 3 using annotations only?
- Setting SSL for JAX-WS Client
- Calling Perl script from Java (JAX-WS in Eclipse)
- JaxWsProxyFactoryBean instantiation exception
Related Questions in JAX-RPC
- How to print SOAP message version of JAX-RPC service in websphere
- Is J2EE 1.3 in End of Life stage?
- How to determine if a Java web service is JAX-WS or JAX-RPC
- com.sun.jersey.api.client.ClientHandlerException:
- What is the difference between wscompile and wsimport?
- JAX- RPC : Getting error "org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element"
- Soap client cannot connect to web service after bea weblogic deployment
- wscompile JAX-RPC generates Calendar object instead of Date
- Consuming overloaded methods in a .Net Webservice from Java
- JAX-RPC 1.1 and Holder class
- Cannot start Netbeans 8.0.1 after JAX-RPC Web Services plugin installation
- Call C# WCF web service from Java using JAX-RPC
- IBM WebSphere JAX-RPC Client Compression
- Spring WS - JaxRPC - Web service response
- Complex type with single array element throws marshalling exception
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As per my information, JAX-WS has simplified the development of Web Service clients when compared to JAX-RPC. Both technologies have a tool for importing a WSDL to generate client side artifacts. JAX-RPC's tool is wscompile, JAX-WS' tool is wsimport.
The advantage of JAX-WS clients over JAX-RPC clients is portability. JAX-WS generates portable artifacts at much higher percentage, while JAX-RPC generated artifacts are not all portable.