473,796 Members | 2,520 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No Ports and Methods were found on this page

I use Visual studio.net 2003 for develop a web application by communicate
with Web service (it has been developed by Java) and I has added web
reference but It can’t to and show error message bellow

“No Ports and Methods were found on this page”

Please help me, to find solution and reason on error message above. Thank you.

Aug 17 '06 #1
2 1691
When you add a webreference, you need to point to a .wsdl file. As default
behaviour in .net the .wsdl file is automatically generated on the fly by
going to http://host/webservice.asmx?WSDL - .NET allows you to add the
reference to just http://host/webservice.asmx though (i suspect it just
appends the WSDL bit for you). Are you adding a webreference to a WSDL file
for the Java webservice? if not, this is probably the problem.
Andrew

"Mongkon" <Mo*****@discus sions.microsoft .comwrote in message
news:37******** *************** ***********@mic rosoft.com...
>I use Visual studio.net 2003 for develop a web application by communicate
with Web service (it has been developed by Java) and I has added web
reference but It can't to and show error message bellow

"No Ports and Methods were found on this page"

Please help me, to find solution and reason on error message above. Thank
you.

Aug 17 '06 #2
Yes, I'm. WSDL fileare referenced below.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitio ns xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
xmlns:agninq=ht tp://localhost/AgencyInquiryBi nding/
xmlns:xsd="http ://www.w3.org/2001/XMLSchema"
xmlns:tns="http ://tempuri.org/AACPService/"
xmlns:polinq=ht tp://localhost/PolicyInquiryBi nding/
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/"
xmlns:clminq=ht tp://localhost/ClaimInquiryBin ding/
targetNamespace ="http://tempuri.org/AACPService/" name="AACPServi ce">
<wsdl:import namespace=http://localhost/PolicyInquiryBi nding/
location="Polic yInquiryBinding .wsdl"/>
<wsdl:import namespace=http://localhost/AgencyInquiryBi nding/
location="Agenc yInquiryBinding .wsdl"/>
<wsdl:import namespace=http://localhost/ClaimInquiryBin ding/
location="Claim InquiryBinding. wsdl"/>
<wsdl:service name="AgencySer vice">
<wsdl:port name="AgencyInq uiry" binding="agninq :AgencyInquiryS oapBinding">
<soap:address location="http://localhost/AACPWS/services/AgencyInquiry"/>
</wsdl:port>
</wsdl:service>
<wsdl:service name="ClaimServ ice">
<wsdl:port name="ClaimInqu iry" binding="clminq :ClaimInquirySo apBinding">
<soap:address location="http://localhost/AACPWS/services/ClaimInquiry"/>
</wsdl:port>
</wsdl:service>
<wsdl:service name="PolicySer vice">
<wsdl:port name="PolicyInq uiry" binding="polinq :PolicyInquiryS oapBinding">
<soap:address location="http://localhost/AACPWS/services/PolicyInquiry"/>
</wsdl:port>
</wsdl:service>
</wsdl:definition s>

I has tested to add webreference in VS 2005 and the result as before. and i
has tested to add webreference in NetBean5.0,it can to. What's it because?
thank you.

"Andrew Brook" wrote:
When you add a webreference, you need to point to a .wsdl file. As default
behaviour in .net the .wsdl file is automatically generated on the fly by
going to http://host/webservice.asmx?WSDL - .NET allows you to add the
reference to just http://host/webservice.asmx though (i suspect it just
appends the WSDL bit for you). Are you adding a webreference to a WSDL file
for the Java webservice? if not, this is probably the problem.
Andrew

"Mongkon" <Mo*****@discus sions.microsoft .comwrote in message
news:37******** *************** ***********@mic rosoft.com...
I use Visual studio.net 2003 for develop a web application by communicate
with Web service (it has been developed by Java) and I has added web
reference but It can't to and show error message bellow

"No Ports and Methods were found on this page"

Please help me, to find solution and reason on error message above. Thank
you.


Aug 18 '06 #3

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

Similar topics

3
10599
by: Josh | last post by:
A while back I started a project to write a mail server. I was doing this in c++ and found that I/O completion ports were the best solution for the project. I've since decided to port my application to the .NET framework and noticed that the concept of an I/O completion port doesn't exist natively in the framework. It does have similar counterparts with BeginRead, BeginSend, etc. I see I have two options, I can write some unsafe code...
0
1167
by: Diego Solis | last post by:
Hi people, I need to write a C# program which communicates with a thermal printer. After a search for the web I found that a way to comunicate with the ports is calling the kernel32.dll, which has some external methods (CreateFile, WriteFile, ReadFile, Get/Set CommSettings, Get / Set CommTimeOuts) to communicate with the port. My first problems with this dll is that I couldn't find the right
1
1244
by: Ziya | last post by:
Does C# have any classes or methods for transfering data through serial and parellel ports? I know that no hardware can be accessed directly in windows XP and other NT based OS, but I think, it may be possible to use windows too access ports Does any body have any information please?
4
1447
by: Christopher J. Walker | last post by:
Hello, I am trying to create a website on port 8888 with VisualStuidio 2005. When I go to create a new project or migrate from an old one, everything seems to work fine, but when I go to build I get an error on every .aspx page like: ASP.NET runtime error: '/www.website.com:8888/' is not a valid virtual path. page.aspx 1 1 http://www.website.com:8888/ This always worked fine in VS.NET 2003 and earlier. I found another user on
0
1394
by: maxnospam | last post by:
I am using the <secureWebPages> feature, part of the Hyper.Web.Security page to designate pages that should be accessed over SSL. I have a couple of websites that each get accessed from different ports Site 1 - Reg. Port - 25001, Secure Port - 26001 Site 2 - Reg. Port - 25002, Secure Port - 26002 etc... With that in place, I cannot get the pages to load - getting a Cannot
7
1274
by: TClancey | last post by:
Hi. I have an app that is going to connect to several virtual com ports, although the system will see them as 'real'. How can I list the installed com ports on the system? I've found System.Io.Ports.xxx but there isn't a count or enumerator? Any ideas?
3
3386
by: tshad | last post by:
I have been trying to run IIS and Apache Tomcat on the same Server using the same Port (80 for http and 443 for https). I am trying to do this by using multiple IP address on the same Nic card. This would allow me multiple sockets for the same port. With all my research it seems that most services seem to listen on ALL IP addresses on the same machine for a particular port (25 SMTP, 53 DNS, 80 HTTP). I found you can tell IIS NOT to...
3
1393
by: }{ | last post by:
I have an app that reads a character string on com 1, waits for a signal (any ascii char) on com 2, then outputs the string on com 2. I seem to have a problem with the timing. It just so happens that the signal from com2 arrives at the same time as the next string for com1. Do the com ports run in sepaerate threads by default, or should I be doing something in code to make this happen. Thanks.
5
4424
by: rome ez | last post by:
I am trying to write a vb.net socket application which listens for clients on two ports simultaneously. Is it possible to do so and how can this be done. Please help.
0
9680
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9528
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,...
0
10455
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, 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...
1
10173
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9052
agi2029
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 projectplanning, coding, testing, and deploymentwithout 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...
0
6788
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
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
3
2925
bsmnconsultancy
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...

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.