hi,
you can find code to reproduce problem at
http://www.extreme.indiana.edu/~aslom/bnp/wsperf/axis_cpp/
including WSDL file that i used ot generate skeletons and stubs
http://www.extreme.indiana.edu/%7Easlom/bnp/wsperf/wsdl/benchmark1all.wsdl
REQUEST:
<?xml version='1.0' encoding='utf-8'?><S:Envelope
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:S='http://www.w3.org/2003/05/soap-envelope'><S:Body><n1:echoBase64
xmlns:n1='urn:Benchmark1'><input>AAECAwQFBgcICQ==</input></n1:echoBase64></S:Body></S:Envelope>---
RESPONSE:
<?xml version='1.0' encoding='utf-8' ?><env:Envelope
xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><env:Body><ns1:echoBase64Response
xmlns:ns1=\"http://www.extreme.indiana.edu/wsdl/Benchmark1.wsdl\"><echoBase64Return
xsi:type=\"xsd:base64Binary\"></echoBase64Return></ns1:echoBase64Response></env:Body></env:Envelope>---
it seems that xsi:type is required - if included when AXIS C++ generated
client is used i get it working
REQUEST:
<?xml version='1.0' encoding='utf-8' ?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http:/
/schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><ns1:echo
Base64
xmlns:ns1="http://www.extreme.indiana.edu/wsdl/Benchmark1.wsdl"><input xs
i:type="xsd:base64Binary">c29tZSBzdHJpbmcgdGhhdCBpcyBzZW50IGVuY29kZWQgdG8gZWl0aG
VyIGJhc2U2NEJpbmFyeSBvciBoZXhCaW5hcnk=</input></ns1:echoBase64></SOAP-ENV:Body><
/SOAP-ENV:Envelope>
RESPONSE:
<?xml version='1.0' encoding='utf-8' ?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><ns1:echoBase64Response
xmlns:ns1="http://www.extreme.indiana.edu/wsdl/Benchmark1.wsdl"><echoBase64Return
xsi:type="xsd:base64Binary">c29tZSBzdHJpbmcgdGhhdCBpcyBzZW50IGVuY29kZWQgdG8gZWl0aGVyIGJhc2U2NEJpbmFyeSBvciBoZXhCaW5hcnk=</echoBase64Return></ns1:echoBase64Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
are there any plans ot fix it?
alek
--
The best way to predict the future is to invent it - Alan Kay
|