473,382 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Calling XML WebService VB.Net from C++

Hi again guys,

I configured my MFC project so that it can call few webservices I made.
The web services are in VB.Net and are using few namespace such as
WebClientProtocol which I need in MFC. Let's me explain.

My MFC can connect to 2 différents servers, 1 which is LIVE and the
other is for DEBUG only. When I added the webservice, I did it locally
in order to debug stuff. So MFC took the default URL of the webservice
as localhost/.../webservice.asmx. Don't blame me for that, it's how it
works at the company I'm working.

Anyway, the 2 URL (LIVE and DEBUG) are hardcoded as constants into an
header file, but I must change the Url of the webservice in order to
connect to a proper service. As exemple, here's how we redirect from
localhost to the net :

::Service1::Service1 ws;
ws.Url = "http://webservices.iter.dk/google.asmx"

The problem is that the property Url (and many other properties) are
part of the WebClientProtocol .Net namespace, which I can't include in
MFC. This leads to the problem that I cannot use Url property or any
other properties, functions or variables which are included in any .Net
namespace.

My question is, is there a way to change the URL of a webservice
without including (somehow) a .Net namespace into MFC or simply put,
how can a change the URL of a webservice into C++/MFC not .Net managed,
while the webservice is .Net under VB.Net ?

Thanks again :)

Guillaume

Mar 10 '06 #1
2 2144
le***************@gmail.com wrote:
[..]
My question is, is there a way to change the URL of a webservice
without including (somehow) a .Net namespace into MFC or simply put,
how can a change the URL of a webservice into C++/MFC not .Net managed,
while the webservice is .Net under VB.Net ?


Uh... Are you in the right newsgroup? I can see 'namespace', but that's
about all that has any relevance of your question to the Standard C++.
Have you even _tried_ to find out where to post or did you just guess (and
apparently, incorrectly)?
Mar 10 '06 #2
Well yeah I searched where to post it and since my app is C++ (MFC), I
assumed it would be the good newsgroup to post. Bah anyway, I'll post
in the managed newsgroup also.

Sorry for the inconveniance

Mar 10 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Rob Kellow | last post by:
Hello, I'm working on an application for use within my company on our intranet that will be used to gather some information and store some of the info in a SQL Server database and the rest of the...
1
by: Lakshmi | last post by:
Hi All, I am having performance issues with the .NET client calling the Java Webservice running on axis. Have detailed the problem below. Please help. I wrote a webservice in Java. Lets name...
3
by: Merav Orion via .NET 247 | last post by:
I have a problem calling webservice from client side javascript. The javascript call the settimeout() method. when the user press submit button it ignore the press and keep refreshing the page. it...
7
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type...
3
by: Henrik | last post by:
Hi all,,, I need to get a refferece to a XML-webservice, and get some data from it.... But I can't add it like an web-refference... What options does I else have?? I've been told that i've to...
3
by: Mike | last post by:
Timeout Calling Web Service I am calling a .NET 1.1 web service from an aspx page. The web service can take several minutes to complete its tasks before returning a message to the aspx page. ...
1
by: jens Jensen | last post by:
Hello , i'm calling a webservice generated with oracle webservice java tools. I'm not able to add a web reference to a .net client the usual way with visual studio 2005. I was therefore...
0
by: =?Utf-8?B?QWRhbUM=?= | last post by:
Hi, I'm wondering if you can help. We have a classic asp application that creates and posts some XML using the SOAP format to a .NET WebService. The WebService and the asp are on the same IIS...
0
by: cataztrophe | last post by:
I have an ASP.NET/VB.NET program. There is a webservice does processing in a separate project which does not return any values. The webservice is executed upon clicking the run button on a certain...
0
by: vineetbindal | last post by:
Hi, I have a webservice which i am calling on button click event. this webservice is serving twi methods, my problem is that allthough this service will call both the methods but one of them...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.