Nested SOAP parameters

Ivan C Myrvold ivan at myrvold.org
Thu Oct 4 08:38:35 PDT 2007


How do I make nested SOAP parameters in Cocoa?

If I want to send a parameter like

<name>ivan</name>

I can simply set
WSMethodInvocationSetParameters(soapCall, (CFDictionaryRef)params, nil);
where
params = [NSDictionary dictionaryWithObjectsAndKeys:@"ivan", @"name",  
nil);

But what if I have a parameter like:

<person>
    <name>ivan</name>
</person>

How do I pass that to WSMethodInvocationSetParameters?

Ivan


More information about the MacOSX-dev mailing list