Service Virtualization

  • 1.  How to invoke web service from lisa?

    Posted Jul 31, 2017 01:49 AM

    How to invoke web service from lisa?

    we are trying to invoke one web service by using web service execution step in lisa .

    After punting wsdl url in WSDL URL input box we are getting below error:

     

    java.io.FileNotFoundException: Unable to load file: name=file:///bnais001/Turtle/BIONIC_Users/A1332540/Desktop/DevTest/hotDeploy/rms.wsdl.zip path:[file:\bnais001\Turtle\BIONIC_Users\A1332540\Desktop\DevTest\hotDeploy\rms.wsdl.zip] absolutePath:[\\bnais001\Turtle\BIONIC_Users\A1332540\Desktop\DevTest\file:\bnais001\Turtle\BIONIC_Users\A1332540\Desktop\DevTest\hotDeploy\rms.wsdl.zip] canonicalPath:[indeterminant]
    at com.itko.util.StreamHelp.fileOpenerWithInfo(StreamHelp.java:775)
    at com.itko.util.StreamHelp.fileOpener(StreamHelp.java:670)
    at com.itko.lisa.dynexec.axis.WSUtilities.streamURL(WSUtilities.java:753)
    at com.itko.lisa.dynexec.axis.WSUtilities.createZippedWSDLLocator(WSUtilities.java:998)
    at com.itko.lisa.dynexec.axis.WSUtilities.processExternalWSDL(WSUtilities.java:931)
    at com.itko.lisa.ws.nx.ui.NxWSStepEditor.processNewWSDL(NxWSStepEditor.java:475)
    at com.itko.lisa.ws.nx.ui.ConnectionInfoEditor$34.run(ConnectionInfoEditor.java:1120)
    Caused by: java.io.FileNotFoundException: \\bnais001\Turtle\BIONIC_Users\A1332540\Desktop\DevTest\file:\bnais001\Turtle\BIONIC_Users\A1332540\Desktop\DevTest\hotDeploy\rms.wsdl.zip (The specified path is invalid)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.itko.util.StreamHelp.fileOpenerWithInfo(StreamHelp.java:761)
    ... 6 more

      

     

    i have kept wsdl file for that actual url in hot deploy folder .but not sure of where to put the wsdl file .

     

    any help willl be appreciated ?

     

    thanks,

    Kartik audichya



  • 2.  Re: How to invoke web service from lisa?

    Posted Jul 31, 2017 04:45 AM

    Can you share your Test Step Screenshot?



  • 3.  Re: How to invoke web service from lisa?
    Best Answer

    Broadcom Employee
    Posted Jul 31, 2017 10:51 AM

    Hi Kartik,

     

    Whenever you try to use WSDL file in Web Service Execution XML step, DevTest creates a bundle and add it to the Projects/Data/wsdls folder. The error you are seeing is referring to AEC_Sprint08_Project/Data/wsdls/27..3D.zip. Here is what I want you to try:

    . Close the Workstation.

    . Go to the AEC_Sprint08_Project/Data/wsdls folder and delete the zip files. You are not going to loose anything, whenever you use WSDL's again the zip files will be created.

    . There is one more place you have the zip files, which is the DevTest_Home/wsdls folder. If you see a zip file, please delete it.

    . Start the Workstation and try the WSDL again in Web Service Execution XML step and see you get the error or not. If you still see the issue, try WSDL bundle with your WSDL file.

    . In Workstation--->Actions menu-->WSDL Bundler. Add the WSDL location and give some name and location for the zip file and try to bundle it. If you are able to bundle the WSDL then try using the bundle zip in Web Service Execution XML step and see it works or not.

     

    If none of the above works, please open a support ticket and we can look into it in a WebEx.

     

    Thanks,

    Prema