HMRC        
    ATWDSubmissionService        
HM Revenue & Customs
 

Welcome to the HMRC Webservice standard testing home page.

The following operations are supported. For a formal definition, please review the Service Description.


Recommendation:

Example code that invokes this service using generated stub is given below:


    import {package}.ATWDSubmissionService;
    ...

    String wsdlUrl = "http://webservices.hmrc.gov.uk:80/ws/atwd/service?WSDL"; 
    ATWDSubmissionService service = new ATWDSubmissionService_Impl( wsdlUrl );
    ATWDSubmissionPortType port = service.getATWDSubmissionSoapPort();

    result = port.getWarrantStatus( ... );

    

To generate a client stub for this Web Service use the ant task given below:

    <target name="stubgen" >

      <property name="wsdlUrl" 
          value="http://webservices.hmrc.gov.uk:80/ws/atwd/service?WSDL" />

      <clientgen wsdl="${wsdlUrl}" packageName="com.myco.myservice.client"
        clientJar="myclient.jar" />

    </target>
  

Some useful links:

HMRC Web Service documentation

Namespaces in XML.

WSDL Specification.

SOAP Specification.

RFC 2396 on URIs.

JAX-RPC Specification.