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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:15:05+00:00 2026-06-15T02:15:05+00:00

We have a hosted application called Camstar. It provides SOAP webservices built around WCF.

  • 0

We have a hosted application called Camstar. It provides SOAP webservices built around WCF.

I have a payload that work. I can invoke the web service from SoapUI using the payload below.

   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soapenv:Header>
      <WSShopFloorHeader xmlns="http://www.camstar.com/WebService/WSShopFloor">
         <UserName>abc</UserName>
         <Password>def</Password>
      </WSShopFloorHeader>
   </soapenv:Header>
   <soapenv:Body>
      <Submit xmlns="http://www.camstar.com/WebService/WSShopFloor">
         <serviceData xmlns:ns0="http://www.camstar.com/WebService/DataTypes" ns0:type="LotStart">
            <Factory>
               <__CDOTypeName/>
               <__name>X30</__name>
            </Factory>
            <Comments/>
            <Workflow>
                  <__name>TESTSTOREWF</__name>
                  <__rev/>
                  <__useROR>true</__useROR>
            </Workflow>
            <WorkflowStep>
                <__CDOTypeName/>
               <__name>DBINTSINVSPEC</__name>
            </WorkflowStep>
            <Qty>1000</Qty>
            <Qty2>10</Qty2>
            <Product>
                <__CDOTypeName/>
               <__name>9672-02-9450-D00.BW</__name>
                <__rev/>
               <__useROR>true</__useROR>
            </Product>
            <StartReason>
                  <__CDOTypeName/>
                  <__name>NORMAL</__name>
               </StartReason>
               <Owner>
                  <__CDOTypeName/>
                  <__name>PROD</__name>
               </Owner>
               <Level>
                  <__CDOTypeName/>
                  <__name>LOT</__name>
               </Level>
               <ContainerName>TEST004</ContainerName>
             </serviceData>
      </Submit>
   </soapenv:Body>
    </soapenv:Envelope>

I am unable to figure out how to create an XSD based on the above XML. The only namespaces are in the Submit and serviceData elements and they are inline.

Also how to create XSLT if I need to generate the name xml from one source to the other?

  • 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-15T02:15:06+00:00Added an answer on June 15, 2026 at 2:15 am

    I will answer this question in two parts:

    1) XSD for Soap XML:
    Well. Sharing my personal experience.. we get SOAP XML from a third party! SOAP XMLs actually known as WSDL, have bunch of namespace and in our real-time business, these namespace change..

    On the other hand if you treat it as an XML:
    When you come across XML files that have different namespace for different nodes! I mean, namespace present for parent is not same as that of child nodes.. you would need to comeup with more than one XSD files linked with <import> 13ren has already posted an answer .. BUT!! This kind of validation doesn’t work with most of the XML parsers! I myself have experienced!

    I have observed it working in MS-visual studio, where multiple assignment of XSD works!.. Where as when you try to load XML and XSD using XmlValidatingReader in .Net this fails!! Same behavior with any other online validation tools ..

    And there is one more problem with this SOAP XML. They carry bunch of different Namespace, by this method we can’t keep on adding as many XSD files as number of Namespace!!

    I have also tried .net code that tries to use XSD against Soap XML. here is the link
    .. But I am afraid .. I couldn’t succeed well!

    I give thumbs up to 13ren’s method, if you are validating XML manually!

    2) XSLT for an XML:
    XSLT is a functional programming language (not procedural). This is how you go with practicing XSLT:

    First you try copying whole XML as it is .. learn the significance of
    <copy> and <apply-templates select="@*|*|text()"/> pairs .. understand Identity Template!!
    Notification of attributes by @ and elements by * and text data as
    text() has to be understood ..

    Try to add and remove, elements and attributes .. use <template match="element_or_Attribute_name"/> to remove an element/attribute ..
    also <value-of select=""/> come into picture here ..

    Try converting attributes to elments and vice-verse ..

    Try moving a group of elements, or a parent tag .. under some other ..
    use and understand the significance of <for-each select=""/> (it would
    be necessary here ..) .. also write the code to Rename the tags ..
    and attributes ..

    build a huge XML with different child tag names and grandchild tags
    Build an XSL which can add and remove lots of tags .. Use all those possibilities
    which you tried (one at a time) before this

    A tutorial for your reference:
    https://stackoverflow.com/questions/1858345/xsltwhich-is-the-best-tutorial-you-would-like-to-recommend

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

Sidebar

Related Questions

We have built a hosted web application, that is developed in a way that
I have a application that's making calls against some WCF services I have hosted
I have very weird issue. I have method that called by wcf that hosted
I have .NET application that is hosted on IIS 6.1 It is impossible to
I have an application that usually is hosted on a Windows 2003 Apache Tomcat
I have an ASP.NET application that is hosted in timezone A and is being
I have a WCF service that is hosted in a Windows Service. Clients that
I have a WCF service hosted in a Windows Forms application (.NET C# 4).
I have hosted a web service that gets called from an ASP.NET 1.1 by
I have a WCF service hosted at IIS7 web application. It's created by a

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.