When I am consuming a webservice, an object has an undefined value
(inq3Type.Call3 Data). I do not completely understand why this is happening
and apologize for the vague question. My assumption is that the WSDL is
defined incorrectly and .NET cannot parse the types. Any help is greatly
appreciated!
CustDDGSvc ws = new CustDDGSvc();
ws.Url = "http://dmapfra003.deci sionone.com:808 0/JISOAP/CustDDGSvc";
// don't understand why the inq3Type.Call3D ata is <undefined value>
JI_M_INQCall3 inq3Type = ws.M_INQCall3(" 027378");
M_INQCall3_Call 3Data_DataTempl ate dataTemplate = inq3Type.Call3D ata;
Following is the WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitio ns targetNamespace ="http://CustDDGSvc.wsdl gen.EA_DDG"
xmlns="http://schemas.xmlsoap .org/wsdl/"
xmlns:apachesoa p="http://xml.apache.org/xml-soap"
xmlns:impl="htt p://CustDDGSvc.wsdl gen.EA_DDG"
xmlns:intf="htt p://CustDDGSvc.wsdl gen.EA_DDG"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
xmlns:wsdlsoap= "http://schemas.xmlsoap .org/wsdl/soap/"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace ="http://CustDDGSvc.wsdl gen.EA_DDG"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http ://schemas.xmlsoap .org/soap/encoding/"/>
<complexType name="M_INQCall 3_Call3Data_Dat aTemplate">
<sequence>
<element name="CallStatu s" nillable="true" type="xsd:strin g"/>
<element name="CSE14Info " nillable="true" type="xsd:strin g"/>
<element name="CSE6Info" nillable="true" type="xsd:strin g"/>
<element name="ReasonCod e" nillable="true" type="xsd:strin g"/>
<element name="ManufSeri al" nillable="true" type="xsd:strin g"/>
<element name="ReturnCod e" nillable="true" type="xsd:strin g"/>
<element name="CSE2Info" nillable="true" type="xsd:strin g"/>
<element name="SiteAddre ss" nillable="true" type="xsd:strin g"/>
<element name="SiteName" nillable="true" type="xsd:strin g"/>
<element name="CSE10Info " nillable="true" type="xsd:strin g"/>
<element name="NPC" nillable="true" type="xsd:strin g"/>
<element name="EventComm ent" nillable="true" type="xsd:strin g"/>
<element name="DHRRcb" nillable="true" type="xsd:strin g"/>
<element name="SiteCity" nillable="true" type="xsd:strin g"/>
<element name="CSE9Info" nillable="true" type="xsd:strin g"/>
<element name="SiteZip" nillable="true" type="xsd:strin g"/>
<element name="Problem" nillable="true" type="xsd:strin g"/>
<element name="DHRRhours " nillable="true" type="xsd:strin g"/>
<element name="CSE13Info " nillable="true" type="xsd:strin g"/>
<element name="CSE5Info" nillable="true" type="xsd:strin g"/>
<element name="Dispatche rID" nillable="true" type="xsd:strin g"/>
<element name="SupportCo de" nillable="true" type="xsd:strin g"/>
<element name="AssignedC SE" nillable="true" type="xsd:strin g"/>
<element name="CustPO" nillable="true" type="xsd:strin g"/>
<element name="OpenDtTm" nillable="true" type="xsd:strin g"/>
<element name="ServiceCa t" nillable="true" type="xsd:strin g"/>
<element name="CSE1Info" nillable="true" type="xsd:strin g"/>
<element name="ArriveDtT m" nillable="true" type="xsd:strin g"/>
<element name="ServAtNam e" nillable="true" type="xsd:strin g"/>
<element name="DDGCallNb r" nillable="true" type="xsd:strin g"/>
<element name="IDMSStatu s" nillable="true" type="xsd:strin g"/>
<element name="CSE8Info" nillable="true" type="xsd:strin g"/>
<element name="DHRRdays" nillable="true" type="xsd:strin g"/>
<element name="Action" nillable="true" type="xsd:strin g"/>
<element name="CallType" nillable="true" type="xsd:strin g"/>
<element name="ContactPh one" nillable="true" type="xsd:strin g"/>
<element name="DDGAutoAs snFlag" nillable="true" type="xsd:strin g"/>
<element name="VABA" nillable="true" type="xsd:strin g"/>
<element name="CSE4Info" nillable="true" type="xsd:strin g"/>
<element name="CSE12Info " nillable="true" type="xsd:strin g"/>
<element name="Referance Nbr" nillable="true" type="xsd:strin g"/>
<element name="TimeZone" nillable="true" type="xsd:strin g"/>
<element name="SitePhone Nbr" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt City" nillable="true" type="xsd:strin g"/>
<element name="Assesment Ind" nillable="true" type="xsd:strin g"/>
<element name="ETADtTm" nillable="true" type="xsd:strin g"/>
<element name="UpdateDis patcherID" nillable="true" type="xsd:strin g"/>
<element name="Unit" nillable="true" type="xsd:strin g"/>
<element name="CallEvent Code" nillable="true" type="xsd:strin g"/>
<element name="ManufMode l" nillable="true" type="xsd:strin g"/>
<element name="DHRRurg" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt Street" nillable="true" type="xsd:strin g"/>
<element name="DHRRrest" nillable="true" type="xsd:strin g"/>
<element name="SiteState " nillable="true" type="xsd:strin g"/>
<element name="CSE7Info" nillable="true" type="xsd:strin g"/>
<element name="EventCSE" nillable="true" type="xsd:strin g"/>
<element name="DeptName" nillable="true" type="xsd:strin g"/>
<element name="DHRRresp" nillable="true" type="xsd:strin g"/>
<element name="LastEntry DtTm" nillable="true" type="xsd:strin g"/>
<element name="EventDtTm " nillable="true" type="xsd:strin g"/>
<element name="DDGSite" nillable="true" type="xsd:strin g"/>
<element name="ManufID" nillable="true" type="xsd:strin g"/>
<element name="CSE3Info" nillable="true" type="xsd:strin g"/>
<element name="CSE11Info " nillable="true" type="xsd:strin g"/>
<element name="Priority" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt Dept" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt ZipPC" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt State" nillable="true" type="xsd:strin g"/>
<element name="ContactNa me" nillable="true" type="xsd:strin g"/>
<element name="ManufType " nillable="true" type="xsd:strin g"/>
<element name="Symptom" nillable="true" type="xsd:strin g"/>
</sequence>
</complexType>
<complexType name="JI_M_INQC all3">
<sequence>
<element name="Call3Data " nillable="true"
type="impl:M_IN QCall3_Call3Dat a_DataTemplate"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="M_INQCall 3Response">
<wsdl:part name="M_INQCall 3Return" type="intf:JI_M _INQCall3"/>
</wsdl:message>
<wsdl:message name="M_INQCall 3Request">
<wsdl:part name="CallNum3" type="xsd:strin g"/>
</wsdl:message>
<wsdl:portTyp e name="CustDDGSv c">
<wsdl:operati on name="M_INQCall 3" parameterOrder= "CallNum3">
<wsdl:input message="intf:M _INQCall3Reques t"
name="M_INQCall 3Request"/>
<wsdl:output message="intf:M _INQCall3Respon se"
name="M_INQCall 3Response"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CustDDGSv cPortSoapBindin g" type="intf:Cust DDGSvc">
<wsdlsoap:bindi ng style="rpc"
transport="http ://schemas.xmlsoap .org/soap/http"/>
<wsdl:operati on name="M_INQCall 3">
<wsdlsoap:opera tion soapAction=""/>
<wsdl:input name="M_INQCall 3Request">
<wsdlsoap:bod y
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="http ://CustDDGSvc.wsdl gen.EA_DDG" use="encoded"/>
</wsdl:input>
<wsdl:output name="M_INQCall 3Response">
<wsdlsoap:bod y
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="http ://CustDDGSvc.wsdl gen.EA_DDG" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CustDDGSv c">
<wsdl:port binding="intf:C ustDDGSvcPortSo apBinding"
name="CustDDGSv cPort">
<wsdlsoap:addre ss
location="http://dmapfra003.deci sionone.com:808 0/JISOAP/CustDDGSvc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definition s>
(inq3Type.Call3 Data). I do not completely understand why this is happening
and apologize for the vague question. My assumption is that the WSDL is
defined incorrectly and .NET cannot parse the types. Any help is greatly
appreciated!
CustDDGSvc ws = new CustDDGSvc();
ws.Url = "http://dmapfra003.deci sionone.com:808 0/JISOAP/CustDDGSvc";
// don't understand why the inq3Type.Call3D ata is <undefined value>
JI_M_INQCall3 inq3Type = ws.M_INQCall3(" 027378");
M_INQCall3_Call 3Data_DataTempl ate dataTemplate = inq3Type.Call3D ata;
Following is the WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitio ns targetNamespace ="http://CustDDGSvc.wsdl gen.EA_DDG"
xmlns="http://schemas.xmlsoap .org/wsdl/"
xmlns:apachesoa p="http://xml.apache.org/xml-soap"
xmlns:impl="htt p://CustDDGSvc.wsdl gen.EA_DDG"
xmlns:intf="htt p://CustDDGSvc.wsdl gen.EA_DDG"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
xmlns:wsdlsoap= "http://schemas.xmlsoap .org/wsdl/soap/"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace ="http://CustDDGSvc.wsdl gen.EA_DDG"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http ://schemas.xmlsoap .org/soap/encoding/"/>
<complexType name="M_INQCall 3_Call3Data_Dat aTemplate">
<sequence>
<element name="CallStatu s" nillable="true" type="xsd:strin g"/>
<element name="CSE14Info " nillable="true" type="xsd:strin g"/>
<element name="CSE6Info" nillable="true" type="xsd:strin g"/>
<element name="ReasonCod e" nillable="true" type="xsd:strin g"/>
<element name="ManufSeri al" nillable="true" type="xsd:strin g"/>
<element name="ReturnCod e" nillable="true" type="xsd:strin g"/>
<element name="CSE2Info" nillable="true" type="xsd:strin g"/>
<element name="SiteAddre ss" nillable="true" type="xsd:strin g"/>
<element name="SiteName" nillable="true" type="xsd:strin g"/>
<element name="CSE10Info " nillable="true" type="xsd:strin g"/>
<element name="NPC" nillable="true" type="xsd:strin g"/>
<element name="EventComm ent" nillable="true" type="xsd:strin g"/>
<element name="DHRRcb" nillable="true" type="xsd:strin g"/>
<element name="SiteCity" nillable="true" type="xsd:strin g"/>
<element name="CSE9Info" nillable="true" type="xsd:strin g"/>
<element name="SiteZip" nillable="true" type="xsd:strin g"/>
<element name="Problem" nillable="true" type="xsd:strin g"/>
<element name="DHRRhours " nillable="true" type="xsd:strin g"/>
<element name="CSE13Info " nillable="true" type="xsd:strin g"/>
<element name="CSE5Info" nillable="true" type="xsd:strin g"/>
<element name="Dispatche rID" nillable="true" type="xsd:strin g"/>
<element name="SupportCo de" nillable="true" type="xsd:strin g"/>
<element name="AssignedC SE" nillable="true" type="xsd:strin g"/>
<element name="CustPO" nillable="true" type="xsd:strin g"/>
<element name="OpenDtTm" nillable="true" type="xsd:strin g"/>
<element name="ServiceCa t" nillable="true" type="xsd:strin g"/>
<element name="CSE1Info" nillable="true" type="xsd:strin g"/>
<element name="ArriveDtT m" nillable="true" type="xsd:strin g"/>
<element name="ServAtNam e" nillable="true" type="xsd:strin g"/>
<element name="DDGCallNb r" nillable="true" type="xsd:strin g"/>
<element name="IDMSStatu s" nillable="true" type="xsd:strin g"/>
<element name="CSE8Info" nillable="true" type="xsd:strin g"/>
<element name="DHRRdays" nillable="true" type="xsd:strin g"/>
<element name="Action" nillable="true" type="xsd:strin g"/>
<element name="CallType" nillable="true" type="xsd:strin g"/>
<element name="ContactPh one" nillable="true" type="xsd:strin g"/>
<element name="DDGAutoAs snFlag" nillable="true" type="xsd:strin g"/>
<element name="VABA" nillable="true" type="xsd:strin g"/>
<element name="CSE4Info" nillable="true" type="xsd:strin g"/>
<element name="CSE12Info " nillable="true" type="xsd:strin g"/>
<element name="Referance Nbr" nillable="true" type="xsd:strin g"/>
<element name="TimeZone" nillable="true" type="xsd:strin g"/>
<element name="SitePhone Nbr" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt City" nillable="true" type="xsd:strin g"/>
<element name="Assesment Ind" nillable="true" type="xsd:strin g"/>
<element name="ETADtTm" nillable="true" type="xsd:strin g"/>
<element name="UpdateDis patcherID" nillable="true" type="xsd:strin g"/>
<element name="Unit" nillable="true" type="xsd:strin g"/>
<element name="CallEvent Code" nillable="true" type="xsd:strin g"/>
<element name="ManufMode l" nillable="true" type="xsd:strin g"/>
<element name="DHRRurg" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt Street" nillable="true" type="xsd:strin g"/>
<element name="DHRRrest" nillable="true" type="xsd:strin g"/>
<element name="SiteState " nillable="true" type="xsd:strin g"/>
<element name="CSE7Info" nillable="true" type="xsd:strin g"/>
<element name="EventCSE" nillable="true" type="xsd:strin g"/>
<element name="DeptName" nillable="true" type="xsd:strin g"/>
<element name="DHRRresp" nillable="true" type="xsd:strin g"/>
<element name="LastEntry DtTm" nillable="true" type="xsd:strin g"/>
<element name="EventDtTm " nillable="true" type="xsd:strin g"/>
<element name="DDGSite" nillable="true" type="xsd:strin g"/>
<element name="ManufID" nillable="true" type="xsd:strin g"/>
<element name="CSE3Info" nillable="true" type="xsd:strin g"/>
<element name="CSE11Info " nillable="true" type="xsd:strin g"/>
<element name="Priority" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt Dept" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt ZipPC" nillable="true" type="xsd:strin g"/>
<element name="ServiceAt State" nillable="true" type="xsd:strin g"/>
<element name="ContactNa me" nillable="true" type="xsd:strin g"/>
<element name="ManufType " nillable="true" type="xsd:strin g"/>
<element name="Symptom" nillable="true" type="xsd:strin g"/>
</sequence>
</complexType>
<complexType name="JI_M_INQC all3">
<sequence>
<element name="Call3Data " nillable="true"
type="impl:M_IN QCall3_Call3Dat a_DataTemplate"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="M_INQCall 3Response">
<wsdl:part name="M_INQCall 3Return" type="intf:JI_M _INQCall3"/>
</wsdl:message>
<wsdl:message name="M_INQCall 3Request">
<wsdl:part name="CallNum3" type="xsd:strin g"/>
</wsdl:message>
<wsdl:portTyp e name="CustDDGSv c">
<wsdl:operati on name="M_INQCall 3" parameterOrder= "CallNum3">
<wsdl:input message="intf:M _INQCall3Reques t"
name="M_INQCall 3Request"/>
<wsdl:output message="intf:M _INQCall3Respon se"
name="M_INQCall 3Response"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CustDDGSv cPortSoapBindin g" type="intf:Cust DDGSvc">
<wsdlsoap:bindi ng style="rpc"
transport="http ://schemas.xmlsoap .org/soap/http"/>
<wsdl:operati on name="M_INQCall 3">
<wsdlsoap:opera tion soapAction=""/>
<wsdl:input name="M_INQCall 3Request">
<wsdlsoap:bod y
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="http ://CustDDGSvc.wsdl gen.EA_DDG" use="encoded"/>
</wsdl:input>
<wsdl:output name="M_INQCall 3Response">
<wsdlsoap:bod y
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="http ://CustDDGSvc.wsdl gen.EA_DDG" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CustDDGSv c">
<wsdl:port binding="intf:C ustDDGSvcPortSo apBinding"
name="CustDDGSv cPort">
<wsdlsoap:addre ss
location="http://dmapfra003.deci sionone.com:808 0/JISOAP/CustDDGSvc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definition s>