Peter,
I ran into the same error.  However it didn't work with 6.1 or 7 while
using CFInvoke.  I ended up using Mindreef SOAPscope
(http://www.mindreef.com/products/soapscope/index.php) to get extract
the header and body information.  Then I used that information to
manually consume the webservice.  Here is an example:
<cfsavecontent variable="OT_XML_for_Defect_List">
        <cfoutput>
                <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
                        <soapenv:Body>
                                <tns:GetAllDefectsWithNames
xmlns:s1="http://microsoft.com/wsdl/types/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:tns="http://axosoft.com/ontime/webservices/";>
        
<tns:securityToken>#request.ot_securityToken#</tns:securityToken>
                                </tns:GetAllDefectsWithNames>
                        </soapenv:Body>
                </soapenv:Envelope>
        </cfoutput>
</cfsavecontent> 
                
<cfhttp
url="http://204.115.251.11/OnTime2006SDK/DefectService.asmx?wsdl";
method="post">
        <cfhttpparam name="Content-Type" type="HEADER" value="text/xml;
charset=UTF-8">
        <cfhttpparam name="Content-Length" type="HEADER"
value="#len(OT_XML_for_Defect_List)#">
        <cfhttpparam name="attachedDocument" type="body"
value="#OT_XML_for_Defect_List#">
</cfhttp> 
<cfset OnTime_DefectList_Response=#xmlparse(cfhttp.FileContent)#>

Hope that helps.
Aaron

-----Original Message-----
From: Peter Legg [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 19, 2006 2:41 PM
To: CF-Talk
Subject: CFMX 6.1 - Problem consuming a .NET 2.0 web service

Hi, everyone - 

I'm trying to consume a .NET web service and I'm getting the following
error (excerpted):

Could not perform web service invocation "VetsAuthenticate" because
AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}VersionMismatch faultSubcode:
faultString: Possible SOAP version mismatch: Envelope namespace
http://www.w3.org/2002/12/soap-envelope was unexpected. Expecting
http://schemas.xmlsoap.org/soap/envelope/. faultActor:

It has to do with the SOAP version but I just can't find a workaround.
Any ideas?  A colleague has successfully done this with CFMX 7.  Do I
need to upgrade to 7 or is there a patch for 6.1?

Thanks, Peter



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244220
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to