MS SQL Server
  Home arrow MS SQL Server arrow Page 2 - Using SQL Anywhere Database with a Web Ser...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Using SQL Anywhere Database with a Web Services Server
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 11
    2006-02-22

    Table of Contents:
  • Using SQL Anywhere Database with a Web Services Server
  • Creating a web services server to work with the database
  • Verifying Installation
  • Creating a Web Service

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using SQL Anywhere Database with a Web Services Server - Creating a web services server to work with the database


    (Page 2 of 4 )

    In this step, using appropriate command line arguments, a web services server will be created to work with the above database. Type in the following command: dbeng9 -xs http(port:8082) mysorian.db at the command prompt as shown. Since port 80 is already being used by the IIS server, port 8082 (or a different one of your choice) was used. The HTTP listener will be at Port 8082.

    This will log all the information related to mysorian server as shown in this screen. Keep this screen up and it stays minimized on the desktop with the title icon showing.

    Now bring up Sybase Central, and click on Connect, accessible from the menu item Tools. This brings up the following screen, where you choose the option to connect to Adaptive Server Anywhere 9.

     

    When you click OK you will get the following screen, where you enter the authentication information as shown. The User ID is dba and the Password (case sensitive) is sql.

     

    Now click on the tab Database and click on the button Find...to search for the database name. The program searches all the available servers and then you will be asked to choose from the servers to connect to as shown:

    Now click on mysorian and click OK.  You will get the following screen, where you need to find the database file. If you look back and review the log created while installing, you will see the database file is located at C:\Program files\Sybase\SQL Anywhere 9\win32\mysorian.db. Now use the browse button to locate this file as shown.

    When you click OK, you will see that mysorian is added to Sybase Central's list of server nodes as shown. Currently this database is quite empty except for the system tables as discussed earlier.

    Now using Interactive SQL, a utility that comes with the installation, you create database objects. You can also use the built-in utility to import into SQLAnywhere the data of your choice, or by using other third party products, database objects can be imported.

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


       · Web services, SOA will be buzzing for years to come. Soon there will come a time...
     

    MS SQL SERVER ARTICLES

    - Windows Server 2008 as a Workstation OS
    - An Overview of Windows Server 2008 R2
    - LINQ to MySQL, Oracle and PostgreSQL Provide...
    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek