Skip to Content
author's profile photo Former Member
Former Member

Consuming a web service within a repository service

Is it possible to consume a web service within a custom KM repository service ? If so, please provide an overview of how I might accomplish this within the NWDS.

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 29, 2007 at 09:38 AM

    Hi David,

    Two answers:

    (a) Yes, of course this is possible, there is no technical restriction. For your convenience, you can create a portal service from a WSDL file, see https://fortress.wa.gov/dop/portal/irj/portalapps/com.sap.portal.pdk.util.developmenttools/docs/newportalservicefromwsdl.html for details (not really up to date, but in case of questions, also check http://help.sap.com/saphelp_nw04/helpdata/en/df/a08340d990ce62e10000000a155106/frameset.htm and around). This way, you can access the portal service as a proxy to the webservice and have the WS-implementation seperated.

    (b) Consider performance impacts!!! Depending on the event you are listening to, this can very easily lead to serious problems. At least, consider caching possibilities...

    Hope it helps

    Detlev

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi David,

      At least I would recommend against it if the portal is seriously used with heavy load. An alternative (maybe) could be to accumulate the info over an hour, memorizing this in a small DB for example (something very fast!), and have a SchedulerTask to push the data to the third party system every hour, for example.

      Hope it helps

      Detlev

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.