Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
MGibson

Member
Registered:
Posts: 25
Reply with quote  #1 

I want to make a client side call to a WCF Service. The following works in my external .net apps but in BPM I get an error

 

//PeopleNBR  is passed in
var Type = "GET";
var Url = "MY WCF URL ";

$.ajax({
        type: Type,
        url: Url,
        data: { "sPeopleNbr": PeopleNBR },
        contentType: "application/json",
  dataType: "json", 
        success: function (result) {
            PeopleSucceeded(result);
        },
        error: function (result) {
            PeopleFailed(result);
        }
    });

the error I get is:

Error: Unable to get property 'ajax' of undefined or null reference

any idea what I am doing wrong?

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!