cancel
Showing results for 
Search instead for 
Did you mean: 

Invoke Web Service in execute method

Former Member
0 Kudos

Hi,

can we execute web service in Web Dynpro execute method?

Because I have an exception :

com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL : ...

That same piece of code work fine when it is implementated in other method.

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi aiwei,

Can u please send the complete stack trace for the exception u got? If u have created the execute method using apply template->service controller, then u use that method for executing the webservice model.

regards

Sumit

Former Member
0 Kudos

Thanks. I found my error. It occurs in the web services.

It is hard to debug. Is there way to print the error included in the web services?

As the web services do include error code to denote error but it cannot be printed out? Or is there certain way that the error code have to be added?

Former Member
0 Kudos

Hi,

Make use of logging using log4j.

or else make use of System.out.println to a file .

Regards

Ayyapparaj

Former Member
0 Kudos

Thanks. So Log4j can be imported to the DC ?

Where does the Logger such as com.sap.tc.logging.Location logger log to? Can it log to a file?