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.