Hi,

I have a flex application that loads data using several web services.
With only one of those services I'm experiencing the following error:

TypeError: Error #1009: Impossibile accedere a una proprietà o a un
metodo di un riferimento oggetto null.
at
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::parseMessage()
at mx.rpc.soap::WSDLOperation/parseMessages()
at
mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
at mx.rpc.soap::Operation/send()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.rpc.soap.mxml::Operation/send()
at Main/::onPreventivoConfirm()
at Main/__sectionAreaPersonale_confermaPreventivo()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at AreaPersonale/::doConfermaPreventivo()
at AreaPersonale/__buttonConferma_click()

The service is declared as:

<mx:WebService
id="richiestaNoleggioService"
service="CarRentalProcessExport1_CarRentalProcessHttpService"
port="CarRentalProcessExport1_CarRentalProcessHttpPort"
wsdl="[...]/wsdl/CarRentalProcessExport1_CarRentalProcessHttp_Service.wsdl"
useProxy="false"
showBusyCursor="true"
concurrency="multiple">
<mx:operation
name="richiestaNoleggio"
result="richiestaNoleggioResult()"
fault="richiestaNoleggioFault()">
<mx:request>
<idNoleggio></idNoleggio>
</mx:request>
</mx:operation>
</mx:WebService>

This is the WSDL for the service:

<wsdl:definitions
name="CarRentalProcessExport1_CarRentalProcessHttp_Service"
targetNamespace="http://CarRental/CarRentalProcessInterface/Binding";>
<wsdl:import location="CarRentalProcess.wsdl"
namespace="http://CarRental/CarRentalProcessInterface"/>
<wsdl:binding name="CarRentalProcessExport1_CarRentalProcessHttpBinding"
type="Port_0:CarRentalProcess">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="richiestaNoleggio">
<soap:operation/>
<wsdl:input name="richiestaNoleggioRequest">
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CarRentalProcessExport1_CarRentalProcessHttpService">
<wsdl:port
binding="this:CarRentalProcessExport1_CarRentalProcessHttpBinding"
name="CarRentalProcessExport1_CarRentalProcessHttpPort">
<soap:address
location="http://wxp002:9080/CarRentalWeb/sca/CarRentalProcessExport1"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Call is done like this:

richiestaNoleggioService.richiestaNoleggio.send(idNoleggio);

Note that I'm able to correctly call this service with other clients,
for example using soapUI. Any ideas?

Thanks
Cosma

Reply via email to