APM: WebDAV PROPPATCH magic

jeremy jeremyb at univista.com
Mon Aug 11 12:04:50 CDT 2003


oops,   ...I meant Resource.pm  not Response.pm.

 


On Mon, 2003-08-11 at 10:40, jeremy wrote:
> I think I figured it out.
>  It may be a matter of getting deeper into HTTP::DAV::Response
> 
>  input is still very much welcome.
> 
> 
> -J
> 
> 
> On Mon, 2003-08-11 at 10:24, jeremy wrote:
> > fellow Perlites,
> > 
> >  I'm working with HTTP:DAV (P.Collins) to update and add contacts to MS
> > Exchange 2000.  I had the xml body for the PROPPATCH request ready to go
> > in the script,  but when I went to write the 'proppatch' request it was
> > appearent that only one property could be set at a time.  Atleast that's
> > what was documented.  The syntax is like this:
> > 
> > $davObject->proppatch( -url=>"$myurl", -propname=>"$property",
> > -propvalue=>"$propval" [-action=>"set"]|"remove" )
> > 
> > 
> > Q1.
> > Can any of you folks think of a way to send an xml
> > file as the body in place of explicit calls to -propname and -propvalue?
> > 
> > I would really rather not iterate over a single property PROPPATCH
> > request in order to get all my properties updated.
> > 
> > thanks for you time,
> > 
> >     Jeremy Brooks
> > 
> > 
> > _______________________________________________
> > Austin mailing list
> > Austin at mail.pm.org
> > http://mail.pm.org/mailman/listinfo/austin
> 
> _______________________________________________
> Austin mailing list
> Austin at mail.pm.org
> http://mail.pm.org/mailman/listinfo/austin




More information about the Austin mailing list