0 Replies Latest reply on Jun 18, 2011 5:08 PM by hamza.bakkali

    SOAP Response cannot be decoded. Raw response:

    hamza.bakkali

      Hi everybody,

       

      I need to communicate with a webservice, the wsdl link is : http://81.192.152.204/GetWSAuto.gold?WSDL

      when i send my request i have this error message "SOAP Response cannot be decoded. Raw response:"

      this is my mxml code:

      <mx:WebService id="srv"  service="GetWSAuto" port="GetWSAutoSoap" wsdl="http://81.192.152.204/GetWSAuto.gold?WSDL" showBusyCursor="true">

      <mx:operation name="GetWSAuto" result="srv_resultHandler(event)" fault="srv_faultHandler(event)" >

      <mx:request>

      <parameters>

      <GetWSAuto>

      <ContextAutoRequest>

      <CompleteTariffRequest>

      <Policy>

      <ContractType>1</ContractType>

      <EffectiveDate>01/05/2011</EffectiveDate>

      <TypeEcheanceContrat>1</TypeEcheanceContrat>

      </Policy>

      <Product>

      <ProductCode>PA01</ProductCode>

      </Product>

      <Vehicule>

      <Make>MARQUE</Make>

      <Model>MODEL</Model>

      <VehicleVersion>VERSION</VehicleVersion>

      <MineType>VNR</MineType>

      <VehicleUse>A1</VehicleUse>

      <VehicleClass>A</VehicleClass>

      <VehicleGroup>10</VehicleGroup>

      <LicencePlate>L12</LicencePlate>

      <DateFirstUsed>01/01/2010</DateFirstUsed>

      <OwnerName>TESTWS</OwnerName>

      <OwnerFirstName>TESTWS</OwnerFirstName>

      <Categorie>A1</Categorie>

      <NombreDePlace>5</NombreDePlace>

      <ValeurVenale>100000</ValeurVenale>

      <ValeurANeuf>120000</ValeurANeuf>

      <ValeurDesGlasses>0</ValeurDesGlasses>

      <NombreDePassager>2</NombreDePassager>

      <HorsePower>8</HorsePower>

      <MarqueAV>SONY</MarqueAV>

      <ValeurAV>1500.00</ValeurAV>

      <Supply>E</Supply>

      <ZoneCirculation>CASABLANCA</ZoneCirculation>

      </Vehicule>

      <Subscriber>

      <PersonIdentity>

      <Sex>0</Sex>

      <PersonTitle>0</PersonTitle>

      <Name>TESTWS</Name>

      <FirstName>TESTWS</FirstName>

      <BirthDate>01/01/1977</BirthDate>

      </PersonIdentity>

      </Subscriber>

      <OfferedFormulas>

      <Item>

      <FormulaCode>F35</FormulaCode>

      <OfferedCoverages>

      <Item>

      <CoverageCode>G14</CoverageCode>

      <CoverageOptions>

      <Item>

      <Option/>

      <IsSubscribed/>

      </Item>

      </CoverageOptions>

      </Item>

      <Item>

      <CoverageCode>G13</CoverageCode>

      <CoverageOptions>

      <Item>

      <Option/>

      <IsSubscribed/>

      </Item>

      </CoverageOptions>

      </Item>

      <Item>

      <CoverageCode>G17</CoverageCode>

      <CoverageOptions>

      <Item>

      <Option/>

      <IsSubscribed/>

      </Item>

      </CoverageOptions>

      </Item>

      <Item>

      <CoverageCode>G12</CoverageCode>

      <CoverageOptions>

      <Item>

      <Option>OP79</Option>

      <IsSubscribed>TRUE</IsSubscribed>

      </Item>

      </CoverageOptions>

      </Item>

      <Item>

      <CoverageCode>G03</CoverageCode>

      <CoverageOptions>

      <Item>

      <Option>OP29</Option>

      <IsSubscribed>TRUE</IsSubscribed>

      </Item>

      </CoverageOptions>

      </Item>

      <Item>

      <CoverageCode>G19</CoverageCode>

      <CoverageOptions>

      <Item>

      <Option/>

      <IsSubscribed/>

      </Item>

      </CoverageOptions>

      </Item>

      </OfferedCoverages>

      </Item>

      </OfferedFormulas>

       

      <Drivers>

      <Item>

      <PersonIdentity>

      <Sex>0</Sex>

      <PersonTitle>0</PersonTitle>

      <Name>TESTWS</Name>

      <FirstName>TESTWS</FirstName>

      </PersonIdentity>

      <DateOfIssue>01/01/2000</DateOfIssue>

      <CRM>100</CRM>

      <BirthDate>01/01/1970</BirthDate>

      </Item>

      </Drivers>

      <Agent>

      <CodeAgent>1101</CodeAgent>

      </Agent>

      </CompleteTariffRequest>

      </ContextAutoRequest>

      </GetWSAuto>

      </parameters>

      </mx:request>

      </mx:operation>

      </mx:WebService>

       

      I need ur help

       

      Thanks