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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:57:29+00:00 2026-06-11T10:57:29+00:00

I have two schemas and two endpoints, and currently i have only one servlet.

  • 0

I have two schemas and two endpoints, and currently i have only one servlet. Is there a way I can add both schemas to the one servlet? or do I have to add a second servlet.

Other possibilities ive seen involve combining two two scemas into one schema, my problemn here is I would not want people to be able to see the content of the second schema. What would be the best way to go about this.

Any suggestions on this would be useful I have found suggesions but nothing to say what would be the best way to go about doing this.

Currently I have a single servlet that uses simpleXsdSchema

 <bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema" 
        p:xsd = "classpath:au/test/Search/ws/schemas/Search.xsd"/>

i wanted to do something like this:

<bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema">
    <property name="schema">
        <list>
            <value>
                classpath:au/test/Search/ws/schemas/Search.xsd
            </value>
            <value>
                classpath:au/test/Search/ws/schemas/admin/SearchAdmin.xsd
            </value>
        </list>
    </property>
</bean>
*i am aware this does not work

but im not really sure if this is the right way to be going about this.

  • 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-06-11T10:57:30+00:00Added an answer on June 11, 2026 at 10:57 am

    after more research multiple schema’s can be declared using the schema collection class, need to import xmlschema framework.

    <bean id="schemaCollection"
        class="org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection">
        <property name="xsds">
            <list>
                <value>au/test/Search/ws/schemas/admin/SearchAdmin.xsd</value>
                <value>au/test/Search/ws/schemas/Search.xsd</value>
            </list>
        </property>
        <property name="inline" value="true" />
    </bean>
    

    for my case this was not the best method i found to do so instead declaring two servlets was the best course of action.

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

Sidebar

Related Questions

I need to add two DataViews together to have one Dataview that can then
I have two relative layouts that are currently displayed one below the other. I
I have two Activities: one with VideoView attached to MediaPlayer and the second one.
I have two tables, both named Language in two different schemas, lets call them
I have two schema files one is imported from the other. When executing the
I have two xml files. One xml file is a Shape and the other
Suppose I have two collections/schemas. One is the Users Schema with username and password
I have two text views to display the text one below other. The issue
i am facing one problem i have two xml files. Plugins.xml <SolutionProfile xmlns=http://schemas.microsoft.com/pag/cab-profile> <Modules>
I have two schemas: A and B (Oracle 9). At the A there is

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.