Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Unable to use sample-java-soap client

New Here ,
Feb 28, 2011 Feb 28, 2011

Hi all,

I am trying to use sample client for java given with indesign server SDK.

I am trying to compile it using indesign however I imported all the libraries it is still not importing the following libraries.

import localhost.Service_wsdl.Service;

import localhost.Service_wsdl.ServiceLocator;

import localhost.Service_wsdl.ServicePortType;

import com.adobe.ns.InDesign.soap.IDSPScriptArg;

import com.adobe.ns.InDesign.soap.RunScriptParameters;

import com.adobe.ns.InDesign.soap.holders.DataHolder;

These libraries are not getting imported. Can any body help me where can I find out these libraries or else if anyone of u used sample-java-soap client please help me.

2.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 16, 2013 Mar 16, 2013

Those files localhost.Service_wsdl.Service etc come from the Adobe InDesign CS6 Server SDK\samples\idsp-wsdl-java\lib folder, but you have to successfully build the idsp-wsdl-java project with Ant first. That creates the source code that matches the WSDL for InDesign SOAP services. Then the sample client code can be built, making use of those import files.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 16, 2013 Mar 16, 2013
LATEST

To avoid warnings in the sample client application, you also would need a couple of support libraries used by the SOAP protocol implementation, but not probably depended upon at runtime to send a request successfully. Specifically, the JavaBean Activation Framework (JAF) and JavaMail API, both freely downloadable from Oracle. Add the activation.jar and mailapi.jar files to the classpath in the .BAT file that launches Java with the sample client JAR that implements main().

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines