Skip to Content
0
Former Member
Jan 15, 2008 at 03:19 PM

Consuming a webservice using Webservice model in Webdynpro

20 Views

Hi all,

I am working on a scenario where in XI is used for calling Remote Function Module of R3 system using SOAP

My XI Consultant has implemented SOAP to RFC scenario in XI succesfully and generated the WSDL file in XI.

I got that WSDL file and saved locally on my desktop.

I created a Webservice model based on the local WSDL file and then gave necessary inputs and also included the following code for the SOAP call to happen

wdContext.currentRequest_Soap2Rfc_Ob_MiElement().modelObject().execute();

wdContext.nodeResponse().invalidate();

wdContext.nodeRes_Mt().invalidate();

When I tried to give input data and click on submit it is calling the model object execute method and is throwing the following exception

Exception on execution of web service with WSDL URL 'C:\Documents and Settings\aljsed01\Desktop\soap2rfc_ob_mi.wsdl' with operation 'soap2rfc_ob_mi' in interface 'soap2rfc_ob_mi'

Does any have any idea about this?

Should I require some more steps to do?

Anyhelp in this regard is highly appreciated

Regards,

Santhosh