Skip to Content
author's profile photo Former Member
Former Member

Consuming a webservice using Webservice model in Webdynpro

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2008 at 04:18 PM

    you need to set _user and _password before execution.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2008 at 04:13 PM

    you need to set _user and _password before execution.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.