Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Unable to register web service in CF 7

Guest
Apr 06, 2009 Apr 06, 2009

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!

973
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 06, 2009 Apr 06, 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)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 06, 2009 Apr 06, 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().

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 08, 2009 Apr 08, 2009
LATEST

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)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources