C# SOAP Client
Hello,
I am using Visual Studio and C# to create a SOAP client for Integrity 10.2 web services.
Based on some questions here, I was able to make this working code: (actually fails due to a bug with jboss, but completes the request)
AttachmentRequest arg0 = new AttachmentRequest(); arg0.AttachmentName = "distributionowners.txt"; arg0.FieldName = "Attachments"; arg0.ItemId = "1234"; arg0.Username = "username"; arg0.Password = "password"; fetchAttachments fa = new fetchAttachments(); fa.arg0 = arg0; fetchAttachmentsResponse response = proxyClient.fetchAttachments(fa);
I just want to do getItem and createItem requests, but the format for getItem in the API seems different. The closest I was able to get was this:
Console.WriteLine(proxyClient.Endpoint.Address.Uri); getItemRequest req = new getItemRequest(); req.getItem.arg0.Username = "username"; //null reference req.getItem.arg0.Password = "password"; req.getItem.arg0.InputField = inputfields; req.getItem.arg0.ItemId = "1234"; getItem gi = new getItem(); gi.arg0 = req.getItem.arg0; getItemResponse responsegi = proxyClient.getItem(gi);
I'm not able to set the arg0 properties and it fails. How should I be doing this?

