Publish site to a host specified by hostId according to the settings specified by publishingSettings
[C#] public void PublishSiteDirect( string id, PublishingSettingsValue publishingSettings, string hostId );
| Request |
|---|
POST /ServiceFacade/version_3_2/SiteWebService.asmx HTTP/1.1
Host: sitebuilder.swsoft.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://swsoft.com/SiteBuilder/SiteService/v_3_2/PublishSiteDirect"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<CredentialsSoapHeader xmlns="http://swsoft.com/SiteBuilder/SiteService/v_3_2">
<Login>string</Login>
<Password>string</Password>
</CredentialsSoapHeader>
</soap:Header>
<soap:Body>
<PublishSiteDirect xmlns="http://swsoft.com/SiteBuilder/SiteService/v_3_2">
<id>string</id>
<publishingSettings>
<Id>string</Id>
<StandardLocation>
<Address>string</Address>
<UserName>string</UserName>
<Password>string</Password>
<WorkingDirectory>string</WorkingDirectory>
<WebSiteUrl>string</WebSiteUrl>
<IsAnonymous>boolean</IsAnonymous>
<Veid>long</Veid>
<VerifyStatus>Unverified or LocationError or UnknownError or StaticOnly or Dynamic</VerifyStatus>
<LastVerifyAttempt>dateTime</LastVerifyAttempt>
</StandardLocation>
<FtpLocation>
<Address>string</Address>
<UserName>string</UserName>
<Password>string</Password>
<WorkingDirectory>string</WorkingDirectory>
<WebSiteUrl>string</WebSiteUrl>
<IsAnonymous>boolean</IsAnonymous>
<Veid>long</Veid>
<VerifyStatus>Unverified or LocationError or UnknownError or StaticOnly or Dynamic</VerifyStatus>
<LastVerifyAttempt>dateTime</LastVerifyAttempt>
</FtpLocation>
<Mode>XCopy or Ftp or Vps</Mode>
<Scenario>Standard or FreeSwsoftHosting or AnyFtp</Scenario>
</publishingSettings>
<hostId>string</hostId>
</PublishSiteDirect>
</soap:Body>
</soap:Envelope> |
| Response |
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PublishSiteDirectResponse xmlns="http://swsoft.com/SiteBuilder/SiteService/v_3_2" />
</soap:Body>
</soap:Envelope> |