This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Web Services and the fly likes An access occurred that is not valid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "An access occurred that is not valid" Watch "An access occurred that is not valid" New topic
Author

An access occurred that is not valid

rakesh kumar nampally
Ranch Hand

Joined: Feb 03, 2007
Posts: 46
Dear All,

I have written a web service which serves some functionality and throws the custom exception in case of any exceptions in the flow.

When i remove the custom exception in exposed services signature and handle it internally in implementation its working fine (testing it with SOAPUI plugin integrated with eclipse). When I declare my signature of method with custom exception my service is not getting called.

getting following exception as response:



dont know why. here is my service declaration



and my here how my wsdl looks like



My Custom Exception extends java.lang.Exception

Any help is greatly appreciated


thanks & regards, Rakesh
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
That looks like a server-side message, so you should take a look at the server logs where there may be more information.
rakesh kumar nampally
Ranch Hand

Joined: Feb 03, 2007
Posts: 46
Thank You for quick reply, but here i couldnt find any server side logs - what i found is its not even hitting the service.

Deploying it in Axis2 container.

Please suggest any better way of debugging.
 
 
subject: An access occurred that is not valid