Topic
2 replies Latest Post - ‏2008-01-25T10:43:00Z by SystemAdmin
SystemAdmin
SystemAdmin
895 Posts
ACCEPTED ANSWER

Pinned topic Implementing Web Service using Portlet Factory

‏2008-01-24T11:42:20Z |
Hi,
I'm trying to implement Web Service using Portlet factory. I have created a data service and have generated the WSDL file for it.
http://localhost:8080/TestWebService1/webengine/testwebservice1/db/DbConProvider/Action!getWSDL

Now, am creating the consumer for this service. For this I copy the Service Definition and Service Operation in a new model. In the service definition, I define the Interface Model to pint to the previously created model. On doing this, I get the following error:
"Unimplemented operation getMarketId from interface testwebservice1/db/DbConProvider"

Please help!! Am stuck and am unable to find any resolution.
Updated on 2008-01-25T10:43:00Z at 2008-01-25T10:43:00Z by SystemAdmin
  • bosox
    bosox
    48 Posts
    ACCEPTED ANSWER

    Re: Implementing Web Service using Portlet Factory

    ‏2008-01-24T18:30:19Z  in response to SystemAdmin
    Don't copy the Service Definition and Service Operation to your new model.
    Instead, add a Service Consumer builder to your consumer model. This will pick up the
    service operations you defined in the provider model. I hope that helps.
    • SystemAdmin
      SystemAdmin
      895 Posts
      ACCEPTED ANSWER

      Re: Implementing Web Service using Portlet Factory

      ‏2008-01-25T10:43:00Z  in response to bosox
      Hi,

      I did get it working in the same process. The only change I did was that I included a Web Service Call.
      The operations were then modifed to access the actions generated by the Web Service Call.

      Thanks!!