Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello! I'm trying to learn SoapUI, but when running the code below I'm getting HTTP ERROR 411 all files are in /var/www/html/ not sure what's the issue
Quote:
#!/usr/bin/perl
use SOAP::Transport::HTTP;
SOAP::Transport::HTTP::CGI
-> dispatch_to('Demo')
-> handle;
411 Length Required
The request did not specify the length of its content, which is required by the requested resource
From CPAN re: SOAP::Transport::HTTP::CGI
Quote:
handler(SafeClassHash, OptionalDispatcher)
This is the only method on the class, and you must pass a hash reference whose keys contain the collection of classes that may be invoked at this endpoint....
So I'm guessing that the error is because you've not used the module correctly...but that's just a guess...
411 Length Required
The request did not specify the length of its content, which is required by the requested resource
From CPAN re: SOAP::Transport::HTTP::CGI
So I'm guessing that the error is because you've not used the module correctly...but that's just a guess...
thanks for the response but this is a very basic code in a file script.cgi and I call the file through the browser nothing fancy. like so Palmcity.net/script.cgi I'm not using SmartBear client
thanks for the response but this is a very basic code in a file script.cgi and I call the file through the browser nothing fancy. like so Palmcity.net/script.cgi I'm not using SmartBear client
Is that the code you posted in the quote tags in your OP?
If you use code tags instead, the code would be more readable.
That said, my answer is the same...you do not seem to be using the perl module as it is designed to be used.
CPAN is your friend. That's where the documentation for all perl modules resides.
Is that the code you posted in the quote tags in your OP?
If you use code tags instead, the code would be more readable.
That said, my answer is the same...you do not seem to be using the perl module as it is designed to be used.
CPAN is your friend. That's where the documentation for all perl modules resides.
Can you provide a little bit more detail, on what exactly you think I should change in my code? I'm very new at this, I will appreciate if I can have a clear guidance on what is the problem and how to fix it.
I tried to add these handler(SafeClassHash, OptionalDispatcher) it didn't work, I also added more modules, but the problem remains
Can you provide a little bit more detail, on what exactly you think I should change in my code? I'm very new at this, I will appreciate if I can have a clear guidance on the what is the problem and how to fix it.
I tried to add these handler(SafeClassHash, OptionalDispatcher) it didn't work, I also added more modules, but the problem remains
Sorry, no. I've no interest in reading the documentation for/to you. And, besides, I don't know what you're trying to accomplish...what your goal is.
Again. CPAN. Contains excellent documentation and examples.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.