hostAttr not supported for domain:ns Element?

Help
lesrcuser
2007-11-14
2013-04-29
  • lesrcuser
    lesrcuser
    2007-11-14

    Hello,

    is there a way to create a hostAttr Element inside a domain:ns Element?

    Like:
    <domain:ns>
       <domain:hostAttr>
          <domain:hostName>ns.hostingcompany.be</domain:hostName>
       </domain:hostAttr>
       <domain:hostAttr>
          <domain:hostName>ns.greatdomain.be</domain:hostName>
          <domain:hostAddr>193.168.0.1</domain:hostAddr>
       </domain:hostAttr>
    </domain:ns>

    So far we only used the <domain:hostObj> Element, but now we have to integrate dns.be and they used only the <domain:hostAttr> Element wich is also defined in EPP1.0 (rfc3731).

    Thanks for anny ideas...

     
    • Maria Vill
      Maria Vill
      2009-01-26

      hi
      i created a new class in java which extends the epp_domainCreateReq and another class which extends EPPDomainCreate. i added in the first class the missing values as variables and i modfied the method toxml in order to include the tags into the resulting xml.

      i hope this was helpful.... and good luck!

      lg vairam