|
|
|
|||||
|
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 |
|
|||||
|
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 Last edited by simpley : 11-05-2005 at 12:44 PM. |
|
||||||
|
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.
|
|
|||||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |