473,385 Members | 1,942 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,385 software developers and data experts.

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 1673
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*****@discussions.microsoft.comwrote in message
news:37**********************************@microsof t.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:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:agninq=http://localhost/AgencyInquiryBinding/
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://tempuri.org/AACPService/"
xmlns:polinq=http://localhost/PolicyInquiryBinding/
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:clminq=http://localhost/ClaimInquiryBinding/
targetNamespace="http://tempuri.org/AACPService/" name="AACPService">
<wsdl:import namespace=http://localhost/PolicyInquiryBinding/
location="PolicyInquiryBinding.wsdl"/>
<wsdl:import namespace=http://localhost/AgencyInquiryBinding/
location="AgencyInquiryBinding.wsdl"/>
<wsdl:import namespace=http://localhost/ClaimInquiryBinding/
location="ClaimInquiryBinding.wsdl"/>
<wsdl:service name="AgencyService">
<wsdl:port name="AgencyInquiry" binding="agninq:AgencyInquirySoapBinding">
<soap:address location="http://localhost/AACPWS/services/AgencyInquiry"/>
</wsdl:port>
</wsdl:service>
<wsdl:service name="ClaimService">
<wsdl:port name="ClaimInquiry" binding="clminq:ClaimInquirySoapBinding">
<soap:address location="http://localhost/AACPWS/services/ClaimInquiry"/>
</wsdl:port>
</wsdl:service>
<wsdl:service name="PolicyService">
<wsdl:port name="PolicyInquiry" binding="polinq:PolicyInquirySoapBinding">
<soap:address location="http://localhost/AACPWS/services/PolicyInquiry"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

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*****@discussions.microsoft.comwrote in message
news:37**********************************@microsof t.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
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...
0
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...
1
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...
4
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...
0
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...
7
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...
3
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. ...
3
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...
5
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.