Securing Web Service Communication

2009-01-29 Thread Matt Keyes
Hello, I have received some help on this in the past, but we are trying to connect an iPhone application to a .NET XML SOAP Web Service. I can connect the iPhone to the web service but I do not know what I should do to secure this (i.e. with user credentials, etc.). Does anyone know any exa

Encryption and Security

2009-01-08 Thread Matt Keyes
Hello, I am working on an iPhone app that communicates with a .NET SOAP web service. I have the SOAP client down, but now I need to think about the security. The .NET web service ultimately will be validating the Windows login as part of the communication process, and I am trying to think ho

Simple NSMutableDictionary problem

2008-08-12 Thread Matt Keyes
How do I have an int as a value in a NSMutableDictionary object? for example: NSMutableDictionary *myDictionary = [NSMutableDictionary alloc]; int i = 1; [myDictionary setValue:1 forKey:@"One"]; This causes a compiler warning: "warning: passing argument 1 of 'setValue:forKey:' makes pointer f

RE: Newbie Question on "self"

2008-08-11 Thread Matt Keyes
t;self" > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: cocoa-dev@lists.apple.com > > On Mon, 11 Aug 2008 17:47:59 +, Matt Keyes <[EMAIL PROTECTED]> > said: > >Hello again, > > > >In C/C++ and the .NET languages I am used to, I have gener

Newbie Question on "self"

2008-08-11 Thread Matt Keyes
Hello again, In C/C++ and the .NET languages I am used to, I have generally tried to prefix any member variables inside class methods with "this" i.e. this.m_sMyString = "this is my string"; In Objective-C, this doesn't seem as clear to me (or at least it doesn't compile). For example: - (id

RE: Newbie Error on Loading XML

2008-08-11 Thread Matt Keyes
11:24:07 -0600 > > On Aug 11, 2008, at 11:16 AM, Matt Keyes wrote: > > > I am trying to load an XML file from the project, and here is what I > > do: > > > > NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] > > pathForResource:@"MyXmlFile"

Newbie Error on Loading XML

2008-08-11 Thread Matt Keyes
Hello, I am trying to load an XML file from the project, and here is what I do: NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"MyXmlFile" ofType:@"Xml"]]; NSXMLDocument *xmlDoc = nil; @try { xmlDoc = [[NSXMLDocument alloc] initWithContentsOfURL:url];

Basic Obj-C Question on Memory and Strings

2008-08-07 Thread Matt Keyes
Hello again, I have two basic Obj-C string question, please see the code below: //.h file @interface SomeClass : NSObject { @private NSMutableString *_someString; } @property (nonatomic, retain) NSMutableString *someString; -(void)DoTheStringThing:(NSString *)aString; @end //.m file:

Need pointers on web service communication from the iPhone

2008-08-07 Thread Matt Keyes
Hello, this is my first post. I am a C/C++ developer that has only recently begun to explore Obj-C and its nuances. The need at hand is to develop an application on the iPhone that will be able to communicate to a SOAP XML web service on a Microsoft .NET server. In .NET, the SOAP communicatio