pi.setDob(Auth.Dob.parseFrom(ByteString.copyFrom("1991-07-28".getBytes())));
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><PidOptions ver=\"1.0\"> <CustOpts/><Demo><Pi name=\"Rajesh Goswami\" ms=\"E\" gender=\"M\" dob=\"1991-07-28\" dobt=\"D\" phone=\"XXX\"email=\"XXX\" ></Pi></Demo> <Opts env=\"S\" fCount=\"1\" fType=\"0\" format=\"1\" iCount=\"0\" iType=\"\"pCount=\"0\" pidVer=\"2.0\" posh=\"UNKNOWN\" timeout=\"10000\"/></PidOptions>";
where pi is Auth.Pi.Builder while parsing ByteString in parseForm method getting com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message,
the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded
message misreported its own length.
if anyone doing auth request successfully for Demo graphic details for protobuf kindly help me out. Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aadhaar_rd/1b13694a-acf6-48ea-ac79-d9c8ef899867%40googlegroups.com.
Are you using correct version of *.protob file?
On Fri, Apr 3, 2020 at 5:34 PM rajesh goswami <rajeshgo...@gmail.com> wrote:
--pi.setDob(Auth.Dob.parseFrom(ByteString.copyFrom("1991-07-28".getBytes())));"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><PidOptions ver=\"1.0\"> <CustOpts/><Demo><Pi name=\"Rajesh Goswami\" ms=\"E\" gender=\"M\" dob=\"1991-07-28\" dobt=\"D\" phone=\"XXX\"email=\"XXX\" ></Pi></Demo> <Opts env=\"S\" fCount=\"1\" fType=\"0\" format=\"1\" iCount=\"0\" iType=\"\"pCount=\"0\" pidVer=\"2.0\" posh=\"UNKNOWN\" timeout=\"10000\"/></PidOptions>";where pi is Auth.Pi.Builderwhile parsing ByteString in parseForm method getting com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message,the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embeddedmessage misreported its own length.if anyone doing auth request successfully for Demo graphic details for protobuf kindly help me out. Thanks in advance
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadha...@googlegroups.com.