
6 respostas
Hi Ean. You're calling the wrong method. Take a look at your wsdl one more time. You need to call this one:
public void UpdateDatabase(NewPetInformation.ArrayOfPCSDetail_x values)
Then, you need to pass an ArrayofPCSDetails which will contain your PCSDetail_x list as follows:
ThanksNewPetInformation.ArrayOfPCSDetail_x values = new NewPetInformation.ArrayOfPCSDetail_x();
List<NewPetInformation.PCSDetail_x> pcsDetails = new List<NewPetInformation.PCSDetail_x>();
// Add elements as you need them here
pcsDetails[0].Id = 'someId';
........
values.PCSDetail_x = pcsDetails ;
// Finally, call your method:
obj.UpdateDatabase(values);