Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6355845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:50:55+00:00 2026-05-24T22:50:55+00:00

My application(.NET 4.0) needs to integrate with a webservice. If the webservice did have

  • 0

My application(.NET 4.0) needs to integrate with a webservice. If the webservice did have a WSDL it would be easy to generate proxy class with WCF but this is not possible in this case (No WSDL).

To communicate with this server we will have to send a message with settings and then receiver something like this :

<Desc>
<Make cfe_code="98" cfe_value="Volkswagen" label="Märke" value="Volkswagen"/>
<ModelName cfe_code="99" cfe_value="Touareg" label="Modell" value="Touareg"/>
<BodyType cfe_code="212" cfe_value="22" label="Kaross" value="SUV"/>
<ModelYear cfe_code="8" cfe_value="2005" label="Årsmodell" value="2005"/>
...
</Desc>

So how do I solve this? Do I have to dig in to XMLDocuments and do it all manual?

Edit1: The URL to the webservice might look like this : http://MyServer.com/ag/get?UID=9999999999.eu_vddsall_xml&VINREG=STU123&LANG=en

UID is static
VINREG is the registration ID of the object that we need information about
LANG is the language setting

There will also be a basic authentication (Username/Password)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T22:50:56+00:00Added an answer on May 24, 2026 at 10:50 pm

    This appears to be a non-SOAP endpoint, in which case there is not a standard way to expose service metadata via a WSDL.

    Essentially what you’d need to do is create classes to represent the Desc and its child elements:

    [XmlRoot("Desc")]
    public class Description
    {
    
        [XmlElement("Make")]
        public Make make { get; set; }
    
        [XmlElement("ModelName")]
        public ModelName modelName { get; set; }
    
        // etc...
    }
    
    public class Make
    {
    
        [XmlAttribute("cfe_code")]
        public int cfeCode { get; set; }
    
        // etc...
    }
    

    These classes represent the data you will receive from the service call. Next, create a ServiceContract that represents the service method:

    [ServiceContract]
    [XmlSerializerFormat]
    public interface IService
    {
        [OperationContract]
        [WebGet(BodyStyle = WebMessageBodyStyle.Bare,
          ResponseFormat = WebMessageFormat.Xml,
          UriTemplate = "get?UID=9999.eu_vddsall_xml&VINREG={vinreg}&LANG=en")]
        Description MyMethod(string vinreg);
    }
    

    Lastly, create an instance of a client proxy using IChannelFactory and consume the service.

    See this blog post on how to create a WCF client to consume a RESTful service using a WCF client.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .NET console application that needs to generate some HTML files. I
I have to integrate a WPF UI into a .NET 2.0 application. ObservableCollection needs
I'm making a VB.NET application that needs to generate a number of different reports.
we have implemented a web application in asp.net 4.0 and customer needs us to
I have a .NET windows forms application compiled as x86 – it needs to
I have been asked to create a project in vb.net which needs to integrate
In my asp.net application i need to integrate a jquery content slider with next,
What do I need to do to integrate an existing ASP.NET application into SharePoint?
My application (C#, ASP.Net) needs to insert, update and delete data in the DB,
I am developing a .NET application (using C#) that needs to massage some Adobe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.