From: Kirill K. <kra...@gm...> - 2012-06-24 21:08:33
|
Hi, developer. In ex-ussr exist famous platform 1C. This solution to write project (retail, crm, etc..). It's support soap-client's method. I import wsdl data from http://www.mantisbt.org/bugs/api/soap/mantisconnect.php?wsdl Structure and method's import correct (see image): http://www.box.net/shared/a325aaf58cd29fb34876 When I call function mc_version Сервис = WSСсылки.WSMantis.СоздатьWSПрокси("http://futureware.biz/mantisconnect", "MantisConnect", "MantisConnectPort"); Возврат Сервис.mc_version(); Result = '1.2.11' when I change function to mc_issue_get I have error ОписаниеЗадачи = Сервис.mc_issue_get(UserName,Password, 7229); {Справочник.Подключения.Команда.ПроверитьПодключение.МодульКоманды(27)}: Ошибка при вызове метода контекста (mc_issue_get): Ошибка вызова операции сервиса: {http://futureware.biz/mantisconnect}:MantisConnect:mc_issue_get(): Неизвестная ошибка. Несоответствие типов XDTO: Несоответствие типов XDTO: Ошибка проверки данных XDTO: Значение: '' не соответствует простому типу: {http://www.w3.org/2001/XMLSchema}dateTime This error translate such this: Error call operation of service: {http://futureware.biz/mantisconnect}:MantisConnect:mc_issue_get(): Unknown error. Incorrect of types XDTO: Incorrect of types XDTO: Error check data XDTO: Value: '' is not simple type: {http://www.w3.org/2001/XMLSchema}dateTime I think server return empty value for some of datetime field, witch 1C can't correct convert to null-date. But how know what value are empty? -- Best regard, Kirill http://www.kraeg.ru |