Getting Eror Message in SOAP Webservice. Unable to load WSDL.

Hari87
Kilo Explorer

Getting Eror Message in SOAP Webservice. Unable to load WSDL. The same webservice with Http is working fine when i tested in Browser, it is giving proper xml/response. But the same wsdl when i tested in SOAP Webservice in ServiceNow it is throwing error "Unable to load WSDL". There are some thread related to this issue in developer community but i am not  clear with the solution what they have provided.can any one please help me out from this issue.

 

My Req : Need to get the event information/request (Incident Management) from SOA. So i have created a service which will get the response from servicenow. Issue comes when i added the SOAP Wsdl to SOAP Request in ServiceNow.

 

Please help me out from this issue, I am very  new to this ServiceNow Tool.

21 REPLIES 21

Hari87
Kilo Explorer

I have tried in my local PC aswell but same issue, unable to load wsdl ? I hope people have come across this kind of issues in their development. Request you all please resolve this issue, why i am getting Unable to Load WSDL ?

Any Roles/Resposibilities that i need to add for my user (admin)

Do i need to download any Plugins to active this WSDL in ServiceNow SOAP Messages ?

Please help. Tried all possibilities but  :(. 

 

can you attach WSDL here?

It will be easy to troubleshoot.

 

Regards,

Sachin

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:client="http://xmlns.oracle.com/Application3/RestServiceNowProj/getRecordsBpelProcess" xmlns:ns1="http://www.example.org" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="getRecordsBpelProcess" targetNamespace="http://xmlns.oracle.com/Application3/RestServiceNowProj/getRecordsBpelProcess">
<wsdl:documentation>
<abstractWSDL>http://xxxxxxxxxxxxxxxx:7004/soa-infra/services/default/RestServiceNowProj!1.0/WSDLs/getRecordsBpelProcess.wsdl</abstractWSDL>
</wsdl:documentation>
<plnk:partnerLinkType name="getRecordsBpelProcess">
<plnk:role name="getRecordsBpelProcessRequester" portType="client:getRecordsBpelProcessCallback"/>
<plnk:role name="getRecordsBpelProcessProvider" portType="client:getRecordsBpelProcess"/>
</plnk:partnerLinkType>
<wsp:Policy xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" wsu:Id="wsaddr_policy">
<wsaw:UsingAddressing xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
</wsp:Policy>
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/Application3/RestServiceNowProj/getRecordsBpelProcess" schemaLocation="http://xxxxxxxxxxxxxxx:7004/soa-infra/services/default/RestServiceNowProj/getrecordsbpelprocess_client_ep?XSD=../Schemas/getRecordsBpelProcess.xsd"/>
</schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://www.example.org" schemaLocation="http://xxxxxxxxxxxxxxx:7004/soa-infra/services/default/RestServiceNowProj/getrecordsbpelprocess_client_ep?XSD=../Schemas/getRecords.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="getRecordsBpelProcessRequestMessage">
<wsdl:part name="payload" element="ns1:getRecordsResponse"/>
</wsdl:message>
<wsdl:message name="getRecordsBpelProcessResponseMessage">
<wsdl:part name="payload" element="client:processResponse"/>
</wsdl:message>
<wsdl:portType name="getRecordsBpelProcess">
<wsdl:operation name="process">
<wsdl:input message="client:getRecordsBpelProcessRequestMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="getRecordsBpelProcessCallback">
<wsdl:operation name="processResponse">
<wsdl:input message="client:getRecordsBpelProcessResponseMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="getRecordsBpelProcessBinding" type="client:getRecordsBpelProcess">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsp:PolicyReference xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" URI="#wsaddr_policy" wsdl:required="false"/>
<wsdl:operation name="process">
<soap:operation style="document" soapAction="process"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="getRecordsBpelProcessCallbackBinding" type="client:getRecordsBpelProcessCallback">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="processResponse">
<soap:operation style="document" soapAction="processResponse"/>
<wsdl:input>
<soap:body use="literal" namespace="http://xmlns.oracle.com/Application3/RestServiceNowProj/getRecordsBpelProcess"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="getrecordsbpelprocess_client_ep">
<wsdl:port name="getRecordsBpelProcess_pt" binding="client:getRecordsBpelProcessBinding">
<soap:address location="http://xxxxxxxxxxxxxxx:7004/soa-infra/services/default/RestServiceNowProj/getrecordsbpelprocess_client_ep"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Sudhanshu Talw1
Tera Guru

Check out the following:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0546191

 

Thanks

Sudhanshu

SNOW Learner09
Tera Guru

First and foremost thing we need to verify credentials that we are supplying in authentication. This will be the cause most cases.