House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Error register asp net web service in ColdFusion 7 admin

Author:
Hong Chen
06/03/2009 08:29 AM

Here is my code: <!--- ready test.txt file into a binary variable ---> <cffile action="readBinary"   file="#FileName#" variable="objBinaryData"> <!--- convert the binary variable to Base64 --->   <cfset b64file = #toBase64(objBinaryData)#> <!--- invoke .net web service ---> <cfinvoke webservice =  "http://xxxx/fileservice.asmx?wsdl"   method = "UploadFileBasic"         returnVariable = "recordNumber">   <cfinvokeargument name="trimURL" value="trim/trimWSdev/trim.asmx" />       <cfinvokeargument name="incomingArray" value="#b64file#" />       <cfinvokeargument name="FileName" value="#form.FILENAME#" />   <cfinvokeargument name="TrimRecordTypeName" value="Document" /> </cfinvoke> The way I pass in the base64 binary variable is probably not right. But I thought if the web service can not register in CF admin, there must be some problem. Thanks, Hong > I got the "Could not generate stub objects for web service invocation."as I > posted before when I directly invoke the web service without pre register it > in CF Admin. Based on your original error: > Could not generate stub objects for web service invocation. > Name: http://xxxx/xxx.asmx?wsdl. WSDL: http://xxxx/xxx.asmx?wsdl. > org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The element type > "META" must be terminated by the matching end-tag " it looks like there's a problem with the file that CF's bringing back. Can you post a copy here? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information!


Search cf-talk

March 22, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31