 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Sat May 12, 2007 6:02 pm Post subject: Webservice in Delphi 2006 and C# Problems |
|
|
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 |
|
 |
|
|
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
|
|