These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Calling web service through adobe : authentication issue

lisha
Registered: Sep 20 2007
Posts: 8

Hi,
 
I am invoking an SAP ABAP based web service from adobe form using WSDL data connection. I am unable to call the web service at runtime as I could not pass on the SAP user id and pwd (for SAP authentication)through the adobe form. Please let me know how to do this.
 
Thanks a lot

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
If you are using Acrobat 6 you are out of luck. Authentication parameters were added to SOAP in Acrobat 7 in the "SOAP.request()" function. Take a look at this function in the Acrobat JavaScript Reference for version 7 and later.

Of course, implementation of authentication in WebServices is not exactly standard. Implementors have used custom header parameters to do all sorts of things, including non-standard authentication. You should be able to figure out what the service is expecting to see from the WSDL. The Acrobat SOAP object allows for custom headers in Acrobat 7 and later. And it also allows for a range of encryption options if that is what's needed. You'll just have to play around with the options until you get what you need. One way to nail down what Acrobat is doing is to create your own web service on a local server to use as a test frame.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script