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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:47:14+00:00 2026-05-26T05:47:14+00:00

I have a scheme that looks like <?xml version=1.0 ?> <xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema> <xs:element name=RequestResponseBase

  • 0

I have a scheme that looks like

    <?xml version="1.0" ?>        
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="RequestResponseBase" type="RequestResponseBase" />
        <xs:complexType name="RequestResponseBase">
            <xs:sequence>
                <xs:element name="Parameters"
                            type="Parameters">
                </xs:element>
            </xs:sequence>
        </xs:complexType>
        <xs:complexType name="Parameters">
            <xs:sequence>
                <xs:element minOccurs="0"
                            maxOccurs="unbounded"
                            name="Parameter"
                            type="Parameter">
                </xs:element>
            </xs:sequence>
        </xs:complexType>
        <xs:complexType name="Parameter">
            <xs:sequence>
                <xs:element name="Name" type="xs:string" />
                <xs:element name="Value" type="xs:string" />
            </xs:sequence>
        </xs:complexType>
    </xs:schema>

I want to create datacontracts for the types so I’ve defined the following classes

    public class RequestResponseBase
    {
        public Parameters Parameters { get; set; }
    }


    public class Parameters
    {
        public Parameter[] Parameter { get; set; }
    }

But when I run the service and create a request with soapUI it suggests me to fill the following request:

  <tem:RequestResponseBase>
     <wcf:Parameters>
        <wcf:Parameter>
           <wcf:Parameter>
              <wcf:Name>gero et</wcf:Name>
              <wcf:Value>sonoras imperio</wcf:Value>
           </wcf:Parameter>
        </wcf:Parameter>           
     </wcf:Parameters>
  </tem:RequestResponseBase>

Why Parameter element is wrapped with another Parameter element and how to avoid that?!

  • 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-26T05:47:15+00:00Added an answer on May 26, 2026 at 5:47 am

    What if you change your code to:

    public class RequestResponseBase
    {
        public Parameter[] Parameters { get; set; }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an XML Schema that looks like this: <xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema> <xs:element name=root> <xs:complexType>
We have this XML schema: <xs:schema attributeFormDefault=unqualified elementFormDefault=qualified xmlns:xs=http://www.w3.org/2001/XMLSchema> <xs:element name=Log> <xs:complexType> <xs:sequence minOccurs=0
I have an XML document that looks like this: <Data xmlns=http://www.domain.com/schema/data xmlns:dmd=http://www.domain.com/schema/data-metadata > <Something>...</Something>
Good Day, I have an xml file that looks like: <albums xmlns=http://www.someurl.com/schema> <album> <artist>Rush</artist>
I have an XML document that looks like this: <?xml version=1.0 encoding=UTF-8?> <xs:msgdata xmlns:xs=http://www.myCompany.com
I have an XML document that looks like this: <?xml version=1.0 encoding=utf-8?> <Schema Namespace=EDIManagement.Models.Store
The top of my web.xml file looks like this: <?xml version=1.0 encoding=UTF-8?> <web-app xmlns=http://java.sun.com/xml/ns/j2ee
I have a schema design that looks like this: Table: User Row Column Family
I have a schema that essentially looks like this: CREATE TABLE `data` ( `id`
I have a xml file that looks like this: <Summary> <Persons> <Status> <Active value=false

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.