I have a web service created via Visual Web Developer Express Edition on a
IIS Server with .NET 2.0 installed. The test page displays just fine when the
URL of the .asmx page is entered into a browser i.e.
"http://www.mydomain.co m/Extranet/WebServices/TestWebServ.asm x"
The WSDL displayed when accessing the .asmx via http://www.mydomain.com/Extranet/Web...Serv.asmx?wsdl file has
the wrong address location. It displays
<soap12:addre ss
location="http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x"
/>
The "extranet" should not be in front of the "mydomain.c om"; where
"mydomain.c om" is the domain name for the site
Also, when i try to add the web reference to the client web app that will be
consuming the web service, I get a message "Unable to download files from
"http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x?wsdl"
I seems like the computer name is being used as the first part of the
location address . The machine is named EXTRANET.mydoma in.com
Any one know why and what the fix is?
Thanks in advance,
WebDev2 4 3400
"WebDev2" <We*****@discus sions.microsoft .comwrote in message
news:EA******** *************** ***********@mic rosoft.com...
>I have a web service created via Visual Web Developer Express Edition on a
IIS Server with .NET 2.0 installed. The test page displays just fine when
the
URL of the .asmx page is entered into a browser i.e.
"http://www.mydomain.co m/Extranet/WebServices/TestWebServ.asm x"
The WSDL displayed when accessing the .asmx via http://www.mydomain.com/Extranet/Web...Serv.asmx?wsdl file
has
the wrong address location. It displays
<soap12:addre ss
location="http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x"
/>
The "extranet" should not be in front of the "mydomain.c om"; where
"mydomain.c om" is the domain name for the site
Also, when i try to add the web reference to the client web app that will
be
consuming the web service, I get a message "Unable to download files from
"http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x?wsdl"
I seems like the computer name is being used as the first part of the
location address . The machine is named EXTRANET.mydoma in.com
Any one know why and what the fix is?
Yes. Do not use the WSDL which .NET returns to you when using the "?wsdl"
syntax. That WSDL is generated by .NET by examining your web service class.
..NET will invent this WSDL for you, out of its own imagination, which may
not match your imagination.
Now, I take it that you want to have a WSDL which specified the location of
the service as www.mydomain.com instead of extranet.mydoma in.com. If that's
the case, then you need to create a WSDL that says so. .NET has no way to
know that you want to use www.mydomain.com even though that's an alias for
"extranet.mydom ain.com".
John
Ok. I am new to all this. How do I create the WSDL file and what should it
look like? Is there a .Net tool that will create a WSDL file for me?
Webdev2
"John Saunders" wrote:
"WebDev2" <We*****@discus sions.microsoft .comwrote in message
news:EA******** *************** ***********@mic rosoft.com...
I have a web service created via Visual Web Developer Express Edition on a
IIS Server with .NET 2.0 installed. The test page displays just fine when
the
URL of the .asmx page is entered into a browser i.e.
"http://www.mydomain.co m/Extranet/WebServices/TestWebServ.asm x"
The WSDL displayed when accessing the .asmx via http://www.mydomain.com/Extranet/Web...Serv.asmx?wsdl file
has
the wrong address location. It displays
<soap12:addre ss
location="http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x"
/>
The "extranet" should not be in front of the "mydomain.c om"; where
"mydomain.c om" is the domain name for the site
Also, when i try to add the web reference to the client web app that will
be
consuming the web service, I get a message "Unable to download files from
"http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x?wsdl"
I seems like the computer name is being used as the first part of the
location address . The machine is named EXTRANET.mydoma in.com
Any one know why and what the fix is?
Yes. Do not use the WSDL which .NET returns to you when using the "?wsdl"
syntax. That WSDL is generated by .NET by examining your web service class.
..NET will invent this WSDL for you, out of its own imagination, which may
not match your imagination.
Now, I take it that you want to have a WSDL which specified the location of
the service as www.mydomain.com instead of extranet.mydoma in.com. If that's
the case, then you need to create a WSDL that says so. .NET has no way to
know that you want to use www.mydomain.com even though that's an alias for
"extranet.mydom ain.com".
John
"WebDev2" <We*****@discus sions.microsoft .comwrote in message
news:9B******** *************** ***********@mic rosoft.com...
Ok. I am new to all this. How do I create the WSDL file and what should it
look like? Is there a .Net tool that will create a WSDL file for me?
When you use http://www.mydomain.com/Extranet/Web...Serv.asmx?wsdl, that is
a tool creating a WSDL file for you. Perhaps you should take that file, and
edit the location of the service. From now on, that edited file is your
official WSDL, not what comes from "?wsdl".
John
Webdev2
"John Saunders" wrote:
>"WebDev2" <We*****@discus sions.microsoft .comwrote in message news:EA******* *************** ************@mi crosoft.com...
>I have a web service created via Visual Web Developer Express Edition on a
IIS Server with .NET 2.0 installed. The test page displays just fine
when
the
URL of the .asmx page is entered into a browser i.e.
"http://www.mydomain.co m/Extranet/WebServices/TestWebServ.asm x"
The WSDL displayed when accessing the .asmx via http://www.mydomain.com/Extranet/Web...Serv.asmx?wsdl file
has
the wrong address location. It displays
<soap12:addre ss
location="http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x"
/>
The "extranet" should not be in front of the "mydomain.c om"; where
"mydomain.c om" is the domain name for the site
Also, when i try to add the web reference to the client web app that
will
be
consuming the web service, I get a message "Unable to download files
from
"http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x?wsdl"
I seems like the computer name is being used as the first part of the
location address . The machine is named EXTRANET.mydoma in.com
Any one know why and what the fix is?
Yes. Do not use the WSDL which .NET returns to you when using the "?wsdl" syntax. That WSDL is generated by .NET by examining your web service class. ..NET will invent this WSDL for you, out of its own imagination, which may not match your imagination.
Now, I take it that you want to have a WSDL which specified the location of the service as www.mydomain.com instead of extranet.mydoma in.com. If that's the case, then you need to create a WSDL that says so. .NET has no way to know that you want to use www.mydomain.com even though that's an alias for "extranet.mydo main.com".
John
Rather than edit the WSDL, I solved the problem by using some code from Kirt
Allens blog ( http://blogs.msdn.com/kaevans/archiv...16/493496.aspx)
Modify a Web Service's WSDL Using a SoapExtensionRe flector. Rather than
replacing the https, I replaced the "extranet" token in the generated WSDL.
Works great.
Webdev2
"John Saunders" wrote:
"WebDev2" <We*****@discus sions.microsoft .comwrote in message
news:9B******** *************** ***********@mic rosoft.com...
Ok. I am new to all this. How do I create the WSDL file and what should it
look like? Is there a .Net tool that will create a WSDL file for me?
When you use http://www.mydomain.com/Extranet/Web...Serv.asmx?wsdl, that is
a tool creating a WSDL file for you. Perhaps you should take that file, and
edit the location of the service. From now on, that edited file is your
official WSDL, not what comes from "?wsdl".
John
Webdev2
"John Saunders" wrote:
"WebDev2" <We*****@discus sions.microsoft .comwrote in message
news:EA******** *************** ***********@mic rosoft.com...
I have a web service created via Visual Web Developer Express Edition on
a
IIS Server with .NET 2.0 installed. The test page displays just fine
when
the
URL of the .asmx page is entered into a browser i.e.
"http://www.mydomain.co m/Extranet/WebServices/TestWebServ.asm x"
The WSDL displayed when accessing the .asmx via http://www.mydomain.com/Extranet/Web...Serv.asmx?wsdl file
has
the wrong address location. It displays
<soap12:addre ss
location="http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x"
/>
The "extranet" should not be in front of the "mydomain.c om"; where
"mydomain.c om" is the domain name for the site
Also, when i try to add the web reference to the client web app that
will
be
consuming the web service, I get a message "Unable to download files
from
"http://extranet.mydoma in.com/Extranet/WebServices/TestWebServ.asm x?wsdl"
I seems like the computer name is being used as the first part of the
location address . The machine is named EXTRANET.mydoma in.com
Any one know why and what the fix is?
Yes. Do not use the WSDL which .NET returns to you when using the "?wsdl"
syntax. That WSDL is generated by .NET by examining your web service
class.
..NET will invent this WSDL for you, out of its own imagination, which
may
not match your imagination.
Now, I take it that you want to have a WSDL which specified the location
of
the service as www.mydomain.com instead of extranet.mydoma in.com. If
that's
the case, then you need to create a WSDL that says so. .NET has no way
to
know that you want to use www.mydomain.com even though that's an alias
for
"extranet.mydom ain.com".
John
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: joewhitehair |
last post by:
Using the XSD.exe tool, I created a number of classes from my XSD file.
When I generate the WSDL for my web service, the schema does not have
the proper Occurance constraints for the attributes. In this example,
the MessageID element should always occur (minOccur=1, maxOccur=1), but
the WSDL generates minOccur=0. I can't pinpoint why this is...
|
by: Matt |
last post by:
My wsdl is generated on the fly via a java program. If I save a copy and
stick it thropugh any number of validators they say it is fine
If I link to it as a web reference I get an error message as below
any ideas? - I assume it is a visual studio / xml interpretation issue, but
am willing to be convinced otherwise. Any hints in fixing or...
|
by: Peter McEvoy |
last post by:
Hi all,
another question related to Schema and WSDL...
I'd like to have a bit more control over the WSDL that is generated for my
..asmx. In particular, I'd like to override the generated WSDL with a
handmade one that I want to provide.
The reasons for this are:
1) My handmade WSDL (which will be based on the machine generated WSDL)...
|
by: Howard |
last post by:
I am having a devil of a time getting WSDL.EXE to consume a WSDL file
that describes a web service (known as AXL) on a Cisco phone switch.
The WSDL file references four schemas and (I believe) two namespaces
via imports and includes. If anyone can help me look at the actual
files, I'll be more than happy to provide them. What follows is the...
|
by: Mike Logan |
last post by:
I used WSDL.exe to generate a client side web proxy for a web service, called
the web service, got the results but an array returned by the web service is
not in the results.
However if I use "Add Web Reference" for the same service the same function
works appropriately.
Here is the client proxy generated from WSDL.exe
...
| |
by: GavinM |
last post by:
I have the same question as andreas.w.h.k asked on 1/5.
Our configuration is as follows:
The client must use the URL https://clustername.xyz.com/webservice.asmx to
access this web service.
clustername.xyz.com resolves to a virtual IP address on a hardware load
balancer which is listening for requests on port 443.
|
by: Jigar.Patel |
last post by:
I have simple remoting server exposing following simple method. When I try to
add webreference to this server in another project by serveraddresss?wsdl,
it gives me following error:
Custom tool error: Unable to import WebService/Schema. Unable to import
binding 'MyRemoteObjectBinding' from namespace...
|
by: ScottM |
last post by:
I have run into a problem generating the class file via the WSDL utility. I
have a WSDL file that was generated by XMLSpy and is able to be read by the
Java code utility, but I get the following error from the WSDL utility.
Error: Unable to import binding 'REMSOAPHttpsBinding' from namespace...
|
by: devikiran |
last post by:
Client has provided me a WSDL file generated using BPEL v10.1.3.3.0. When i try to generate the proxy class in visual studio .net 2003 I am getting the following error.
Reading WSDL from: C:\wsdl\Customercheck_rs.wsdl
Unable to generate source files from contract:
The document was understood, but it could not be processed.
- The WSDL...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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...
| |
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. ...
|
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...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
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.
| |