namespaces for classes
Status: Alpha
Brought to you by:
cod3gen
If the WSDL declares an anonymous array of items within
another class, then this still ends up as a class. If
several different classes do this, one can end up with
conflicts because the names might be the same! I'm not
sure how to solve this, other than switch to parsing
the WSDL more carefully...
Logged In: YES
user_id=1286923
Could you please provide an example WSDL-file that has this
issue so I can look into it?
Logged In: YES
user_id=1286923
Originator: NO
Can you give a real example?
Logged In: NO
Something like the following. The embedded complexTypes are converted into classes by PHP, and given the same name!
<element name="A">
<complexType>
<sequence>
<element name="E1" type="boolean"/>
<element name="E2">
<complexType>
<sequence>
<element name="A1" type="boolean"/>
<element name="A2" type="long"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
<element name="B">
<complexType>
<sequence>
<element name="E1" type="boolean"/>
<element name="E2">
<complexType>
<sequence>
<element name="A1" type="long"/>
<element name="A2" type="boolean"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>