Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-03-2005
simpley 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
Reply With Quote
  #2 (permalink)  
Old 11-03-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
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.
Reply With Quote
  #3 (permalink)  
Old 11-05-2005
simpley 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
File Type: zip test_dll_in_service.zip (66.0 KB, 40 views)

Last edited by simpley : 11-05-2005 at 12:44 PM.
Reply With Quote
  #4 (permalink)  
Old 11-05-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
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.
Reply With Quote
  #5 (permalink)  
Old 11-05-2005
simpley 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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Ice2.12 on Tru64 myer Patches 1 08-16-2005 12:32 PM
About memory leak in MFC program with Ice2.1.2 ehero Help Center 1 07-14-2005 02:23 PM
STLPort & ICE in VC71 rockieyung Help Center 1 05-31-2005 04:52 AM
problems when compile Ice2.0.0 in redhat 9 libaoli Help Center 8 01-09-2005 08:40 AM
Ice2.0 compile error on linux! rc_hz Help Center 1 12-18-2004 08:09 AM


All times are GMT -4. The time now is 10:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.