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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Unable to access Web Service over https/SSL

HelloAA1234
Level 2
Level 2

Is it possible for Adobe LiveCycle Designer 8 connect to the Web Services through over SSL? .. .. i.e. In "New Data Connection --> Get Data Description from: WSDL File" .. and WSDL File : " https:// web-services/ Service?WSDL" . 

while executing the data connection (over https) xfa.connectionSet.DatConnection1.execute(0);  it gives error.

"Error reading from the file Service?WSDL"

0 Replies
pguerett
Level 10
Level 10

Yes you can have a WSDL using https protocol. Normally it is setup on a different port so  the port number might be required in your case. Also it looks like there is a space between the / and the word Service ..... there is no spaces in the wsdl (might be put there by the forum).

https:// web-services:443/Service?WSDL

paul

HelloAA1234
Level 2
Level 2

The URL for wsdl is wrong in the query

The actaul URL is

" https://localhost:443/webservices/Service?WSDL":

But still it is unable the excute the dataconnection In console  gives message" Error Reading File https://localhost:443/webservices/Service?WSDL":

pguerett
Level 10
Level 10

Which version of Designer are you using ...this support was added in the 8.x timeframe (I do not remember which one specifically).

Paul

HelloAA1234
Level 2
Level 2

The version is Live Cycle Designer ES 8.2.

I would like to know whether web service over https/SSL with self

signed certificate works with PDF form Data connection or we require a

certificate signed by Authority.

pguerett
Level 10
Level 10

That version shoudl support the https link. The type of cert does not matter. Is the web service available over the net so I can try it here?

Paul

kkfsiu
Level 1
Level 1

I am using adobe 9.0, I have the same problem of making web services connection in https.

The web services work fine in http but not in https. Is it due to cert problem or anything else?

Thanks in advance.

Rui_Esteves
Level 4
Level 4

Reader is very picky with SSL certs.

In case of doubt install your CA cert and all the certs in the cert chain manually in the OS keystore.

Just one question, can you access the WSDL in a browser?

kkfsiu
Level 1
Level 1

Thanks for your reply.

I am using Adobe Lifecycle Designer ES2 9.0. I can access the web service in http but not in https,

while I can access the web service from browser in either http or https.

Rui_Esteves
Level 4
Level 4

Then probably the SSL cert isn't being accepted by your Reader / Acrobat.

Have you tried to manually import the whole chain of certs into your OS's keystore?

kkfsiu
Level 1
Level 1

Thanks, do you have steps or reference link for that?

Rui_Esteves
Level 4
Level 4

No I don't.

It all depends on your Operating system.

If you're using Windowns then double click the SSL cert and install it from there, Its quite self-explanetory, the only concern you need to have it to be sure to put the Root-CA in the right place (authorized root CAs).

kkfsiu
Level 1
Level 1

I have imported the cert. But the problem still persists.

In the Adobe LiveCycle Designer, when i make a new Data Connection for WSDL.

If I key in http://server_IP:port/webservices/webmethod?WSDL, it works.

But If I key in https://server_IP:ssl_port/webservices/webmethod?WSDL,

it prompted back

Cannot load "https://server_IP:ssl_port/webservices/webmethod?WSDL". Check  that the path is correct and that the file

is a valid WSDL file. Also ensure you have access rights to the file.