貼上網址,後一定要加上 ?WSDL
用<![CDATA[ ]]>包覆電文內容,但頭尾都不能換行哦
Sapphire Crystal
*在組件中加入DLL參考
*可將DLL檔案轉成bytes 直接加入參考
CREATE ASSEMBLY SQLCom
FROM 0x4D5A900003.................
WITH PERMISSION_SET = SAFE;
DLL to bytes string 參考
https://stackoverflow.com/questions/2885335/clr-sql-assembly-get-the-bytestream
*DLL程式碼
[Microsoft.SqlServer.Server.SqlFunction]
public static string GZip(string rawString)
{
..................
return (string)(Convert.ToBase64String(zippedData));
}
* 於資料新增 擴充的 預存程序
CREATE FUNCTION dbo.GZip(@src nvarchar(MAX))
RETURNS nvarchar(MAX)
EXTERNAL NAME SQLCom.UserDefinedFunctions.GZip
| char | 資料有固定長度,並且都為英文數字。 |
| nchar | 資料有固定長度,但不確定是否皆為英文數字。 |
| varchar | 資料沒有固定長度,並且都為英文數字。 |
| nvarchar | 資料沒有固定長度,且不確定是否皆為英文數字。 |
| Request.Url.GetLeftPart(UriPartial.Authority) | http://www.codepal.co.uk:123 |
| Request.Url.GetLeftPart(UriPartial.Path) | http://www.codepal.co.uk:123/RequestUri.aspx |
| Request.Url.GetLeftPart(UriPartial.Query) | http://www.codepal.co.uk:123/RequestUri.aspx?queryStringVal=Hello |
| Request.Url.GetLeftPart(UriPartial.Scheme) | http:// |
| Request.Url.ToString | http://www.codepal.co.uk:123/RequestUri.aspx?queryStringVal=Hello |
| Request.Url.AbsolutePath | /RequestUri.aspx |
| Request.Url.AbsoluteUri | http://www.codepal.co.uk:123/RequestUri.aspx?queryStringVal=Hello |
| Request.Url.Authority | www.codepal.co.uk:123 |
| Request.Url.GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped) | http://www.codepal.co.uk:123/RequestUri.aspx?queryStringVal=Hello |
| Request.Url.GetComponents(UriComponents.Fragment, UriFormat.SafeUnescaped) | |
| Request.Url.GetComponents(UriComponents.Host, UriFormat.SafeUnescaped) | www.codepal.co.uk |
| Request.Url.GetComponents(UriComponents.HostAndPort, UriFormat.SafeUnescaped) | www.codepal.co.uk:123 |
| Request.Url.GetComponents(UriComponents.HttpRequestUrl, UriFormat.SafeUnescaped) | http://www.codepal.co.uk:123/RequestUri.aspx?queryStringVal=Hello |
| Request.Url.GetComponents(UriComponents.KeepDelimiter, UriFormat.SafeUnescaped) | |
| Request.Url.GetComponents(UriComponents.Path, UriFormat.SafeUnescaped) | RequestUri.aspx |
| Request.Url.GetComponents(UriComponents.PathAndQuery, UriFormat.SafeUnescaped) | /RequestUri.aspx?queryStringVal=Hello |
| Request.Url.GetComponents(UriComponents.Port, UriFormat.SafeUnescaped) | 123 |
| Request.Url.GetComponents(UriComponents.Query, UriFormat.SafeUnescaped) | queryStringVal=Hello |
| Request.Url.GetComponents(UriComponents.Scheme, UriFormat.SafeUnescaped) | http |
| Request.Url.GetComponents(UriComponents.SchemeAndServer, UriFormat.SafeUnescaped) | http://www.codepal.co.uk:123 |
| Request.Url.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped) | http://www.codepal.co.uk:123/RequestUri.aspx?queryStringVal=Hello |
| Request.Url.GetComponents(UriComponents.StrongAuthority, UriFormat.SafeUnescaped) | www.codepal.co.uk:123 |
| Request.Url.GetComponents(UriComponents.StrongPort, UriFormat.SafeUnescaped) | 123 |
| Request.Url.Host | www.codepal.co.uk |
| Request.Url.HostNameType.ToString | Dns |
| Request.Url.OriginalString | http://www.codepal.co.uk:123/RequestUri.aspx?queryStringVal=Hello |
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding maxReceivedMessageSize="2147483647"
maxBufferSize="2147483647"
maxBufferPoolSize="2147483647">
<readerQuotas maxDepth="32"
maxArrayLength="2147483647"
maxStringContentLength="2147483647"/>
</binding>
</basicHttpBinding>
</bindings>
</system.serviceModel>
</configuration>
|
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IMonitorService"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"receiveTimeout="00:30:00" sendTimeout="00:30:00"/>
</basicHttpBinding>
<netNamedPipeBinding>
<binding name="NetNamedPipeBinding_IMonitorService">
<security mode="None" />
</binding>
</netNamedPipeBinding>
</bindings>
</system.serviceModel>
</configuration>
|
GET http://localhost:56832/1c71cd8404f34693989ae85105c388c8/arterySignalR/poll?transport=longPolling&connectionToken=AQAAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAAP5q4VI1aYkG73Qjc15vRQAAAAAACAAAAAAAQZgAAAAEAACAAAACYD3vHvvsQBcyldpAbdPD%2B%2FXCqmKwQPh%2FPCYkUWpNuHwAAAAAOgAAAAAIAACAAAAArGFNrtbAKafl4Zza50Znndit9CUb%2FUxL7ZkSDgLfspzAAAAC7bxQMEUafPkIyJdXrWuizotO3bxDf%2BGRZYi07dJ8pjqbSXOGxJmrQhx3GTVzP6hRAAAAADKmJ6J1amG5ZuCqfWkbGvFl3yHO9kgZdmIt6TmjYakLQepTUUzZlTsoyiUWz6VVJZ4HgMjkEpNRMpqrlO5QDcA%3D%3D&messageId=d-5AC8B2C-CA%2C0%7CCH%2C3%7CCI%2C0&requestUrl=http%3A%2F%2Flocalhost%3A58119%2FDefault.aspx&browserName=Firefox&tid=0&_=1386850842869 HTTP/1.1 Host: localhost:56832 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 Accept: text/plain, */*; q=0.01 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Referer: http://localhost:58119/Default.aspx Origin: http://localhost:58119 Cookie: ASP.NET_SessionId=2hpyrlt5epkatwwkil2chwzt Connection: keep-alive
<appSettings> <add key="vs:EnableBrowserLink" value="false"/> </appSettings>
MangoHost Copyright © 2009 Cookiez is Designed by Ipietoon for Free Blogger Template
