|
use of "xsd:ur-type" for serialization of arrays and structs: msg#00040php.nusoap.general
Hi ! We have a webservice which is used by some Java-clients using Axis and we have a problem which only occurs at the moment when returning a fault. In this case we use an array of soapvals as fault-detail. The returned XML-Message for the fault-detail looks like: <detail> <soapVal xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:ur-type[2]"> <errorcode xsi:type="xsd:string">5003</errorcode> <message xsi:type="xsd:string">The invalid</message> </soapVal> </detail> Axis is not able to use the type "ur-type" and don't knows how to map this and cannot find a deserializer for that type. The problem is thatin the case of an "unknown" array which will be serialized that in the "serialize_val" method in nusoap_base.class.inc the following line is hard coded: $array_typename = 'xsd:ur-type'; When you look into the Shema definition then a type with the name "ur-type" is NOT defined. On some places there are references to "simple ur-types" or so and there is one line that such a type is named "anyType". So we tried to replace the hardcoded type in that line with "xsd:anyType" and Axis was able to correctly read the details and anything wokrs. So, why there is hardcoded "ur-type" which is a in fact not existing type and will it be possible to change that to "xsd:anyType" ? Ingo Fischer -- Ingo Fischer _____________________________________________________________________ Ingo Fischer Schlund + Partner AG NOF-Components : http://www.apollon.de Karlsruhe Tel.: 0721/91374-0 Secure Internet-Payment: http://www.schlund.de https://ipayment.de _____________________________________________________________________ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Problem consuming dot net webservice usign nusoap.: 00040, Amol Dalvi |
|---|---|
| Next by Date: | Re: use of "xsd:ur-type" for serialization of arrays and structs: 00040, Scott Nichol |
| Previous by Thread: | Problem consuming dot net webservice usign nusoap.i: 00040, Amol Dalvi |
| Next by Thread: | Re: use of "xsd:ur-type" for serialization of arrays and structs: 00040, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |