You need an empty <postalInfo/> element in there, even though you
aren't changing anything regarding postal info.
Alan Ferrency
pairNIC
pair Networks, Inc.
alan@...
On Fri, 6 Jun 2003, Michael Schout wrote:
> Thanks Dan for helping me figour out my last problem.
>
> Now I can complete all of Afilias .org tests except the test where they
> want me to update a contact and remove its fax. I have tried the
> following:
>
> C: <?xml version="1. 0" encoding="UTF-8"?>
> C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
> C: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> C: xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
> C: <command>
> C: <update>
> C: <contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
> C: xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd">
> C: <contact:id>GKG-C6</contact:id>
> C: <contact:chg><contact:fax x=""/></contact:chg>
> C: </contact:update>
> C: </update>
> C: <clTRID>GKG-3</clTRID>
> C: </command>
> C: </epp>
>
> And the response I get is:
>
> S: <?xml version='1.0' encoding='UTF-8'?>
> S: <epp xmlns='urn:ietf:params:xml:ns:epp-1.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd'>
> S: <response>
> S: <result code='2003'>
> S: <msg lang='en-US'>Required parameter missing</msg>
> S: <value xmlns:oxrs='urn:afilias:params:xml:ns:oxrs-1.0'>
> S: <oxrs:xcp>2003:Required parameter missing (epp.command.update.contact:update.contact:chg.contact:postalInfo)</oxrs:xcp>
> S: </value>
> S: </result>
> S: <trID>
> S: <clTRID>GKG-3</clTRID>
> S: <svTRID>SRW-3703096</svTRID>
> S: </trID>
> S: </response>
> S: </epp>
>
> It looks to me like the postalInfo is not supposed to be reuquired here.
> draft-ietf-provreg-epp-contact-05.txt says this in sction 3.2.5 EPP
> <update> command:
>
> ------------------
> A <contact:chg> element contains the following OPTIONAL child
> elements. At least one child element MUST be present:
>
> - One or two <contact:postalInfo> elements that contain postal address
> information. Two elements are provided so that address information
> ...
>
> - A <contact:fax> element that contains the contact's facsimile
> telephone number.
> ------------------
>
> So what this says is that you only need ONE of the child nodes of
> <contact:chg> ALL child nodes are OPTIONAL, but you need to have at
> least 1 child node. So because I have the <contact:fax> node, that meets
> the requirements in contact-05 section 3.2.5. So is it just me or is
> afilias EPP implmentation broken in this case?
>
> Regards
> Michael Schout
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at http://www.etnus.com.
> _______________________________________________
> Epp-rtk-devel mailing list
> Epp-rtk-devel@...
> https://lists.sourceforge.net/lists/listinfo/epp-rtk-devel
>
|