ASP.NET XSP2 niedziałający skrypt usług sieciowych
: 01 czerwca 2011, 13:21
Witam.
Mam zadanie połączyć min. dwie usługi żeby działały, ale to mniej ważne.
To podobno działa, jednak jak wrzucam na serwer to nie chce się uruchomić.
Zainstalowałem
http://www.debianhelp.co.uk/mono.htm
Uruchomiłe xsp2
I nie działa? Dla potwierdzenia, że raczej jest w porządku to demo asp.net działa.
Kod Web.config wygląda tak:Ktoś pomoże? Nie wiem czy dobry dział wybrałem.
Pozdrawiam.
Mam zadanie połączyć min. dwie usługi żeby działały, ale to mniej ważne.
To podobno działa, jednak jak wrzucam na serwer to nie chce się uruchomić.
Zainstalowałem
http://www.debianhelp.co.uk/mono.htm
Uruchomiłe xsp2
Kod: Zaznacz cały
http://195.149.100.150:8090/
Kod Web.config wygląda tak:
Kod: Zaznacz cały
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<compilation debug="true" targetFramework="4.0">
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="GBEAWHolidayServiceSoap" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="GBSCTHolidayServiceSoap" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="GBNIRHolidayServiceSoap" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="News_ServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
<customBinding>
<binding name="GBEAWHolidayServiceSoap12">
<textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
messageVersion="Soap12" writeEncoding="utf-8">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</textMessageEncoding>
<httpTransport manualAddressing="false" maxBufferPoolSize="524288"
maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous"
bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard"
keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous"
realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
useDefaultWebProxy="true" />
</binding>
<binding name="GBSCTHolidayServiceSoap12">
<textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
messageVersion="Soap12" writeEncoding="utf-8">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</textMessageEncoding>
<httpTransport manualAddressing="false" maxBufferPoolSize="524288"
maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous"
bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard"
keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous"
realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
useDefaultWebProxy="true" />
</binding>
<binding name="GBNIRHolidayServiceSoap12">
<textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
messageVersion="Soap12" writeEncoding="utf-8">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</textMessageEncoding>
<httpTransport manualAddressing="false" maxBufferPoolSize="524288"
maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous"
bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard"
keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous"
realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
useDefaultWebProxy="true" />
</binding>
</customBinding>
</bindings>
<client>
<endpoint address="http://www.holidaywebservice.com/Holidays/GBEAW/GBEAWHolidayService.asmx"
binding="basicHttpBinding" bindingConfiguration="GBEAWHolidayServiceSoap"
contract="EnglandHols.GBEAWHolidayServiceSoap" name="GBEAWHolidayServiceSoap" />
<endpoint address="http://www.holidaywebservice.com/Holidays/GBEAW/GBEAWHolidayService.asmx"
binding="customBinding" bindingConfiguration="GBEAWHolidayServiceSoap12"
contract="EnglandHols.GBEAWHolidayServiceSoap" name="GBEAWHolidayServiceSoap12" />
<endpoint address="http://www.holidaywebservice.com/Holidays/GBSCT/GBSCTHolidayService.asmx"
binding="basicHttpBinding" bindingConfiguration="GBSCTHolidayServiceSoap"
contract="ScotlandHols.GBSCTHolidayServiceSoap" name="GBSCTHolidayServiceSoap" />
<endpoint address="http://www.holidaywebservice.com/Holidays/GBSCT/GBSCTHolidayService.asmx"
binding="customBinding" bindingConfiguration="GBSCTHolidayServiceSoap12"
contract="ScotlandHols.GBSCTHolidayServiceSoap" name="GBSCTHolidayServiceSoap12" />
<endpoint address="http://www.holidaywebservice.com/Holidays/GBNIR/GBNIRHolidayService.asmx"
binding="basicHttpBinding" bindingConfiguration="GBNIRHolidayServiceSoap"
contract="IrelandHols.GBNIRHolidayServiceSoap" name="GBNIRHolidayServiceSoap" />
<endpoint address="http://www.holidaywebservice.com/Holidays/GBNIR/GBNIRHolidayService.asmx"
binding="customBinding" bindingConfiguration="GBNIRHolidayServiceSoap12"
contract="IrelandHols.GBNIRHolidayServiceSoap" name="GBNIRHolidayServiceSoap12" />
<endpoint address="http://service.ecocoma.com/rss/news.asmx"
binding="basicHttpBinding" bindingConfiguration="News_ServiceSoap"
contract="RSSChannel.News_ServiceSoap" name="News_ServiceSoap" />
</client>
</system.serviceModel>
</configuration>
Pozdrawiam.