Menu

#7 namespaces for classes

open
None
5
2006-08-31
2006-08-30
John Lindal
No

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...

Discussion

  • Knut Urdalen

    Knut Urdalen - 2006-08-31

    Logged In: YES
    user_id=1286923

    Could you please provide an example WSDL-file that has this
    issue so I can look into it?

     
  • Knut Urdalen

    Knut Urdalen - 2006-08-31
    • assigned_to: nobody --> cod3gen
     
  • Knut Urdalen

    Knut Urdalen - 2006-12-21

    Logged In: YES
    user_id=1286923
    Originator: NO

    Can you give a real example?

     
  • Nobody/Anonymous

    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>

     

Log in to post a comment.

MongoDB Logo MongoDB