Current Web Service Description Languages (WSDLs)
The current WSDLs are the zip files of Web Services Description Language and XML Schema Definition files that USPS posts for Mail.XML.PostalPro: Current Web Service Description Languages (WSDLs)“This ZIP file contains the Web Services Description Language (WSDL) and XML Schema Definition (XSD) files for Mail.”USPS original Software developers build Mail.XML software from them.PostalPro: Current Web Service Description Languages (WSDLs)“Software Developer”USPS originalHow to Submit Mail.XML Files to PostalOne!page 9“When programming to create Mail.XML software, developers must use USPS-provided Web Services Description Language (WSDL) and XML schema document and templates (XSD).”USPS original Each download matches one environment, Mail.XML version and message type.PostalPro: Current Web Service Description Languages (WSDLs)“The links for downloading WSDLs are defined by the environment, Mail.XML version and message type.”USPS original
What it is
WSDL, Web Services Description Language, is an XML-based language that describes web services and how to access them.PostalPro: Current Web Service Description Languages (WSDLs)“WSDL (Web Services Description Language) is an XML-based language for describing Web services and how to access them.”USPS original A WSDL describes a network service as a set of endpoints that operate on messages.PostalPro: Current Web Service Description Languages (WSDLs)“WSDL is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information.”USPS original
Mail.XML is an XML-based specification for web services.Mail.xml Technical Specifications R65.0.0.0 page 19“Mail.XML is an XML-based DTAC specification for web services.”USPS original Customers use it to send detailed mailing information to PostalOne!.Mail.xml Technical Specifications R65.0.0.0 page 19“Customers can electronically send detailed information to PostalOne! using the mailing industry’s standardized Mail.XML format.”USPS original The USPS-provided WSDL and XSD files standardize that data exchange between PostalOne! and customers.How to Submit Mail.XML Files to PostalOne!page 9“This ensures conformity and standardization of data exchange between the PostalOne! system and customers.”USPS original
USPS supports WSDLs for these systems:PostalPro: Current Web Service Description Languages (WSDLs)“The Postal Service supports WSDLs for the following four systems: FAST, PostalOne, eDoc, Full-Service Data Feedback, and Profile Management.”USPS original
The Mail.XML technical specification gives the WSDL links for every supported Mail.XML version.Mail.xml Technical Specifications R65.0.0.0 page 23“This technical specification includes the return codes, error codes and their descriptions, as well the WSDLs links for all the supported version of Mail.XML.”USPS original
How it works
A developer picks the WSDL for the environment the software runs in and the Mail.XML version it exchanges.PostalPro: Current Web Service Description Languages (WSDLs)“Select the version of the WSDL based on the environment and Mail.XML version you will exchange the Mail.XML data.”USPS original Every request then passes a USPS check of the user information before PostalOne! processes it.Mail.xml Technical Specifications R65.0.0.0 page 54“USPS will validate and authenticate the user information before processing the request.”USPS original
- Download the zip of WSDL and XSD files for the environment and Mail.XML version.PostalPro: Current Web Service Description Languages (WSDLs)“This ZIP file contains the Web Services Description Language (WSDL) and XML Schema Definition (XSD) files for Mail.”USPS original
- Build the Mail.XML software from the USPS-provided WSDL and XSD files.How to Submit Mail.XML Files to PostalOne!page 9“When programming to create Mail.XML software, developers must use USPS-provided Web Services Description Language (WSDL) and XML schema document and templates (XSD).”USPS original
- Start the software approval process with the PostalOne! Help Desk.Mail.xml Technical Specifications R65.0.0.0 page 23“Mailers must work with the PostalOne! Help Desk to start the approval process for their software, and must be approved in the TEM environment prior to sending data transactions in the Production environment.”USPS original
- Test the software in TEM until USPS approves it for Production.Mail.xml Technical Specifications R65.0.0.0 page 23“Mailers must work with the PostalOne! Help Desk to start the approval process for their software, and must be approved in the TEM environment prior to sending data transactions in the Production environment.”USPS original
- Send requests in Production with a valid, active USPS user ID and password.Mail.xml Technical Specifications R65.0.0.0 page 53“A web services request must include a valid and active USPS user ID and password as defined in the UserAuthenticationInfo.xsd file that is provided as part of the WSDL downloable files.”USPS original
Environments
USPS posts WSDLs in five categories.PostalPro: Current Web Service Description Languages (WSDLs)“There are five WSDLs categories: CAT, TEM, Pre-Production, Production, and Push Subscription.”USPS original Each environment's WSDLs are one zip file, such as 2.4 PROD Rel64.zip for Production.PostalPro: Current Web Service Description Languages (WSDLs)“2.4 PROD Rel64.zip”USPS original
- CAT holds the WSDLs for the upcoming release, open only to selected mailers in the USPS CAT certification phase.PostalPro: Current Web Service Description Languages (WSDLs)“These WSDLs are for the upcoming release and are accessible and available only for the selected mailers who participate in USPS CAT certification phase.”USPS original
- TEM is the Mail.XML test environment that all new customers must test in, and it simulates Production.PostalPro: Current Web Service Description Languages (WSDLs)“The USPS Test Environment for Mailers (TEM) is the dedicated Mail.XML test environment that is required for all new customers, as well as users migrating to a different electronic documentation (eDoc), to test their desired Mail.XML version in. … TEM simulates the Production environment, and completion of TEM testing is required for access to the Production environment.”USPS original
- Pre-Production holds pre-release software for testing software development with production data.Mail.dat Technical Specifications R65.0.0.0page 13“This environment will contain pre-release software and is intended for mailer testing software development testing with production data.”USPS original
- Production is where customers that USPS approved in TEM send their transactions.Mail.xml Technical Specifications R65.0.0.0 page 23“This environment will be used by all customers that have been approved in the TEM environment by the USPS to start sending the transaction/messages.”USPS original
- Push Subscription is for customers who receive data feedback on their own servers automatically, at a set time.Mail.xml Technical Specifications R65.0.0.0 page 54“Customers interested in using the Push Subscription model to receive the data feedback automatically at a specified time to their servers must understand the following WSDL name change information for the message-type WSDLs:”USPS original
Pull and push
A pull message is a request from the client, answered by a response to the client.PostalPro: Current Web Service Description Languages (WSDLs)“A pull message occurs when the client sends a request and a subsequent response is delivered to the client.”USPS original With pull, the mailer's software sends a query request, and USPS answers with a query response that holds the data.A Guide to Full Servicepage 77“There are Query Request and Response messages by which the Query request is done by the customers’ software and the USPS sends the Query Response message with the data.”USPS original
A push message sends data to a client that did not request it.PostalPro: Current Web Service Description Languages (WSDLs)“Push messages in a client/server application are defined as sending data to a client without the client requesting it.”USPS original A defined trigger can set it off.PostalPro: Current Web Service Description Languages (WSDLs)“A defined trigger can cause a push message to be sent.”USPS original In a notification, USPS tells the customer's server that a mailing's data is ready, and the customer's software then pulls it.A Guide to Full Servicepage 77“One is Notification, in which the USPS sends a message to the customers’ server indicating that data for a certain mailing is ready; the customers’software can then generate the Query Request message with the mailing data provided by the USPS in the notification message to pull their information.”USPS original In a delivery, USPS sends the data to the customer's server on the customer's schedule.A Guide to Full Servicepage 77“The other Push method is Delivery messages, in which the USPS sends the information to the customers’ server according to schedule specified by the customer.”USPS original
A customer can subscribe to push with profile request messages that PushUserProfileInfo.xsd describes, a file that comes with the WSDL.A Guide to Full Servicepage 77“It is also possible to subscribe to Push using the CreateProfileRequest, UpdateProfileRequest, and CancelProfileRequest XML messages, described in the PushUserProfileInfo.xsd schema definition provided as part of the WSDL.”USPS original Push sends data to the customer's web service over Secure Socket Layer communication.A Guide to Full Servicepage 77“Push data distribution uses Secure Socket Layer (SSL) communication to send data to the customer's web service.”USPS original A mailer testing push needs a signed certificate from a Certification Authority before Production.How to Submit Mail.XML Files to PostalOne!page 9“Mailers who are interested in testing Mail.XML Pull and Push methods must complete some preparatory work prior to entering Production, such as developing or purchasing Mail.XML software, acquiring a signed certificate from a Certification Authority (if doing the Push method), obtaining the USPS-provided schemata i.e., Web Services Description Language (WSDL) and XML schema document and templates (XSD) used to ensure conformity and standardization of data exchange between the PostalOne! system and customers.”USPS original
Message-type WSDLs
WSDLs come in two types, the message-type WSDL and the string-type WSDL.Mail.xml Technical Specifications R65.0.0.0 page 54“There are two types of WSDLs, the Message-Type WSDL and the String-Type WSDL.”USPS original USPS supports only the message-type WSDL.Mail.xml Technical Specifications R65.0.0.0 page 54“The USPS only supports the Message-Type WSDL.”USPS original
A message-type WSDL lets a customer's automated tool set up its environment without registering each service by hand.Mail.xml Technical Specifications R65.0.0.0 page 54“With this method, a customer can use an automated tool that can set up their environment without manually registering each service.”USPS original It needs new WSDLs with every new Mail.XML version, because it is tightly coupled with the specification version.Mail.xml Technical Specifications R65.0.0.0 page 54“However, this approach requires updates to WSDLs every time a new Mail.XML version is released. … In other words, it is tightly coupled with the Mail.XML Specification Version.”USPS original
Hostnames
A USPS certificate update affects these DNS hostnames:PostalPro: Current Web Service Description Languages (WSDLs)“Below are the DNS URL hostnames that will be impacted by the above noted certificate update:”USPS original
fast.uspspostalone.comp1webservices.uspspostalone.compcpostage.uspspostalone.comprod1.uspspostalone.comprod1a.usps.comprod1a.uspspostalone.comprodp1.usps.comsoa.usps.govsoaprod.usps.govwww.uspspostalone.com
Rules
A web services request must include a valid and active USPS user ID and password as defined in the UserAuthenticationInfo.xsd file that is provided as part of the WSDL downloable files.Mail.xml Technical Specifications R65.0.0.0 page 53“A web services request must include a valid and active USPS user ID and password as defined in the UserAuthenticationInfo.xsd file that is provided as part of the WSDL downloable files.”USPS original
Every request must carry a valid, active USPS user ID and password, in the form the UserAuthenticationInfo.xsd file in the WSDL download defines.
When programming to create Mail.XML software, developers must use USPS-provided Web Services Description Language (WSDL) and XML schema document and templates (XSD).How to Submit Mail.XML Files to PostalOne!page 9“When programming to create Mail.XML software, developers must use USPS-provided Web Services Description Language (WSDL) and XML schema document and templates (XSD).”USPS original
Developers must build Mail.XML software with the WSDL and XSD files that USPS provides.
Customers must use message-type URLs to consume these services.Mail.xml Technical Specifications R65.0.0.0 page 54“Customers must use message-type URLs to consume these services.”USPS original
Customers must call the services through message-type URLs.
Mailers must work with the PostalOne! Help Desk to start the approval process for their software, and must be approved in the TEM environment prior to sending data transactions in the Production environment.Mail.xml Technical Specifications R65.0.0.0 page 23“Mailers must work with the PostalOne! Help Desk to start the approval process for their software, and must be approved in the TEM environment prior to sending data transactions in the Production environment.”USPS original
Mailers must start software approval with the PostalOne! Help Desk, and must pass TEM before they send data to Production.
Similarly, USPS customers are required to set up their web services pull software to query PostalOne! servers no more than 200 times in a given 24 hour period for their eDoc, FAST, or Full Service data queries.Mail.xml Technical Specifications R65.0.0.0 page 22“Similarly, USPS customers are required to set up their web services pull software to query PostalOne! servers no more than 200 times in a given 24 hour period for their eDoc, FAST, or Full Service data queries.”USPS original
Pull software must query PostalOne! servers no more than 200 times in 24 hours for eDoc, FAST or Full-Service data.
The Postal Service is requiring that USPS Mail.XML customers update their Mail.XML software to query the USPS PostalOne! FAST systems no more than seven times per hour.Mail.xml Technical Specifications R65.0.0.0 page 22“The Postal Service is requiring that USPS Mail.XML customers update their Mail.XML software to query the USPS PostalOne! FAST systems no more than seven times per hour.”USPS original
Mail.XML software must query the PostalOne! FAST systems no more than seven times an hour.
User should always use this link to access the correct and updated version of WSDLs in future.Mail.xml Technical Specifications R65.0.0.0 page 54“User should always use this link to access the correct and updated version of WSDLs in future.”USPS original
Users should always get WSDLs from the current WSDLs page, which holds the correct and updated versions.
It is recommended for the mailers not to use these WSDLs unless participating in the CAT phase.PostalPro: Current Web Service Description Languages (WSDLs)“It is recommended for the mailers not to use these WSDLs unless participating in the CAT phase.”USPS original
Mailers should not use the CAT WSDLs unless they take part in the CAT phase.
What goes wrong
USPS returns an error message to a request with invalid user information.Mail.xml Technical Specifications R65.0.0.0 page 54“An error message will be returned in response to the web service request for invalid user information.”USPS original A fault code comes back whenever a message fails in transmission.Mail.xml Technical Specifications R65.0.0.0 page 270“The fault codes that are applicable to all Mail.XML messages are sent whenever a fault occurs in the transmission of a message.”USPS original A request that is invalid against the XSDs gets fault 403.Mail.xml Technical Specifications R65.0.0.0 page 270“403 Request XML is invalid against the XSDs”USPS original
USPS no longer supports string-type WSDLs.Mail.xml Technical Specifications R65.0.0.0 page 54“Note: USPS no longer supports String-type WSDLs.”USPS original CAT WSDLs can change at any time without notice.PostalPro: Current Web Service Description Languages (WSDLs)“These WSDLs are subject to be revised at any time without notice.”USPS original WSDLs and XSDs are revised, replaced or made obsolete as the Mail.XML technical specifications develop.How to Submit Mail.XML Files to PostalOne!page 9“As Mail.XML technical specifications develop, WSDLs and XSDs will be revised, replaced, or made obsolete.”USPS original
High volume from FAST and Full-Service data distribution users has hurt the performance of the USPS servers that authorize all Mail.XML transactions.Mail.xml Technical Specifications R65.0.0.0 page 22“USPS has recently encountered unusual high volume with specific Mail.XML transactions by FAST and Full Service Data Distribution users, resulting in serious performance impact on several USPS servers that deal with authorization of all Mail.XML transactions.”USPS original Customers must query different transactions at different times: FAST queries at odd times, and eDoc and data distribution queries at even times.Mail.xml Technical Specifications R65.0.0.0 page 22“Likewise, to improve overall experience for all customers it is absolutely necessary that customers program their software to query the USPS systems for different transactions at different times; in other words, configure some queries to occur at odd times, such as FAST queries, and configure other queries, such as eDoc and Data distribution, to occur at even times.”USPS original
Terms
- Web Services Description LanguageWSDL, Web Service Description Languages
- WSDL (Web Services Description Language) is an XML-based language for describing Web services and how to access them.PostalPro: Current Web Service Description Languages (WSDLs)“WSDL (Web Services Description Language) is an XML-based language for describing Web services and how to access them.”USPS original
- XML Schema DefinitionXSD, XML schema document and templates
- the USPS-provided schemata i.e., Web Services Description Language (WSDL) and XML schema document and templates (XSD) used to ensure conformity and standardization of data exchange between the PostalOne! system and customers.How to Submit Mail.XML Files to PostalOne!page 9“the USPS-provided schemata i.e., Web Services Description Language (WSDL) and XML schema document and templates (XSD) used to ensure conformity and standardization of data exchange between the PostalOne! system and customers.”USPS original
- Mail.xml
- Mail.XML is an XML-based DTAC specification for web services.Mail.xml Technical Specifications R65.0.0.0 page 19“Mail.XML is an XML-based DTAC specification for web services.”USPS original
- Mail.XML PullMail.XML Pull (Customer Invokes USPS Web Service), Mail.XML pull messages
- Web Services Pull model by which acustomer sends a Web Services based Mail.XML Request message invoking USPS Web Services to pull data in XML format through a Mail.XML Web Service method.A Guide to Full Servicepage 76“Web Services Pull model by which acustomer sends a Web Services based Mail.XML Request message invoking USPS Web Services to pull data in XML format through a Mail.XML Web Service method.”USPS original
- Mail.XML PushMail.XML Push (USPS Invokes Customer Web Service), Push messages, Full-Service PostalOne! Push Data, Push Subscription
- Web Services Mail.XML Push model by which the USPS invokes a customer’s Web Service method/URL and pushes XML data to the customer Web Service when the data is available or a notification is sent tothe customer by the USPS that customer’s data is available for download.A Guide to Full Servicepage 76“Web Services Mail.XML Push model by which the USPS invokes a customer’s Web Service method/URL and pushes XML data to the customer Web Service when the data is available or a notification is sent tothe customer by the USPS that customer’s data is available for download.”USPS original
- Test Environment for MailersTEM, Testing Environment for Mailers, TEM (Testing Environment for Mailers)
- The Test Environment for mailers (TEM) is a test platform designed to allow mailers to test their ability to submit electronic mailing information such as Full Service (FS) mailings to the Postal Service.PostalPro: Testing Environment for Mailers (TEM) Using Mail.XML“The Test Environment for mailers (TEM) is a test platform designed to allow mailers to test their ability to submit electronic mailing information such as Full Service (FS) mailings to the Postal Service.”USPS original
- Preproduction Environment
- This environment will contain pre-release software and is intended for mailer testing software development testing with production data.Mail.dat Technical Specifications R65.0.0.0page 13“This environment will contain pre-release software and is intended for mailer testing software development testing with production data.”USPS original
- Production EnvironmentPROD, Production
- This environment will be used by all customers that have been approved in the TEM environment by the USPS to start sending the transaction/messages.Mail.xml Technical Specifications R65.0.0.0 page 23“This environment will be used by all customers that have been approved in the TEM environment by the USPS to start sending the transaction/messages.”USPS original
- PostalOne!PostalOne! system
- the information management system that provides an electronic linkage between a customer’s mailing information and the Postal Service’s business mail acceptance and induction processes. It produces postage statements and supporting documentation.Guide to eInductionpage 7“the information management system that provides an electronic linkage between a customer’s mailing information and the Postal Service’s business mail acceptance and induction processes. It produces postage statements and supporting documentation.”USPS original
Documents
Technical Specifications
- Mail.XML Technical Specifications R57.0.0.0 V3November 28, 2022
Tech Guides
- PostalOne! Release 64.0.0.0 Mail.XML CAT WSDLsJune 16, 2026
- PostalOne! Release 64.0.0.0 Mail.XML PrePROD WSDLsJune 16, 2026
- PostalOne! Release 64.0.0.0 Mail.XML TEM WSDLsJune 16, 2026
- PostalOne! Release 64.0.0.0 Mail.XML PROD WSDLsJune 16, 2026
- PostalOne! Release 62.0.0.0 Mail.XML PROD WSDLsJune 18, 2025
- PostalOne! Release 62.0.0.0 Mail.XML TEM WSDLsJune 18, 2025
- PostalOne! Release 62.0.0.0 Mail.XML PrePROD WSDLsJune 18, 2025
- PostalOne! Release 62.0.0.0 Mail.XML CAT WSDLsJune 18, 2025
- PostalOne! Release 61.0.0.0 Mail.XML CAT WSDLsDecember 12, 2024
- PostalOne! Release 61.0.0.0 Mail.XML PrePROD WSDLsDecember 12, 2024
- PostalOne! Release 61.0.0.0 Mail.XML TEM WSDLsDecember 12, 2024
- PostalOne! Release 61.0.0.0 Mail.XML PROD WSDLsDecember 12, 2024
- PostalOne! Release 59.0.0.0 Mail.XML CAT WSDLsDecember 6, 2023
- PostalOne! Release 59.0.0.0 Mail.XML TEM WSDLsDecember 6, 2023
- PostalOne! Release 59.0.0.0 Mail.XML PROD WSDLsDecember 6, 2023
- PostalOne! Release 59.0.0.0 Mail.XML PrePROD WSDLsDecember 6, 2023
- PostalOne! Release 58.0.0.0 Mail.XML CAT WSDLsMay 25, 2023
- PostalOne! Release 58.0.0.0 Mail.XML PrePROD WSDLsMay 25, 2023
- PostalOne! Release 58.0.0.0 Mail.XML TEM WSDLsMay 25, 2023
- PostalOne! Release 58.0.0.0 Mail.XML PROD WSDLsMay 25, 2023
- PostalOne! Release 57.0.0.0 Mail.XML PROD WSDLsNovember 9, 2022
- PostalOne! Release 57.0.0.0 Mail.XML CAT WSDLsNovember 9, 2022
- PostalOne! Release 57.0.0.0 Mail.XML TEM WSDLsNovember 9, 2022
- PostalOne! Release 57.0.0.0 Mail.XML PrePROD WSDLsNovember 9, 2022
- PostalOne! Release 55.0.0.0 Mail.XML PROD WSDLsMay 24, 2022
- PostalOne! Release 55.0.0.0 Mail.XML PrePROD WSDLsMay 24, 2022
- PostalOne! Release 55.0.0.0 Mail.XML TEM WSDLsMay 24, 2022
- PostalOne! Release 53.0.0.0 Mail.XML CAT WSDLsJuly 15, 2021
- PostalOne! Release 53.0.0.0 Mail.XML TEM WSDLsJuly 15, 2021
- PostalOne! Release 53.0.0.0 Mail.XML PrePROD WSDLsJuly 15, 2021
- PostalOne! Release 53.0.0.0 Mail.XML PROD WSDLsJuly 15, 2021
- PostalOne! Release 55.0.0.0 Mail.XML CAT WSDLsMay 24, 2021
- PostalOne! Release 52.0.0.0 Mail.XML CAT WSDLsNovember 9, 2020
- PostalOne! Release 52.0.0.0 Mail.XML TEM WSDLsNovember 9, 2020
- PostalOne! Release 52.0.0.0 Mail.XML PrePROD WSDLsNovember 9, 2020
- PostalOne! Release 52.0.0.0 Mail.XML PROD WSDLsNovember 9, 2020
Release Notes
- July 2026 Release NotesJune 28, 2026
- July 2026 Release OverviewJune 12, 2026
Contacts
The PostalOne! Help Desk answers questions and problems with the PostalOne! system.Mail.dat Technical Specifications R65.0.0.0page 13“If you experience any difficulties when using the PostalOne! Systems, have questions, or need more information about the PostalOne! System, contact the PostalOne! System Help Desk.”USPS original It is open Monday through Friday, 8:00 a.m. to 5:00 p.m. CST.Mail.dat Technical Specifications R65.0.0.0page 13“The PostalOne! System Help Desk is available Monday through Friday from 8:00 a.m. to 5:00 p.m., CST, and can be contacted via e-mail or telephone.”USPS original Its phone is (800) 522-9085, and its email is postalone@email.usps.gov.Mail.dat Technical Specifications R65.0.0.0page 13“PostalOne! System Help Desk Telephone (800) 522-9085 … PostalOne! System Help Desk e-mail postalone@email.usps.gov”USPS original
USPS support covers Mail.XML business rules, error codes and exception handling.Mail.xml Technical Specifications R65.0.0.0 PDF page 2“The USPS provides Mail.XML technical support for mailers/vendors and support is only specific to the business rules it pertains to implementation of business transactions, error codes/descriptions, and exception handling with the Mail.XML implementations.”USPS original It does not cover software development tools or programming environments.Mail.xml Technical Specifications R65.0.0.0 PDF page 2“The USPS does not provide nor it is equipped to provide technical support for software development tools or IDEs (Integrated Development Environments) like Visual Studio, and software development activities as they pertain to different technology-specific programming environments for different companies, such as .Net, Java, Visual Basic, Power Builder, C, C++, etc.”USPS original
Sources
- PostalPro: Current Web Service Description Languages (WSDLs)USPS original
- How to Submit Mail.XML Files to PostalOne!USPS original
- Mail.xml Technical Specifications R65.0.0.0 USPS original
- Mail.dat Technical Specifications R65.0.0.0USPS original
- A Guide to Full ServiceUSPS original
- PostalPro: Testing Environment for Mailers (TEM) Using Mail.XMLUSPS original
- Guide to eInductionUSPS original