Hi everybody,
I created a pdf in dot net and it is converted to byte array.It is placed in an entity and serialized(json serialization).The response is in the form of string and send through a http service to iphone.
In iPhone i used
NSXMLParser * parser = [[NSXMLParser alloc]initWithData:webData];
[parser setDelegate:self];
[parser parse];
and xml parser method hold the response as string
-(void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
{ }
the above function parameter string hold the response value.
{"PDF":[37,80,68,70,45,49,46,55,32,10,37,226,227,207,211,32,10,49,32,48,32,111,98,106,32,10,60,60,32,10,47,84,121,112,101,32,47,67,97,116,97,108,111,103,32,10,47,80,97,103,101,115,32,50,32,48,32,82,32,10,47,80,97,103,101,77,111,100,101,32,47,85,115,101,78,111,110,101,32,10,47,86,105,101,119,101,114,80,114,101,102,101,114,101,110,99,101,115,32,60,60,32,10,47,70,105,116,87,105,110,100,111,119,32,116,114,117,101,32,10,47,80,97,103,101,76,97,121,111,117,116,32,47,83,….]}
How can u recreate the pdf?