--- title: Create a SOAP message from a WSDL that references an external XSD file description: Create a SOAP message from a WSDL and external XSD file. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/web-services/create-soap-msg-external-xsd.html release: australia product: Web Services classification: web-services topic_type: task last_updated: "2026-03-12" reading_time_minutes: 3 breadcrumb: [SOAP message, SOAP, Outbound, Web services, API implementation, API implementation and reference] --- # Create a SOAP message from a WSDL that references an external XSD file Create a SOAP message from a WSDL and external XSD file. ## Before you begin Role required: web\_service\_admin ## About this task This task includes example WSDL and XSD files for a weather forecast SOAP message. Your WSDL and XSD file will vary. ## Procedure 1. Navigate to **All** > **System Web Services** > **SOAP Message** and create a new record. 2. Clear the **Download WSDL** check box. 3. Paste the content of the WSDL into the **WSDL XML** field. 4. Save the record. 5. In the **SOAP Message Imports** related list, click **New**. 6. Paste the content of the XSD file into the **External Document** field. 7. Set the **Schema Location** field to `db://.xsd`. Specifying the schema location allows the instance to know the location of the referenced XSD file. 8. Click **Submit.** 9. Click **Generate sample SOAP messages**. ## Example WSDL and XSD files ``` Get one week weather forecast for valid zip code or Place name in USA Get one week weather forecast for a valid Zip Code(USA) Get one week weather forecast for a place name(USA) Get one week weather forecast for a valid Zip Code(USA) Get one week weather forecast for a place name(USA) Get one week weather forecast for a valid Zip Code(USA) Get one week weather forecast for a place name(USA) Get one week weather forecast for valid zip code or Place name in USA ``` ``` ``` **Parent Topic:**[SOAP message](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/c_SOAPMessage.md)