473,403 Members | 2,222 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,403 software developers and data experts.

Calling SOAP server functions

Ive only done this once before (for compact framework) and Ive forgotten how
I set it up.

Visual studio. C# Windows application.
Ive added a web with its SOAP service to IIS on \\localhost and it's active.
Ive added a web reference to my project. The web references wizard added a
sub node of "localhost" beneath "Web references" in Solution Explorer.
In my project file directory, Ive now got a sub-directory "Web
references\Localhost" which contains files "reference.cs", "reference.map",
"servicemain.disco", "servicemain.wsdl".

In the CF project I did a while ago, in Solution Explorer I had other sub
nodes beneath "local host" called "servicemain.disco", "servicemain.swdl"
and "reference.map" files. I don't seem to have them in Solution Explorer in
this new project. How do these get to appear?
Also, "localhost" in the new project seems to have an extra property "URL
behaviour" which my earlier CF attempt does not appear to possess.

I'm stuck now. I need to know what to do for my application to link to the
reference.cs file so I can access the functions. Ive completely forgotten.
The differences between the two projects is bugging me because I don't know
if Ive missed out on some necessary step, it may be due to one being
constructed in compact framework but I'm not familiar enough with it to
know.

can someone help please
Claire
Nov 17 '05 #1
2 1617
Hi Claire
I guess what you need it to create a proxy class of your webservice so you
use its functions.

http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconCreatingWebServiceProxy.asp
the when deploying you would need to set the URL property to the location
of y our webservice , you might want to keep and then read that from
appSetting in the web.config file of your application so you can
reconfigure that at deployment time.
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC

Nov 17 '05 #2
Thanks for help. I think there's just a difference between compact framework
and regular windows.
I was able to create the service with no problems.
Claire
Nov 17 '05 #3

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

Similar topics

0
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before...
7
by: Mickel Grönroos | last post by:
Hi everybody, To the heart of the matter: Which of the available Soap modules is best fitted for client side soap messaging? I have an upload service (written in Perl) that I want to use from a...
1
by: Claire | last post by:
Is it possible to test that a SOAP server exists, and is listening, without calling one of its interface functions please thanks Claire
0
by: Alexander Jagl | last post by:
Hi! I'm new to asp and asp.net What I wan't to achieve: Calling a soap-method from an asp-page. I've created a virtual directory and a virual name with a soap method linked to an SQL...
0
by: Cleo | last post by:
Hi, I am trying to call a WebService Method written in Weblogic from VB.NET and I am getting the following error. I am using SOAP Caal s from VB.NET. Please find the wsdl file and my code. ...
1
by: JTrigger | last post by:
I need to call a .Net web service that takes an array or object as a parameter from a PERL client. I have been trying to use the PERL SOAP::Lite package to do this without success. I can call one...
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: Jerome Cohen | last post by:
AI am trying to call a third-party web service. this service expects an XML fragment that contains the request plus other parameter. adding the web reference created the syntax below(reference.vb)....
7
by: Jorgen Haukland, Norway | last post by:
Hi, I have created a Java webservice which runs in IBM WebSphere appserver. I take the WSDL-file and create a VS.NET WinForm application and calls the service running on my PC and everything...
0
by: Tom Fredriksen | last post by:
Hi I am creating soap "proxy", of sorts, to hide a fubar soap server implemented by some proprietary guys. The point of the proxy server is to provide a SOAP 1.1 interface with described by...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.