NetTalk Central

Author Topic: NT809 NetWebServiceMethode when using MSSQL compile error  (Read 3139 times)

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
NT809 NetWebServiceMethode when using MSSQL compile error
« on: April 23, 2014, 02:35:31 AM »
Hi Bruce

Clarion 8.08973 and NT8.09 Exfiles2.52 . When I create a NetwebServiceMethode using a MSSQLfile i am getting compile errors 'String not terminated' and  ' Illegal character'.

It is on ExamplePostRequest  Routine.
p_web.Nocolon('Notes=<span class="nt-place">value</span>&Excess=<span class="nt-place">value</span>&MasterClaimNo=<span class="nt-place">value</span>&PolicyNo=<span class="nt-place">value</span>&Insured=<span class="nt-place">value</span>&PSectionNo=<span class="nt-place">value</span>&PDetail_No=<span class="nt-place">value</span>&ClaimNo=<span class="nt-place">value</span>&SectionCode=<span class="nt-place">value</span>&BrokerCode=<span class="nt-place">value</span>&InsurerCode=<span class="nt-place">value</span>&BranchCode=<span class="nt-place">value</span>&OtherCode=<span class="nt-place">value</span>&UniqueCode=<span class="nt-place">value</span>&UWYear=<span class="nt-place">value</span>&DateofLoss=<span class="nt-place">value</span>&DateNotified=<span class="nt-place">value</span>&Frequency=<span class="nt-place">value</span>&InceptionDate=<span class="nt-place">value</span>&RenewalDate=<span class="nt-place">value</span>&BrokerReference=<span class="nt-place">value</span>&AssessorCode=<span class="nt-place">value</span>&PerilCode=<span class="nt-place">value</span>&Estimate=<span class="nt-place">value</span>&EstimateXS=<span class="nt-place">value</span>&EstimateNET=<span class="nt-place">value</span>&EstimateSalvage=<span class="nt-place">value</span>&EstimateSalvageXS=<span class="nt-place">value</span>&EstimateOther=<span class="nt-place">value</span>&EstimateOtherXS=<span class="nt-place">value</span>&TotalPaid=<span class="nt-place">value</span>&TotalPaidXS=<span class="nt-place">value</span>&TotalPaidVAT=<span class="nt-place">value</span>&TotalReceived=<span class="nt-place">value</span>&TotalReceivedXS=<span class="nt-place">value</span>&TotalReceivedVAT=<span class="nt-place">value</span>&TotalClaim=<span class="nt-place">value</span>&PaidThirdParty=<span class="nt-place">value</span>&PaidThirdPartyXS=<span class="nt-place">value</span>&EstThirdParty=<span class="nt-place">value</span>&EstThirdPartyXS=<span class="nt-place">value</span>&TotalThirdParty=<span class="nt-place">value</span>&TotalThirdPartyXS=<span class="nt-place">value</span>&ClaimsStatus=<span class="nt-place">value</span>&RecoverAction=<span class="nt-place">value</span>&User=<span class="nt-place">value</span>&EntryDate=<span class="nt-place">value</span>&LastChangeDate=<span class="nt-place">value</span>&FilingNo=<span class="nt-place">value</span>&PremiumPaid=<span class="nt-place">value</span>&RiskAddress1=<span class="nt-place">value</span>&RiskAddress2=<span class="nt-place">value</span>&SumInsured=<span class="nt-place">value</span>&InceptionCoverDate=<span class="nt-place">value</span>&UnitNumber=<span class="nt-place">value</span>&UnitSumInsured=<span class="nt-place">value</span>&AggregateExcess=<span class="nt-place">value</span>&InsurerReference=<span class="nt-place">value</span>&DriverDetail=<span class="nt-place">value</span>&TimeofLoss=<span class="nt-place">value</span>&PlaceofLossCode=<span class="nt-place">value</span>&MarketerCode=<span class="nt-place">value</span>&CatCode=<span class="nt-place">value</span>&RIon=<span class="nt-place">value</span>&Diverse1=<span class="nt-place">value</span>&ExtraLookup1=<span class="nt-place">value</span>&KnockForKnock=<span class="nt-place">value</span>&ClaimFinaliseDate=<span class="nt-place">value</span>&IDSFlag=<span class="nt-place">value</span>&ClaimBlocked=<span class="nt-place">value</span>&Memo=<span class="nt-place">value</span>&ClaimTypeInd=<span class="nt-place">value</span>&VATIndicator=<span class="nt-place">value</span>&ED=<span class="nt-place">value</span>&RiskCode=<span class="nt-place">value</span>&TotalExcessAmount=<span class="nt-place">value</span>&ClaimsSubStatus=<span class="nt-place">value</span>&EstimateAggXS=<span class="nt-place">value</span>&EstimateXSAggXS=<span class="nt-place">value</span>&EstimateNetAggXS=<span class="nt-place">value</span>&TotalPaidAggXS=<span class="nt-place">value</span>&TotalPaidXSAggXS=<span class="nt-place">value</span>&TotalPaidVatAggXS=<span class="nt-place">value</span>&TotalClaimAggXS=<span class="nt-place">value</span>&Fees=<span class="nt-place">value</span>&Area=<span class="nt-place">value</span>&Progress=<span class="nt-place">value</span>&A50TotalClaim=<span class="nt-place">value</span>&A50TotalPaid=<span class="nt-place">value</span>&A50EstimateNET=<span class="nt-place">value</span>&A50TotalReceived=<span class="nt-place">value</span>&RIPolicyTreatyNo=<span class="nt-place">value</span>&OnlySurplus=<span class="nt-place">value</span>&PerilsSub=<span class="nt-place">value</span>&SalvageAction=<span class="nt-place">value</span>&Claims_Action=<span class="nt-place">update</span>') &|

Regards
Johan


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT809 NetWebServiceMethode when using MSSQL compile error
« Reply #1 on: April 23, 2014, 02:57:57 AM »
please send me an example app Johan - I guess it's something in the template but I'm not sure what.

cheers
Bruce

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Re: NT809 NetWebServiceMethode when using MSSQL compile error
« Reply #2 on: April 23, 2014, 04:46:40 AM »
Here is an example using a MSSQL file

Regards
Johan

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT809 NetWebServiceMethode when using MSSQL compile error
« Reply #3 on: April 24, 2014, 01:39:15 AM »
It's caused by the template generating a very long line in the CLW ( > 4 K).
I've tweaked the template in 8.10 to bypass this for now, but I'll need to tweak the code further to get it to generate multiple source lines instead.

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Re: NT809 NetWebServiceMethode when using MSSQL compile error
« Reply #4 on: April 24, 2014, 05:52:20 AM »
Many tanks Bruce