Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Question about SOAP::Lite

Reply
Thread Tools

Question about SOAP::Lite

 
 
Henry
Guest
Posts: n/a
 
      06-27-2007
I want to send raw xml with SOAP and have something like this:

my $ns1 = "http://www.vrom.nl/wkpb/stuf";
my $ns2 = "http://www.egem.nl/StUF/StUF0205";
my $ns3 = "http://www.vrom.nl/wkpb0102";

my $method = SOAP:ata
-> attr ({'xmlns:StUF' => $ns2, 'xmlns:wkpb' => $ns3})
-> prefix ('wkpb-stuf')
-> uri ($ns1)
;

my $soap = SOAP::Lite
-> readable (1)
-> proxy ($ep)
-> uri ($ns1)
-> on_action ( sub { return '""';} )
-> call ($method => SOAP:ata->type('xml' => $aanvraag))
;

$aanvraag is the file containing the raw xml.

When I do this I get an SOAP-call:

<soap:Envelope
xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlnssd="http://www.w3.org/2001/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<wkpb-stuf:c-gensym2 xmlns:wkpb-stuf="http://www.vrom.nl/wkpb/stuf" xmlns:StUF="http://www.egem.nl/StUF/StUF0205"
xmlns:wkpb="http://www.vrom.nl/wkpb0102"> <StUF:stuurgegevens>
<StUF:berichtsoort>Lk02</StUF:berichtsoort>

How can I get rid of the c-gensym elements?

--
Henry


 
Reply With Quote
 
 
 
 
Henry
Guest
Posts: n/a
 
      06-27-2007
Hello,

As a supplement to my previous message:

I want to create something like this:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wkpb-stuf="http://www.vrom.nl/wkpb/stuf"
xmlns:StUF="http://www.egem.nl/StUF/StUF0205"
xmlns:wkpb="http://www.vrom.nl/wkpb0102"
xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
...................content of xml file...................
</soapenv:Body>
</soapenv:Envelope>

--
Henry



 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
question row filter (more of sql query question) =?Utf-8?B?YW5kcmV3MDA3?= ASP .Net 2 10-06-2005 01:07 PM
Quick Question - Newby Question =?Utf-8?B?UnlhbiBTbWl0aA==?= ASP .Net 4 02-16-2005 11:59 AM
Question on Transcender Question :-) eddiec MCSE 6 05-20-2004 06:59 AM
Question re: features of the 831 router (also a 924 question) Wayne Cisco 0 03-02-2004 07:57 PM
Syntax Question - Novice Question sean ASP .Net 1 10-20-2003 12:18 PM



Advertisments