I can not get MX 8 to return the following:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="http://developer.intuit.com/";>
        <SOAP-ENV:Body>
                <ns1:authenticateResponse>
                        <ns1:authenticateResult>
                                
<ns1:string>15c9ce293bd3f41b761c21635b14fa06</ns1:string>
                                <ns1:string></ns1:string>
                        </ns1:authenticateResult>
                </ns1:authenticateResponse>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

I am currently using the following CFC:
<CFCOMPONENT style="RPC" namespace="http://developer.intuit.com/"; 
bindingname="http://developer.intuit.com/";>

        <cffunction access="remote" name="serverVersion" output="no" 
returntype="string">
                <cfreturn "Testing">
        </cffunction>
    
        <cffunction access="remote" name="clientVersion" output="no" 
returntype="string">
                <cfargument name="strVersion" type="string" required="yes">
  
                <cfreturn "O:2.0.0.135">
        </cffunction>
     
        <cffunction access="remote" name="authenticate" output="no" 
returntype="any">
                <cfargument name="strUserName" type="string" required="yes" >
                <cfargument name="strPassword" type="string" required="yes" >

                <cfset var arrayOut = arrayNew(1) />
                
                <cfset arrayOut[1] = session.sessionID />
                <cfset arrayOut[2] = "nvu" />           
                <cfreturn arrayOut>
         </cffunction>
</CFCOMPONENT>

Which results in:

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <ns1:authenticateResponse 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:ns1="http://developer.intuit.com/";>
   <authenticateReturn soapenc:arrayType="xsd:anyType[2]" 
xsi:type="soapenc:Array" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>
    <authenticateReturn 
xsi:type="soapenc:string">OPENBIZSERVICES_1100_fc628b1a724586e2-0388B878-E314-91DC-18B3413A8704776F</authenticateReturn>
    <authenticateReturn xsi:type="soapenc:string">nvu</authenticateReturn>
   </authenticateReturn>
  </ns1:authenticateResponse>
 </soapenv:Body>
</soapenv:Envelope>


How can I fix this?

Andy 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322129
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to