Skip to main content
Participant
August 18, 2012
Question

ColdFusion Component or Interface WebService

  • August 18, 2012
  • 1 reply
  • 540 views

Does anybody knows why I have this error?

This is working in my development environiment, but I can make it works on my production server

Any help is very well come...

____________________________________________________________________________

Could not find the ColdFusion Component or Interface WebService.wsListaMaterial.

Ensure that the name is correct and that the component or interface exists.

The error occurred in C:\inetpub\wwwroot\virtual\SubRotinas\eConsultaLM.cfm: line 84
82 : <cfif Parm1 eq "LeLM" AND (Len(wPartNumber) GT 1)>
83 :     <cfinvoke component="WebService.wsListaMaterial" method="RevisaoAtual" returnvariable="Resultado">
84 :         <cfinvokeargument name="PartNumber" value="#wPartNumber#">
85 :     </cfinvoke>
86 :  <cfset wListaMaterialId = Resultado.ListaMaterialId>

This is the way I register the web service

_______________________________________________________________________________

Active ColdFusion Web Services
Actions  Web Service Name  WSDL URL
 
wsListaMaterial http://127.0.0.1/virtual/webservice/wsListaMaterial.cfc?WSDL

This topic has been closed for replies.

1 reply

p_sim
Participating Frequently
August 22, 2012

Create a mapping to the Web Service on CF Admin.