Results 1 to 5 of 5

Thread: problem about ICE2.1.2 be used in VC71

  1. #1
    simpley is offline Registered User
    Join Date
    Aug 2003
    Location
    beijing
    Posts
    43

    problem about ICE2.1.2 be used in VC71

    Hello,
    I want to do a Web Service use VC71' ATL Server Web Service project, when I include the *.h and *.cpp (complied by slice2cpp) into the project, compling is ok, but I can't use IE to test. I don't know why, I want to know if I can do this.
    Thanks.


    yu yang
    North China Institute of Computer Technology
    TerraMap GIS platform projection

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    In theory this should work. I've used the Ice for C# in the past in a VC7.1 generated web service and it worked perfectly.

  3. #3
    simpley is offline Registered User
    Join Date
    Aug 2003
    Location
    beijing
    Posts
    43
    I have tried the project for many times, but it still didn't work. Now, I will give the details of the problem, and hope someone can help me. Because I want to know weather it's my error or I can't do as that at all.

    What I have done as follows:
    (1) Use ATL Server Web Service template of VC71 to produce a project named test_dll_in_service.sln (Please see the attachment).

    (2) Set the settings of the project like:
    Link Project Options:
    /OUT:"Debug/test_dll_in_service.dll" /INCREMENTAL /NOLOGO /LIBPATH:"C:\Ice-2.1.2\lib" /LIBPATH:"C:\Ice-2.1.2-ThirdParty\lib" /DLL /IDLOUT:"_test_dll_in_service.idl" /DEBUG /PDB:"Debug/test_dll_in_service.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"Debug/test_dll_in_service.lib" /MACHINE:X86 iced.lib iceutild.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

    C/C++ project Options:
    /Od /I "C:\Ice-2.1.2\include" /I "C:\Ice-2.1.2-ThirdParty\include" /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_USRDLL" /D "_ATL_ATTRIBUTES" /D "_MBCS" /D "_WINDLL" /D "_ATL_STATIC_REGISTRY" /Gm /EHsc /RTC1 /MDd /GR /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /nologo /c /Wp64 /ZI /TP

    (3) Compile the project and test the result.(The VS71 will deploy the test_dll_in_service.dll to IIS Server automaticly on the local host.)
    The method of test the result is using the address of "http://localhost:80/test_dll_in_service/test_dll_in_service.dll?Handler=Gentest_dll_in_ser viceWSDL" to test in IE.
    Up to now, everything is OK, I can get the WSDL in IE.

    (4) Add vdpice.h and vdpice.cpp(produced by vdpice.ice used slice2cpp.exe) to the project.

    (5) Compile the project and test the result again. This time I can't get the WSDL in IE.

    If you had installed the IIS Server and VS71, the problem can be recoverd.

    Thanks.


    [U]
    yu yang
    North China Institue of Computer Technology
    TerraMap GIS platform projection
    Attached Files Attached Files
    Last edited by simpley; 11-05-2005 at 11:44 AM.

  4. #4
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    I'm sorry, but I'm afraid investigating this code is beyond the scope of the free support we can provide in this forum. If you would like to purchase commercial support and consulting services, please contact us at sales@zeroc.com.

  5. #5
    simpley is offline Registered User
    Join Date
    Aug 2003
    Location
    beijing
    Posts
    43
    Thanks anyway.

    In fact, the project is just a test of my graduate paper, not for the commercial purpose. And I thought the problem was simply for you and been included in the scope of the free support you can provide in this forum, I am sorry.And I am afraid of that I can't purchase the commercial support, sorry.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 04-12-2007, 04:23 AM
  2. Trouble migrating to 3.2 in VC71
    By Kruppy in forum Help Center
    Replies: 2
    Last Post: 03-27-2007, 02:19 PM
  3. Install Ice2.12 on Tru64
    By myer in forum Patches
    Replies: 1
    Last Post: 08-16-2005, 11:32 AM
  4. STLPort & ICE in VC71
    By rockieyung in forum Help Center
    Replies: 1
    Last Post: 05-31-2005, 03:52 AM
  5. problems when compile Ice2.0.0 in redhat 9
    By libaoli in forum Help Center
    Replies: 8
    Last Post: 01-09-2005, 07:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •