The code I have thus far is:<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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> ..................content of xml file................... </soapenv:Body> </soapenv:Envelope>
Resulting in the following:use SOAP::Lite +trace => "all"; my $ser = SOAP::Serializer->new(); $ser-> register_ns ("http://www.egem.nl/StUF/StUF0205", "StUF"); $ser-> register_ns ("http://www.vrom.nl/wkpb0102", "wkpb"); $ser-> register_ns ("http://www.vrom.nl/wkpb/stuf", "wkpb-stuf"); my $method = SOAP::Data -> prefix ('wkpb-stuf') ; my $soap = SOAP::Lite -> serializer ($ser) -> readable (1) -> proxy ($ep) -> call ($method => SOAP::Data->type('xml' => $aanvraag)) ;
So I'm almost there but how can I get rid of the c-gensym2 elements? -- Henry<soap:Envelope xmlns:wkpb-stuf="http://www.vrom.nl/wkpb/stuf" xmlns:StUF="http://www.egem.nl/StUF/StUF0205" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wkpb="http://www.vrom.nl/wkpb0102" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <wkpb-stuf:c-gensym2> ..................content of xml file................... </wkpb-stuf:c-gensym2> </soap:Body> </soap:Envelope>
In reply to SOAP::Lite and raw xml by Henry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |