Connect to Web Service via SSL

E

Eva Sediki

Hi,

I created a Infopath form via "New from Data Connection" using the "Data
Connection Wizard":
I selected "Web Service", "Receive data" and entered a WSDL like
"https://myserver/myservice.WSDL". Because my web service runs with "optional
client certificate", a "Client Authentication"-popup appeared to select a
digital certificate. After selecting a certificate, I continued in the "Data
Connection Wizard" selecting an operation and finished successfully.

When I then tried out my form via the "Preview Form", I could connect to my
web service and got an answer. The certificate I have choose from the "Client
Authentication"-popup before, was used to authenticate the request without
any extra notice!

But - and here my problems start - after publishing this form, closing
Infopath and reopening my form again, I am not able to talk successfully to
my web service again.
InfoPath says "InfoPath cannot run the specified query", details: "InfoPath
either cannot connect to the data source, the service has timed out, or the
server has an invalid certificate." (which is all nonsense, since it worked
fine before)
The logfile of my webservice shows some data transfer and it seems to me,
that an empty or invalid client certificate is given which lets the SSL
handshake fail:

[Tue Feb 22 17:20:54 2005] [debug] ssl_engine_io.c(1510): OpenSSL: I/O
error, 5 bytes expected to read on BIO#1721c8 [mem: 1c57e8]
[Tue Feb 22 17:20:54 2005] [debug] ssl_engine_kernel.c(1815): OpenSSL: Exit:
error in SSLv3 read client certificate A
[Tue Feb 22 17:20:54 2005] [debug] ssl_engine_kernel.c(1815): OpenSSL: Exit:
error in SSLv3 read client certificate A
[Tue Feb 22 17:20:54 2005] [info] (70014)End of file found: SSL handshake
interrupted by system [Hint: Stop button pressed in browser?!]

Is there a way in InfoPath
- to specify a default client certificate for a web service or
- to specify that no client certificate should be given?

Thanks a lot
Best regards
Eva
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top