0 Replies Latest reply on Jul 28, 2011 10:52 AM by ftvdev

    Webservice Error

    ftvdev

      While trying to consume a webservice i get this error:

       

      Cannot marshall type 'http://www.w3.org/2001/XMLSchema::ReverseGeocodeRequest0' to simple content.
          at mx.rpc.xml::SchemaMarshaller/marshall()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx \rpc\xml\SchemaMarshaller.as:87]
          at mx.rpc.xml::SchemaManager/marshall()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rp c\xml\SchemaManager.as:412]
          at mx.rpc.xml::XMLEncoder/encodeType()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc \xml\XMLEncoder.as:1418]
          at mx.rpc.soap::SOAPEncoder/encodeType()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\r pc\soap\SOAPEncoder.as:747]
          at mx.rpc.xml::XMLEncoder/encode()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\xml \XMLEncoder.as:80]
          at mx.rpc.soap::SOAPEncoder/encode()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\s oap\SOAPEncoder.as:690]
          at mx.rpc.soap::SOAPEncoder/encodePartValue()[C:\autobuild\3.2.0\frameworks\projects\rpc\src \mx\rpc\soap\SOAPEncoder.as:597]
          at mx.rpc.soap::SOAPEncoder/encodeMessage()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\m x\rpc\soap\SOAPEncoder.as:548]
          at mx.rpc.soap::SOAPEncoder/encodeOperationAsRPCLiteral()[C:\autobuild\3.2.0\frameworks\proj ects\rpc\src\mx\rpc\soap\SOAPEncoder.as:430]
          at mx.rpc.soap::SOAPEncoder/encodeBody()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\r pc\soap\SOAPEncoder.as:334]
          at mx.rpc.soap::SOAPEncoder/encodeEnvelope()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\ mx\rpc\soap\SOAPEncoder.as:188]
          at mx.rpc.soap::SOAPEncoder/encodeRequest()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\m x\rpc\soap\SOAPEncoder.as:158]
          at com.weenee::BaseNGILBSWebService/call()[C:\Users\Fakher\workspace\123456\src\com\weenee\B aseNGILBSWebService.as:420]
          at com.weenee::BaseNGILBSWebService/wsReverseGeocode()[C:\Users\Fakher\workspace\123456\src\ com\weenee\BaseNGILBSWebService.as:404]
          at com.weenee::NGILBSWebService/wsReverseGeocode()[C:\Users\Fakher\workspace\123456\src\com\ weenee\NGILBSWebService.as:529]
          at com.weenee::NGILBSWebService/wsReverseGeocode_send()[C:\Users\Fakher\workspace\123456\src \com\weenee\NGILBSWebService.as:539]
          at main/sendWsReverseGeocodeReq()[C:\Users\Fakher\workspace\123456\src\main.mxml:72]
          at main/reverseGeocode()[C:\Users\Fakher\workspace\123456\src\main.mxml:60]
          at main/__ftv_click()[C:\Users\Fakher\workspace\123456\src\main.mxml:79]

       

       

       

      please help me if you can to correct it.