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

  • Home
  • SEARCH
  • 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 7929373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:03:14+00:00 2026-06-03T20:03:14+00:00

I have a WSDL document: <definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/ xmlns:tns=http://java.CAEServer xmlns:server=http://caeserver.caebeans.org xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns=http://schemas.xmlsoap.org/wsdl/ targetNamespace=http://java.CAEServer name=CAEInstanceImplService> <types>

  • 0

I have a WSDL document:

<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:tns="http://java.CAEServer"
             xmlns:server="http://caeserver.caebeans.org"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns="http://schemas.xmlsoap.org/wsdl/"
             targetNamespace="http://java.CAEServer"
             name="CAEInstanceImplService">

    <types>
        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    targetNamespace="http://caeserver.caebeans.org"
                    xmlns:test="http://example.org"
                    xmlns:wsa="http://www.w3.org/2005/08/addressing"
                    xmlns:serv="http://caeserver.caebeans.org"
                    attributeFormDefault="unqualified" elementFormDefault="qualified">

            <xsd:element name="data" type="xsd:string"/>

            <xsd:element name="parameter">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="text">
                            <xsd:complexType>
                                <xsd:attribute name="data" type="xsd:string"/>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="units">
                            <xsd:complexType>
                                <xsd:attribute name="data" type="xsd:string"/>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="comment">
                            <xsd:complexType>
                                <xsd:attribute name="data" type="xsd:string"/>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="enums" type="xsd:string"/>
                        <xsd:element name="default" type="xsd:int"/>
                        <xsd:element name="value" type="xsd:string"/>
                    </xsd:sequence>
                    <xsd:attribute name="name" type="xsd:string"/>
                    <xsd:attribute name="type" type="xsd:string"/>
                    <xsd:attribute name="visible" type="xsd:boolean"/>
                </xsd:complexType>
            </xsd:element>

            <xsd:complexType name="languageData">
                <xsd:simpleContent>
                    <xsd:extension base="xsd:string">
                        <xsd:attribute name="name" type="xsd:string"/>
                    </xsd:extension>
                </xsd:simpleContent>
            </xsd:complexType>

            <xsd:element name="language">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element maxOccurs="unbounded" name="data" type="serv:languageData"/>
                    </xsd:sequence>
                    <!--<xsd:attribute name="xml:lang" type="xsd:string"/>-->
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="instance_ID" type="xsd:string"/>

            <xsd:element name="problemCaebean">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="categories">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element name="category">
                                        <xsd:complexType>
                                            <xsd:sequence>
                                                <xsd:element maxOccurs="unbounded" ref="serv:parameter"/>
                                            </xsd:sequence>
                                            <xsd:attribute name="name" type="xsd:string"/>
                                            <xsd:attribute name="data" type="xsd:string"/>
                                        </xsd:complexType>
                                    </xsd:element>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="resources">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" ref="serv:language"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                    </xsd:sequence>
                    <xsd:attribute name="name" type="xsd:string"/>
                    <xsd:attribute name="author" type="xsd:string"/>
                    <xsd:attribute name="version" type="xsd:decimal"/>
                    <xsd:attribute name="caebeanId" type="xsd:string"/>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="caeProject">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element ref="serv:problemCaebean"/>
                        <xsd:element name="logical">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" name="node">
                                        <xsd:complexType>
                                            <xsd:attribute name="id" type="xsd:string"/>
                                            <xsd:attribute name="type" type="xsd:string"/>
                                            <xsd:attribute name="condition" type="xsd:string"/>
                                            <xsd:attribute name="execute" type="xsd:string"/>
                                            <xsd:attribute name="x" type="xsd:int"/>
                                            <xsd:attribute name="y" type="xsd:int"/>
                                        </xsd:complexType>
                                    </xsd:element>
                                    <xsd:element maxOccurs="unbounded" name="edge">
                                        <xsd:complexType>
                                            <xsd:attribute name="source" type="xsd:string"/>
                                            <xsd:attribute name="target" type="xsd:string"/>
                                            <xsd:attribute name="when" type="xsd:boolean"/>
                                        </xsd:complexType>
                                    </xsd:element>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="physical">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element name="componentCaebean">
                                        <xsd:complexType>
                                            <xsd:sequence>
                                                <xsd:element maxOccurs="unbounded" name="input">
                                                    <xsd:complexType>
                                                        <xsd:attribute name="filename" type="xsd:string"/>
                                                    </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element maxOccurs="unbounded" name="output">
                                                    <xsd:complexType>
                                                        <xsd:attribute name="filename" type="xsd:string"/>
                                                    </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element name="jar-premode">
                                                    <xsd:complexType>
                                                        <xsd:attribute name="name" type="xsd:string"/>
                                                    </xsd:complexType>
                                                </xsd:element>
                                                <xsd:element name="exec">
                                                    <xsd:complexType>
                                                        <xsd:sequence>
                                                            <xsd:element name="param">
                                                                <xsd:complexType>
                                                                    <xsd:attribute name="name" type="xsd:string"/>
                                                                </xsd:complexType>
                                                            </xsd:element>
                                                        </xsd:sequence>
                                                        <xsd:attribute name="name" type="xsd:string"/>
                                                        <xsd:attribute name="appname" type="xsd:string"/>
                                                        <xsd:attribute name="appversion" type="xsd:decimal"/>
                                                    </xsd:complexType>
                                                </xsd:element>
                                            </xsd:sequence>
                                            <xsd:attribute name="name" type="xsd:string"/>
                                        </xsd:complexType>
                                    </xsd:element>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                    </xsd:sequence>
                    <xsd:attribute name="name" type="xsd:string"/>
                    <xsd:attribute name="author" type="xsd:string"/>
                    <xsd:attribute name="version" type="xsd:decimal"/>
                    <xsd:attribute name="id" type="xsd:string"/>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="Status">
                <xsd:complexType>
                    <xsd:choice>
                        <xsd:element name="NOT_STARTED"/>
                        <xsd:element name="RUNNING"/>
                        <xsd:element name="HELD"/>
                        <xsd:element name="SUCCESSFULL"/>
                        <xsd:element name="FAILED"/>
                    </xsd:choice>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="CurrentTime">
                <xsd:complexType>
                    <xsd:simpleContent>
                        <xsd:extension base="xsd:dateTime">
                            <xsd:anyAttribute namespace="##other" processContents="lax"/>
                        </xsd:extension>
                    </xsd:simpleContent>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="TerminationTime" nillable="true">
                <xsd:complexType>
                    <xsd:simpleContent>
                        <xsd:extension base="xsd:dateTime">
                            <xsd:anyAttribute namespace="##other" processContents="lax"/>
                        </xsd:extension>
                    </xsd:simpleContent>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="Description">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element ref="serv:Status"/>
                        <xsd:element ref="serv:TerminationTime"/>
                        <xsd:element ref="serv:CurrentTime"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

            <!--
            message used to create a new instance WS-Resource
            -->
            <xsd:element name="createInstance">
                <xsd:complexType/>
            </xsd:element>

            <!--
               the response, simply contains an EPR to the new instance
            -->
            <xsd:element name="createInstanceResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="instanceID" type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="submitJob">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element ref="serv:instance_ID"/>
                        <xsd:element ref="serv:problemCaebean"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="submitJobResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <!--<xsd:element name="xml" type="xsd:string"/>-->
                        <xsd:element name="Result" type="xsd:int"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="getStatus">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="instance_ID" type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="getStatusResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element ref="serv:Status"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

        </xsd:schema>
    </types>

    <message name="SubmitJobRequest">
        <part name="parameter" element="server:submitJob"/>
    </message>

    <message name="SubmitJobResponse">
        <part name="parameter" element="server:submitJobResponse"/>
    </message>

    <message name="GetStatusRequest">
        <part name="parameter" element="server:getStatus"/>
    </message>

    <message name="GetStatusResponse">
        <part name="parameter" element="server:getStatusResponse"/>
    </message>

    <portType name="CAEInstance">
        <operation name="SubmitJob">
            <input message="tns:SubmitJobRequest"/>
            <output message="tns:SubmitJobResponse"/>
        </operation>
        <operation name="GetStatus">
            <input message="tns:GetStatusRequest"/>
            <output message="tns:GetStatusResponse"/>
        </operation>
    </portType>

    <binding name="CAEInstanceImplPortBinding" type="tns:CAEInstance">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <operation name="SubmitJob">
            <soap:operation soapAction="http://java.CAEServer/submitJob"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="GetStatus">
            <soap:operation soapAction="http://java.CAEServer/getStatus"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>

    <service name="CAEInstanceImplService">
        <port name="CAEInstanceImplPort" binding="tns:CAEInstanceImplPortBinding">
            <soap:address location="http://127.0.0.1:9000/caeinstance"/>
        </port>
    </service>
</definitions>

And I’m creating types and services definitions with command

wsimport -keep -verbose ../src/main/resources/instance.wsdl

But when I compiled and runned my project and tryed to compile client stubs from generated WSDL, I’ve got an error

parsing WSDL...


[ERROR] undefined element declaration 'ns1:instance_ID'
  line 36 of http://localhost:9000/caeinstance?xsd=1

[ERROR] undefined element declaration 'ns1:Result'
  line 49 of http://localhost:9000/caeinstance?xsd=1

What’s wrong with my WSDL?

  • 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-03T20:03:16+00:00Added an answer on June 3, 2026 at 8:03 pm

    CXF and Eclipse both supply WSDL validators. You should run your WSDL through one of those and see what it says.

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

Sidebar

Related Questions

I have a WSDL which contains 3 schemas inside it's types element. The schemas
I have a server (SoapUI) answering requests for a WSDL. When sending test requests,
I have a library I am creating based on some WSDL/XSD definitions. I am
I have a wsdl file and a detailed document about all the elements in
I have an XML document that I've received from my server. I need to
I have a XML document, element <elementName> in it and hierarchy set in WSDL
I'm implementing SOAP client to existing service of which i have WSDL file. I
I have an WSDL / Web Service and I need to generate an set
I have a WSDL file defining a service that I have to implement in
I have a WSDL 1.1 file which describes my Web Service. Now I need

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.