I'm trying to set up webservice call in Cairngorm, but getting null pointer runtime error. Any ideas?:

<?xml version="1.0" encoding="utf-8"?>
<cairngorm:ServiceLocator xmlns:mx=" http://www.adobe.com/2006/mxml"
                          xmlns:cairngorm="org.nevis.cairngorm.business.*">
   
    <!--<mx:HTTPService id="studentDelegate"
       url=""
       result="event.call.resultHandler( event )"
       fault="event.call.faultHandler( event )"
       showBusyCursor="true"
       useProxy="false" />  -->
      
    <mx:WebService id="studentDelegate"
        wsdl="http://granite/ChurchWerks/SIS/SIS_Ent/ws/sisservice.cfc?wsdl "
        fault="event.call.faultHandler(event)"
        result="event.call.resultHandler(event)"
        useProxy="false">
       
        <mx:operation name="getSeatingChart">
            <mx:request>
                <courseId>61</courseId>
                <programId>1.6</programId>
            </mx:request>
        </mx:operation>         
    </mx:WebService>    
    
</cairngorm:ServiceLocator>

produces error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.churchwerks.attendance.business::Services/__studentDelegate_fault ()[C:\Eclipse Projects\ChurchWerks\Attendance\com\churchwerks\attendance\business\Services.mxml:14]
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractService/dispatchEvent()[C:\dev\enterprise_beta3\frameworks\mx\rpc\AbstractService.as:238]
    at mx.rpc.soap.mxml::WebService/dispatchEvent()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\mxml\WebService.as:221]
    at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent ()[C:\dev\enterprise_beta3\frameworks\mx\rpc\AbstractOperation.as:183]
    at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\Operation.as:581]
    at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokeAllPending()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\Operation.as:427]
    at mx.rpc.soap::WebService/mx.rpc.soap:WebService::unEnqueueCalls ()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\WebService.as:865]
    at mx.rpc.soap::WebService/http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\WebService.as:671]
    at flash.events::EventDispatcher/dispatchEvent()



: : ) Scott __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to