cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming a WebService in JSP DynPage - How To get a KEY

Former Member
0 Kudos

Hi Friends,

YourServiceName obj=(YourServiceName) PortalRuntime.getRuntimeResources().getService(YourServiceName.KEY);

For What this KEY is mentioned.

From where we will get this key.

Please let me know.

Thanks in Advance.

Regards,

Palani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Palani,

When you use wsdl in your portal application, the NWDS by default it will create one interface and one java program in your project. You just look into your application, there you can see the src.api and src.core folders. Just check under the src.api, you will see the interface with the KEY value and in the src.core, you can find the java implementation program. In this case, you are not going to give the KEY value. So no need worry about this KEY value. Suppose, if you want to give the KEY value, goto the interface and change the KEY value as your wish, but it should be unique value, say for example, <b>"com.webservice.componentName"</b>.

Regards,

Hemalatha