Consuming a web service

  • Thread starter Thread starter Tim Buck
  • Start date Start date
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.
 
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.
 
The certificate is on the IIS server. I connected to the web service with
PIE and it worked fine. What could I be missing?
 
Back
Top