Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Loading (SOAP) not loading WSDL functions/ method list

Avatar

Avatar
Validate 1
Level 1
amehta2016
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
amehta2016
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
amehta2016
Level 1

25-06-2019

Hi,

I am trying to use WSDL using Loading (SOAP) activity. But after entering Access URL and clicking on Generate Skeletal Code, I don't see any functions in function list popup from WSDL

If I use same WSDL URL in SOAP UI just to validate the WSDL and its functions, I can see all.

Do I need to perform any additional configuration to use this activity or WSDL option?

What could be the alternate option to make API call here?

I already tried Javascript using following code,

  • var http = new HttpClientRequest("https://...");
  •   http.header["UserName"] = strLogin;
  •   http.header["Password"] = strPwd;
  •   http.method = "GET"
  •   http.execute();
  •   var resp = http.response;

This gives me following error,

INT-150012 The HTTP query returned a 'Method Not Allowed' type error (405)

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
kapilKochar
MVP

Likes

128 likes

Total Posts

140 posts

Correct Reply

43 solutions
Top badges earned
Validate 1
Contributor
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
kapilKochar
MVP

Likes

128 likes

Total Posts

140 posts

Correct Reply

43 solutions
Top badges earned
Validate 1
Contributor
Give Back 10
Give Back 5
Give Back 3
View profile
kapilKochar
MVP

04-07-2019

Hi Ametha,

Try below code and change and add schema based on your requirement.

var cnx = new HttpSoapConnection(serverName, "UTF-8",0)

var session = new SoapService(cnx, "namespace:schemaName")

  session.addMethod("MethodName", "namespace:schemaName#MethodName",

                                   <parameters List>

                                   );

  var result  = session.MethodName(ParamListInput);

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
amehta2016
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
amehta2016
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
amehta2016
Level 1

09-07-2019

Hi,

Thanks for your response.

Here I am trying to call external API where methods are already defined. I need to call them in adobe workflow.

Not sure if this code will help me to call external API.