IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  problems with wsdl

    Posted 03/28/07 01:33 AM

    hello all i just started learnind how to use wsdl and i am very new at it. i have been working with on somepractise work and i have been trying to create a wsdl file that matches the web service i provided for a script called stock .cgi which is below. can anyone plz tell me what the wsdl file is supposed to look like as i have tried without any luck. the scripts i created are below. any help would be appreciated. thanks:)

    stock.pm

    #!/bin/perl

    stock.pm

    package Stock;

    $productCode=7015RSRSC;
    $date=16/11/2006;
    $productQuantityPurchased=150;
    $productQuantitySold=0;

    productQuantityAvailable = (150 - 0); #($productQuantityPurchased - $productQuantitySold);

    sub checkStockLevel {

    my($productCode, $date);

              shift;
    
    $productcode = shift;
    
    $date = shift;
    
    if(($productCode eq "7015RSRSC") && ($date eq "16/11/2006"))
    
    { return " The Quantity of products remaining are $productQuantityAvailable.\n\n";
    
    }
    ;
    else
    
    { return "There are no products in stock.\n";
    
    }
    
    }
    


    Stock.cgi

    #!/usr/bin/perl -w

    use SOAP::Transport::HTTP;

    SOAP::Transport::HTTP::CGI
    → dispatch_to(‘stock’)
    → handle;


    #soa
    #API-Management
    #webMethods


  • 2.  RE: problems with wsdl

    Posted 03/28/07 02:04 AM

    Which webMethods products are you using? Not too much support here for debugging Perl.

    Mark


    #soa
    #webMethods
    #API-Management


  • 3.  RE: problems with wsdl

    Posted 03/28/07 02:34 AM

    i don’t understand your question


    #soa
    #API-Management
    #webMethods


  • 4.  RE: problems with wsdl

    Posted 03/28/07 05:54 AM

    wMUsers is a user community for developers and architects who use software products from webMethods, Inc. So my question was “which webMethods product are you using?”. XML is obviously not a product.

    Perhaps you might find better support in a Perl SOAP:lite discussion thread such as this one from perl.com.

    Mark

    Mark


    #soa
    #webMethods
    #API-Management