This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am running examples from Ivan's guide : Calculator service and String Processor.
For both of the services i did testing by right clicking the WSDL file and selecting Web Services → Test with Web Services Explorer. I am getting the Web Service Explorer page but after giving inputs i m not getting any output. Instead i m getting this status:
"IWAB0135E An unexpected error has occurred.
I am unable to see any request or response message and output in console.
I am using Eclipse3.1 and Glassfishv3 prelude.
Please anyone explain me.
Are you able to access the WSDL of the web service from a browser?
If not, then the error is probably caused by the web service not having been deployed correctly.
Please try to redeploy and pay special attention to the server log when you are deploying.
Joined: Nov 10, 2009
Thanks for your reply.
Im able to access WSDL through browser.Also I have redeployed the application .Still it is not working.
It seems I have missed out something .
Sysout statements in my Calculator class are also not getting printed .
My Calculator class resides in the pkg: com.myws.Calculator(Does that mean that service is not getting invoked.)
Do I have to give this somewhere in the WSDL.
Joined: Oct 04, 2006
Have you tried following the example in the document without changing anything?
If not, I advise you to do that and, once you have that working but not until then, start changing things.