[Xml-compile] error: element `SLAObject' not processed at {http://brixworks02.example.com:8080/API/SOAP/Utils/}getSLASResponse/sla_list

Joshua Keroes joshua at keroes.com
Tue Jan 24 03:16:40 GMT 2012


All of the WS actions are resulting in the same "element ... not
processed" error.

The XML response seems to be disagreeing with the WSDL but I'm unclear
as to the root problem, even with the debugging output turned on.

The only thing I can see is that the SLAObject type in the response
may not be getting placed in the correct namespace.

What's the real issue here and how does one fix this?

Thanks a million,
Joshua

Snippets for clarity are below. The complete WSDL, error trace, and XML res=
ponse
are attached as well.

WSDL:

<wsdl:definitions name=3D"Utils"
=A0targetNamespace=3D"http://brixworks02.example.com:8080/API/SOAP/Utils/"
=A0xmlns:soap=3D"http://schemas.xmlsoap.org/wsdl/soap/"
=A0xmlns:tns=3D"http://brixworks02.example.com:8080/API/SOAP/Utils/"
=A0xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/"
=A0xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema">
=A0 =A0 =A0 =A0<wsdl:types>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:schema elementFormDefault=3D"qualified"
targetNamespace=3D"http://brixworks02.example.com:8080/API/SOAP/Utils/">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:element name=3D"getSLAS=
">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:complex=
Type>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:sequence>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:element
name=3D"authority" maxOccurs=3D"1" minOccurs=3D"1"
type=3D"tns:netAPIAuth"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:element
name=3D"sla_names" minOccurs=3D"0" maxOccurs=3D"1"
type=3D"tns:ArrayOfString"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:element
name=3D"sla_ids" minOccurs=3D"0" maxOccurs=3D"1"
type=3D"tns:ArrayOfint"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:element
name=3D"sla_match" minOccurs=3D"0" maxOccurs=3D"1"
type=3D"tns:netAPIMatch"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:element
name=3D"case_sensitive" fixed=3D"true" type=3D"xsd:boolean"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0</xsd:sequence>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:comple=
xType>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:element>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:element name=3D"getSLAS=
Response">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:complex=
Type>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:sequence>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:element
name=3D"result" minOccurs=3D"0" maxOccurs=3D"1"
type=3D"tns:netAPIResult"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:element
name=3D"error_string" minOccurs=3D"0" maxOccurs=3D"1"
type=3D"tns:netAPIMatch"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:element
name=3D"sla_list" minOccurs=3D"0" maxOccurs=3D"1"
type=3D"tns:ArrayOfSLAObject"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0</xsd:sequence>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:comple=
xType>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:element>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:complexType name=3D"SLA=
Object">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:sequenc=
e>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:element name=3D"sla_id"
minOccurs=3D"0" maxOccurs=3D"1"
type=3D"tns:netAPIid"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:element name=3D"sla_name"
minOccurs=3D"0" maxOccurs=3D"1"
type=3D"tns:netAPIMatch"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:element name=3D"account_id">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:simpleType>

<xsd:restriction base=3D"xsd:string">

<xsd:minLength value=3D"1"/>

<xsd:maxLength value=3D"64"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:restriction>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0</xsd:simpleType>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0</xsd:element>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:element name=3D"description">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0<xsd:simpleType>

<xsd:restriction base=3D"xsd:string">

<xsd:minLength value=3D"1"/>

<xsd:maxLength value=3D"256"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:restriction>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0</xsd:simpleType>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0</xsd:element>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:element name=3D"pending"
type=3D"xsd:boolean"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:element name=3D"active"
type=3D"xsd:boolean"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:element name=3D"shared"
type=3D"xsd:boolean"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:sequen=
ce>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:complexType>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:complexType name=3D"Arr=
ayOfSLAObject">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xsd:sequenc=
e>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0<xsd:element minOccurs=3D"0"
maxOccurs=3D"unbounded" name=3D"SLAObject"
type=3D"tns:SLAObject"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:sequen=
ce>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xsd:complexType>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0...

Code:

=A0 =A0sub _build_wsdl {
=A0 =A0 =A0 =A0my ($self, $file) =3D @_;
=A0 =A0 =A0 =A0$file //=3D $self->wsdl_path or croak "No WSDL file to compi=
le";
=A0 =A0 =A0 =A0my $wsdl =3D XML::Compile::WSDL11->new($file);
=A0 =A0 =A0 =A0$wsdl->compileCalls(ignore_facets =3D>
$self->ignore_wsdl_facets); # currently 0
=A0 =A0 =A0 =A0return $wsdl;
=A0 =A0}

=A0=A0 =A0...later...

=A0 =A0my $resp =3D $self->wsdl->call(
=A0 =A0 =A0 =A0'getSLAS',
=A0 =A0 =A0 =A0authority =3D> $auth, =A0# a token fetched from prior "authe=
nticate" action
=A0 =A0 =A0 =A0case_sensitive =3D> 'true',
=A0 =A0 =A0 =A0%args,
=A0 =A0);

=A0 =A0if ($resp->{error}{reason}) {
=A0 =A0 =A0 carp $resp->{error}{reason};
=A0 =A0 =A0 return;
=A0 =A0}
=A0 =A0elsif ($resp) {
=A0 =A0 =A0 return $resp->{parameters};
=A0 =A0}

Response:

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
=A0 =A0 <soap:Envelope xmlns:namesp1=3D"http://namespaces.soaplite.com/perl"
=A0 =A0 =A0 =A0 xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
=A0 =A0 =A0 =A0 xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/"
=A0 =A0 =A0 =A0 xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"
=A0 =A0 =A0 =A0 soap:encodingStyle=3D"http://schemas.xmlsoap.org/soap/encod=
ing/"
=A0 =A0 =A0 =A0 xmlns:soap=3D"http://schemas.xmlsoap.org/soap/envelope/">
=A0 =A0 =A0 =A0 <soap:Body>
=A0 =A0 =A0 =A0 =A0 =A0 <getSLASResponse
xmlns=3D"http://brixworks02.integra.engr:8080/API/SOAP/Utils/">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <result xsi:type=3D"xsd:int">0</result>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <sla_list soapenc:arrayType=3D"namesp1:SLAO=
bject[10]"
xsi:type=3D"soapenc:Array">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <SLAObject xmlns=3D"" xsi:type=3D"n=
amesp1:SLAObject">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <sla_id xsi:type=3D"xsd:int=
">1025</sla_id>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <sla_name xsi:type=3D"xsd:s=
tring">1-MGCP</sla_name>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <account_id xsi:nil=3D"true=
"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <description xsi:nil=3D"tru=
e"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <pending xsi:type=3D"xsd:in=
t">0</pending>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <active xsi:type=3D"xsd:int=
">0</active>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <shared xsi:type=3D"xsd:int=
">0</shared>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </SLAObject>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <SLAObject xmlns=3D"" xsi:type=3D"n=
amesp1:SLAObject">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <sla_id xsi:type=3D"xsd:int=
">1075</sla_id>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <sla_name xsi:type=3D"xsd:s=
tring">Backbone VOIP
RTP Mesh DSCP46</sla_name>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <account_id xsi:nil=3D"true=
"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <description xsi:nil=3D"tru=
e"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <pending xsi:type=3D"xsd:in=
t">0</pending>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <active xsi:type=3D"xsd:int=
">1</active>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <shared xsi:type=3D"xsd:int=
">0</shared>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </SLAObject>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <SLAObject xmlns=3D"" xsi:type=3D"n=
amesp1:SLAObject">
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <sla_id xsi:type=3D"xsd:int=
">1125</sla_id>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <sla_name xsi:type=3D"xsd:s=
tring">DIA-Test</sla_name>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <account_id xsi:nil=3D"true=
"/>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <description xsi:type=3D"xs=
d:string">Test DIA
SLA</description>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <pending xsi:type=3D"xsd:in=
t">0</pending>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <active xsi:type=3D"xsd:int=
">0</active>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <shared xsi:type=3D"xsd:int=
">1</shared>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </SLAObject>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0...

Thanks,
Joshua
-------------- next part --------------
A non-text attachment was scrubbed...
Name: element not processed.zip
Type: application/zip
Size: 6004 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/xml-compile/attachments/20120123/a=
fc80079/elementnotprocessed.zip


More information about the Xml-compile mailing list