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 6111837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:40:35+00:00 2026-05-23T14:40:35+00:00

This is an already existing XML request format corresponding to which I have to

  • 0

This is an already existing XML request format corresponding to which I have to implement a web service that will accept this request in this format below.

(Method or operation Name)
(complex type1)
(complex type2)
(complex type3)
(some primitive data type1) xyz (/some primitive data type)
(some primitive data type2) abc (/some primitive data type)
(/complex type3)
(/complex type2)
(/complex type1)
(/Method or operation Name)

I have never written a web service before and had been reading about service contracts and data contracts from past 2 days.

What I know, To create a service contract

[ServiceContract]
define Interface MyServiceContract
{
[OperationContract]
declare Method or Operation name(parameters) //How to pass complex types here?
}
  • 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-23T14:40:35+00:00Added an answer on May 23, 2026 at 2:40 pm

    You should define a class whose instance will be passed as a parameter to the OperationContract method and mark this class with the DataContract attribute. The Using Data Contracts topic contains the code example. Does this help?

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

Sidebar

Related Questions

I have to make a schema for an XML format that's already being used.
Question: I have a question that is apparently not answered by this already-asked Bash
I have an existing XML schema that contains a type that I would like
I am writing an application that must update parts of an already existing xml
If this has already been asked and answered, please point me to the existing
I'm stuck with this already for some weeks and I don't have the faintest
There's this already populated database which came from another dev. I'm not sure what
I'm hoping that someone has found a way of doing this already or that
If there's any open source code that does this already I'm interested in hearing
I'd like to i18n a text that looks like this: Already signed up? Log

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.