From: Byrne R. <by...@ma...> - 2005-05-07 15:50:45
|
In 0.65_4 and 0.65_5, I might suggest you investigate using default_ns() and ns() to turn on and off default namespacing. use_prefix is now deprecated. Delfim Machado wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > hi again, this is my first, ugly, approach ... since i'm just > focused, for now, on the use_prefix option > > - --- lib/SOAP/Transport/HTTP.pm 2005-05-06 18:43:05.000000000 +0100 > +++ /usr/local/share/perl/5.8.0/SOAP/Transport/HTTP.pm 2005-05-06 > 18:42:00.000000000 +0100 > @@ -391,6 +391,9 @@ > sub handle { > my $self = shift->new; > + $self->serializer->use_prefix($self->options->{'use_prefix'}) > + if exists($self->options->{'use_prefix'}); > + > my $length = $ENV{'CONTENT_LENGTH'} || 0; > if (!$length) { > > > in your cgi server > > SOAP::Transport::HTTP::CGI > -> dispatch_to ( > '/home/PERLWEBSERVICES/WS/SPAM/lib', > 'WS::SPAM' > ) > -> options ( > { > 'use_prefix' => undef > } > ) > -> handle > ; > > > i'm using 0.65-beta4 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (Darwin) > > iD8DBQFCe7Gr6XDsmUqBS/QRAqZyAJ9/bLVjBtpORb5Cyv0otZQI5Ylh5QCfYeHD > fz751DoWS9Xe9nuwtVnPClQ= > =/WQr > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Soaplite-devel mailing list > Soa...@li... > https://lists.sourceforge.net/lists/listinfo/soaplite-devel |