Using Fabrik for web service requests?

zebrafilm

Member
I am selling a small App for Cinematographers for years. It runs on IOS and Android and it was coded to pull the data from a website where we keep the databases up to date.
That website was made with DotNetNuke and worked ok but it is a night mare to maintain and is under constant fire from hackers.

I made a Joomla site and created the same tables in Fabrik and it all runs well. Easier to protect and faster to maintain. I kept the old site running to update the apps but was wondering it it would be possible to use the Joomla site with Fabrik to pull the requests there.
The code in the IOS app for getting the connection is:

Code:
NSString *string = [NSString stringWithFormat:@"<?xml version=\"1.0\" encoding=\"utf-8\"?>"
                        "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">"
                        "<soap:Body>"
                        "<GetData xmlns=\"http://tempuri.org/\">"
                        "%@"
 
                        "</GetData>"
                        "</soap:Body>"
                        "</soap:Envelope>",
                        parameters];
    //0, 0, 0, [date stringByReplacingCharactersInRange:NSMakeRange([date length] - 2, 0) withString:@":"]];
   
    NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://update.xxxxxxx.com/FilmCalcWebService.asmx"]];
    [request setHTTPMethod:@"POST"];
    [request setValue:@"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
    [request setValue:@"\"http://tempuri.org/GetData\"" forHTTPHeaderField:@"SOAPAction"];
    [request setHTTPBody:[string dataUsingEncoding:NSUTF8StringEncoding]];
   
    NSData *Data = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
    //[response release];

Anybody an idea if this could be ported over?

Bastiaan
 
Looking at that it appears that the web services is consuming/making a RPC/ SOAP call which is something we don't support.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top