Skip to Content
Former Member
Sep 06, 2007 at 10:30 AM

While Consuming a WebService in JSP Dyn Page - There is an Error


Hi Friends,

I have a web service created in ASP.NET web Service.

And I have Consumed the Web Service using WSDL URL.

I need to write a code to refer that class in the JSP DynPage

I have created like this in DoIntialization

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

int a = 10;

int b = 20;


but it shows an error

"The method Add1 Method(Add1 Method) is the type. MySErviceName is not Applicable for the arguements(int,int)"

Please Help me in this regard.

Thanks in Advance

Thanks & Regards,