Skip to main content
April 7, 2009
質問

Unable to register web service in CF 7

  • April 7, 2009
  • 返信数 1.
  • 996 ビュー

I am unable to register a web service on admin without providing a username/password. the ws works well enough on other systems without even providing the username/password.

Any replies will be appreciated. thanks!

    このトピックへの返信は締め切られました。

    返信数 1

    Charlie Arehart
    Community Expert
    Community Expert
    April 7, 2009

    @vsuri, first, do you realize that you don't need to "register" a web service at all? The admin interface feature is populated when you call a web service in CFML (using CFINVOKE, CFOBJECT, or createObject) to invoke it. The fact that it shows up in the admin is generally not even noticed by most. It's not something you NEED to do, if you're having an issue.

    That said, if you try to invoke it, are you also required to provide a username/password? That would be odd, if calling it from other systems.

    /charlie

    /Charlie (troubleshooter, carehart. org)
    April 7, 2009

    Well Charlie, I am fully aware that we do not need to register a web service for consuming it. I have a pool of web services to manage so I assume admin to be the best place to maintain them seeing on a broader perspective.

    I am on a windows NT system and I want to register this service through admin, though it runs absolutely fine if I do a createObject().

    Charlie Arehart
    Community Expert
    Community Expert
    April 8, 2009

    Wow, that's interesting (that you can invoke the web service without a username/password in CFML, but can't register it in the Admin).

    Still, I want to understand what makes you want to do that (register it in the admin). You say, "I have a pool of web services to manage so I assume admin to be the best place to maintain them seeing on a broader perspective." I'm not sure what you mean by that.

    Besides a little more explanation, I'd still ask: if you can't get around this (not saying that it should fail, but just if it can't be resolved), do you at least agree that you don't NEED to define the web services this way to use them. In fact, the opposite is true: if you invoke them in CFML (whether with createobject/cfobject/cfinvoke) that will populate this Admin page for each web service that's invoked, so you could "get around" the problem and have all your web services listed this way, for whatever value that offers.

    But yes, it seems it should work the way you want to. I'm not denying that.

    Just trying to help.

    /charlie

    /Charlie (troubleshooter, carehart. org)