struct _ne3scommon__startRegistration {
struct ne3scommon__identity *managerIdentity;
char *agentUniqueId;
char *notificationConsumerURL;
char *reRegisterInterval;
*** struct xsdbase64Binary managerNonce;***
int __sizeextensions;
struct ne3scommon__extension *extensions;
/** Required element 'ne3scommon:soc' of XML schema type 'ns1:swaRef' */
char *soc;
};
XML Request :-
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:body>
<startregistration xmlns="http://www.nokiasiemens.com/ne3s/1.0">
<manageridentity>
<uniqueid>58095598</uniqueid>
<type>VS</type>
<vendor>NSN</vendor>
<release>1.0</release>
</manageridentity>
<agentuniqueid>Esymac</agentuniqueid>
<notificationconsumerurl>http://localhost:8081/axis2/services</notificationconsumerurl>
<reregisterinterval>10</reregisterinterval>
*** <managernonce>MTgwNzIxMDM3MQ==</managernonce>***
<soc>cid:startRegistrationContent1701064035586@nokiasiemens.com</soc>
</startregistration>
</soapenv:body>
</soapenv:envelope>
For encoded base64 MTgwNzIxMDM3MQ== decoded base64 should be 1807210371
But gsoap is throwing invalid valuse :- 1719984855
This works perfectly fine, see below. Perhaps the problem is located elsewhere in the XML or in the application itself?
Examples to test the two base64 decoders. This one converts base64 strings to data:
and this one parses base64 from standard input:
which works like this: