Wscompile modeler error

I'm trying to use wscompile with a WSDL file and XSDs and it keeps failing with the following error. The error is "[exec] error: modeler error: model error: invalid entity name: "EntityIdType" (in namespace: "http://ns.hr-xml.org/2004-08-02")" The type EntityIdType is defined in one of the included XSDs. The XSDs that I'm trying to use is for the HR-XML spec, so I don't really have any control over the XSDs themselves, but I tend to assume that the XSDs should be valid. I've got the WSDL file and XSDs available at http://quasistatic.com/webservices if anyone would be able to check them out for me. As a side note, I am able to use WSDL2Java from Axis on these files and it works fine. The command that I'm executing is "wscompile.bat -gen:server -f:documentliteral -mapping ${basedir}/generated/jaxrpc-mapping.xml -d ${basedir}/generated -s ${basedir}/generated/src -verbose -keep ${basedir}/wscompile-config.xml" and the wscompile-config.xml file contains:
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
     <wsdl location="etc/AssessmentResult.wsdl" packageName="com.lominger.survey.assessment"/>
</configuration>
Thanks for any help you can provide!

Vivek,
Thanks for responding to my post. I am using wscompile version:
C:\jwsdp-1.5\jaxrpc\bin>wscompile.bat -version
JAX-RPC Standard Implementation (1.1.2_01, build R40)
My WSDL and other files are up at http://quasistatic.com/webservices as well, but here's just the WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://assessment.survey.lominger.com/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://assessment.survey.lominger.com/"
xmlns:intf="http://assessment.survey.lominger.com/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:hrxml="http://ns.hr-xml.org/2004-08-02"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema elementFormDefault="qualified"
targetNamespace="http://assessment.survey.lominger.com/"
xmlns="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://ns.hr-xml.org/2004-08-02"
     schemaLocation="hrxml/Assessment/AssessmentResult.xsd" />
<xsd:element name="AssessmentResultResponse" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Root element for AssessmentResultResponse, which is designed to hold data necessary to convey information on the results of the assessment addition</xsd:documentation>
</xsd:annotation>
</xsd:element>
</schema>
</wsdl:types>
<wsdl:message name="AddAssessmentResultRequest">
<wsdl:part element="hrxml:AssessmentResult" name="parameters" />
</wsdl:message>
<wsdl:message name="AddAssessmentResultResponse">
<wsdl:part element="impl:AssessmentResultResponse" name="response" />
</wsdl:message>
<wsdl:portType name="Assessment">
<wsdl:operation name="addAssessmentResult">
<wsdl:input message="impl:AddAssessmentResultRequest" name="AddAssessmentResultRequest" />
<wsdl:output message="impl:AddAssessmentResultResponse" name="AddAssessmentResultResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AssessmentSoapBinding" type="impl:Assessment">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="addAssessmentResult">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="AddAssessmentResultRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="AddAssessmentResultResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="AssessmentService">
<wsdl:port binding="impl:AssessmentSoapBinding" name="AssessmentPort">
<wsdlsoap:address location="http://localhost:8180/axis/services/AssessmentResult" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Any help you can provide me is MUCH appreciated.
-Jesse

Similar Messages

  • JAX-RPC wscompile modeler error

    I run wscompile with the following arguments:
    -verbose -keep -features:documentliteral -gen:both -d generated -nd other -s source -model model.txt config.xmlI am getting an error message running JAX-RPCs wscompile tool against my WSDL. The error message is:
    error: modeler error: model error: undeclared namespace prefix: ""
    Unfortunately, this message doesn't give me enough information to begin locating the problem.
    Has anyone else run into this problem?
    I am running JWSSDK 1.2 on Windows XP w/JDK 1.4.1.
    Thanks,
    Chris

    i think you should use the encoding and the use
    specified bythe wsdl and try to override it. Also
    i would encourage you to do this in 2 steps.
    As you are starting from a wsdl :
    wscompile -import -verbose -keep -d generated -nd other -s source -model model.gz config.xml
    then have a config.xml for the client which would
    allow you to do
    wscompile -gen:client -verbose -keep -d generated -nd other -s source config-client.xml
    Also please check the validity of the wsdl or post it back on.

  • Problem on "error: modeler error: model error" by using wscompile

    When I use wscompile to generate the client stub, I get the follwoing error:
    error: modeler error: model error: invalid entity name: "BaseFaultType" (in name space: "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd")
    What is the problem mean? And What I should do with it?
    Thanks a lot.

    Ershad Ahmed wrote:
    Hi Swathi,
    >
    > Before performing the restore i would always restore control file from the backup to make sure that restore is working
    Hi,
    he already restored 30%, so I think we can safely assume at least some stuff did work.
    Allthough I agree that since the controlfile is saved last, this is a good test.
    Seems to be either a dirty tape (clean drive, repeat) or a faulty backup ( ugh ).
    When you retry after cleaning, you can use -f (fillup) to save the restore from retrieving the files it allready got.
    Check the initSID.sap for the backup  & restore commands and esp. the bs= / ibs= / obs= options.
    Volker

  • Modeler error when compiling web service

    I'm using wscompile to build a JAR file in order to connect to a web service.
    I keep getting the following error:
    error: modeler error: model error: invalid entity name: "schema" (in namespace: "http://www.w3.org/2001/XMLSchema")Here's my XML for the compilation (I replaced parts with 'Blah'):
    <?xml version="1.0" encoding="UTF-8" ?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
         <wsdl location="http://Blah/WebService/Traffic.asmx?WSDL" packageName="blah.blah"
              targetNamespace="http://Blah/WebService/" />
    </configuration>Here's the WSDL (I replaced parts with 'Blah'):
         <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:tns="http://Blah/WebService/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
         targetNamespace="http://Blah/WebService/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
         <wsdl:types>
              <s:schema elementFormDefault="qualified" targetNamespace="http://Blah/WebService/">
                   <s:import namespace="http://www.w3.org/2001/XMLSchema" />
                   <s:element name="getCORNorth">
                        <s:complexType />
                   </s:element>
                   <s:element name="getCORNorthResponse">
                        <s:complexType>
                             <s:sequence>
                                  <s:element minOccurs="0" maxOccurs="1" name="getCORNorthResult">
                                       <s:complexType>
                                            <s:sequence>
                                                 <s:element ref="s:schema" />
                                                 <s:any />
                                            </s:sequence>
                                       </s:complexType>
                                  </s:element>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="getCORSouth">
                        <s:complexType />
                   </s:element>
                   <s:element name="getCORSouthResponse">
                        <s:complexType>
                             <s:sequence>
                                  <s:element minOccurs="0" maxOccurs="1" name="getCORSouthResult">
                                       <s:complexType>
                                            <s:sequence>
                                                 <s:element ref="s:schema" />
                                                 <s:any />
                                            </s:sequence>
                                       </s:complexType>
                                  </s:element>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="getCORAll">
                        <s:complexType />
                   </s:element>
                   <s:element name="getCORAllResponse">
                        <s:complexType>
                             <s:sequence>
                                  <s:element minOccurs="0" maxOccurs="1" name="getCORAllResult">
                                       <s:complexType>
                                            <s:sequence>
                                                 <s:element ref="s:schema" />
                                                 <s:any />
                                            </s:sequence>
                                       </s:complexType>
                                  </s:element>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
              </s:schema>
         </wsdl:types>
         <wsdl:message name="getCORNorthSoapIn">
              <wsdl:part name="parameters" element="tns:getCORNorth" />
         </wsdl:message>
         <wsdl:message name="getCORNorthSoapOut">
              <wsdl:part name="parameters" element="tns:getCORNorthResponse" />
         </wsdl:message>
         <wsdl:message name="getCORSouthSoapIn">
              <wsdl:part name="parameters" element="tns:getCORSouth" />
         </wsdl:message>
         <wsdl:message name="getCORSouthSoapOut">
              <wsdl:part name="parameters" element="tns:getCORSouthResponse" />
         </wsdl:message>
         <wsdl:message name="getCORAllSoapIn">
              <wsdl:part name="parameters" element="tns:getCORAll" />
         </wsdl:message>
         <wsdl:message name="getCORAllSoapOut">
              <wsdl:part name="parameters" element="tns:getCORAllResponse" />
         </wsdl:message>
         <wsdl:portType name="TrafficSoap">
              <wsdl:operation name="getCORNorth">
                   <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">
                        Blah Blah
                   </documentation>
                   <wsdl:input message="tns:getCORNorthSoapIn" />
                   <wsdl:output message="tns:getCORNorthSoapOut" />
              </wsdl:operation>
              <wsdl:operation name="getCORSouth">
                   <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">
                        Blah Blah
                   </documentation>
                   <wsdl:input message="tns:getCORSouthSoapIn" />
                   <wsdl:output message="tns:getCORSouthSoapOut" />
              </wsdl:operation>
              <wsdl:operation name="getCORAll">
                   <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">
                        Blah Blah
                   </documentation>
                   <wsdl:input message="tns:getCORAllSoapIn" />
                   <wsdl:output message="tns:getCORAllSoapOut" />
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="TrafficSoap" type="tns:TrafficSoap">
              <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
              <wsdl:operation name="getCORNorth">
                   <soap:operation soapAction="http://Blah/WebService/getCORNorth" style="document" />
                   <wsdl:input>
                        <soap:body use="literal" />
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal" />
                   </wsdl:output>
              </wsdl:operation>
              <wsdl:operation name="getCORSouth">
                   <soap:operation soapAction="http://Blah/WebService/getCORSouth" style="document" />
                   <wsdl:input>
                        <soap:body use="literal" />
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal" />
                   </wsdl:output>
              </wsdl:operation>
              <wsdl:operation name="getCORAll">
                   <soap:operation soapAction="http://Blah/WebService/getCORAll" style="document" />
                   <wsdl:input>
                        <soap:body use="literal" />
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal" />
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="Traffic">
              <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">
                   Blah Blah
              </documentation>
              <wsdl:port name="TrafficSoap" binding="tns:TrafficSoap">
                   <soap:address location="http://Blah/WebService/Traffic.asmx" />
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>

    Hi ethan,
    I guess problem with SLD/SR. Did you complete SLD & SR configuration steps?
    Please see it: http://<host>:<port>/nwa -> Configuration Management -> Scenarios -> Configuration Wizard.
    See if
    1) Registering Services Registry instance in SLD
    2) Services Registry Destinations Creation
    are  not initial .
    Nikhil

  • Modeler error: invalid entity name

    Hello,
    Newbie question: what does the "modeler error: invalid entity name" error message mean when using the wscompile tool of the wsdp? The full error is
    error: modeler error: invalid entity name: "foo" (in namespace: "http://xml.foo")
    Does it point to a problem with the namespace, part of the entity or something else?
    Thanks in advance,

    I believe it means the identifier called out doesn't belong in the namespace that the compiler thinks it is using.
    I've had this problem, and it was when the XML Schema definition had complex types that did not contain the namespace prefix (e.g. using "MyType" instead of "myxsd:MyType" in the schema definition).

  • Wsdeploy modeler error: FileNotFoundException

    I'm using JWSDP 1.4 with Tomcat 5.0 on Windows 2000.
    Tomcat is installed in this dir:
    C:/Java/tomcat-jwsdp-1.4
    I can run wscompile fine. But when I try wsdeploy, I get the following error:
    C:\Titan\acronyms>wsdeploy -o C:/Java/tomcat-jwsdp-1.4/webapps/acronyms/acronyms.war war/acronyms.war -verbose
    info: created temporary directory: C:\DOCUME~1\MARK~1.SMI\LOCALS~1\Temp\jaxrpc-deploy-fa766d
    error: modeler error: java.io.FileNotFoundException: C:\DOCUME~1\MARK~1.SMI\LOCALS~1\Temp\jaxrpc-deploy-fa766d\WEB-INF\model (The system cannot find the file specified)
    info: created output war file: C:\Java\tomcat-jwsdp-1.4\webapps\acronyms\acronyms.war
    info: removed temporary directory: C:\DOCUME~1\MARK~1.SMI\LOCALS~1\Temp\jaxrpc-deploy-fa766d
    Isn't the model supposed to be created by wsdeploy?
    Here is my jaxrpc-ri.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <webServices
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
    version="1.0"
    targetNamespaceBase="urn:com.titan.acronyms/wsdl/"
    typeNamespaceBase="urn:com.titan.acronyms/types/">
    <endpoint
    name="AcronymWS"
    displayName="AcronymWS Port"
    description="Acronym Web Service Port"
    model="/WEB-INF/model"
    interface="com.titan.com.AcronymWS"
    implementation="com.titan.com.AcronymWS_Impl"/>
    <endpointMapping
    endpointName="AcronymWS"
    urlPattern="/AcronymWS"/>
    </webServices>
    Here is a listing of my input war file:
    C:\Titan\acronyms\war>jar -tvf acronyms.war
    0 Thu Jul 15 16:20:58 EDT 2004 META-INF/
    106 Thu Jul 15 16:20:56 EDT 2004 META-INF/MANIFEST.MF
    0 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/
    0 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/
    0 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/
    0 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/titan/
    0 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/titan/acronyms/
    49912 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/Acronyms.txt
    2098 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/titan/acronyms/AcronymBean.class
    1391 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/titan/acronyms/AcronymServlet.class
    221 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/titan/acronyms/AcronymWS.class
    475 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/titan/acronyms/AcronymWS_Impl.class
    2931 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/titan/acronyms/Acronyms.class
    1458 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/classes/com/titan/acronyms/DelimitedReader.class
    613 Thu Jul 15 16:20:58 EDT 2004 WEB-INF/jaxrpc-ri.xml
    340 Wed Jul 14 18:04:22 EDT 2004 WEB-INF/web.xml
    Thanks.

    You can also refer to https://jax-rpc.dev.java.net/whitepaper/1.1/index-part2.html for a detailed description of the various scenarios on developing, deploying and invoking a web service using wscompile and wsdeploy.
    Post your JAX-RPC related questions to [email protected] for a quicker resolution.
    Send an email to [email protected] to subscribe to the alias.
    Send an mail to [email protected] for a complete list of help commands.
    Thanks,
    -Arun

  • WSCOMPILE tool error

    Hi all,
    I have made a small code (just an interface and it's implementation)for JAX-RPC API.
    Made a config.xml file
    made a web.xml file.
    compiled my classes.
    then i have used WSCOMPILE tool as
    wscompile -cp ../* -gen server config.xml.
    an exception coming as
    error:modeller error:java.lang.NullPointerException.
    anyone expereince?.plz tell me the issues with wscompile tool.

    Please post JAXRPC related questions to [email protected]
    Can you include the entire stack trace?

  • Wscompile: compilation error

    Hi all,
    I am using wscompile to create a web service client from a wsdl file. I get an error during compilation caused by some strange symbols in the generated code.
    Has anyone an idea what may be wrong ? Or is it a bug in wscompile ?
    Kind regards
    Adrian
    This is the output of wscompile:
    ant -f STOCK-ProductTypesClient.xml
    Buildfile: STOCK-ProductTypesClient.xml
    init:
    runWscompile:
    [wscompile] command line: wscompile -d /home/azbaof/workspace/OrderManagementSystem/webServices/build "-features:searchschema, strict, noencodedtypes, serializeinterfaces, jaxbenumtype, nomultirefs, wsi, explicitcontext" -gen:client -keep -s /home/azbaof/workspace/OrderManagementSystem/webServices/src -verbose -Xprintstacktrace /home/azbaof/workspace/OrderManagementSystem/webServices/STOCK-ProductTypesClientConfig.xml -classpath /home/azbaof/jwsdp-1.4/jaxrpc/lib/jaxrpc-spi.jar:/home/azbaof/jwsdp-1.4/jaxrpc/lib/jaxrpc-impl.jar:/home/azbaof/jwsdp-1.4/jaxrpc/lib/jaxrpc-api.jar:/home/azbaof/jwsdp-1.4/jwsdp-shared/lib/activation.jar:/home/azbaof/jwsdp-1.4/jwsdp-shared/lib/jax-qname.jar:/home/azbaof/jwsdp-1.4/jwsdp-shared/lib/mail.jar:/home/azbaof/jwsdp-1.4/saaj/lib/saaj-api.jar:/home/azbaof/jwsdp-1.4/saaj/lib/saaj-impl.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/endorsed/dom.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/endorsed/sax.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/endorsed/xercesImpl.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/endorsed/xalan.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/jaxp-api.jar
    [wscompile] warning: Processing WS-I non conforming operation "WS_PTYPE" with RPC-Style and SOAP-encoded
    [wscompile] [ServiceInterfaceGenerator: creating service interface: test.webServices.WS_PTYPE]
    [wscompile] [ServiceGenerator: creating service: test.webServices.WS_PTYPE_Impl]
    [wscompile] [CustomClassGenerator: generating JavaClass for: WS_PTYPE]
    [wscompile] [CustomClassGenerator: generating JavaClass for: WS_PTYPEResponse]
    [wscompile] [CustomClassGenerator: generating JavaClass for: PTYPES]
    [wscompile] [CustomClassGenerator: generating JavaClass for: PRODUCT_TYPE]
    [wscompile] [SOAPObjectSerializerGenerator: writing  serializer/deserializer for: {urn:com-softwareag-entirex-rpc:STOCK}WS_PTYPE]
    [wscompile] [SOAPObjectSerializerGenerator: writing  serializer/deserializer for: {urn:com-softwareag-entirex-rpc:STOCK}WS_PTYPEResponse]
    [wscompile] [SOAPObjectSerializerGenerator: writing  serializer/deserializer for: {http://namespace.softwareag.com/entirex/xml/mapping}PTYPES]
    [wscompile] [SOAPObjectSerializerGenerator: writing  serializer/deserializer for: {http://namespace.softwareag.com/entirex/xml/mapping}PRODUCT_TYPE]
    [wscompile] [SOAPObjectBuilderGenerator: writing object builder for: WS_PTYPEResponse]
    [wscompile] [SOAPObjectBuilderGenerator: writing object builder for: PTYPES]
    [wscompile] [SOAPObjectBuilderGenerator: writing object builder for: PRODUCT_TYPE]
    [wscompile] [SerializerRegistryGenerator: creating serializer registry: test.webServices.WS_PTYPE_SerializerRegistry]
    [wscompile] /home/azbaof/workspace/OrderManagementSystem/webServices/src/test/webServices/WS_PTYPE_SerializerRegistry.java:35: illegal start of expression
    [wscompile]                 elemName, elemType, test.webServices.PRODUCT_TYPE.class, 1, [I@ba4211, SOAPVersion.SOAP_11);
    [wscompile]                                                                             ^
    [wscompile] /home/azbaof/workspace/OrderManagementSystem/webServices/src/test/webServices/WS_PTYPE_SerializerRegistry.java:35: illegal character: \64
    [wscompile]                 elemName, elemType, test.webServices.PRODUCT_TYPE.class, 1, [I@ba4211, SOAPVersion.SOAP_11);
    [wscompile]                                                                               ^
    [wscompile] /home/azbaof/workspace/OrderManagementSystem/webServices/src/test/webServices/WS_PTYPE_SerializerRegistry.java:35: ')' expected
    [wscompile]                 elemName, elemType, test.webServices.PRODUCT_TYPE.class, 1, [I@ba4211, SOAPVersion.SOAP_11);
    [wscompile]                                                                                                            ^
    [wscompile] 3 errors
    [wscompile] error: compilation failed, errors should have been reported
    BUILD FAILEDAnd here is my wsdl file:
    <?xml version='1.0' encoding='utf-8'?>
    <!-- Generated Nov 8, 2004 4:05:54 PM by Software AG SOAP Toolkit Wizard, Version 7.1.1.60 -->
    <definitions name='STOCK' targetNamespace='http://namespace.softwareag.com/entirex/xml/mapping'
       xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
       xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
       xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
       xmlns:tns='http://namespace.softwareag.com/entirex/xml/mapping'
    >
       <types>
          <schema targetNamespace='http://namespace.softwareag.com/entirex/xml/mapping' xmlns='http://www.w3.org/2001/XMLSchema'>
             <xsd:complexType name='PTYPES'>
                <xsd:sequence>
                   <xsd:element name='ArrayOfPRODUCT_TYPE' type='tns:ArrayOfPRODUCT_TYPE'/>
                </xsd:sequence>
             </xsd:complexType>
             <xsd:complexType name='ArrayOfPRODUCT_TYPE'>
                <complexContent>
                   <restriction base='SOAP-ENC:Array'>
                      <attribute ref='SOAP-ENC:arrayType' wsdl:arrayType='tns:PRODUCT_TYPE[100]'/>
                   </restriction>
                </complexContent>
             </xsd:complexType>
             <xsd:complexType name='PRODUCT_TYPE'>
                <xsd:sequence>
                   <xsd:element name='NAME' type='xsd:string'/>
                   <xsd:element name='PTYPE-ID' type='xsd:decimal'/>
                   <xsd:element name='DESCRIPTION' type='xsd:string'/>
                   <xsd:element name='WEIGHT' type='xsd:decimal'/>
                   <xsd:element name='BULK-PIECE' type='xsd:decimal'/>
                   <xsd:element name='PRICE' type='xsd:decimal'/>
                   <xsd:element name='ID-VENDOR' type='xsd:decimal'/>
                   <xsd:element name='DELIVERY-TIME' type='xsd:decimal'/>
                   <xsd:element name='AMOUNT-IN-STOCK' type='xsd:decimal'/>
                </xsd:sequence>
             </xsd:complexType>
          </schema>
       </types>
       <message name='WS_PTYPE'>
          <part name='START-ISN' type='xsd:int'/>
       </message>
       <message name='WS_PTYPEResponse'>
          <part name='START-ISN1' type='xsd:int'/>
          <part name='PTYPES' type='tns:PTYPES'/>
       </message>
       <portType name='STOCKPort'>
          <operation name='WS_PTYPE'>
             <input message='tns:WS_PTYPE'/>
             <output message='tns:WS_PTYPEResponse'/>
          </operation>
       </portType>
       <binding name='STOCKSoapBinding' type='tns:STOCKPort'>
          <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
          <operation name='WS_PTYPE'>
             <soap:operation soapAction='WS_PTYPE'/>
             <input>
                <soap:body use='encoded' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
                   namespace='urn:com-softwareag-entirex-rpc:STOCK'
                   />
             </input>
             <output>
                <soap:body use='encoded' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
                   namespace='urn:com-softwareag-entirex-rpc:STOCK'
                   />
             </output>
          </operation>
       </binding>
       <service name='WS_PTYPE'>
          <port name='STOCKPort' binding='tns:STOCKSoapBinding'>
             <soap:address location='http://myHost:8080/entirex/xmlrt'/>
          </port>
       </service>
    </definitions>

    Axis can create wsdl aotumatilly for each request.I don`t want to create wsdl, because I have already a wsdl file for an existing web service.
    With Axis I have generated the client - classes, that means the stub, helper classes and
    holders. I compiled the classes, and it works !
    It depends on how to write client code. If your client
    know your interface and endpoint, he doesn't need wsdl
    at all. If the client don't know that, then he need
    the wsdl and parse the wsdl(write lot of code) to get
    the information like endpoint, method name,
    parameters.....This is not the way I want it, as I said, the server exists. I want to generate a client
    that corresponds to the wsdl-file, which describes the already running web service.
    Once again: Is it possible for anybody to create a client via JWSDP 1.4 wscompile with
    my wsdl file without the errors mentioned in my first posting ? If this is not possible, it
    seems to be a bug in wscompile.
    Thanks
    Adrian

  • Xrpcc modeler error when trying to generate stub classes from a WSDL

    I'm trying to generate JAX-RPC stub classes (both client and server side) from a WSDL in which one of the message parts references a complexType element defined in the <types> section of the WSDL. Here is my little WSDL document:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="Book_Def"
    targetNamespace="myTypes"
    xmlns:tns="myTypes"
    xmlns:xsd1="myTypes"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xsd:schema targetNameSpace="myTypes"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="Book" type="xsd1:BookType"/>
    <xsd:complexType name="BookType">
    <xsd:all>
    <xsd:element name="authors" type="xsd:string" maxOccurs="10"/>
    <xsd:element name="preface" type="xsd:string"/>
    <xsd:element name="price" type="xsd:float"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="runMyPgm">
    <part name="book" type="xsd1:Book"/>
    </message>
    <message name="getPgmResponse">
    <part name="result" type="xsd:string"/>
    </message>
    <portType name="MyPgmIFPortType">
    <operation name="runMyPgm">
    <input message="tns:runMyPgm"/>
    <output message="tns:getPgmResponse"/>
    </operation>
    </portType>
    ... Binding stuff
    </port>
    </service>
    </definitions>
    I've tried many combinations of defining my complex type and input message and whenever I run xrpcc using this WSDL as input, I get a Error: Modeler error: invalid entity name: Book (in namespace "myTypes"). Sorry if this is a dumb question, but what am I doing wrong in my <types> or <message> definitions to cause this error? I've had some luck generating stubs when the part types are all simple types, but I've not had any luck with getting a <complexType> definition accepted by xrpcc. Thanks in advance for any help you can offer.

    Yes you can specify type mapping in configuration file and probably this will solve the problem, but I've never tested this approach. Perhaps I'm not advanced user. Actually the serializerFactory and deserializerFactory are a little vague for me:(

  • Error RuntimeModelerException: runtime modeler error: Wrappe

    Hi!
    I've develop a Web Service and its client. I run the WebService and when I run the client appears the next error:
    com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class webservice.jaxws.DarCuenta is not found. Have you run APT to generate them?
    It's necessary to run APT? When I have to run it? There isn't any way of implements and run the WebService and the client without use the APT?
    The code of my WebService:
    {color:#0000ff}
    package service;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import javax.jws.WebMethod;
    import javax.jws.WebResult;
    import javax.jws.WebService;
    import javax.jws.WebParam;
    import util.DatePalabra;
    @WebService(
    name="IContar", // wsdl:portType
    targetNamespace="urn:service" //wsdl:targetNamespace
    public interface IContar extends Remote {
    @WebMethod
    @WebResult(name="IContar_darCuentaResponse")
    public DatePalabra darCuenta(@WebParam(name = "name") String name) throws RemoteException;
    {color}
    {color:#0000ff}package service;
    import java.rmi.RemoteException;
    import javax.jws.WebMethod;
    import javax.jws.WebResult;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import util.DatePalabra;
    @WebService(
    serviceName="Contar", // wsdl:service
    portName= "IContarPort", //wsdl:port name=... binding=...
    endpointInterface = "service.IContar", //nombre de la interficie del WebService
    targetNamespace="urn:service", //wsdl:targetNamespace
    wsdlLocation = "WEB-INF/wsdl/Contar.wsdl" //nombre y ubicaci&oacute;n en el proyecto del fichero .wsdl
    @SOAPBinding(
    style=SOAPBinding.Style.RPC,
    use=SOAPBinding.Use.LITERAL
    public class Contar implements IContar{
    public DatePalabra darCuenta(String name) throws RemoteException {
    DatePalabra dp = new DatePalabra();
    dp.setLongitud(Integer.toString(name.length()));
    dp.setPalabra(name);
    return dp;
    {color}
    Thanks for all.

    i have the same problem.
    Caused by: com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class org.bogdanmata.test.webservices.impl.jaxws.SayHello is not found. Have you run APT to generate them?
         at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:287)
         at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:596)
         at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:543)
         at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:371)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
         at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
         at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:333)
         at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:45)
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
    I've publish the sources on this svn:
    http://virtualshop.googlecode.com/svn/trunk/virtualshop-read-only
    The project name is Test
    The IDE is Eclipse

  • Modelling error in Multisim's Tektronix TDS2024 FFT option

    The user's manual for Tektronix TDS2024 mentions that a 1 Vrms signal will be displayed as 0 dB peak in the FFT view. However, when I connect a 1 Vrms source to Tektronix TDS2024 scope in Multisim, I get a peak at 3 dB. This is only possible if National Instruments is using peak value in 20 log(V1/Vref) forumla instead of the RMS value which an actual (i.e., physical) TDS2024 oscilloscope uses.
    Could someone confirm if its really a mistake or is it supposed to be like that?
    Thanks in advance.
    (P.S. Attached is the Multisim file)
    Attachments:
    FFT modelling error in Multisim.ms13 ‏75 KB

    You nailed it!  In the (old SPICE) analyses everything is peak amplitude (as it is in MULTISIM's "signal" sources).  NI's additon of RMS options to "power" sources and not changing the corresponding "AC Analysis" from peak to RMS kinda added to the confusion!  It seems to me that MULTISIM should stick to one or the other for consistency and make it clear what it is!  Most EEs likely think that RMS is the "default" whereas most CSs (like the origimal Berkeley SPICE developers) likely thought peak was (as in Asin(omega)).

  • Runtime modeler error

    I am using a webservice and the functioans that it provides.
    However while executing a particular service i get the following exception
    The exceptioncom.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class org.cuashi.wof.ws.field.jaxws.GetValues is not found. Have you run APT to generate them?
    com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class org.cuashi.wof.ws.field.jaxws.GetValues is not found. Have you run APT to generate them?
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:249)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:545)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:492)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:334)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:220)
    at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:588)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:291)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:274)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:267)
    at javax.xml.ws.Service.getPort(Service.java:92)
    at org.cuashi.wof.ws.field.NWISGroundWater.getWaterOneFlow(NWISGroundWater.java:53)
    at FieldWater.main(FieldWater.java:27)
    I have used the same getValues for a difference service and it worked fine.Please let me know what i need to do

    i have the same problem.
    Caused by: com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class org.bogdanmata.test.webservices.impl.jaxws.SayHello is not found. Have you run APT to generate them?
         at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:287)
         at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:596)
         at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:543)
         at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:371)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
         at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
         at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:333)
         at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:45)
         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
    I've publish the sources on this svn:
    http://virtualshop.googlecode.com/svn/trunk/virtualshop-read-only
    The project name is Test
    The IDE is Eclipse

  • Modeler error while starting with WSDL Doc

    Hello,
    I'm trying to generate the client side files from a WSDL document and am recieving the following error:
    Error: Modeler error: invalid entity name: "ARRAY" (in namespace: "SOAP-ENC")
    I'm executing "xrpcc -client -keep config.xml" and my config.xml file looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/jax-rpc-ri/xrpcc-config">
    <wsdl name="StockQuotePlus"
    location="http://soaptest.activestate.com:8080/StockQuotePlus.wsdl"
    packageName="stockplus">
    </wsdl>
    </configuration>
    Do I need to provide a typeMappingRegistry in the config.xml file? Thanks in advance for your help.
    Jacob

    I am not shure. In fact it is not the only problem in this WSDL :(
    The XML Schema namespace is obsolete too and should be replaced with a new one from 2001. Also JAX-RPC 1.0 EA 1 does not supports polymorphic arrays, and you have to make your own complex type like this:
    <types>
         <xs:schema targetNamespace="myTypes" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                   <xs:complexType name="ArrayOfstring"><xs:complexContent>
                        <xs:restriction base="soap-enc:Array">
                             <xs:attribute ref="soap-enc:arrayType" arrayType="xs:string[]"/>
                        </xs:restriction>
                   </xs:complexContent></xs:complexType>
         </xs:schema>
    </types>
    and afterword to use this type:
    <message name="MultipleStockQuote">
         <part name="SymbolArray" type="tns:ArrayOfstring"/>
    </message>
    At least this WSDL is not correct from specification point of view:
    http://www.w3.org/TR/wsdl#_types

  • Wscompile classpath error

    Hello,
    I am having problems with JWSDP1.2 and the tutorial 1.2. When I call wscompile.bat it works correctly, only if I specify one directory in the classpath. When I add more it gives me an error that only one configuration file can be used. I've tried different things to get this to work (like quotes around it and other things).
    Help is greatly appreciated.
    run-wscompile:
    [echo] Running wscompile:
    [echo] C:\jwsdp-1.2\apache-ant\../jaxrpc/bin/wscompile.bat -define -d build -nd build -classpath build;e://myDirectory config-testinterface.xml -model build/test-model.gz
    [exec] error: only one configuration file can be specified: config-testinterface.xml
    [exec] Usage: wscompile [options] configuration_file
    [exec] where [options] include:
    [exec] -classpath <path> specify where to find input class files
    [exec] -cp <path> same as -classpath <path>

    I found one solution ! but it is not 'pretty' :
    I redefined the ant task to be called like this (the spaces are important...) :
    <exec executable="${wscompile}">
         <arg line="-define -nd ${build} -classpath"/>
         <arg value=" ;${build};myArchive.jar"/>
         <arg line="-model ${build}/${model.file} ${config.interface.file}"/>
    </exec>
    I would appreciate If someone has a better solution.

  • Getting error while creating model error

    Hello
    Iam hitting folowing error while creating the model
    created new table with this command
    SQL> CREATE TABLE health_rdf_data (id NUMBER, triple SDO_RDF_TRIPLE_S);
    Table created.
    for create model
    SQL> EXECUTE SDO_RDF.CREATE_RDF_MODEL('health', 'health_rdf_data', 'triple');
    then i hitting this following error
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00905: object SEMANTIC.SDO_RDF is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    please suggest me clear this error
    thanking you,
    Madhan.

    could you do the following and let me what is the results?
    select * from mdsys.rdf_model$;

Maybe you are looking for

  • Print to pdf

    I am sorta new to Mac.  On my old Windows PC I could Print to a PDF in addition to a normal printer.  How do I set it up to do the same thing on a Mac?  It only allows me to save as instead of printing to. Thanks in advance.

  • Why can't I insert a 3D pdf file in an InDesign Document?

    I am working on a presentation for a client and need to insert some 3D pdf files to it but I always get an error message from OnDesing. What should I do?

  • Line-count/page number in alv

    My report is a z copy of FBL5N .In that i wud have included the page no as a part of the heading , my issue is, since it is display some other information like customerr number company code name etc., my page no will also display only if the top_of_p

  • Some of my songs on my iTunes are stopping towards the end and going to the next song. It won't play those specific songs the entire way through.

    I recently bought a MacBook Pro and transfered my entire library to my new laptop. Itunes was working fine until I started to notice that certain songs won't play the entire way through. It'll stop at like 1:43 or another random time and skip right t

  • FontBook will not load or open some fonts

    We have quite a few font files that FontBook simply will not recognise as fonts. When we double-click the font file FontBook launches, but the font's preview window never appears. If we drag the font into FontBook's list it never gets added. If we us