0 Replies Latest reply on Jul 11, 2011 7:56 AM by brbornia

    Dinamically retrieve wsdl/xsd details of a web service


      Hi all,


      The web service I´m calling have some restrictions like this:


      <xs:element name="user_name">
              <xs:restriction base="xs:string">
                  <xs:maxLength value="64"/>


      What I wanted to do is to dinamically get this maxLength value from the schema to prevent my resquests to be sent to the web service with bigger length then 64, and I also did not want to leave this number hard coded since it can be changed later and I will have to remember all places where I have this call (for sure I will forget some of them) :P.


      Is it possible to do it? Can anyone help me on that?


      Thank you in advance.