witam
chcialem sie powbawic trosze web api allegro i na samym poczatku napotkalem problem
po wywolaniu np "doQuerySysStatus" z webapi dostaje komunikat
Wystąpił błąd podczas deserializacji treści komunikatu odpowiedzi dla operacji „doQuerySysStatus”.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using webapi.AllegroWebApi;
namespace webapi
{
public partial class Form1 : Form
{
string WebApiKey = "xxxxxxxxxxxx";
long VersionKey = 71668247;
int countryCode = 228;
string sessionHandler = "";
long Uid,servTime;
AllegroWebApiPortTypeClient AllegroClient;
public Form1()
{
InitializeComponent();
AllegroClient = new AllegroWebApiPortTypeClient();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
long localver;
AllegroClient.doQuerySysStatus(out localver, 1, countryCode, WebApiKey);
}
catch (Exception ex)
{
LogBox.AppendText(ex.Message+'\n');
}
}
}
}
co zrobic by to zadzialalo ?