Click here to Skip to main content
15,942,793 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)

I got an WSDL file from siebel team. I need to call this service from Jquery $.soap call and parse the value.

The WSDL file content looks like

 <pre lang="HTML"> <?xml version="1.0" encoding="UTF-8" ?>
    <definitions xmlns="" xmlns:soap="" xmlns:xsdLocal1="" targetNamespace="" xmlns:soapenc=""
    xmlns:xsdLocal2="" xmlns:xsd="" xmlns:tns="">
        <xsd:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xsdLocal1="" targetNamespace="" xmlns:xsd="">
            <xsd:documentation>Copyright (C) 2001-2004 Siebel Systems, Inc. All rights reserved. Siebel XSD Generation</xsd:documentation>
          <xsd:element name="GetAccountInfoReqData" type="xsdLocal1:GetAccountInfoReqData"></xsd:element>
          <xsd:complexType name="GetAccountInfoReqDataTopElmt">
              <xsd:element name="GetAccountInfoReqData" maxOccurs="1" minOccurs="1" type="xsdLocal1:GetAccountInfoReqData"></xsd:element>

And i tried with this way using Jquery soap api.. After submitting the soap service i'm getting the same wsdl file content whatever i submitted.

     url: 'http://localhost/soap/soapservices.wsdl?',
     method: '',
     success: function(soapResponse) {},
     error: function(SOAPResponse) {}

Is this a correct way or please give some suggestions, idea to start my work.

1 solution

First, there is no such concept as "call WSDL file". Second, if you request for WSDL file, of course, in any reasonable service based on WSDL, you will get this WSDL file. What else would you expect?

This is not how the service itself is consumed. It's explained in many places:[^],[^],[^],[^],[^].

Share this answer
spskumar_121 18-Dec-15 1:07am    
what else we do with this WSDL file. They told using soap service to get the values.

in this WSDL file contains SOAP address. Find below details
soap:address location="

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900