Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to use custom WSDL for Inbound SOAP requests to ServiceNow. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to use custom WSDL for Inbound SOAP requests to ServiceNow.
KB0748481

How to use custom WSDL for Inbound SOAP requests to ServiceNow.


8154 Views Last updated : Apr 7, 2024 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

ServiceNow exposes a standard WSDL file for all Table API web services.

Namespaces are already defined by ServiceNow instance.  However, you may want to use a specific WSDL file specifications for a custom SOAP Web Service running in ServiceNow. This article shows the available alternatives.

Release

Any supported release.

Resolution

It is possible to personalize the web service in ServiceNow up to certain level, but only programmatically. Custom scripts and web services are required.
Here is the information that can be helpful for this purpose.

a) Custom WSDL

ServiceNow allows to create and publish your own WSDLs to expose a SOAP service by using "scripted SOAP services".
The WSDL can be tailored to your needs and may expose the namespaces that you want (not generated by ServiceNow engine).

To use a Static WSDL you need three different objects:

- A scripted web service
- A custom script includes that handles the web service request.
- A WSDL


This approach may resolve the namespace requirements. Please refer to the documentation in this link:

Static WSDL
https://docs.servicenow.com/csh?topicname=t_CreateAStaticWSDL.html&version=latest


b) Custom Scripted Web Service Response.

You have also the possibility to have control over the XML payload of a SOAP response returned by a scripted web service, by creating the XML object that you want to return as response.

Please read the following documentation and example:

Customize response
https://docs.servicenow.com/csh?topicname=t_CustomizeResponse.html&version=latest


c) Custom HTTP Headers

The response http headers returned by ServiceNow for scripted SOAP web services cannot be customized.



The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

No attachments found

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.