 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Omar Zelaya Guest
|
Posted: Sat Mar 17, 2007 12:04 am Post subject: WebService Problem with BDS |
|
|
Hi,
i have created a new webservice in BDS2006(Update 2 and all hotfixes), then
i created a test program for the webservice
when i compile the generated interfase file i get the following warning:
Nonportable pointer comparison and this line of the generated code by BDS
if (addr=="") // here is the warning
addr = useWSDL ? defWSDL : defURL;
then when i call the funtion to get the interfase for the webservice i get
the following exception:
No WSDL or URL property was set in THTTPRIO component.You must set the WSDL
or URL....
this is how i'm calling the interfase function
_di_IRecepcion MyRecepcion
MyRecepcion = GetIRecepcion(false,"");
ifi change the useWSDL parameter to true i get the same exception:
Unable to load SWDL File/Location: ....
after testing i have noticed that the problem is in the following generated
code
if (addr=="")
addr = useWSDL ? defWSDL : defURL;
this statement is never executed even if addr IS "", i have changed the if
statement to this (System::AnsiString(addr)=="") and now everything works
fine.
Is this a bug or am i doing something wrong?
Thanks in advance
Omar Zelaya |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|