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.