Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Services Wizard running Application builder
Message
De
11/12/2001 11:31:58
 
 
À
11/12/2001 11:12:44
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00592573
Message ID:
00592719
Vues:
27
Thanks Alex

Yes T: is a drive mapping.

I have been doing everything on the one local PC and my DLL is registered ok.
Everything runs except that when I try and run my method in my class

eg


clear
CLEAR all
PUBLIC lows,oWeb
loWS =NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
oWeb =loWS.SetupClient("http://TE17829/Webpub/wsclass.WSDL","wsclass","wsclassSoapPort") &&,"wsclassSoapPort")
? oweb.sendtext()


I get on error on the oweb.sendtext() as if the method was not there

I do not see the method in intellisense either:(

? oweb.sendtext()


OLE IDispatch exception code 0 from SOAP-END:Server:
WSDLOperation: Instantiating the dispatch object for method
SendText failed







>Mark dies T means a mapped drive from a Server if so where is the problem since the Web Service is running has IUSER_MachineName and this for certain don't have access to your server. You need to Copy the dll to your local machine an register.
>
>>Here is the messagebox
>>
>>Results of components generated:
>> COM Server: t:\dev\ijc\wsproject\wsproject.dll
>> Class: wsclass
>> Generated WSDL: Yes
>> WSDL: C:\Inetpub\webpub\wsclass.WSDL
>> Use ISAPI Listener: Yes
>> ASP (if not ISAPI): http://TE17829/Webpub/wsclass.ASP
>> Generated IntelliSense: Yes
>> Type Name: wsclass web service
>> Project Hook: Yes
>>
>>
>>I can email you the WDSL if you like because it will not display in here because of its tags
>>
>>
>>
>>
>>
>>>Mark can you do a print screen of the messagebox that you have after running the wizard and from the WSDL file Generated.
>>>
>>>>The builder says its registering it ok
>>>>
>>>>>No but needs to be registed.
>>>>>
>>>>>>Alex does my DLL file have to be in the WEBPUB folder?
>>>>>>
>>>>>>
>>>>>>>Mark
>>>>>>>open IIS go to your site open the properties window go to the home directory tab
>>>>>>>on the application setting section click on the configuration button if disable then click on the create button first. This will open a window called Application Configuration with 3 tabs the first one called App Mappings you have a type of a grid in this locate for an entry where the extension you have .wsdl if you don't find then chose the add button on the form that is open put the following information executable: C:\PROGRA~1\COMMON~1\MSSoap\Binaries\SOAPISAP.dll, Extension: .wsdl, Verbs: Limit to - GET, POST, HEAD Chose OK to all screens and restart IIS and try again.
>>>>>>>
>>>>>>>you need to have MSSOAP toolkit installed I personally advise MSSOAP 2 SP2.
>>>>>>>
>>>>>>>>Still no luck Alexandre:(
>>>>>>>>
>>>>>>>>
>>>>>>>>I chose the ISAPI listner but to no avail.
>>>>>>>>
>>>>>>>>Could you give me a quick check list of what I need to have installed and running.
>>>>>>>>
>>>>>>>>Maybe I do not have a listner running at all.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform