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

Weird Axis error CF 7.0.2

Guest
Jan 23, 2007 Jan 23, 2007

Copy link to clipboard

Copied

Hi,

I'm getting the following axis error when I try to invoke a webservice, hopefully someone here have seen this before...
It seems that Axis can't write some sort of temp file in the temp folder. Any ideas?? (CF 7.0.2)

Error
--------------------------------------
Could not perform web service invocation "GetAllDomains".
Here is the fault returned when invoking the web service operation:

AxisFault
faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Server was unable to process request. --> Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\9tv05qt_.0.cs' could not be found
error CS2008: No inputs specified

faultActor:
faultNode:
faultDetail:
{ http://xml.apache.org/axis/}stackTrace:Server was unable to process request. --> Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\9tv05qt_.0.cs' could not be found
error CS2008: No inputs specified

at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown S...
Code
--------------------------------------
<Cfinvoke method="GetAllDomains" webservice="#session.basepath#/svcDomainAdmin.asmx?WSDL" returnvariable="domains">
120 : <Cfinvokeargument name="AuthUserName" value="#session.username#">
121 : <Cfinvokeargument name="AuthPassword" value="#session.password#">
122 : </cfinvoke>
123 : <Cfset domainNames=domains.getDomainNames().getString()>
.....
TOPICS
Advanced techniques

Views

501

Translate

Translate

Report

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
Advocate ,
Jan 23, 2007 Jan 23, 2007

Copy link to clipboard

Copied

Ah, I just noticed that your webservice seems to be returning a complex .NET object. CF sometimes has some problems with complex web service inputs/outputs. Make sure the WSDL is correct by pulling it up in a browser, and if so, then do a forum search on web service errors (I know I've seen a few of them lately). The following article might be helpful:

http://hcc.musc.edu/research/shared_resources/xml_complex_types_to_cf_structure_notes.cfm

(the URL ends in .cfm not sure why its getting cut off)

Votes

Translate

Translate

Report

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
Jan 24, 2007 Jan 24, 2007

Copy link to clipboard

Copied

Cool, thanks man! I think this might work!

I'm not sure why it broke, I think it might be because of the 7.0.2 update and I've seen some stuff about a axis update to 1.3... Not sure if that broke it down, but the link should push me into the good direction!

Thanks again!

Votes

Translate

Translate

Report

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
Jan 24, 2007 Jan 24, 2007

Copy link to clipboard

Copied

LATEST
Oh man!

It was a ASP.NET/IIS permission problem!
Sorry for the trouble, thanks for the help!

Votes

Translate

Translate

Report

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
Documentation