base64Binary
-
I am trying to create an application that will talk with a webservice. This webservice needs the following information:
<request> <EmailAddress>string</EmailAddress> <Filename>string</Filename> <FileData>base64Binary</FileData> </request>
So I wrote the following:
string FileDataBase64Binary;
SoapBase64Binary base64Binary;
FileDataBase64Binary = "???";
base64Binary = SoapBase64Binary.Parse(FileDataBase64Binary);
request.FileData = base64Binary;What should be the right code? Any help would be greatly appriciated.
-
I am trying to create an application that will talk with a webservice. This webservice needs the following information:
<request> <EmailAddress>string</EmailAddress> <Filename>string</Filename> <FileData>base64Binary</FileData> </request>
So I wrote the following:
string FileDataBase64Binary;
SoapBase64Binary base64Binary;
FileDataBase64Binary = "???";
base64Binary = SoapBase64Binary.Parse(FileDataBase64Binary);
request.FileData = base64Binary;What should be the right code? Any help would be greatly appriciated.
Where's the problem? You have written code to answer your own problem. Could you explicitly state your issue(s)?
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon
-
Where's the problem? You have written code to answer your own problem. Could you explicitly state your issue(s)?
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon
The WSDL file needs
<FileData>base64Binary</FileData>
but I'm not sure how to convert my data from string to base64Binary. So I wrote the following:string FileDataBase64Binary;
SoapBase64Binary base64Binary;
FileDataBase64Binary = "???";
base64Binary = SoapBase64Binary.Parse(FileDataBase64Binary);
request.FileData = base64Binary;Still not sure what must come by
FileDataBase64Binary = "???";
Hope someone can explain to me how to do this? The files I need to send to the webservice are .zip files containing one .txt file.