You are here iC Home > Know-how > Perl > SOAP > SOAP::Lite > Construct an object

Perl / SOAP

3.1 Construct an object

20.06.2006
3 SOAP::Lite [  up  ] - [ a - z ] - [ search PC ] - [ top ] 3.2 How to debug

  • Send a generated SOAP messages as a MIME attachment.
    use SOAP::Lite
            proxy => ['mailto:reto@example.com',
                    smtp => 'localhost',
                    From => 'reto@tertius.example.com',
                    Subject => 'SOAP message -> see attachment'] ,
    ;
    
    my $client = SOAP::Lite
            ->readable(1)
            ;
    
    # Add namespace
    $client->ns(
    	'urn:catalogue.eshop.ws.crm.example.net', 'urn');
    
    my $temp_elements;
    my @params = ();
    
    my $method = SOAP::Data->name('AddItemRequest')->attr({
    	xmlns =>
    	 'urn:catalogue.eshop.ws.crm.example.net'}, 'urn');
    
 
1 Introduction to SOAP
2 Namespaces in SOAP
3 SOAP::Lite
 3.1Construct an object    
 3.2How to debug    
  3.2.1    Debugging Flag
 3.3How to set a timeout (s)    
 3.4Manpage of SOAP::Lite    



Advanced search tips
3 SOAP::Lite [  up  ] - [ top ] 3.2 How to debug



[ home ] - [ search ] - [ feedback ]

copyright by reto - created with mytexi