R
Roberto Cerulli
Hi, I'm facing a problem with one web service located on a web site. If I
call the asmx I can't see the web methods.
If I regenerate the assemby it works fine for some hour.
It doesn't give me the same problem if I run it on another web site (equal
to the first one).
Any ideas? Can it be an IIS configuration problem?
Thank you,
Roberto
This is what I get from site 1
http://website1/WS/GestioneDocumenti.asmx?WSDL
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types />
- <wsdl:service name="GestDocumenti">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
</wsdl:service>
</wsdl:definitions>
This is what I get from site 2
http://website2/WS/GestioneDocumenti.asmx?WSDL
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org//GestDocumenti"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://tempuri.org//GestDocumenti"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified"
targetNamespace="http://tempuri.org//GestDocumenti">
<s:import namespace="http://www.w3.org/2001/XMLSchema" />
- <s:element name="GetAutoriDocumenti">
<s:complexType />
</s:element>
- <s:element name="GetAutoriDocumentiResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetAutoriDocumentiResult">
- <s:complexType>
- <s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
- <wsdl:message name="GetAutoriDocumentiSoapIn">
<wsdlart name="parameters" element="tns:GetAutoriDocumenti" />
</wsdl:message>
- <wsdl:message name="GetAutoriDocumentiSoapOut">
<wsdlart name="parameters" element="tns:GetAutoriDocumentiResponse" />
</wsdl:message>
- <wsdlortType name="GestDocumentiSoap">
- <wsdlperation name="GetAutoriDocumenti">
<wsdl:input message="tns:GetAutoriDocumentiSoapIn" />
<wsdlutput message="tns:GetAutoriDocumentiSoapOut" />
</wsdlperation>
</wsdlortType>
- <wsdl:binding name="GestDocumentiSoap" type="tns:GestDocumentiSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
- <wsdlperation name="GetAutoriDocumenti">
<soapperation
soapAction="http://tempuri.org//GestDocumenti/GetAutoriDocumenti"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdlutput>
<soap:body use="literal" />
</wsdlutput>
</wsdlperation>
</wsdl:binding>
- <wsdl:service name="GestDocumenti">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
- <wsdlort name="GestDocumentiSoap" binding="tns:GestDocumentiSoap">
<soap:address location="http://website2/WS/GestioneDocumenti.asmx" />
</wsdlort>
</wsdl:service>
</wsdl:definitions>
call the asmx I can't see the web methods.
If I regenerate the assemby it works fine for some hour.
It doesn't give me the same problem if I run it on another web site (equal
to the first one).
Any ideas? Can it be an IIS configuration problem?
Thank you,
Roberto
This is what I get from site 1
http://website1/WS/GestioneDocumenti.asmx?WSDL
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types />
- <wsdl:service name="GestDocumenti">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
</wsdl:service>
</wsdl:definitions>
This is what I get from site 2
http://website2/WS/GestioneDocumenti.asmx?WSDL
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org//GestDocumenti"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://tempuri.org//GestDocumenti"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified"
targetNamespace="http://tempuri.org//GestDocumenti">
<s:import namespace="http://www.w3.org/2001/XMLSchema" />
- <s:element name="GetAutoriDocumenti">
<s:complexType />
</s:element>
- <s:element name="GetAutoriDocumentiResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetAutoriDocumentiResult">
- <s:complexType>
- <s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
- <wsdl:message name="GetAutoriDocumentiSoapIn">
<wsdlart name="parameters" element="tns:GetAutoriDocumenti" />
</wsdl:message>
- <wsdl:message name="GetAutoriDocumentiSoapOut">
<wsdlart name="parameters" element="tns:GetAutoriDocumentiResponse" />
</wsdl:message>
- <wsdlortType name="GestDocumentiSoap">
- <wsdlperation name="GetAutoriDocumenti">
<wsdl:input message="tns:GetAutoriDocumentiSoapIn" />
<wsdlutput message="tns:GetAutoriDocumentiSoapOut" />
</wsdlperation>
</wsdlortType>
- <wsdl:binding name="GestDocumentiSoap" type="tns:GestDocumentiSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
- <wsdlperation name="GetAutoriDocumenti">
<soapperation
soapAction="http://tempuri.org//GestDocumenti/GetAutoriDocumenti"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdlutput>
<soap:body use="literal" />
</wsdlutput>
</wsdlperation>
</wsdl:binding>
- <wsdl:service name="GestDocumenti">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
- <wsdlort name="GestDocumentiSoap" binding="tns:GestDocumentiSoap">
<soap:address location="http://website2/WS/GestioneDocumenti.asmx" />
</wsdlort>
</wsdl:service>
</wsdl:definitions>