BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WebService Problem with BDS

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web)
View previous topic :: View next topic  
Author Message
Omar Zelaya
Guest





PostPosted: Sat Mar 17, 2007 12:04 am    Post subject: WebService Problem with BDS Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.