File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 39547
    
  27
That looks like a server-side message, so you should take a look at the server logs where there may be more information.


Ping & DNS - updated with new look and Ping home screen widget
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.
 
Consider Paul's rocket mass heater.
 
subject: An access occurred that is not valid
 
Similar Threads
complextype with Axis2
Need help in writing WebService client using XMLBeans
XmlException on calling WSDL2Java
XMLSpy won't work with our AXIS2 WSDL but our system works with it fine
Axis2 POJO web service - wsdl generating xs:anyType