New schema test submission not accepting new field - ChangeRegisteredOfficeAddress

I just tried using the new schema provided for change of company address to prepare for the live release (ChangeRegisteredOfficeAddress-v2-6.xsd) and I’m getting a error:

Invalid element Accept Appropriate Office Address Statement.

I used your template and using our test mode, is this working already or should I wait a little bit more?

In case this new schema is working in test mode, this is the submission example of what we used:

<?xml version="1.0"?>
<GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.govtalk.gov.uk/CM/envelope http://xmlgw.companieshouse.gov.uk/v2-1/schema/Egov_ch-v2-0.xsd">
  <EnvelopeVersion>1.0</EnvelopeVersion>
  <Header>
    <MessageDetails>
      <Class>ChangeRegisteredOfficeAddress</Class>
      <Qualifier>request</Qualifier>
      <GatewayTest>1</GatewayTest>
    </MessageDetails>
    <SenderDetails>
      <IDAuthentication>
        <SenderID>7b33d906fe68ca80bf27f5ddc25a0a32</SenderID>
        <Authentication>
          <Method>clear</Method>
          <Value>1eb869f19ed00d39761dccc456e4be13</Value>
        </Authentication>
      </IDAuthentication>
    </SenderDetails>
  </Header>
  <GovTalkDetails>
    <Keys/>
  </GovTalkDetails>
  <Body>
    <FormSubmission xmlns="http://xmlgw.companieshouse.gov.uk/Header" xmlns:foo="http://xmlgw.companieshouse.gov.uk" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk/Header http://xmlgw.companieshouse.gov.uk/v2-1/schema/forms/FormSubmission-v2-5.xsd">
      <FormHeader>
        <CompanyNumber>00000000</CompanyNumber>
        <CompanyType>EW</CompanyType>
        <CompanyName>TESTING LIMITED</CompanyName>
        <CompanyAuthenticationCode>UX6XP2</CompanyAuthenticationCode>
        <PackageReference>3021</PackageReference>
        <FormIdentifier>ChangeRegisteredOfficeAddress</FormIdentifier>
        <SubmissionNumber>44b7cf</SubmissionNumber>
        <ContactName>Contact Name</ContactName>
        <ContactNumber>xxxx</ContactNumber>
      </FormHeader>
      <DateSigned>2024-01-15</DateSigned>
      <Form>
        <ChangeRegisteredOfficeAddress xmlns="http://xmlgw.companieshouse.gov.uk" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk http://xmlgw.companieshouse.gov.uk/v2-1//schema/forms/ChangeRegisteredOfficeAddress-v2-6.xsd">
          <Address>
            <Premise>1</Premise>
            <Street>line1</Street>
            <Thoroughfare/>
            <PostTown>London</PostTown>
            <Country>GBR</Country>
            <Postcode>SW84TP</Postcode>
            <CareofName/>
          </Address>
          <AcceptAppropriateOfficeAddressStatement>true</AcceptAppropriateOfficeAddressStatement>
        </ChangeRegisteredOfficeAddress>
      </Form>
    </FormSubmission>
  </Body>
</GovTalkMessage>

Hello, and apologies for response.

You cannot use the usual test service for these new schemas.


Testing details
You can use your live presenter credentials - but show Package Reference as 0012 and Test Flag as 1.
Endpoint: https://xmlgw-sandpit-staging.companieshouse.gov.uk/v1-0/xmlgw/Gateway

Schema versions to test against:
ChangeRegisteredOfficeAddress-v2-6.xsd
xmlgw.companieshouse.gov.uk/examples/Change registered office address with appropriate address statement.xml
CompanyIncorporation-v3-7.xsd
xmlgw.companieshouse.gov.uk/examples/Incorporation with Registered Email Address Limited by Shares.xml
ConfirmationStatement-v1-3.xsd
xmlgw.companieshouse.gov.uk/examples/ConfirmationStatementWithREA.xml

Schema page:
https://xmlgw.companieshouse.gov.uk/SchemaStatus
Test responses
XML failed schema validation error if the XML request failed validation :x:
Authorisation Failure error if the XML request passed validation :white_check_mark:

The ‘Authorisation Failure’ is nothing to be concerned about.
It’s occurring because the test service is not connected to the live presenter database to check authorisation credentials.
It does mean the XML has passed the syntax and validation checks and is moving onto the next stage of system checks (authorisation) carried out against a submission.

1 Like