Re: [Axis2] Migration from Axis 1.4 to Axis2 1.7.5
"robertlazarski ." <[email protected]>
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CABpPLBX-jSkXqQtMcOtTMvvUgyv4uOF-rJQ_42P2nhHFT45PPQ@mail.gmail.com> |
On Mon, Jul 24, 2017 at 10:34 AM, Jon Wong <[email protected]> wrote: > Thank you for the helpful response Robert. I managed to generate my classes with the Wsdl2Java without an extra "E" at the end by making modifications to my Wsdl. > > I still have some questions about embedding Axis2 into an existing application and deploying it. I have followed steps outlined here: https://axis.apache.org/axis2/java/core/docs/quickstartguide.html and generated an .aar file using the command mvn axis2-aar:aar and would like to embed that into a .war file. > > I am building the .war file through Maven and placing the .aar file into webapps/WEB-INF/services/ directory. Are the .mar files necessary in this case? When importing the WSDL with SOAP UI and testing out the operations I have defined, I am receiving a 500 Error. What would be a good debugging strategy in this scenario? > > Any feedback or advice would be highly appreciated. > > Thank you, > > Jonathan Wong No mar files required (unless by Soap UI you mean the soap monitor) though you may require a version.aar, included in the axis2 binary distro, in your services dir ... at one point it was required, not sure in the latest release so I include it anyways. Look at the logs for the stack trace that caused the 500 error, if in doubt post the entire stack trace in a response to this email thread.