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
Solved! Go to Solution.
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
Views
Replies
Total Likes
Hello tristanr32276360,
Look at the documentation examples for api 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
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Hello
WSDL is XML
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies