Emitter failure from a WCF Webservice

so i was attempting to hit a WCF webservice today from Coldfusion 8 written by a colleague here @ Navtrak in WCF and kept getting the following error:

Emitter failure. There is an undefined portType (thisService) in the
WSDL document http://ourdomain.com/thisAPI/ThisService.svc?wsdl=wsdl0.
Hint: make sure <binding type=".."> is fully qualified.

so, we dug a bit deeper and figured out that his SVC file did not have the following declaration at the top:

[ServiceBehavior(Namespace = "http://ourdomain.com/")]

this fixed it right up, and we are rockin and rollin' now!

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC was created by Raymond Camden. This blog is running version 5.9.2.002. Contact Blog Owner
back to my home page back to my home page my clients my resume about me navtrak - gps tracking