问题描述
|
我是XCODE Environemnt的新手。我是DOT NET开发人员。
我做了一个网络服务,为了使用我使用了sudzc.com。
http://213.42.18.36/its_ws/inventorytrackingsystem.asmx?op=登录
我想验证用户名和密码。
我不知道如何从文本框中传递参数值。
任何人都能帮助我,您的帮助将不胜感激。
解决方法
如果您按照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.
}