I think you are assigning the int array from the helper class to the wrong thing. You really need to examine the structure of the web service request message and pay close attention to the field types. If you type a dot on the end of "Msg_Request.DebiteringsunderlagsId", do you see any additional field names?
-Russell Waltz
I didnt notice that your response was on the second page. This a part of the wsdl file of HamtaStatus<wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://debiteringsunderlag.se/"> <s:element name="hamtaStatus"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="DebiteringsunderlagsId" type="tns:ArrayOfInt" /> <s:element minOccurs="1" maxOccurs="1" name="KallaID" type="s:int" /> </s:sequence> </s:complexType> </s:element> <s:complexType name="ArrayOfInt"> <s:sequence> <s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" /> </s:sequence> </s:complexType> <s:element name="hamtaStatusResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="hamtaStatusResult" type="tns:Status" /> </s:sequence> </s:complexType> </s:element> <s:complexType name="Status"> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="underlag" type="tns:ArrayOfUnderlag" /> </s:sequence> </s:complexType> <s:complexType name="ArrayOfUnderlag"> <s:sequence> <s:element minOccurs="0" maxOccurs="unbounded" name="underlag" nillable="true" type="tns:underlag" /> </s:sequence> </s:complexType> <s:complexType name="underlag"> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="DebiteringsunderlagsID" type="s:int" /> <s:element minOccurs="1" maxOccurs="1" name="StatusID" type="s:int" /> <s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="Meddelande" type="s:string" /> </s:sequence> </s:complexType>
This is what I can found on when surfing to web of HamtaStatus POST /duws/du.asmx HTTP/1.1Host: sesoaw252Content-Type: text/xml; charset=utf-8Content-Length: lengthSOAPAction: "http://debiteringsunderlag.se/hamtaStatus"
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <hamtaStatus xmlns="http://debiteringsunderlag.se/"> <DebiteringsunderlagsId> <int>int</int> <int>int</int> </DebiteringsunderlagsId> <KallaID>int</KallaID> </hamtaStatus> </soap:Body></soap:Envelope>
I didnt notice that your response was on the second page. This a part of the wsdl file of HamtaStatus
<wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://debiteringsunderlag.se/"> <s:element name="hamtaStatus"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="DebiteringsunderlagsId" type="tns:ArrayOfInt" /> <s:element minOccurs="1" maxOccurs="1" name="KallaID" type="s:int" /> </s:sequence> </s:complexType> </s:element> <s:complexType name="ArrayOfInt"> <s:sequence> <s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" /> </s:sequence> </s:complexType> <s:element name="hamtaStatusResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="hamtaStatusResult" type="tns:Status" /> </s:sequence> </s:complexType> </s:element> <s:complexType name="Status"> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="underlag" type="tns:ArrayOfUnderlag" /> </s:sequence> </s:complexType> <s:complexType name="ArrayOfUnderlag"> <s:sequence> <s:element minOccurs="0" maxOccurs="unbounded" name="underlag" nillable="true" type="tns:underlag" /> </s:sequence> </s:complexType> <s:complexType name="underlag"> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="DebiteringsunderlagsID" type="s:int" /> <s:element minOccurs="1" maxOccurs="1" name="StatusID" type="s:int" /> <s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" /> <s:element minOccurs="0" maxOccurs="1" name="Meddelande" type="s:string" /> </s:sequence> </s:complexType>
This is what I found on when surfing to web of HamtaStatus
POST /duws/du.asmx HTTP/1.1Host: sesoaw252Content-Type: text/xml; charset=utf-8Content-Length: lengthSOAPAction: "http://debiteringsunderlag.se/hamtaStatus"
If I type a dot at the end of "Msg_Request.DebiteringsunderlagsId" I dont see any additional field names
Sorry about the double post