This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am new to web services technologies though know here and there.
We have an internet application, where one of the functions needs to call the web service.
1. We have the WSDL in place.
2. We are using the soapUI Pro tool where it is using Axis2 Artifcats for wsdl2java and databinding as adb. it is generating 3 java files with the build.xml.
3. We are creating a java project in Eclipse and having the 3 generated java files along with the build.xml. And compiling the 3 java files which required some of the external jar files from Axis2.
4. Then we are running the build.xml using the ANT, which generates thousands of class files (most of them are inner classes..may be due to adb databinding nature) and creates the jar file.
5. Now,we have written the client pgm to call the web service call.
6. We are able to call the web services call. THOUGH WE HAVE STILL GOT SOME ISSUES...
1. Opening the 3 generated java files causing the IDE to crash due to the memory issue. I have tried opening it in Eclipse/RAP/MyEclipse and also assigned more memory option, but still opening these java files causing the memory issue (unhandled loop execution). We want to know why this memory issue..it should not cause any issue in real env...The reason to open this file, we want to configure the endpoint dynamically and need to add some code there.
2. We are successfully able to call the web service, but some times we are not able to get the Fault Message...it is just returing the Fault and not able to get the faultCode, description to get the actual error message and it is very diffcult to know what is the actual issue for our investigation. Fault message is coming for http, whereas it is not coming for https (SSL). we have the proper trustsotre/cert..
In the client pgm we are catching AxisFault..
for http call, it is going to the catch block...for https, it is not going to the catch block.