• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error while testing Web Service.

 
Ankita Agarwal
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.
404
Not Found"

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.

Thanks ,
Ankita
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
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.
Best wishes!
 
Ankita Agarwal
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ivan,

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.

Thanks ,
Ankita.

 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
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.
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic