cancel
Showing results for 
Search instead for 
Did you mean: 

Error while implementing a web service in web dynpro application

neha_mahanty
Active Participant
0 Kudos

HI All,

I am trying to use a webservice in a web dynpro application.

Web service description:- This is a very simple application which takes two String inputs and when submitted displays the string in the concatenated form.

Web dynpro:- I used this web service in the web dynpro as an adaptive web service model.

The Layout design consists of two input fields which are mapped to the request fields

ex : - Request_Add.Add.S1 and Request_Add.Add.S2

A text area to display the response:- Request_Add.Response.AddResponse.Response

And a button which invokes the execute method

public void onActionWebserviceCall(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )

{

//@@begin onActionWebserviceCall(ServerEvent)

wdThis.wdGetWebserviceCompController().executeRequest_Add();

//@@end

}

When I am trying to run the application I am getting error:-

Exception on execution of web service with WSDL URL 'http://<Host>:<Port>/EjbWebservice/Config1?wsdl' with operation 'add' in interface 'EjbWebserviceVi_Document'

Kindly reply.

Thanks

Neha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

have you tested the Webservice using wsnavigator?

Regards

Ayyapparaj

neha_mahanty
Active Participant
0 Kudos

Hi,

Yes I have tested the web service in Navigator . The WSDL is also properly generated.

I have not publish the web service in UDDI but as per my understanding this is not necessary. please correct me if I am wrong.

Thanks

Neha