This content has been marked as final. Show 2 replies
when testing the code we found that the operation still returns a value -after further inspection it was the last successful result-.
is this the correct behavior ?
No it is not and apparently the call hasn't been made. Debug the client proxy to check if the call is made when invoking the operation binding. The operation binding does not cache values itself. However, if you read the fetched data from a VO (based on an entity) or have data displayed through an iterator then chances are that this information isn't cleared by your code
I did debug the code and made sure that the call is made and logged the error resulting from the call
as for reading the data, I read it directly from the operation binding using the getResult() method
Caused by: java.io.FileNotFoundException: Response: '404: Not Found' for url: '<the url for the web service>' at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:487) at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37) at java.net.URL.openStream(URL.java:1010) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:842) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:289) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:138)