iPhone SDK errors in Xcode
how can I fix these errors? :(  
comments beside the errors

thanks!


**AuthenticationViewController.h**

    #import <UIKit/UIKit.h>
    
    @interface YourViewController : UIViewController {
    	NSMutableData *dataWebService;
    }

**AuthenticationViewController.m**

    #import "AuthenticationViewController.h"
    
    @implementation AuthenticationViewController 
//Missing @end
    
    - (void)viewDidLoad 
//expected ';' after method prototype

    {
        [super viewDidLoad];
        NSString *yourPostString = [NSString stringWithFormat:@" write here your SOAP Message or JSON input (depend on your webservice)"];
        
        dataWebService = [[NSMutableData data] retain];
        
        NSMutableURLRequest *request = [[NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://www.yoursite/webService"]] retain];
    	
        NSString *postLength =  [NSString stringWithFormat:@"%d", [yourPostString length]];
        
        [request addValue:@"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
    	
        [request addValue:postLength forHTTPHeaderField:@"Content-Length"];    
    	
        [request setHTTPMethod:@"POST"];
    	
        [request setHTTPBody:[yourPostString dataUsingEncoding:NSUTF8StringEncoding]];
        
        NSURLConnection *myConnection = [NSURLConnection connectionWithRequest:request delegate:self];
        
        [myConnection start];    
        
    }
    
    
    - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {
        [dataWebService setLength:0];
    }
    
    - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {
        [dataWebService appendData:data];
    }
    
    - (void)connectionDidFinishLoading:(NSURLConnection *)connection {
        
        NSString *responseString = [[NSString alloc] initWithData:dataWebService encoding:NSUTF8StringEncoding];
        
        NSLog(@"Response: %@",responseString);
        
        [responseString release];
        
        [dataWebService release];
    	
    }
    
    - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {
        NSLog(@"Eror during connection: %@", [error description]);
    	
    } 
//Missing @end
iPhone SDK errors in Xcode
===

how can I fix these errors? :(  
comments beside the errors

thanks!


**AuthenticationViewController.h**

    #import <UIKit/UIKit.h>
    
    @interface YourViewController : UIViewController {
    	NSMutableData *dataWebService;
    }

**AuthenticationViewController.m**

    #import "AuthenticationViewController.h"
    
    @implementation AuthenticationViewController 
//Missing @end
    
    - (void)viewDidLoad 
//expected ';' after method prototype

    {
        [super viewDidLoad];
        NSString *yourPostString = [NSString stringWithFormat:@" write here your SOAP Message or JSON input (depend on your webservice)"];
        
        dataWebService = [[NSMutableData data] retain];
        
        NSMutableURLRequest *request = [[NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://www.yoursite/webService"]] retain];
    	
        NSString *postLength =  [NSString stringWithFormat:@"%d", [yourPostString length]];
        
        [request addValue:@"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
    	
        [request addValue:postLength forHTTPHeaderField:@"Content-Length"];    
    	
        [request setHTTPMethod:@"POST"];
    	
        [request setHTTPBody:[yourPostString dataUsingEncoding:NSUTF8StringEncoding]];
        
        NSURLConnection *myConnection = [NSURLConnection connectionWithRequest:request delegate:self];
        
        [myConnection start];    
        
    }
    
    
    - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {
        [dataWebService setLength:0];
    }
    
    - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {
        [dataWebService appendData:data];
    }
    
    - (void)connectionDidFinishLoading:(NSURLConnection *)connection {
        
        NSString *responseString = [[NSString alloc] initWithData:dataWebService encoding:NSUTF8StringEncoding];
        
        NSLog(@"Response: %@",responseString);
        
        [responseString release];
        
        [dataWebService release];
    	
    }
    
    - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {
        NSLog(@"Eror during connection: %@", [error description]);
    	
    } 
//Missing @end