Skip to main content

Problem:

  • Product Name: VisiBroker
  • Product Version: 7.0 and above
  • Product Component: Web Service
  • Platform/OS Version: All
  • JDK/Compiler Version: all supported 

Unable to deploy the BankAccountManager Web Service

Following steps described in $VBROKERDIR/examples/vbroker/ws/bank/bank_cpp.html, you still encountered "Url not available" error message when accessing the Web Service. 

Resolution:

There is a documentation error in the bank_cpp.html. CR 9847 has been created to track this issue. You can make the following amendment to get it working.

  1. You need to put wsdl files in "$(AXISCPP_DEPLOY)/wsdls"
  2. Name of the wsdl file copied must match Service's name defined server.wsdd:
    e.g., by default, the name of the service generated is "BankWebService.AccountManagerWebServiceService" (as in deploy_cpp.wsdd), therefore, copy and rename generated BankWebService.wsdl to BankWebService.AccountManagerWebServiceService.wsdl
  3. Star the server using this command.
    Server –Dvbroker.ws.enable=true 
    For VisiBroker C , the default listener port is 8080
  4. Use Internet Explorer instead of Firefox or Chrome. Firefox and Chrome have some issue on rendering the xml returned from BankWebService.AccountManagerWebServiceService.wsdl.
  5. Go to http://localhost:8080.
  6. Click on the wsdl link. You need to see the wsdl in the browser to confirm the C server is hosting the web service.

Author: Matthew Ong

Old KB# 26842

#VisiBroker
#webservice
#Security