Thread View: borland.public.cppbuilder.internet.web
1 messages
1 total messages
Started by Omar Zelaya
Fri, 16 Mar 2007 19:04
WebService Problem with BDS
Author: Omar Zelaya
Date: Fri, 16 Mar 2007 19:04
Date: Fri, 16 Mar 2007 19:04
37 lines
2041 bytes
2041 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads