on 03-02-2009 12:20 AM
I am using SAP NW Composite Environment 7.1 SP5. I am using Adaptive Web services model and imported few webservices. All the webservice calls go through fine except one. It is very strange issue I am facing with one webservice. The webservice request goes to the external web server and it returns the HTTP response but fails setting the result in the model object. I get this exception at the execute method of the model object. I enable the log by setting
wdContext.currentRequest_FetchEventsElement().modelObject()
.wdSetInvocationLogEnabled(true);
I also check the request, response log:
wdComponentAPI.getMessageManager().reportSuccess(
wdContext.currentRequest_FetchEventsElement().modelObject()
.wdGetRequestLog());
wdComponentAPI.getMessageManager().reportSuccess(
wdContext.currentRequest_FetchEventsElement().modelObject()
.wdGetResponseLog());
Here is the exception that I get:
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details.)
Any help is appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks All for the quick response. I was able to import the wsdl without any problem. Also all the webservices run very well except one. The only difference I see is response of the web service that throws exception seems to return long HTTP response compare to other web services. Is there any other settings configure for the IO exceptions in web services.
Hi Anu,
First check whether the web service is executing properly in web service navigator and if yes check whether it has for username and password?
if username and password is required , then in the code , u have to set the username and password as shown below:
wdContext.nodeRequest_ReadAllPatents().currentRequest_ReadAllPatentsElement().modelObject().setInvokerProperty(key,value);
Thanks and Regards
Hello Siva/Fazal,
Thanks for the quick response. Actually it is authenticated web service I already set the user id, password using invoker property. The webservice request goes to the webserver and also the webserver sends the response but after webAS receives the HTTP response for some reason it throws the exception without completing the process of setting the result, response for the model object. here is the error:
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details.)
I am not sure what is happening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
check links
/people/benny.schaich-lebek/blog/2008/01/25/real-world-composites-ii--composite-application-framework
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0988960-b1c1-2a10-18bd- dafad1412a10
hope may help you .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.