I am trying to set a web service URL for an iPhone
The logic should be:
at login view - has service URL been set? , if so use saved default, if not prompt.

webServiceCall.h

```
@property (nonatomic,weak) NSString *webServiceUrlStr; 
// getter and setter for webServiceUrlStr
- (NSString *) webServiceUrlStr;
- (void) setwebServiceUrlStr: (NSMutableString *) theUrl;

```

webServiceCall.m

```
- (NSString *) webServiceUrlStr
{
    return _webServiceUrlStr;
}

- (void) setwebServiceUrlStr: (NSMutableString *) theUrl
{
   _webServiceUrlStr = theUrl;
   NSLog(@"Setting webServiceUrlStr = %@",_webServiceUrlStr);
}

```

In my loginviewcontroller I call this:

```
if([self.webServiceCall webServiceUrlStr] != nil)
{
    ....set view stuff here
}

```

which works ok.
Now I have set the URL from my view I want to use it in WebServiceCall Class

webServiceCall.m

```
//Basic method for calling a webservice with soap
+ (NSData *) callWebMethodWithSoapAction:(NSString*) soapAction withSoapEnvelop:     (NSString *) soapEnvelop
 {
  NSString *wsURL = [self webServiceUrlStr]; <-- No Known class for selector 'webServiceUrlStr'
  NSURL *webserviceUrl = [NSURL URLWithString:wsURL];
....etc

```

making webServiceURLStr static solves the above error but then makes the method unknown to my loginviewcontroller