Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy mi property do not save the value when I use SudzC?
    primarykey
    data
    text
    <p>I am using SudzC to get webservices, that webservice give me data, I tried to save the data in a property, but when I use to fill a tableview the property don't have any data. I use the debugger to view the property.</p> <p>This es my handler</p> <pre><code>- (void) ConsultarUnidadesOrganizacionalesPorEmpresaHandler: (id) value { // Handle errors if([value isKindOfClass:[NSError class]]) { NSLog(@"%@", value); return; } // Handle faults if([value isKindOfClass:[SoapFault class]]) { NSLog(@"%@", value); return; } // Do something with the NSMutableArray* result NSMutableArray *result = (NSMutableArray*)value; NSMutableArray *unidadOrganizacional = [[NSMutableArray alloc] init]; self.myData = [NSMutableArray array]; for (int i = 0; i &lt; [result count]; i++) { EWSUnidadNegocio *empresa = [[EWSUnidadNegocio alloc] init]; empresa = [result objectAtIndex:i]; [unidadOrganizacional addObject:[empresa Descripcion]]; } self.myData = unidadOrganizacional; </code></pre> <p>}</p> <p>And this is the part where I use the web service</p> <pre><code>- (void)viewDidLoad </code></pre> <p>{</p> <pre><code>// Do any additional setup after loading the view from its nib. EWSEmpresaWebServiceSvc *service = [[EWSEmpresaWebServiceSvc alloc]init]; [service ConsultarUnidadesOrganizacionalesPorEmpresa:self action:@selector(ConsultarUnidadesOrganizacionalesPorEmpresaHandler:) EmpresaId:self.empresaID]; [super viewDidLoad]; </code></pre> <p>}</p> <p>And the tableview is empty. Why does this happen? How can I use the data and fill my tableview?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload