Accessing web services
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Accessing web services

  1. #1
    Join Date
    Jun 2006
    Posts
    143

    Accessing web services

    I am trying to access a web service from a naive c++ application via IServerXMLHTTPRequest interface. I believe the web service is a WCF one. Currently I am accessing the web service via the service url , for eg:


    http://somserver.com/somefolder/myse...t1=1&input2=2;

    ie. the web service method accepts two inputs and returns the data. I am able to get the expected result and display in client.

    From the WCF documentation I read that we have to generate the proxy class of the web service and use that in the web service header to call the web service methods. My question is since I am already able to get the data using the url above, should i generate the proxy class? What is the difference between using the proxy class and calling the service using url?

    Thanks in advance..

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,070

    Re: Accessing web services

    I am able to get the expected result and display in client.
    As you're already able to call what you want, you never need a generated service client. BTW, service client code must use the same URL like you do.
    Best regards,
    Igor

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center