Results 1 to 4 of 4

Thread: Consuming "secure" web service

  1. #1

    Thread Starter
    Hyperactive Member Krokonoster's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town
    Posts
    448

    Consuming "secure" web service

    I'm used to the "Normal" way of consuming a web service, where you "Add new service reference", etc.

    Now I'm given a service url for a big client. When trying the normal way I got an error:
    There was an error downloading 'https://aaaa.client.com/stuff/something/else/ListData.svc/$metadata'.

    Not wanting to sound stupid, I asked the client's IT anyhow, and apparantly this web service wont send back the WSDL, so I cannot go that way.
    He send me the wsdl file (and some xsd files) and I found a way to add service reference, specify that file instead and then modify your web.config.

    Still no luck, getting an "Internal Server Error". Make me think the problem on their side, but since they so important and sounding confident that it's fine, I kept trying different things (for instance in my code create a binding, endpoint, etc which work for some other services, with still no luck.

    They guy suggested using SoapUI for testing, which I downloaded (pro trial) but got no clue how the thing work.

    Any idea what I'm talking about here and how to approach?


  2. #2
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,226

    Re: Consuming "secure" web service

    yes. I am using soap UI all the time. If you're using a proxy server, you need to set the proxy server in the soap-UI preferences.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  3. #3

    Re: Consuming "secure" web service

    You have to follow some instruction for security. Import the server certificate into the client and you should be able to use HTTPS URLs.

  4. #4
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Re: Consuming "secure" web service

    You could user svcutil on the files hou received from the client
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width