Skip to Content
author's profile photo
Former Member

how to use web services with Dynamic url behaviour

Hi,

IView created by me currently uses some web services whose url behavior is static but i want to give a dynamic url behavior. i.e. i want to use the url which user provides. So here are my questions

1. How I shall assign the url supplied by the user to IView?

2. If I want to set some config variables during runtimes how I shall do it?

Thanks in advance,

Vishvesh

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Feb 17, 2005 at 07:09 PM

    Hi,

    1. I'm guessing you mean the webservice's url the user provides is pointing to an identical webservice to what you used to create your proxy... otherwise I think it will be very hard to do (I can imagine creating the proxies using the wsdl tool in run time or using code dome.. but that can't be what you want, right?).

    So if what you wanted is to use the same web service with a different url, then the web service's proxy class you created has API for doing this in code! (it inherits it)

    2. you can't, simply since the portal application doesn't ever use the config file... it isn't even deployed to the portal... so dynamic properties are "out of the question" here, sorry... see 1 again 😊

    Regards,

    Ofer

    Add comment
    10|10000 characters needed characters exceeded