DataServices
Click here for a complete list of operations.
ParseFormTemplate
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /_layouts/BPC/PowerWebForms/PWFDataServices.asmx HTTP/1.1 Host: crm.zarsim.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://bpc-components.com/ParseFormTemplate" <?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> <ParseFormTemplate xmlns="http://bpc-components.com/"> <xml>string</xml> </ParseFormTemplate> </soap:Body> </soap:Envelope>
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> <ParseFormTemplateResponse xmlns="http://bpc-components.com/"> <ParseFormTemplateResult> <Template> <MossList ID="string" Title="string" Url="string" BaseType="string" EnableAttachments="boolean" UserCanView="boolean" UserCanInsert="boolean" UserCanUpdate="boolean" UserCanDelete="boolean" UserCanManage="boolean" UserCanInsertConfList="boolean" UserCanUpdateConfList="boolean" LanguageCode="string" LanguageName="string" Locale="string" LCID="unsignedInt" CalendarType="string" HijriAdjustment="int" NewFormUrl="string" EditFormUrl="string" DisplayFormUrl="string" SPVersion="int"> <SelectedContentType xsi:nil="true" /> <CurrentUser xsi:nil="true" /> <Fields xsi:nil="true" /> <ContentTypes xsi:nil="true" /> <Views xsi:nil="true" /> </MossList> <CurrentUser LoginName="string" ID="string" FullName="string" IsSiteAdmin="boolean" Email="string"> <Groups xsi:nil="true" /> </CurrentUser> <CustomizationId>string</CustomizationId> <Condition>string</Condition> <Metadata>string</Metadata> <ContentType>string</ContentType> <WebServiceCalls> <WebServiceCall xsi:nil="true" /> <WebServiceCall xsi:nil="true" /> </WebServiceCalls> <SQLQueries> <SQLQuery xsi:nil="true" /> <SQLQuery xsi:nil="true" /> </SQLQueries> <ListQueries> <ListQuery xsi:nil="true" /> <ListQuery xsi:nil="true" /> </ListQueries> <Tabs> <FormTab xsi:nil="true" /> <FormTab xsi:nil="true" /> </Tabs> <HAlign>string</HAlign> <Header>string</Header> <ListTitle>string</ListTitle> <Includes>string</Includes> <Height>int</Height> <Width>int</Width> <Culture>string</Culture> <Calendar>string</Calendar> <RTL>boolean</RTL> <ShowProgressForm>string</ShowProgressForm> <TabAnimation>string</TabAnimation> <ToolbarPosition>string</ToolbarPosition> <ShowHeader>boolean</ShowHeader> <ShowToolbar>boolean</ShowToolbar> <ShowPrint>boolean</ShowPrint> <ShowAlertMe>boolean</ShowAlertMe> <AllowNew>boolean</AllowNew> <AllowDelete>boolean</AllowDelete> <ShowSaveButton>boolean</ShowSaveButton> <ShowUserLoginName>boolean</ShowUserLoginName> <ShowSaveAndExitButton>boolean</ShowSaveAndExitButton> <ShowCancelButton>boolean</ShowCancelButton> <ShowAttachments>boolean</ShowAttachments> <ToolbarImageOnly>boolean</ToolbarImageOnly> <ToolbarTooltips>boolean</ToolbarTooltips> <SaveLocalizations>boolean</SaveLocalizations> <LocalizationsUrl>string</LocalizationsUrl> <MarkRequiredFields>boolean</MarkRequiredFields> <RequiredFieldBorderColor>string</RequiredFieldBorderColor> <ValidateScript>string</ValidateScript> <AsyncValidation>boolean</AsyncValidation> <AsyncLoadCompleted>boolean</AsyncLoadCompleted> <LoadCompletedScript>string</LoadCompletedScript> <AsyncSaveCompleted>boolean</AsyncSaveCompleted> <SaveCompletedScript>string</SaveCompletedScript> <AsyncDeleteCompleted>boolean</AsyncDeleteCompleted> <DeleteCompletedScript>string</DeleteCompletedScript> <CancelScript>string</CancelScript> <FormDesignLoadedScript>string</FormDesignLoadedScript> <Icons> <ListItemValue xsi:nil="true" /> <ListItemValue xsi:nil="true" /> </Icons> <Translations> <ListItemValue xsi:nil="true" /> <ListItemValue xsi:nil="true" /> </Translations> <FontSize>double</FontSize> <FontFamily>string</FontFamily> <Controls> <FormControl xsi:nil="true" /> <FormControl xsi:nil="true" /> </Controls> <HelpPage>string</HelpPage> <PrintControls>string</PrintControls> <PrintHeaders>string</PrintHeaders> <PrintTemplate>string</PrintTemplate> <PrintCaption>string</PrintCaption> <PFVersion>string</PFVersion> </Template> <ErrorMessage>string</ErrorMessage> <MossList ID="string" Title="string" Url="string" BaseType="string" EnableAttachments="boolean" UserCanView="boolean" UserCanInsert="boolean" UserCanUpdate="boolean" UserCanDelete="boolean" UserCanManage="boolean" UserCanInsertConfList="boolean" UserCanUpdateConfList="boolean" LanguageCode="string" LanguageName="string" Locale="string" LCID="unsignedInt" CalendarType="string" HijriAdjustment="int" NewFormUrl="string" EditFormUrl="string" DisplayFormUrl="string" SPVersion="int"> <SelectedContentType> <ID>string</ID> <Name>string</Name> <LocalName>string</LocalName> <IsFolder>boolean</IsFolder> </SelectedContentType> <CurrentUser LoginName="string" ID="string" FullName="string" IsSiteAdmin="boolean" Email="string"> <Groups xsi:nil="true" /> </CurrentUser> <Fields> <Field xsi:nil="true" /> <Field xsi:nil="true" /> </Fields> <ContentTypes> <ContentType xsi:nil="true" /> <ContentType xsi:nil="true" /> </ContentTypes> <Views> <ListView xsi:nil="true" /> <ListView xsi:nil="true" /> </Views> </MossList> <JSON>string</JSON> <LicenseIsTrial>boolean</LicenseIsTrial> <LicenseExpires>dateTime</LicenseExpires> </ParseFormTemplateResult> </ParseFormTemplateResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /_layouts/BPC/PowerWebForms/PWFDataServices.asmx HTTP/1.1 Host: crm.zarsim.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ParseFormTemplate xmlns="http://bpc-components.com/"> <xml>string</xml> </ParseFormTemplate> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ParseFormTemplateResponse xmlns="http://bpc-components.com/"> <ParseFormTemplateResult> <Template> <MossList ID="string" Title="string" Url="string" BaseType="string" EnableAttachments="boolean" UserCanView="boolean" UserCanInsert="boolean" UserCanUpdate="boolean" UserCanDelete="boolean" UserCanManage="boolean" UserCanInsertConfList="boolean" UserCanUpdateConfList="boolean" LanguageCode="string" LanguageName="string" Locale="string" LCID="unsignedInt" CalendarType="string" HijriAdjustment="int" NewFormUrl="string" EditFormUrl="string" DisplayFormUrl="string" SPVersion="int"> <SelectedContentType xsi:nil="true" /> <CurrentUser xsi:nil="true" /> <Fields xsi:nil="true" /> <ContentTypes xsi:nil="true" /> <Views xsi:nil="true" /> </MossList> <CurrentUser LoginName="string" ID="string" FullName="string" IsSiteAdmin="boolean" Email="string"> <Groups xsi:nil="true" /> </CurrentUser> <CustomizationId>string</CustomizationId> <Condition>string</Condition> <Metadata>string</Metadata> <ContentType>string</ContentType> <WebServiceCalls> <WebServiceCall xsi:nil="true" /> <WebServiceCall xsi:nil="true" /> </WebServiceCalls> <SQLQueries> <SQLQuery xsi:nil="true" /> <SQLQuery xsi:nil="true" /> </SQLQueries> <ListQueries> <ListQuery xsi:nil="true" /> <ListQuery xsi:nil="true" /> </ListQueries> <Tabs> <FormTab xsi:nil="true" /> <FormTab xsi:nil="true" /> </Tabs> <HAlign>string</HAlign> <Header>string</Header> <ListTitle>string</ListTitle> <Includes>string</Includes> <Height>int</Height> <Width>int</Width> <Culture>string</Culture> <Calendar>string</Calendar> <RTL>boolean</RTL> <ShowProgressForm>string</ShowProgressForm> <TabAnimation>string</TabAnimation> <ToolbarPosition>string</ToolbarPosition> <ShowHeader>boolean</ShowHeader> <ShowToolbar>boolean</ShowToolbar> <ShowPrint>boolean</ShowPrint> <ShowAlertMe>boolean</ShowAlertMe> <AllowNew>boolean</AllowNew> <AllowDelete>boolean</AllowDelete> <ShowSaveButton>boolean</ShowSaveButton> <ShowUserLoginName>boolean</ShowUserLoginName> <ShowSaveAndExitButton>boolean</ShowSaveAndExitButton> <ShowCancelButton>boolean</ShowCancelButton> <ShowAttachments>boolean</ShowAttachments> <ToolbarImageOnly>boolean</ToolbarImageOnly> <ToolbarTooltips>boolean</ToolbarTooltips> <SaveLocalizations>boolean</SaveLocalizations> <LocalizationsUrl>string</LocalizationsUrl> <MarkRequiredFields>boolean</MarkRequiredFields> <RequiredFieldBorderColor>string</RequiredFieldBorderColor> <ValidateScript>string</ValidateScript> <AsyncValidation>boolean</AsyncValidation> <AsyncLoadCompleted>boolean</AsyncLoadCompleted> <LoadCompletedScript>string</LoadCompletedScript> <AsyncSaveCompleted>boolean</AsyncSaveCompleted> <SaveCompletedScript>string</SaveCompletedScript> <AsyncDeleteCompleted>boolean</AsyncDeleteCompleted> <DeleteCompletedScript>string</DeleteCompletedScript> <CancelScript>string</CancelScript> <FormDesignLoadedScript>string</FormDesignLoadedScript> <Icons> <ListItemValue xsi:nil="true" /> <ListItemValue xsi:nil="true" /> </Icons> <Translations> <ListItemValue xsi:nil="true" /> <ListItemValue xsi:nil="true" /> </Translations> <FontSize>double</FontSize> <FontFamily>string</FontFamily> <Controls> <FormControl xsi:nil="true" /> <FormControl xsi:nil="true" /> </Controls> <HelpPage>string</HelpPage> <PrintControls>string</PrintControls> <PrintHeaders>string</PrintHeaders> <PrintTemplate>string</PrintTemplate> <PrintCaption>string</PrintCaption> <PFVersion>string</PFVersion> </Template> <ErrorMessage>string</ErrorMessage> <MossList ID="string" Title="string" Url="string" BaseType="string" EnableAttachments="boolean" UserCanView="boolean" UserCanInsert="boolean" UserCanUpdate="boolean" UserCanDelete="boolean" UserCanManage="boolean" UserCanInsertConfList="boolean" UserCanUpdateConfList="boolean" LanguageCode="string" LanguageName="string" Locale="string" LCID="unsignedInt" CalendarType="string" HijriAdjustment="int" NewFormUrl="string" EditFormUrl="string" DisplayFormUrl="string" SPVersion="int"> <SelectedContentType> <ID>string</ID> <Name>string</Name> <LocalName>string</LocalName> <IsFolder>boolean</IsFolder> </SelectedContentType> <CurrentUser LoginName="string" ID="string" FullName="string" IsSiteAdmin="boolean" Email="string"> <Groups xsi:nil="true" /> </CurrentUser> <Fields> <Field xsi:nil="true" /> <Field xsi:nil="true" /> </Fields> <ContentTypes> <ContentType xsi:nil="true" /> <ContentType xsi:nil="true" /> </ContentTypes> <Views> <ListView xsi:nil="true" /> <ListView xsi:nil="true" /> </Views> </MossList> <JSON>string</JSON> <LicenseIsTrial>boolean</LicenseIsTrial> <LicenseExpires>dateTime</LicenseExpires> </ParseFormTemplateResult> </ParseFormTemplateResponse> </soap12:Body> </soap12:Envelope>