I have a third-party WSDL, I need to write code in JAVA for a web service client to invoke operations in a third-party WSDL. Right now, I created a client stub using the Axis WSDL2JAVA tool and used XMLbeans to bind data.
- What is the best approach for this JAVA?
- I read about SAAJ, it looks like this will be a more granular approach level?
- Is there any other way than using the WSDL2Java tool to generate code. Maybe
wsimport in another version. What are the pros and cons? - Can someone post links for some good guides on these topics?
- What parameters do we need to use when generating code using WSDL2Java?
At first I used some of the basic things. I now have these options
C:\axis2-1.5.1\bin>wsdl2java -uri mywsdlurl -o client -p somepackage -d xmlbeans -s -t -ssi
java jax-ws wsdl2java webservice-client axis2
Java Guy Aug 27 2018-10-10T00: 00Z
source share