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.1in>wsdl2java -uri mywsdlurl -o client -p somepackage -d xmlbeans -s -t -ssi
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…