SOAP Connection to Adobe Campaign Classic. What about sessiontoken ?

Avatar

Avatar
Validate 1
Level 1
tristanr3227636
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
tristanr3227636
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
tristanr3227636
Level 1

08-05-2018

Hi all,

I have now a Connection to a test instance of Adobe Campaign, I can sucessfully logon with my user credentials to this instance,

With the help of this article Web service calls I want to create an interface in Java, JavaScript or another language.

I'm using now Eclipse as an IDE.

But I have the Problem to find out the exact JavaScript Framework or Java library.

In this example an object "HttpSoapConnection" or "SoapService" is  be used.

var cnx = new HttpSoapConnection("https://serverURL/nl/jsp/soaprouter.jsp");

var session = new SoapService(cnx, 'urn:xtk:session');

Can anybody give me an hint, where I can find this object ?

Or can give me a Code snippet ?

Many thanks in advance.

Tristan

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
tristanr3227636
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
tristanr3227636
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
tristanr3227636
Level 1

11-05-2018

Hi Marcel,

now I Have solved me issue:

with the url "https://myserver/nl/jsp/schemawsdl.jsp?schema=xtk:session"

I got the wsdl file.

With the tool "wdl2java" 'm able now to create the Subs and Skeletons of the Java classes for this issue.

With the tool "SOAPUI" you can test the SOAP Services very easily.

Cheers

Tristan

Answers (5)

Answers (5)

Avatar

Avatar
Springboard
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

226 posts

Correct reply

56 solutions
Top badges earned
Springboard
Establish
Contributor
Give Back 25
Give Back 10
View profile

Avatar
Springboard
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

226 posts

Correct reply

56 solutions
Top badges earned
Springboard
Establish
Contributor
Give Back 25
Give Back 10
View profile
MarcelSzimonisz
MVP

09-05-2018

Have you read the documentation?

Web service calls

+

SOAP in JAVA

Marcel

Avatar

Avatar
Springboard
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

226 posts

Correct reply

56 solutions
Top badges earned
Springboard
Establish
Contributor
Give Back 25
Give Back 10
View profile

Avatar
Springboard
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

226 posts

Correct reply

56 solutions
Top badges earned
Springboard
Establish
Contributor
Give Back 25
Give Back 10
View profile
MarcelSzimonisz
MVP

08-05-2018

Hello tristanr32276360​,

Look at the documentation examples for api calls:

Web service calls

//from above documentation

var session = new SoapService(cnx, 'urn:xtk:session');

session.addMethod("Logon", "xtk:session#Logon",

  ["sessiontoken", "string", "Login", "string", "Password", "string", "Parameters", "NLElement"],

  ["sessionToken", "string", "sessionInfo", "NLElement", "securityToken", "string"]);

var res = session.Logon("", "admin", "pwd", <param/>);

var sessionToken = res[0];

var securityToken = res[2];

Hope this helps,

Marcel

Avatar

Avatar
Springboard
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

226 posts

Correct reply

56 solutions
Top badges earned
Springboard
Establish
Contributor
Give Back 25
Give Back 10
View profile

Avatar
Springboard
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

226 posts

Correct reply

56 solutions
Top badges earned
Springboard
Establish
Contributor
Give Back 25
Give Back 10
View profile
MarcelSzimonisz
MVP

29-11-2019

Hello

WSDL is XML

Avatar

Avatar
Validate 1
Level 3
jasonw30638826
Level 3

Likes

21 likes

Total Posts

47 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 3
jasonw30638826
Level 3

Likes

21 likes

Total Posts

47 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
jasonw30638826
Level 3

23-11-2019

Hi Tristan,

When I try to download the WSDL from https://myserver/nl/jsp/schemawsdl.jsp?schema=xtk:session , I got the XML format opened in the browser instead of downloading WSDL file. Do you need to convert XML to WSDL?

Thanks,

Jay

Avatar

Avatar
Validate 1
Level 1
tristanr3227636
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
tristanr3227636
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
tristanr3227636
Level 1

09-05-2018

Hi, thank you very much.

I want to use the SOAP Service outside from Adobe Campaign, I Need no Workflow process.

So my question is:

Can I use Axis or Axis 2 Framework inside a Java Project ?

Cheers

Tristan