Saturday, December 7, 2013

ios, the brother with the following data from the server to resolve webService, how then uploaded to the server after modifying data

That I removed from the moss on the platform server data, if it is a news, how to modify him, and then save it to the server.
Here is my modified code

- (NSString *) editUpdateListItems {

NSString * scString = [NSString stringWithFormat: @ " " \
"% @ "
"% @
"
,
[TableDictionary objectForKey: @ "ows_ID"],
[TableDictionary objectForKey: @ "ows_Title"]
];
NSString * xmlString = [NSString stringWithFormat: @ " \
% @ \
% @ \
",
[DataDicts objectForKey: @ "InternalName"], scString
];
/ / InternalName
return xmlString;
}
Reply:
There needs to meet
Reply:
Server may offer to accept xml data interfaces interface requires you to upload files according to the line.
You have to look the person in charge of the server program.
Reply:
There has been a request to verify the server down.
- (Void) saveButtonClick1: (id) sender {

[[UIApplication sharedApplication] setNetworkActivityIndicatorVisible: YES];


NSString * xmlString = @ "";

switch (navType) {
case ZYListItemNavTypeAdd1:
{
xmlString = [self addUpdateListItems];
break;
}
case ZYListItemNavTypeEdit1:
{
xmlString = [self editUpdateListItems];
break;
}
default:
break;
}
ZYNetworkConnection * network = [[ZYNetworkConnection alloc] init];
[Network UpdateListItems: xmlString And: self];
self.navigationItem.rightBarButtonItem = BARBUTTON (ZY_STRING_MENU, @ selector (menuButtonClick :));
navType = ZYListItemNavTypeNone1;
[Self.tableView reloadData];
[Network release];
}

[Network UpdateListItems: xmlString And: self];
Is to call another

- (Void) UpdateListItems: (NSString *) xml And: (id) ctl {

[Self setConnection: @ "lists.asmx" AndXml: xml AndSoap: @ "UpdateListItems" And: ctl];
}
Reply:
Has been resolved.

No comments:

Post a Comment