.Net ignoring tags in SOAP envelope created by Axis webservice

.Net ignoring tags in SOAP envelope created by Axis webservice

Post by TWFyY » Sat, 11 Jun 2005 03:59:21


i,

I was wondering if there are any tools frrely available to see exactly what
is wrong with a SOAP message and what makes it incompatible with .Net.

I am running a Webservice on an Axis server, the particular method in
question has complex types both as input and as output. The proxy was
generated using the WSDL.exe command line tool. There were no errors when
creating the cs file. All the calls return blank values though. I have
intercepted the SOAP response and this is what is being sent ...

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<getLinkedAccountsResponse xmlns="http://account.tempuri.org">
<getLinkedAccountsReturn xsi:type="ns1:AccountList"
xmlns:ns1="http://dto.tempuri.org">
<accounts soapenc:arrayType="ns1:AccountData[10]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item xmlns="">
<accountStyleCode></accountStyleCode>
<accountStyleName xsi:nil="true"/>
<accountType>0</accountType>
<availbalance>186056.19</availbalance>
<branchName></branchName>
<branchNumber>6805</branchNumber>
<currbalance>186056.19</currbalance>
<eapLimit xsi:nil="true"/>
<errorind xsi:nil="true"/>
<features xsi:nil="true"/>
<history>false</history>
<name>TLHABI</name>
<number>0000000201013339</number>
<overdraft>0.00</overdraft>
<overdraftbalance>0.00</overdraftbalance>
<primary>false</primary>
<serialNumber>000</serialNumber>
<suiteId>J1</suiteId>
<type xsi:nil="true"/>
</item>
<item xmlns="">
<accountStyleCode></accountStyleCode>
<accountStyleName xsi:nil="true"/>
<accountType>10</accountType>
<availbalance>-78.40</availbalance>
<branchName></branchName>
<branchNumber>5137</branchNumber>
<currbalance>-58.40</currbalance>
<eapLimit xsi:nil="true"/>
<errorind xsi:nil="true"/>
<features xsi:nil="true"/>
<history>false</history>
<name>CHIBA H</name>
<number>0000000003400093</number>
<overdraft>0.00</overdraft>
<overdraftbalance>0.00</overdraftbalance>
<primary>false</primary>
<serialNumber>000</serialNumber>
<suiteId>J1</suiteId>
<type xsi:nil="true"/>
</item>
<item xmlns="">
<accountStyleCode></accountStyleCode>
<accountStyleName xsi:nil="true"/>
<accountType>0</accountType>
<availbalance>0.00</availbalance>
<branchName></branchName>
<branchNumber>4255</branchNumber>
<currbalance>26974.43</currbalance>
<eapLimit xsi:nil="true"/>
<errorind xsi:nil="true"/>
<features xsi:nil="true"/>
<history>false&l