1 Replies - 1583 Views - Last Post: 10 August 2011 - 08:04 AM Rate Topic: -----

#1 sattua  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 83
  • Joined: 20-March 08

coldfusion aspx

Posted 10 August 2011 - 07:51 AM

I not sure where to post this but I like coldfusion much.

anyway: I trying to access aspx some fuction, at first I used a web service, but in coldfusion 6, i got this problem:

Could not perform web service invocation "WriteInboxPlainTextMessage" 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: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace: 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: faultNode: faultDetail: Possible SOAP version mismatch: Envelope namespace http://www.w3.org/2002/12/soap-envelope was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/. at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169) at org.ap... 



=/, well, now I'm trying to send the data using the cfhttp tag, but i'm so sure how to do it:

and I'm sure how to work the aspx side (i know this is the cold fusion forum). I tried this

<cfhttp url="http://myside/page.asp?data=info" method="post">
   <cfhttpparam type="formfield" name="id" value="id">
   <cfhttpparam type="formfield" name="password" value="pass">
</cfhttp> 



now, where do I but de c# code in the aspx that is gonna receive the data? in the aspx? or CodeFile behind the aspx?

haha well I have a lot of questions =P

thanks...

Is This A Good Question/Topic? 0
  • +

Replies To: coldfusion aspx

#2 Craig328  Icon User is offline

  • I make this look good
  • member icon

Reputation: 1912
  • View blog
  • Posts: 3,444
  • Joined: 13-January 08

Re: coldfusion aspx

Posted 10 August 2011 - 08:04 AM

The problem you're having, most likely, is that CF 6.1 supported SOAP 1.1 and the web service you're calling is likely SOAP 1.2 (the clue is the "Possible SOAP version mismatch" line in the ensuing error dump).

CF 6.1 is old tech, sattua. You'd need to contact the sponsor of the web service you're trying to access and ask them if they have a SOAP 1.1 version you can query. Either that, or look into upgrading CF.

If the cost is an issue, there are open source versions of CFML in OpenBD and Railo.

This post has been edited by Craig328: 10 August 2011 - 08:05 AM

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1