cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming Webservice in EJB project

Former Member
0 Kudos

Dear All,

I have a requirement to consume Webservices using EJB DC in CE 7.1 SP11.

I have WSDL file and imported to my EJB DC and generated the proxy.

While generating the proxy, the service definition created - /LocalDevelopmentLocalDevelopmentejb(2fpmm_sevice~demo.sap.com/src/wsdl/ABCD_WSDLFile.wsdl

I have a stateless session bean "WSExecutionBean" and a method "executeABCServices" for executing the webservices.

{

@Stateless(name = "WSExecutionBean")

public class WSExecutionBean implements WSExecutionLocal {

@WebServiceRef(name= "ABCD_WSDLFile")

ABCD_WSDLFile service;

public HashMap<String, Object> executeABCServices()

}

My Question is:

1. How can I invoke the executeABCServices from Java DC?

2. How can I configure the runtime system for webservice in NWA? for example, if I want to connect to development or production webservice system, how can I configure?

Please suggest me.

Thanks and regards,

Patana

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor