Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > SOAP::Lite

Reply
Thread Tools

SOAP::Lite

 
 
Blaine Everingham
Guest
Posts: n/a
 
      12-09-2003
Hello,

I have installed SOAP::Lite 0.60 and am running a simple test to see the XML
output. I noticed that the output indicated it's using the
www.w3.org/1999/XMLSchema instead of the prefered www.w3.org/2001/XMLSchema
unfortunatley I can not seem to findout how to easily change this to be the
2001. Can someone help me?

Below is an example of some test output of the current software..
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encodi
ng/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.
org/soap/envelope/" xmlnssi="http://www.w3.org/1999/XMLSchema-instance"
xmlnssd="http://www.w3.org/1999/XML
Schema"><SOAP-ENV:Body><namesp1:TestJunk
xmlns:namesp1="urn:SearchService"/></SOAP-ENV:Body></SOAP-ENV:Envelope
>


I would like to generate the same thing only replacing the 1999 with 2001.
Below is the code I am using to generate this output. (Please note it's all
test code the proxy will not work)

use strict;
use SOAP::Lite +trace => 'debug';

my $soap = SOAP::Lite
-> uri('urn:SearchService')
->
proxy('http://services.xmltoday.com/vx_engine/soap-trigger.pperl', timeout
=> 30);

$soap->TestJunk();
die;

Thanks,
Blaine



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57