User Profile

Collapse

Profile Sidebar

Collapse
gcwg
gcwg
Last Activity: May 23 '11, 09:10 PM
Joined: Apr 8 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • gcwg
    started a topic mod_perl2 sendfile issue.
    in Perl

    mod_perl2 sendfile issue.

    Hi all,
    I am having issues with the sendfile command in mod_per2. I am getting the following errors in the error_log:

    [Thu Mar 24 11:38:50 2011] [info] [client 10.199.122.122] (32)Broken pipe: core_output_fil ter: writing data to the network
    [Thu Mar 24 11:38:50 2011] [error] [client 10.199.122.122] Apache2::Reques tIO::sendfile: (130) Software caused connection abort.


    Here is code for my perl...
    See more | Go to post

  • gcwg
    started a topic LWP::UserAgent get just body content(image)
    in Perl

    LWP::UserAgent get just body content(image)

    Hi all,
    I am attempting to use the LWP::UserAgent to request a Soap call, and in the response the request returns a TIFF image. When I write the contents out to a file(binary mode), the file also contains header information. How would I go about extracting just the body(TIF image) of the response?

    Code:
    #!/usr/bin/perl
    
    use strict;
    use Data::Dumper;
    use LWP::UserAgent;
    
    my $type
    ...
    See more | Go to post

  • gcwg
    started a topic soap::wsdl assistance
    in Perl

    soap::wsdl assistance

    Hi,
    I am new to using the Soap::WSDL module. How would I go about getting rid of this parsing error?

    Code:
    #!/usr/bin/perl
    
    use strict;
    use SOAP::WSDL +trace => 'all';
    use Data::Dumper;
    
    my $ops = 'http://ops.epo.org/wsdl/ops.wsdl';
    
    eval {
    my $soap=SOAP::WSDL->new(
       wsdl => $ops,
       );
    };
    
    if ($@)
    ...
    See more | Go to post

  • gcwg
    started a topic Soap::Lite assistance
    in Perl

    Soap::Lite assistance

    Hi,
    I am new to using the Soap::Lite perl module. Here is a piece of code to retrieve an image, but it does not seem to working properly.
    Code:
    #!/usr/local/bin/perl
    
    # Load the SOAP library
    use SOAP::Lite;
     
    # Service details
    my $NAMESPACE = 'http://ops.epo.org//soap-services/document-retrieval';
    my $ENDPOINT = 'http://ops.epo.org//soap-services/document-retrieval';
    ...
    See more | Go to post
No activity results to display
Show More
Working...