[Xml-compile] Transport::SOAPHTTP header option

Mark Overmeer mark at overmeer.net
Tue Nov 29 14:37:51 GMT 2011


* Michael Ludwig (m.ludwig at epages.com) [111129 14:26]:
> > Von: Gary Kennedy [mailto:gary at apnic.net]
> > Gesendet: Montag, 28. November 2011 23:41
> 
> > I managed to get very similar code, but more playing this morning has
> > shown that I only need create the user agent and then pass "user_agent
> > => $ua" to compileClient/compileCalls and the transport layer takes care
> > of itself.
> 
> It sure does, but without turning on cookies automatically.

He meant that you can avoid the code to create the ::SOAPHTTP explicitly
(as in your example), because you can pass any argument for any of the
unlaying X::C objects with compileClient() directly (and there are no name
collissions) Of course, he will still use $ua to configure the cookie jar.
-- 
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list