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 in Delphi 2006 and C# Problems

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WebServices SOAP
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sat May 12, 2007 6:02 pm    Post subject: Webservice in Delphi 2006 and C# Problems Reply with quote



Hi

I'm writing application for Windows CE 5.0. in C#(VS). My app is using
WebService which I wrote in Delphi 2006. When I start app I want to
read URL to my WebService from XML file and set it dynamicly. Problem
is that I do not how to do it. I try to do it in this way:

Url from XML=http://192.168.2.3:8081/TransportDotNetSrv.exe/wsdl/
ITransportDotNetService

URL Behaviour I've set to "Dynamic"

string WebServiceAddr(from XML)
WS = new WSrv.MYWebservise();
WS.Url = WebServiceAddr;
WS.SomeOperationOnMyWebService();

When I run my app on Windows CE I received exception "SOAPException"
but
when I run on Windows XP I received exception

Possible SOAP version mismatch: Envelope namespace
http://schemas.xmlsoap.org/wsdl/ was unexpeted. Expecting
http://schemas.xml/org/soap/envelope/.

(Maybe someone knows how to set correct Envelope namespace in Delphi?)


Is funny because when I put static URL all reaquest to Database goes
with out any of problems

Could you help me with my problem?

Best regards

Martin
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WebServices SOAP 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.