Umair A.
Umair A.

Reputation: 6873

Calling WSDL Service via jQuery

I've been googling for something to call WSDL (SOAP) based service using jQuery but I don't find anything.

Is there really a way to call them like I call REST based services?

The example URL I have is http://sub.domain.com/j/services/ivos?wsdl

Upvotes: 3

Views: 17534

Answers (2)

James Kyburz
James Kyburz

Reputation: 14453

Check out the stack overflow question Simplest SOAP example if that's what you need

Although I am unsure what you need to do ?wsdl will just send the webservice description in xml form.

The way I would tackle this would be to create a rest wrapper that takes care of the soap handling and sends json responses.

This way you can call it using $.ajax, $.getJSON, $.post etc

Upvotes: 0

RoyFat
RoyFat

Reputation: 44

if u can modify the header sent to your wsdl i guess its possible.

Upvotes: 2

Related Questions