Invalid schema URI supplied - Return of Allotments

HI,
I am getting the following error when I try to submit the new Return of Allotments:


ReturnOfAllotmentShares
505
fatal
Invalid schema URI supplied [http://xmlgw.companieshouse.gov.uk http://xmlgw.companieshouse.gov.uk/v2-1/schema/forms/ReturnofAllotmentShares-v3-0-rc2.xsd]



Is there issues with this schema??

HI, the URL is incorrect you are sending to the live xmlgw, you need to use alpha:
http://xmlalpha.companieshouse.gov.uk/v1-0/schema/forms/ReturnofAllotmentShares-v3-0-rc2.xsd
If you still have problems please let us know

Still getting same issue. I have tried v1-0 and v2-1:

<Form><ReturnofAllotmentShares xmlns="http://xmlgw.companieshouse.gov.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk http://xmlalpha.companieshouse.gov.uk/v1-0/schema/forms/ReturnofAllotmentShares-v3-0-rc2.xsd"><StartPeriodSharesAllotted>2014-11-10</StartPeriodSharesAllotted>.....

and

<Form><ReturnofAllotmentShares xmlns="http://xmlgw.companieshouse.gov.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk http://xmlalpha.companieshouse.gov.uk/v2-1/schema/forms/ReturnofAllotmentShares-v3-0-rc2.xsd"><StartPeriodSharesAllotted>2014-11-10</StartPeriodSharesAllotted>......

Anything else I need to check?

If you are submitting the request To: https://xmlgw.companieshouse.gov.uk/v1-0/xmlgw/Gateway then try changing it To: https://xmlalpha.companieshouse.gov.uk/v1-0/xmlgw/Gateway

Thanks Steve, SH01 is now successfully submitted.

Will the URL for the SH01 remain “https://xmlalpha.companieshouse.gov.uk/v1-0/xmlgw/Gateway” or is this just short term for testing purposes and should remain “https://xmlgw.companieshouse.gov.uk/v1-0/xmlgw/Gateway”?

Also will the URI always be " http://xmlalpha.companieshouse.gov.uk/v1-0/schema/forms/ReturnofAllotmentShares-v3-0-rc2.xsd" or is this just short term for testing purposes and should remain as “http://xmlgw.companieshouse.gov.uk/v2-1/schema/forms/ReturnofAllotmentShares-v3-0-rc2.xsd?

Thanks
Una

Once the schema is released the URL and URI will change back to https://xmlgw. and http://xmlgw

Ok thanks for the clarification.

Hi is the allotment of shares filing xml is still in alpha or pushed to live?

None of our schemas are currently in Alpha or Beta.

SDN

Hi, I’m getting the same error. Below are the main parts of my request and response. What am I doing wrong? Many thanks.

REQUEST =========

<GovTalkMessage xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader">
    <EnvelopeVersion>1.0</EnvelopeVersion>
    <Header xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader">
        <MessageDetails xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader">
            <Class>CompanyIncorporation</Class>
            <Qualifier>request</Qualifier>
            <TransactionID>1</TransactionID>
            <GatewayTest>1</GatewayTest>
        </MessageDetails>
        <SenderDetails xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader">
            <IDAuthentication xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader">
                <SenderID>?????</SenderID>
                <Authentication xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" >
                    <Method>clear</Method>
                    <Value>???????</Value>
                </Authentication>
            </IDAuthentication>
            <EmailAddress>??????</EmailAddress>
        </SenderDetails>
    </Header>
    <GovTalkDetails xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader">
        <Keys xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader"/>
    </GovTalkDetails>
    <Body xmlns:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader">
        <FormSubmission xmlns:bs="http://xmlgw.companieshouse.gov.uk/Header">
            <FormHeader xmlns:bs="http://xmlgw.companieshouse.gov.uk/Header">
                <CompanyName>FRED NUMBER THREE LTD</CompanyName>
                <PackageReference>1828</PackageReference>
                <FormIdentifier>CompanyIncorporation</FormIdentifier>
                <SubmissionNumber>INCb05</SubmissionNumber>
            </FormHeader>
            <DateSigned>2018-09-14</DateSigned>
            <Form>
                <CompanyType>BYSHR</CompanyType>
                <CountryOfIncorporation>EW</CountryOfIncorporation>
                <RegisteredOfficeAddress>
    <Premise>11</Premise>
    <Street>Anyst</Street>
    <PostTown>Anyposttown</PostTown>
                    <Country>GBR</Country>
    <Postcode>QP14 4HW</Postcode>
                </RegisteredOfficeAddress>
                <Articles>BYSHRMODEL</Articles>
                <Appointment>
                    <ConsentToAct>true</ConsentToAct>
                    <Director>
    <CorporateName>A Company Ltd</CorporateName>
                        <Address>
    <Premise>11</Premise>
    <Street>Anyst</Street>
    <PostTown>Anyposttown</PostTown>
                            <Country>GBR</Country>
    <Postcode>QP14 4HW</Postcode>
                        </Address>
                        <CompanyIdentification>
                            <EEA>
    <PlaceRegistered>GBR</PlaceRegistered>
    <RegistrationNumber>12345678</RegistrationNumber>
                            </EEA>
                        </CompanyIdentification>
                    </Director>
                </Appointment>
                <Appointment>
                    <ConsentToAct>true</ConsentToAct>
                    <Director>
    <Forename>Fred</Forename>
    <Surname>Jones</Surname>
                        <DOB>1992-01-01</DOB>
    <Occupation>Director</Occupation>
    <CountryOfResidence>Wales</CountryOfResidence>
                    </Director>
                </Appointment>
                <Appointment>
                    <ConsentToAct>true</ConsentToAct>
                    <Secretary>
    <Forename>Fred</Forename>
    <Surname>Jones</Surname>
                        <DOB>1992-01-01</DOB>
    <Occupation>Director</Occupation>
    <CountryOfResidence>Wales</CountryOfResidence>
                    </Secretary>
                </Appointment>
                <PSCs>
                    <NoPSCStatement>NO_INDIVIDUAL_OR_ENTITY_WITH_SIGNFICANT_CONTROL</NoPSCStatement>
                </PSCs>
                <StatementOfCapital>
                    <Capital>
                        <TotalAmountUnpaid>10.</TotalAmountUnpaid>
                        <TotalNumberOfIssuedShares>100</TotalNumberOfIssuedShares>
                        <ShareCurrency>GBP</ShareCurrency>
                        <TotalAggregateNominalValue>100.</TotalAggregateNominalValue>
                        <Shares>
    <ShareClass>Ordinary</ShareClass>
                            <PrescribedParticulars>None</PrescribedParticulars>
                            <NumShares>100</NumShares>
                            <AggregateNominalValue>100.</AggregateNominalValue>
                        </Shares>
                    </Capital>
                </StatementOfCapital>
                <Subscribers>
                    <Person>
    <Forename>Fred</Forename>
    <Surname>Jones</Surname>
                        <DOB>1992-01-01</DOB>
    <Occupation>Director</Occupation>
    <CountryOfResidence>Wales</CountryOfResidence>
                    </Person>
                    <Address>
    <Premise>11</Premise>
    <Street>Anyst</Street>
    <PostTown>Anyposttown</PostTown>
                        <Country>GBR</Country>
    <Postcode>QP14 4HW</Postcode>
                    </Address>
                    <Authentication>
                        <PersonalAttribute>BIRTOWN</PersonalAttribute>
                        <PersonalData>SCO</PersonalData>
                    </Authentication>
                    <Authentication>
                        <PersonalAttribute>TEL</PersonalAttribute>
                        <PersonalData>012</PersonalData>
                    </Authentication>
                    <Authentication>
                        <PersonalAttribute>MUM</PersonalAttribute>
                        <PersonalData>IVY</PersonalData>
                    </Authentication>
                    <Shares>
    <ShareClass>Ordinary</ShareClass>
                        <PrescribedParticulars>None</PrescribedParticulars>
                        <NumShares>100</NumShares>
                        <AggregateNominalValue>100.</AggregateNominalValue>
                    </Shares>
                </Subscribers>
                <Authoriser>
                    <Agent>
                        <Corporate>
    <CorporateName>A Company Ltd</CorporateName>
                            <Address>
    <Premise>11</Premise>
    <Street>Anyst</Street>
    <PostTown>Anyposttown</PostTown>
                                <Country>GBR</Country>
    <Postcode>QP14 4HW</Postcode>
                            </Address>
                            <CompanyIdentification>
                                <EEA>
    <PlaceRegistered>GBR</PlaceRegistered>
    <RegistrationNumber>12345678</RegistrationNumber>
                                </EEA>
                            </CompanyIdentification>
                        </Corporate>
                        <Authentication>
                            <PersonalAttribute>BIRTOWN</PersonalAttribute>
                            <PersonalData>CAR</PersonalData>
                        </Authentication>
                        <Authentication>
                            <PersonalAttribute>TEL</PersonalAttribute>
                            <PersonalData>012</PersonalData>
                        </Authentication>
                        <Authentication>
                            <PersonalAttribute>PASSNO</PersonalAttribute>
                            <PersonalData>321</PersonalData>
                        </Authentication>
                        <Address>
    <Premise>11</Premise>
    <Street>Anyst</Street>
    <PostTown>Anyposttown</PostTown>
                            <Country>GBR</Country>
    <Postcode>QP14 4HW</Postcode>
                        </Address>
                    </Agent>
                </Authoriser>
                <SameDay>false</SameDay>
                <RejectReference>XYZ12345</RejectReference>
                <SICCodes>
                    <SICCode>71129</SICCode>
                </SICCodes>
            </Form>
        </FormSubmission>
    </Body>
</GovTalkMessage>


RESPONSE ========

<?xml version="1.0" encoding="UTF-8" ?>
<GovTalkMessage xsi:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader http://xmlgw.companieshouse.gov.uk/v1-0/schema/Egov_ch.xsd" xmlns="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader" 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" >
  <EnvelopeVersion>1.0</EnvelopeVersion>
  <Header>
    <MessageDetails>
      <Class>CompanyIncorporation</Class>
      <Qualifier>error</Qualifier>
      <TransactionID>1</TransactionID>
      <GatewayTest>1</GatewayTest>
      <GatewayTimestamp>2018-09-14T10:43:25-00:00</GatewayTimestamp>
    </MessageDetails>
    <SenderDetails>
      <IDAuthentication>
        <SenderID>??????</SenderID>
        <Authentication>
          <Method>CHMD5</Method>
          <Value>??????</Value>
        </Authentication>
      </IDAuthentication>
      <EmailAddress>???????</EmailAddress>
    </SenderDetails>
  </Header>
  <GovTalkDetails>
    <Keys/>
	<GovTalkErrors>
	  <Error>
	    <RaisedBy>CompanyIncorporation</RaisedBy>
	    <Number>505</Number>
	    <Type>fatal</Type>
	    <Text>Invalid schema URI supplied</Text>
	    <Location></Location>
	  </Error>
	</GovTalkErrors>
  </GovTalkDetails>
  <Body>
  </Body>
</GovTalkMessage>

The first thing that I would advise is that the package reference is not 1828, it is always 0012 in test, as advised in the initial credentials information I supply to every developer. I appreciate you have taken 1828 from our example, but as the specification explains, we suggest that the data entered within the test submissions closely resembles ‘real’ information, to ensure quality testing and avoid problems when using the live service. Can you also confirm that you are sending the data to the correct URL please - it should be: https://xmlgw.companieshouse.gov.uk/v1-0/xmlgw/Gateway

SDN