Loading ...
Sorry, an error occurred while loading the content.

"No port for method" fault

Expand Messages
  • Peter Farr
    I am pretty new to this so I am probably doing something stupid, but I can t figure it out. I have the following code attempting to access a commercial product
    Message 1 of 1 , Mar 18 5:05 PM
    • 0 Attachment
      I am pretty new to this so I am probably doing something stupid, but I can't figure it out. I have the following code attempting to access a commercial product via its web services interface:

      my $soap = SOAP::Lite
      -> uri('http://vm-impact1/ImpactManager')
      -> proxy('http://vm-impact1.home.dom:6070/imapi/');

      my $som = $soap->bmciiws_getCellInfo;

      if ($som->fault) {
      print "Fault encountered: "
      . $som->faultcode . ":\n"
      . $som->faultstring . "\n";
      } else {
      print "Ok\n\n";
      my @return_vals = $som->paramsall;
      foreach my $val (@return_vals) {
      print "\t$val\n"
      }
      }

      I get the response:
      No port for method 'bmciiws_getCellInfo:http://vm-impact1/ImpactManager' with SOAPAction '"http://vm-impact1/ImpactManager#bmciiws_getCellInfo"' found

      The vendor documentation is very poor. All I have to go on is the WSDL. Instead of taking up space here I have posted it at http://peter.lpi-solutions.com/ImpactManager.wsdl

      Any assistance would be appreciated.
    Your message has been successfully submitted and would be delivered to recipients shortly.