我是XCODE Environemnt的新手。我是DOT NET开发人员。
我制作了一个网络服务并使用了我使用sudzc.com。
http://213.42.18.36/its_ws/inventorytrackingsystem.asmx?op=Login
我想验证用户名和密码。
我不知道如何从文本框中传递参数值。
任何人都可以帮助我,你的帮助将受到高度赞赏。
答案 0 :(得分:0)
如果您已按照Documentation / index.html中的说明操作,则应该可以执行以下操作:
- (IBAction)buttonPressed {
// Create a SOAP object. You might want to create it elsewhere and keep it around.
MyService *service = [MyService service];
// Fire off the SOAP call.
[service LogIn:self action:@selector(handleLogIn:) username:@"AzureDiamond" password:@"hunter2"];
}
- (void)handleLogIn:(id)result {
// This will run when the SOAP request fails or succeeds.
}