Tanmay Nehete

Tanmay Nehete

  • 1k
  • 406
  • 34.5k

Error in tack place in consuming service through web service

May 22 2014 7:18 AM
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsap="http://schemas.cordys.com/cholams/hp/wsapps">    <soapenv:Header>       <header xmlns="http://schemas.cordys.com/General/1.0/">          <msg-id>00155D14-DF02-11E3-F605-B24AF7893555</msg-id>       </header>    </soapenv:Header>    <soapenv:Body>       <InvokeHealthIndiaDetailsResponse preserveSpace="no" qAccess="0" qValues="" xmlns="http://schemas.cordys.com/cholams/hp/wsapps">          <tuple>             <old>                <InvokeHealthIndiaDetails>                   <InvokeHealthIndiaDetails>                      <HPHIProcessResponse xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/cholams/hp/healthIndia/process">                         <Status>                            <getHpProposalDetailsforHealthIndia xmlns="http://schemas.cordys.com/cholams/hp/wsapps">                               <tuple>                                  <old>                                     <HP_PROPOSED_PERSONS_DETAILS>                                        <SLNO>1</SLNO>                                        <DATEOFREQGEN>2014-03-20T18:17:05.0</DATEOFREQGEN>                                        <PROPOSERNO>1725</PROPOSERNO>                                        <CLIENTNAME>SURESH  SAMANT</CLIENTNAME>                                        <AGE>58</AGE>                                        <GENDER>M</GENDER>                                        <PROPOSERNAME>SURESH  SAMANT</PROPOSERNAME>                                        <CONTACTNO>919861253890</CONTACTNO>                                        <ADDRESS>SIVAN CHETTY GARDENS S.O SIVAN CHETTY GARDENS S.O   BANGALORE  KARNATAKA 560042</ADDRESS>                                        <CITY>BANGALORE</CITY>                                        <STATE>KARNATAKA</STATE>                                        <TESTCATEGORY>PACKAGE-2</TESTCATEGORY>                                        <SUMINSURED>300000</SUMINSURED>                                        <PRODUCT>CRITICALILLNESS</PRODUCT>                                     </HP_PROPOSED_PERSONS_DETAILS>                                  </old>                               </tuple><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsap="http://schemas.cordys.com/cholams/hp/wsapps">
   <soapenv:Header>       <header xmlns="http://schemas.cordys.com/General/1.0/">          <msg-id>00155D14-DF02-11E3-F605-B24AF7893555</msg-id>       </header>    </soapenv:Header>    <soapenv:Body>       <InvokeHealthIndiaDetailsResponse preserveSpace="no" qAccess="0" qValues="" xmlns="http://schemas.cordys.com/cholams/hp/wsapps">          <tuple>             <old>                <InvokeHealthIndiaDetails>                   <InvokeHealthIndiaDetails>                      <HPHIProcessResponse xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/cholams/hp/healthIndia/process">                         <Status>                            <getHpProposalDetailsforHealthIndia xmlns="http://schemas.cordys.com/cholams/hp/wsapps">                               <tuple>                                  <old>                                     <HP_PROPOSED_PERSONS_DETAILS>                                        <SLNO>1</SLNO>                                        <DATEOFREQGEN>2014-03-20T18:17:05.0</DATEOFREQGEN>                                        <PROPOSERNO>1725</PROPOSERNO>                                        <CLIENTNAME>SURESH  SAMANT</CLIENTNAME>                                        <AGE>58</AGE>                                        <GENDER>M</GENDER>                                        <PROPOSERNAME>SURESH  SAMANT</PROPOSERNAME>                                        <CONTACTNO>919861253890</CONTACTNO>                                        <ADDRESS>SIVAN CHETTY GARDENS S.O SIVAN CHETTY GARDENS S.O   BANGALORE  KARNATAKA 560042</ADDRESS>                                        <CITY>BANGALORE</CITY>                                        <STATE>KARNATAKA</STATE>                                        <TESTCATEGORY>PACKAGE-2</TESTCATEGORY>                                        <SUMINSURED>300000</SUMINSURED>                                        <PRODUCT>CRITICALILLNESS</PRODUCT>                                     </HP_PROPOSED_PERSONS_DETAILS>                                  </old>                               </tuple>
 
this my service code which is used to consume my service
 Collapse | Copy Code
Dim cc As New ServiceReference1.InvokeHealthIndiaDetailsExternal         
    cc.UserName = "";             cc.Password = "";             Dim cc1 As New ServiceReference1.HealthProposalProcess_IClient             Dim re As New ServiceReference1.InvokeHealthIndiaDetailsExternalRequest             Dim cx As New ServiceReference1.InvokeHealthIndiaDetailsExternalResponse1             cc1.ClientCredentials.UserName.UserName = "HealthIndia"             cc1.ClientCredentials.UserName.Password = "HealthIndia"             Dim res As New ServiceReference1.InvokeHealthIndiaDetailsExternalResponse             cc1.InvokeHealthIndiaDetailsExternal(cc, cx.InvokeHealthIndiaDetailsExternalResponse)
 
this is error i get od xml document 
there is an error in xml document (1,3000)
and i am accessing it through another web servisce link