Salve,
ho anche io mi ritrovo a dovermi confrontare con questi ws. Ho letto tante cose in forum, articoli che ora sono in palla e non sono più sicuro di ciò che ho fatto.
Dalla documentazione cartacea (.pdf) fornitami ho preso il seguente file .wsdl
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://elencoassistiti.ejb.auxservices.mir.sanita.finanze.it"
xmlns:impl="http://elencoassistiti.ejb.auxservices.mir.sanita.finanze.it"
xmlns:intf="http://elencoassistiti.ejb.auxservices.mir.sanita.finanze.it"
xmlns:tns2="http://elencoassistiti.dto.auxservices.mir.sanita.finanze.it"
xmlns:tns3="http://DTO.simossSsa.sanita.finanze.it"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://wsi.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace="http://elencoassistiti.dto.auxservices.mir.sanita.finanze.it"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns3="http://DTO.simossSsa.sanita.finanze.it"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://DTO.simossSsa.sanita.finanze.it"/>
<complexType name="ElencoAssistitiDTO">
<complexContent>
<extension base="tns3:BustaTS">
<sequence>
<element name="assistito" nillable="true" type="tns2:ElencoAssistitiRecord"/>
<element name="arrayRecordAssistitiOut" nillable="true" type="tns2:ArrayOfElencoAssistitiRecord"/>
<element name="listaMessaggi" nillable="true" type="tns2:ArrayOf_tns3_nillable_MessageObj"/>
<element name="isOperazioneValida" nillable="true" type="xsd:boolean"/>
<element name="operazione" nillable="true" type="xsd:string"/>
<element name="codAslMedIn" nillable="true" type="xsd:string"/>
<element name="codRegMedIn" nillable="true" type="xsd:string"/>
<element name="pinCodeIn" nillable="true" type="xsd:string"/>
<element name="codFiscMed" nillable="true" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ElencoAssistitiRecord">
<sequence>
<element name="codFiscAss" nillable="true" type="xsd:string"/>
<element name="cognome" nillable="true" type="xsd:string"/>
<element name="nome" nillable="true" type="xsd:string"/>
<element name="codAsl" nillable="true" type="xsd:string"/>
<element name="codAslResASL" nillable="true" type="xsd:string"/>
<element name="codAslResAT" nillable="true" type="xsd:string"/>
<element name="codReg" nillable="true" type="xsd:string"/>
<element name="codRegResASL" nillable="true" type="xsd:string"/>
<element name="codRegResAT" nillable="true" type="xsd:string"/>
<element name="dataInizioAssistenza" nillable="true" type="xsd:string"/>
<element name="dataFineAssistenza" nillable="true" type="xsd:string"/>
<element name="dataFineAssistenzaSSN" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="ArrayOfElencoAssistitiRecord">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="ElencoAssistitiRecord" nillable="true" type="tns2:ElencoAssistitiRecord"/>
</sequence>
</complexType>
<complexType name="ArrayOf_tns3_nillable_MessageObj">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="MessageObj" nillable="true" type="tns3:MessageObj"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://DTO.simossSsa.sanita.finanze.it"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<complexType name="BustaTS">
<sequence>
<element name="pwd" nillable="true" type="xsd:string"/>
<element name="username" nillable="true" type="xsd:string"/>
<element name="codiceAslUtente" nillable="true" type="xsd:string"/>
<element name="codiceRegioneUtente" nillable="true" type="xsd:string"/>
<element name="idUtenteRichiedente" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="MessageObj">
<sequence>
<element name="riferimento" nillable="true" type="xsd:string"/>
<element name="codiceMessaggio" nillable="true" type="xsd:string"/>
<element name="descrizioneMessaggio" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://elencoassistiti.ejb.auxservices.mir.sanita.finanze.it"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns2="http://elencoassistiti.dto.auxservices.mir.sanita.finanze.it"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://elencoassistiti.dto.auxservices.mir.sanita.finanze.it"/>
<element name="visualizzaElencoAssistitiResponse">
<complexType>
<sequence>
<element name="visualizzaElencoAssistitiReturn" nillable="true" type="tns2:ElencoAssistitiDTO"/>
</sequence>
</complexType>
</element>
<element name="visualizzaElencoAssistiti">
<complexType>
<sequence>
<element name="elencoAssistitiDTO" nillable="true" type="tns2:ElencoAssistitiDTO"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="visualizzaElencoAssistitiRequest">
<wsdl:part element="intf:visualizzaElencoAssistiti" name="parameters"/>
</wsdl:message>
<wsdl:message name="visualizzaElencoAssistitiResponse">
<wsdl:part element="intf:visualizzaElencoAssistitiResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="ElencoAssistiti">
<wsdl:operation name="visualizzaElencoAssistiti">
<wsdl:input message="intf:visualizzaElencoAssistitiRequest" name="visualizzaElencoAssistitiRequest"/>
<wsdl:output message="intf:visualizzaElencoAssistitiResponse" name="visualizzaElencoAssistitiResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ElencoAssistitiSoapBinding" type="intf:ElencoAssistiti">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="visualizzaElencoAssistiti">
<wsdlsoap:operation soapAction="visualizzaElencoAssistiti"/>
<wsdl:input name="visualizzaElencoAssistitiRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="visualizzaElencoAssistitiResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ElencoAssistitiService">
<wsdl:port binding="intf:ElencoAssistitiSoapBinding" name="ElencoAssistiti">
<wsdlsoap:address location="https://mirsactest.sanita.finanze.it/MediciInReteAuxServicesWeb/services/ElencoAssistiti"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Ho usato l'utility wsdl.exe per creare la classe che segue
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------
//
// Codice sorgente generato automaticamente da wsdl, versione=4.6.1055.0.
//
namespace lstAssistitiTS_1 {
using System;
using System.Web.Services;
using System.Diagnostics;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
using System.ComponentModel;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="ElencoAssistitiSoapBinding", Namespace="http://elencoassistiti.ejb.auxservices.mir.sanita.finanze.it")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(BustaTS))]
public partial class ElencoAssistitiService : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback visualizzaElencoAssistitiOperationCompleted;
/// <remarks/>
public ElencoAssistitiService() {
this.Url = "https://mirsactest.sanita.finanze.it/MediciInReteAuxServicesWeb/services/ElencoAssistiti";
}
/// <remarks/>
public event visualizzaElencoAssistitiCompletedEventHandler visualizzaElencoAssistitiCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("visualizzaElencoAssistiti", RequestNamespace="http://elencoassistiti.ejb.auxservices.mir.sanita.finanze.it", ResponseNamespace="http://elencoassistiti.ejb.auxservices.mir.sanita.finanze.it", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("visualizzaElencoAssistitiReturn", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public ElencoAssistitiDTO visualizzaElencoAssistiti([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)] ElencoAssistitiDTO elencoAssistitiDTO) {
object[] results = this.Invoke("visualizzaElencoAssistiti", new object[] {
elencoAssistitiDTO});
return ((ElencoAssistitiDTO)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginvisualizzaElencoAssistiti(ElencoAssistitiDTO elencoAssistitiDTO, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("visualizzaElencoAssistiti", new object[] {
elencoAssistitiDTO}, callback, asyncState);
}
/// <remarks/>
public ElencoAssistitiDTO EndvisualizzaElencoAssistiti(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ElencoAssistitiDTO)(results[0]));
}
/// <remarks/>
public void visualizzaElencoAssistitiAsync(ElencoAssistitiDTO elencoAssistitiDTO) {
this.visualizzaElencoAssistitiAsync(elencoAssistitiDTO, null);
}
/// <remarks/>
public void visualizzaElencoAssistitiAsync(ElencoAssistitiDTO elencoAssistitiDTO, object userState) {
if ((this.visualizzaElencoAssistitiOperationCompleted == null)) {
this.visualizzaElencoAssistitiOperationCompleted = new System.Threading.SendOrPostCallback(this.OnvisualizzaElencoAssistitiOperationCompleted);
}
this.InvokeAsync("visualizzaElencoAssistiti", new object[] {
elencoAssistitiDTO}, this.visualizzaElencoAssistitiOperationCompleted, userState);
}
private void OnvisualizzaElencoAssistitiOperationCompleted(object arg) {
if ((this.visualizzaElencoAssistitiCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.visualizzaElencoAssistitiCompleted(this, new visualizzaElencoAssistitiCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://elencoassistiti.dto.auxservices.mir.sanita.finanze.it")]
public partial class ElencoAssistitiDTO : BustaTS {
private ElencoAssistitiRecord assistitoField;
private ElencoAssistitiRecord[] arrayRecordAssistitiOutField;
private MessageObj[] listaMessaggiField;
private System.Nullable<bool> isOperazioneValidaField;
private string operazioneField;
private string codAslMedInField;
private string codRegMedInField;
private string pinCodeInField;
private string codFiscMedField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public ElencoAssistitiRecord assistito {
get {
return this.assistitoField;
}
set {
this.assistitoField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
[System.Xml.Serialization.XmlArrayItemAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public ElencoAssistitiRecord[] arrayRecordAssistitiOut {
get {
return this.arrayRecordAssistitiOutField;
}
set {
this.arrayRecordAssistitiOutField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
[System.Xml.Serialization.XmlArrayItemAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public MessageObj[] listaMessaggi {
get {
return this.listaMessaggiField;
}
set {
this.listaMessaggiField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public System.Nullable<bool> isOperazioneValida {
get {
return this.isOperazioneValidaField;
}
set {
this.isOperazioneValidaField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string operazione {
get {
return this.operazioneField;
}
set {
this.operazioneField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codAslMedIn {
get {
return this.codAslMedInField;
}
set {
this.codAslMedInField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codRegMedIn {
get {
return this.codRegMedInField;
}
set {
this.codRegMedInField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string pinCodeIn {
get {
return this.pinCodeInField;
}
set {
this.pinCodeInField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codFiscMed {
get {
return this.codFiscMedField;
}
set {
this.codFiscMedField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://elencoassistiti.dto.auxservices.mir.sanita.finanze.it")]
public partial class ElencoAssistitiRecord {
private string codFiscAssField;
private string cognomeField;
private string nomeField;
private string codAslField;
private string codAslResASLField;
private string codAslResATField;
private string codRegField;
private string codRegResASLField;
private string codRegResATField;
private string dataInizioAssistenzaField;
private string dataFineAssistenzaField;
private string dataFineAssistenzaSSNField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codFiscAss {
get {
return this.codFiscAssField;
}
set {
this.codFiscAssField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string cognome {
get {
return this.cognomeField;
}
set {
this.cognomeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string nome {
get {
return this.nomeField;
}
set {
this.nomeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codAsl {
get {
return this.codAslField;
}
set {
this.codAslField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codAslResASL {
get {
return this.codAslResASLField;
}
set {
this.codAslResASLField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codAslResAT {
get {
return this.codAslResATField;
}
set {
this.codAslResATField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codReg {
get {
return this.codRegField;
}
set {
this.codRegField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codRegResASL {
get {
return this.codRegResASLField;
}
set {
this.codRegResASLField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codRegResAT {
get {
return this.codRegResATField;
}
set {
this.codRegResATField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string dataInizioAssistenza {
get {
return this.dataInizioAssistenzaField;
}
set {
this.dataInizioAssistenzaField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string dataFineAssistenza {
get {
return this.dataFineAssistenzaField;
}
set {
this.dataFineAssistenzaField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string dataFineAssistenzaSSN {
get {
return this.dataFineAssistenzaSSNField;
}
set {
this.dataFineAssistenzaSSNField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://DTO.simossSsa.sanita.finanze.it")]
public partial class MessageObj {
private string riferimentoField;
private string codiceMessaggioField;
private string descrizioneMessaggioField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string riferimento {
get {
return this.riferimentoField;
}
set {
this.riferimentoField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codiceMessaggio {
get {
return this.codiceMessaggioField;
}
set {
this.codiceMessaggioField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string descrizioneMessaggio {
get {
return this.descrizioneMessaggioField;
}
set {
this.descrizioneMessaggioField = value;
}
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ElencoAssistitiDTO))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://DTO.simossSsa.sanita.finanze.it")]
public partial class BustaTS {
private string pwdField;
private string usernameField;
private string codiceAslUtenteField;
private string codiceRegioneUtenteField;
private string idUtenteRichiedenteField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string pwd {
get {
return this.pwdField;
}
set {
this.pwdField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string username {
get {
return this.usernameField;
}
set {
this.usernameField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codiceAslUtente {
get {
return this.codiceAslUtenteField;
}
set {
this.codiceAslUtenteField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string codiceRegioneUtente {
get {
return this.codiceRegioneUtenteField;
}
set {
this.codiceRegioneUtenteField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public string idUtenteRichiedente {
get {
return this.idUtenteRichiedenteField;
}
set {
this.idUtenteRichiedenteField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
public delegate void visualizzaElencoAssistitiCompletedEventHandler(object sender, visualizzaElencoAssistitiCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.6.1055.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class visualizzaElencoAssistitiCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal visualizzaElencoAssistitiCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public ElencoAssistitiDTO Result {
get {
this.RaiseExceptionIfNecessary();
return ((ElencoAssistitiDTO)(this.results[0]));
}
}
}
}
Utilizzando l'utility SoapUI, sono riuscito a testare il servizio, nel'ambiente di test.
Quello che non riesco a capire è come si genera la richiesta SOAP per il servizio e di conseguenza come poterla modificare per aggiungere le credenziali per la Basic Authentication, ossia come integrare modificare il file della classe per gestire la produzione del SOAP.
Grazie a tutti.