Comment 5 for bug 983185

Revision history for this message
Dmitry Tantsur (divius) wrote :

The same trouble with soap11. Attached is my source code.
Method 'add' generates fails on the following request from Axis:
<?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><ns1:add soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:Calculator"><a href="#id0"/><b href="#id1"/></ns1:add><multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:long" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1</multiRef><multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:long" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">2</multiRef></soapenv:Body></soapenv:Envelope>

but method ''hello' succeedes:
<?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><ns1:hello soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:Calculator"><name xsi:type="xsd:string">World</name></ns1:hello></soapenv:Body></soapenv:Envelope>

And one more thing: use="encoded" seems to be obsolete in WSDL's. None of new Java WS implementations I tried (Apache Axis2 and Apache XCF) seemed to support it.