I have a third party WSDL, I need to write code in JAVA for a web service client to invoke the operations in the third party WSDL. Right now, I have generated the client stub using the WSDL2JAVA tool from Axis and used the XMLbeans for data binding.
- What is the best approach to do this JAVA?
- I read about SAAJ, looks like that will be more granular level of approach?
- Is there any other way than using the WSDL2Java tool, to generate the code. Maybe
wsimport
in another option. What are the pros and cons? - Can someone send the links for some good tutorials on these topics?
- What are the options we need to use while generating the code using the WSDL2Java?
I used some of the basic things initially. Now I have these options
C:\axis2-1.5.1\bin>wsdl2java -uri mywsdlurl -o client -p somepackage -d xmlbeans -s -t -ssi
Thanks in advance!