cancel
Showing results for 
Search instead for 
Did you mean: 

Adative Web services issue

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Plz see the below thread

Former Member
0 Kudos

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.

former_member201361
Active Contributor
0 Kudos

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

former_member197348
Active Contributor
0 Kudos

Hi Anu,

Try to set all values in the mandatory tables.

Check this [wiki|https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/second+cause]

and [this|https://wiki.sdn.sap.com/wiki/display/WDJava/ExceptiononExecutionofWeb+Service]

Regards,

Siva

Former Member
0 Kudos

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.

Former Member
0 Kudos

The problem is if the wsdl file has xsd element "choice" that particular web service is not executing. SAP Help document says it doesn't support few of xsd elements and "choice" is one of it. I am wondering is there any workaround for this issue.

Thanks

Former Member
0 Kudos

Hi Bhupalam,

R u able to solve this problem? if u got the solution please let me know i am also facing the similar problem

Thanks & Regards

Swetha

former_member185086
Active Contributor
0 Kudos

Hi Anu

Please check the following threads related to external webservices it might HTTP Proxy password field is deactivated in the web service model settings.

1.[2EE Settings to access external webservice?|;

Best Regards

Satish Kumar

Former Member
0 Kudos

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 .