Hello,
I just created a Hello World webservice in VB2005 (this is my first
webservice ever). I ran it in debug mode and the page that came up said
Hello World and said to change the webservice namespace from tempuri.org to
something else so that the xml file could be created. I did that. Then it
said to make a web reference (say what?) The only web reference I was able
to make was to the local solution: Local Host. Then in the build I
selected publish. The project was copied to a virtual directory on my IIS
webserver (Service1.asmx and related files).
When I tried to call it from Internet Explorer I got an error message. I
typed something like
myVirtualDir/mywebservice/Service1.asmx
This brought up an error page and suggested that I create a custom errors
tag in web.config and set it to off to get a better error message. This is
getting a little complex for me. So what is the correct way to deploy/call
my new webservice?
Thanks,
BC 3 2103
On Jan 15, 11:23 am, BC <B...@discussio ns.microsoft.co mwrote:
Hello,
I just created a Hello World webservice in VB2005 (this is my first
webservice ever). I ran it in debug mode and the page that came up said
Hello World and said to change the webservice namespace from tempuri.org to
something else so that the xml file could be created. I did that. Then it
said to make a web reference (say what?) The only web reference I was able
to make was to the local solution: Local Host. Then in the build I
selected publish. The project was copied to a virtual directory on my IIS
webserver (Service1.asmx and related files).
When I tried to call it from Internet Explorer I got an error message. I
typed something like
myVirtualDir/mywebservice/Service1.asmx
This brought up an error page and suggested that I create a custom errors
tag in web.config and set it to off to get a better error message. This is
getting a little complex for me. So what is the correct way to deploy/call
my new webservice?
Thanks,
BC
Have you set the web service as a .Net app in IIS?
Thanks,
Seth Rowe
The only thing I have done so far is to publish the webservice to IIS. I
look at IIS virtual dirs and there are the files (the .asmx file ...). I
have not done anyting (anything else regarding this webservice) in IIS. How
do I set my webservice as a .Net app in IIS?
"rowe_newsgroup s" wrote:
On Jan 15, 11:23 am, BC <B...@discussio ns.microsoft.co mwrote:
Hello,
I just created a Hello World webservice in VB2005 (this is my first
webservice ever). I ran it in debug mode and the page that came up said
Hello World and said to change the webservice namespace from tempuri.org to
something else so that the xml file could be created. I did that. Then it
said to make a web reference (say what?) The only web reference I was able
to make was to the local solution: Local Host. Then in the build I
selected publish. The project was copied to a virtual directory on my IIS
webserver (Service1.asmx and related files).
When I tried to call it from Internet Explorer I got an error message. I
typed something like
myVirtualDir/mywebservice/Service1.asmx
This brought up an error page and suggested that I create a custom errors
tag in web.config and set it to off to get a better error message. This is
getting a little complex for me. So what is the correct way to deploy/call
my new webservice?
Thanks,
BC
Have you set the web service as a .Net app in IIS?
Thanks,
Seth Rowe
On Jan 15, 1:06 pm, BC <B...@discussio ns.microsoft.co mwrote:
The only thing I have done so far is to publish the webservice to IIS. I
look at IIS virtual dirs and there are the files (the .asmx file ...). I
have not done anyting (anything else regarding this webservice) in IIS. How
do I set my webservice as a .Net app in IIS?
"rowe_newsgroup s" wrote:
On Jan 15, 11:23 am, BC <B...@discussio ns.microsoft.co mwrote:
Hello,
I just created a Hello World webservice in VB2005 (this is my first
webservice ever). I ran it in debug mode and the page that came up said
Hello World and said to change the webservice namespace from tempuri.org to
something else so that the xml file could be created. I did that. Then it
said to make a web reference (say what?) The only web reference I was able
to make was to the local solution: Local Host. Then in the build I
selected publish. The project was copied to a virtual directory on my IIS
webserver (Service1.asmx and related files).
When I tried to call it from Internet Explorer I got an error message. I
typed something like
myVirtualDir/mywebservice/Service1.asmx
This brought up an error page and suggested that I create a custom errors
tag in web.config and set it to off to get a better error message. This is
getting a little complex for me. So what is the correct way to deploy/call
my new webservice?
Thanks,
BC
Have you set the web service as a .Net app in IIS?
Thanks,
Seth Rowe
I have not done this in a while, and do not currently do any IIS admin
stuff, so my advice could be off.
With that said, I believe you right click on the virtual directory and
go to properties. One of the tabs should be called something like
"ASP.NET", you need to open that tab. One of the drop downs should
have the target framework version, which by default is set to 1.1.
This is the property you need to set to 2.0 (if you wrote this
with .NET 2.0 (VB 2005)).
Thanks,
Seth Rowe [MVP] This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gaz |
last post by:
How do I modify the Hello example that comes with the JWSDP-1.1
Tutorial so that it calls a different webservice (ie; an asp.net
webservice) instead of the webservice I deploy as part of the Hello
example? As the asp.net webservice is already deployed all I need to
do is generate a stub for this webservice and slot it into the Hello
example. Can someone please step through what needs to be done?? The
tutorial says it can be done, but...
|
by: The Pritchard |
last post by:
I want the user to be able to save the information displayed on a
dynamically created page.
When I write a script like the following:
<SCRIPT>
winNew = window.open("","test");
winNew.document.writeln("Hello World!");
winNew.document.close();
winNew.focus();
|
by: vijay |
last post by:
Hello,
As the subject suggests, I need to print the string in the reverse
order. I made the following program:
# include<stdio.h>
struct llnode
{
char *info;
|
by: Johann Blake |
last post by:
I want the following string to be created:
hello "Bob"
This is how I've been doing it up till now...
string s = "hello\"bob\"";
An alternative is...
|
by: Henrik Dahl |
last post by:
Hello!
I've made a WebService which has the name MyWebService. Now I make a setup
project for it. The name of the setup project is MyWebServiceInstaller. The
default name for the virtual directory created by the setup program is
MyWebServiceInstaller but I would like it to be MyWebService. Is there a way
to have the setup to install MyWebService having the virtual directory
MyWebService instead of MyWebServiceInstaller?
| |
by: Dhananjayan |
last post by:
Hi,
I have a java webservice running on Axis, Iam able to create a java
client to invoke the webservice and obtain the result.
But iam not able to invoke the service from .Net client..
Here are the steps i followed to create a .net client
I created a web reference("NetClient") for a webservice running in
Axis thru "Add Web Reference", it created succesfully.
When I checked the file created by .Net
For me when I create the web...
|
by: Dhananjayan |
last post by:
Hi,
I have a java webservice running on Axis, Iam able to create a java
client to invoke the webservice and obtain the result.
But iam not able to invoke the service from .Net client..
Here are the steps i followed to create a .net client
I created a web reference("NetClient") for a webservice running in
Axis thru "Add Web Reference", it created succesfully.
When I checked the file created by .Net
For me when I create the web...
|
by: Mark |
last post by:
Hi, does anyone know of a free world time webservice?
I would like to be able to specify a country/ city and get the current date
and time
TIA
Mark
|
by: arnuld |
last post by:
i am learning C and doing the exercise 1-1 of K&R2, where K&R ask to
remove some parts of programme and experiment with error, so here i
go:
#include <stdio.h>
int main () {
printf('hello world\n');
}
|
by: cj |
last post by:
Perhaps someone knows how to do this. When I open a new ASP.NET web
service application in VS 2008, it opens with a simple Hello World web
service already written. I want to see this work. Without changing a
thing I built the solution and published it to localhost default web
site. How can I test it?????
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |