Consuming a web service

T

Tim Buck

I wrote a very simple web service to test its functionality when consumed
from a PPC app. The web service simply takes in two numeric values, adds
them together, then returns the answer. I then wrote a very simple smart
device application that consumes this web service, passing in two values and
expecting to get back an answer. However, this error shows up instead:
"Cannot Establish trust relationship with remote server"

Any Ideas?

I am using IIS5.0 with SSL enabled.

I understand there is a workaround that will trap all the client certificate
messages and send back true regardless. I don't want that. I do want this
to be secure.

What are my options?

Thanks in advance.
 
A

Alex Feinman [MVP]

Are you using a test certificate or locally issued certificate on the IIS
machine? In that case you will need to add this certificate to your PPC. The
easiest way to see if the certificate is a problem is to open the web
service url rfom PIE and see if it complains.
 
T

Tim Buck

The certificate is on the IIS server. I connected to the web service with
PIE and it worked fine. What could I be missing?
 

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