Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to create Perl API to jBilling using SOAP::Lite. One of jBilling's method is getAllItems which is not required any parameter. But I have an error about null parameter. My perl code is

my $jb = SOAP::Lite->new->proxy('http://' . $username . ':' . $passwor +d . '@jb-test-app:8080/jbilling/services/api' ) ->ns( 'http://jbilling.com/', 'jbilling' ) ->readable('1'); my $som = $jb -> getAllItems();

faultstring value is "null while invoking public com.sapienter.jbilling.server.item.ItemDTOEx[] jbilling.ApiService.getAllItems() with params null" Any idea?

Replies are listed 'Best First'.
Re: SOAP::Lite error
by Anonymous Monk on Feb 12, 2015 at 02:30 UTC

      Thank you for your reply. But I am new to Perl and I believe I am supposed to use SOAP instead of WSDL. Do you mean SOAP::Lite has a bug to handle no-parameter method calling? I don't have any problem with methods with parameter using SOAP::Lite. I am very frustrated with my ignorance. Is there any other way to handle methods calling without parameters using SOAP::Lite?

        Thank you for your reply. But I ...

        Yup, you are on your own, good luck, sorry