01-22-2007 02:20 PM - edited 03-13-2019 03:52 PM
When I try and validate the wsdl file from https://callmanager_ip:8443/realtimeservice/services/RisPort?wsdl using XMLSpy I get a schema validation error. soap:array basetype 'xsd:string[]' could not be found. Has anyone else run into this? I am really getting frustrated with the AXL documentation. Some axl requests that I have copied right out of the documentation do not work. It looks like Cisco can't even get schema documents correct.
01-29-2007 06:10 PM
So I went digging on this and I believe this is a bug with XMLSpy... here's why:
My guess is that the '[]' at the end of the xsd:string is confusing it's parser. Yes, xsd:string certainly exists and XMLSpy is not confused on that basic point. But it looks like it doesn't expect the array notation of '[]'. I'm going to say that this is wrong for two reasons:
1) The WSDL 1.1 spec says that when you do declare an array as the Cisco Serviceability WSDL does, that:
The type of the items in the array and the array dimensions are specified by using a default value for the soapenc:arrayType attribute.
The key point this is making is that you have to specify the array dimensions, which the RisPort WSDL does by appending '[]' to the end of xsd:string to indicate that it is a one-dimension array.
2) Secondly, the WSDL 1.1 spec uses this exact syntax in an example!! Only difference is that the example in the WSDL uses xsd:float instead of xsd:string (which is a not a significant difference anyway).
WSDL 1.1 SPEC EXAMPLE:
Cisco AXL WSDL:
I could see why this is a bug in XMLSpy in it's parser logic--they are perhaps doing a simple check against all type names defined in XSD but not for type names + '[]' or '[][]', etc etc.
02-01-2007 12:13 PM
Thanks for that. I contacted the XMLSpy people.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide