Wscompile problem

Hi,
I'm getting the following error when running wscompile from the command line (it also occurs when I run it from the Utilities GUI):
error: Unknown QName of member 'name'
error: java.lang.NullPointerException
When I run the same WSDL file through the version of wscompile that comes with version 1.6 of the JWSDP, everything works fine, and all the code gets generated.
A further issue is that my WSDL file contains nothing named 'name' (with a small 'n'). There are some elements and attributes called 'Name', however and I suspect that it's one of the attributes that's causing a problem, although that's not based on anything solid.
Any suggestions as to how to fix this would be greatly appreciated!
Brendan

Tina1511, welcome to the forum. Please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
I'm locking this thread now.
db

Similar Messages

  • Wscompile problem with xs:any

    Trying to run jax-rpc wscompile on the wsdl below results in this error:
    [exec] error: modeler error: unsupported schema type: "{http://www.blackpearl.com/schemas/types}complex"
    The offending section looks like this:
    <xs:complexType name="complex">
    <xs:sequence>
    <xs:any namespace="##any">
    </xs:any>
    </xs:sequence>
    </xs:complexType>
    This is [exec] JAX-RPC Standard Implementation (1.1.2, build R23)
    Any ideas about what is wrong?
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns:tns="urn:ProcedureTest:pkg1"
    xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"
    xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    targetNamespace="urn:ProcedureTest:pkg1">
    <types>
    <xs:schema xmlns:bpt="http://www.blackpearl.com/schemas/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="urn:ProcedureTest:pkg1"
    elementFormDefault="unqualified"
    targetNamespace="urn:ProcedureTest:pkg1">
    <xs:import namespace="http://www.blackpearl.com/schemas/types">
    </xs:import>
    </xs:schema>
    <xs:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.blackpearl.com/schemas/types"
    elementFormDefault="unqualified"
    targetNamespace="http://www.blackpearl.com/schemas/types">
    <xs:element type="essResultType"
    name="essResult">
    </xs:element>
    <xs:element type="evidencesType"
    name="evidences">
    </xs:element>
    <xs:element type="entitiesType"
    name="entities">
    </xs:element>
    <xs:element type="entityType"
    name="entity">
    </xs:element>
    <xs:element type="entityPropertyType"
    name="entityProperty">
    </xs:element>
    <xs:element type="rulesType"
    name="rules">
    </xs:element>
    <xs:element type="ruleType"
    name="rule">
    </xs:element>
    <xs:element type="expressionsType"
    name="expressions">
    </xs:element>
    <xs:element type="expressionType"
    name="expression">
    </xs:element>
    <xs:element type="essEvidenceType"
    name="essEvidence">
    </xs:element>
    <xs:element type="attributeModelsType"
    name="attributeTypes">
    </xs:element>
    <xs:element type="attributeModelType"
    name="attributeType">
    </xs:element>
    <xs:element type="possibleValuesType"
    name="values">
    </xs:element>
    <xs:element type="attributesType"
    name="attributes">
    </xs:element>
    <xs:element type="attributeGroupType"
    name="attributeGroup">
    </xs:element>
    <xs:element type="attributeType"
    name="attr">
    </xs:element>
    <xs:element type="stringArrayType"
    name="stringArray">
    </xs:element>
    <xs:element type="intArrayType"
    name="intArray">
    </xs:element>
    <xs:element type="booleanArrayType"
    name="booleanArray">
    </xs:element>
    <xs:element type="longArrayType"
    name="longArray">
    </xs:element>
    <xs:element type="floatArrayType"
    name="floatArray">
    </xs:element>
    <xs:element type="decimalArrayType"
    name="decimalArray">
    </xs:element>
    <xs:element type="doubleArrayType"
    name="doubleArray">
    </xs:element>
    <xs:element type="dateArrayType"
    name="dateArray">
    </xs:element>
    <xs:element type="timeArrayType"
    name="timeArray">
    </xs:element>
    <xs:element type="dateTimeArrayType"
    name="dateTimeArray">
    </xs:element>
    <xs:element type="durationArrayType"
    name="durationArray">
    </xs:element>
    <xs:complexType name="complex">
    <xs:sequence>
    <xs:any namespace="##any">
    </xs:any>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="essResultType">
    <xs:sequence>
    <xs:element minOccurs="0"
    ref="evidences">
    </xs:element>
    <xs:element minOccurs="0"
    ref="entities">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="evidencesType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="evidence"
    minOccurs="0"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="entitiesType">
    <xs:sequence>
    <xs:element minOccurs="0"
    ref="entity"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="entityType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="documentation"
    minOccurs="0">
    </xs:element>
    <xs:element type="xs:string"
    name="id">
    </xs:element>
    <xs:element type="xs:string"
    name="entityName">
    </xs:element>
    <xs:element minOccurs="0"
    ref="entityProperty">
    </xs:element>
    <xs:element minOccurs="0"
    ref="rules">
    </xs:element>
    <xs:element type="xs:decimal"
    name="score">
    </xs:element>
    <xs:element minOccurs="0"
    ref="entity"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="entityPropertyType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="documentation"
    minOccurs="0">
    </xs:element>
    <xs:element type="xs:string"
    name="foreignKey">
    </xs:element>
    <xs:element type="xs:string"
    name="value">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="rulesType">
    <xs:sequence>
    <xs:element minOccurs="0"
    ref="rule"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ruleType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="documentation"
    minOccurs="0">
    </xs:element>
    <xs:element type="xs:string"
    name="id">
    </xs:element>
    <xs:element ref="expressions">
    </xs:element>
    <xs:element type="xs:string"
    name="resultExpression">
    </xs:element>
    <xs:element type="xs:string"
    name="mustPass">
    </xs:element>
    <xs:element type="xs:string"
    name="doNotPropagate">
    </xs:element>
    <xs:element type="xs:string"
    name="modifiesRuleId"
    minOccurs="0">
    </xs:element>
    <xs:element type="xs:string"
    name="entityId">
    </xs:element>
    <xs:element type="xs:string"
    name="additionalInfo"
    minOccurs="0">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="expressionsType">
    <xs:sequence>
    <xs:element minOccurs="0"
    ref="expression"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="expressionType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="documentation"
    minOccurs="0">
    </xs:element>
    <xs:element type="xs:string"
    name="lhs">
    </xs:element>
    <xs:element type="xs:string"
    name="operator">
    </xs:element>
    <xs:element type="xs:string"
    name="rhs">
    </xs:element>
    <xs:element type="xs:string"
    name="connector"
    minOccurs="0">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="essEvidenceType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="attribute">
    </xs:element>
    <xs:element type="xs:string"
    name="value">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="attributeModelsType">
    <xs:sequence>
    <xs:element minOccurs="0"
    ref="attributeType"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="attributeModelType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="documentation"
    minOccurs="0">
    </xs:element>
    <xs:element type="xs:string"
    name="name">
    </xs:element>
    <xs:element type="xs:string"
    name="dataType">
    </xs:element>
    <xs:element minOccurs="0"
    ref="values">
    </xs:element>
    </xs:sequence>
    <xs:attribute name="valueType"
    default="string">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="decimal">
    </xs:enumeration>
    <xs:enumeration value="double">
    </xs:enumeration>
    <xs:enumeration value="string">
    </xs:enumeration>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:complexType>
    <xs:complexType name="possibleValuesType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="value"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="attributesType">
    <xs:sequence>
    <xs:element minOccurs="0"
    ref="attr"
    maxOccurs="unbounded">
    </xs:element>
    <xs:element minOccurs="0"
    ref="attributeGroup"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="attributeGroupType">
    <xs:sequence>
    <xs:element minOccurs="0"
    ref="attr"
    maxOccurs="unbounded">
    </xs:element>
    <xs:element minOccurs="0"
    ref="attributeGroup"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="attributeType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="documentation"
    minOccurs="0">
    </xs:element>
    <xs:element type="xs:string"
    name="name">
    </xs:element>
    <xs:element type="xs:string"
    name="dataType">
    </xs:element>
    <xs:element minOccurs="0"
    ref="values">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="stringArrayType">
    <xs:sequence>
    <xs:element type="xs:string"
    name="string"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="intArrayType">
    <xs:sequence>
    <xs:element type="xs:int"
    name="int"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="booleanArrayType">
    <xs:sequence>
    <xs:element type="xs:boolean"
    name="boolean"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="longArrayType">
    <xs:sequence>
    <xs:element type="xs:long"
    name="long"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="floatArrayType">
    <xs:sequence>
    <xs:element type="xs:float"
    name="float"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="decimalArrayType">
    <xs:sequence>
    <xs:element type="xs:decimal"
    name="decimal"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="doubleArrayType">
    <xs:sequence>
    <xs:element type="xs:double"
    name="double"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="dateArrayType">
    <xs:sequence>
    <xs:element type="xs:date"
    name="date"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="timeArrayType">
    <xs:sequence>
    <xs:element type="xs:time"
    name="time"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="dateTimeArrayType">
    <xs:sequence>
    <xs:element type="xs:dateTime"
    name="dateTime"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="durationArrayType">
    <xs:sequence>
    <xs:element type="xs:duration"
    name="duration"
    minOccurs="0"
    form="qualified"
    maxOccurs="unbounded">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="complexArrayType">
    <xs:sequence>
    <xs:any namespace="##any"
    minOccurs="0"
    maxOccurs="unbounded"
    processContents="skip">
    </xs:any>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    </types>
    <message name="returnInt">
    </message>
    <message name="returnIntResponse">
    <part xmlns:partns="http://www.w3.org/2001/XMLSchema"
    type="partns:int"
    name="int">
    </part>
    </message>
    <message name="justTrace">
    </message>
    <message name="justTraceResponse">
    <part xmlns:partns="http://www.w3.org/2001/XMLSchema"
    type="partns:anyType"
    name="result">
    </part>
    </message>
    <message name="returnString">
    </message>
    <message name="returnStringResponse">
    <part xmlns:partns="http://www.w3.org/2001/XMLSchema"
    type="partns:anyType"
    name="result">
    </part>
    </message>
    <message name="BP_TestSQueryExpr">
    <part xmlns:partns="http://www.w3.org/2001/XMLSchema"
    type="partns:string"
    name="expression">
    </part>
    </message>
    <message name="BP_TestSQueryExprResponse">
    <part xmlns:partns="http://www.blackpearl.com/schemas/types"
    type="partns:complex"
    name="result">
    </part>
    </message>
    <portType name="pkg1">
    <operation name="returnInt">
    <input message="tns:returnInt">
    </input>
    <output message="tns:returnIntResponse">
    </output>
    </operation>
    <operation name="justTrace">
    <input message="tns:justTrace">
    </input>
    <output message="tns:justTraceResponse">
    </output>
    </operation>
    <operation name="returnString">
    <input message="tns:returnString">
    </input>
    <output message="tns:returnStringResponse">
    </output>
    </operation>
    <operation name="BP_TestSQueryExpr">
    <input message="tns:BP_TestSQueryExpr">
    </input>
    <output message="tns:BP_TestSQueryExprResponse">
    </output>
    </operation>
    </portType>
    <binding type="tns:pkg1"
    name="pkg1">
    <soap:binding style="rpc"
    transport="http://schemas.xmlsoap.org/soap/http">
    </soap:binding>
    <operation name="returnInt">
    <soap:operation style="rpc"
    soapAction="">
    </soap:operation>
    <input>
    <soap:body namespace="urn:ProcedureTest:pkg1"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded">
    </soap:body>
    </input>
    <output>
    <soap:body namespace="urn:ProcedureTest:pkg1"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded">
    </soap:body>
    </output>
    </operation>
    <operation name="justTrace">
    <soap:operation style="rpc"
    soapAction="">
    </soap:operation>
    <input>
    <soap:body namespace="urn:ProcedureTest:pkg1"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded">
    </soap:body>
    </input>
    <output>
    <soap:body namespace="urn:ProcedureTest:pkg1"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded">
    </soap:body>
    </output>
    </operation>
    <operation name="returnString">
    <soap:operation style="rpc"
    soapAction="">
    </soap:operation>
    <input>
    <soap:body namespace="urn:ProcedureTest:pkg1"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded">
    </soap:body>
    </input>
    <output>
    <soap:body namespace="urn:ProcedureTest:pkg1"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded">
    </soap:body>
    </output>
    </operation>
    <operation name="BP_TestSQueryExpr">
    <soap:operation style="rpc"
    soapAction="">
    </soap:operation>
    <input>
    <soap:body namespace="urn:ProcedureTest:pkg1"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded">
    </soap:body>
    </input>
    <output>
    <soap:body namespace="urn:ProcedureTest:pkg1"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded">
    </soap:body>
    </output>
    </operation>
    </binding>
    <service name="ProcedureTest_pkg1">
    <port name="pkg1"
    binding="tns:pkg1">
    <soap:address location="http://kmoore-nb:7001/ProcedureTest/services/pkg1">
    </soap:address>
    </port>
    </service>
    </definitions>

    The JAXRPC SI does not support xs:any in rpc/encoded mode. You can try to convert the WSDL to either rpc/literal or document/literal and it should work for you.
    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.

  • Problem with WSDL generated with wscompile JAX-RPC

    Ok well I have successfully built a Web Service (From an existing wsdl) and Static Stub Client they work perfectly. I then I tried to connect to it using a Delphi Web Service Client. The client cant change, the problem I am getting is it is requesting using the variable name I am using and the WSDL has String_1.
    Ie. it gives me:
    unexpected element name: expected=String_1, actual= {targetNameSpace} [Variable Name]
    I suspect this is a problem with how the WSDL is generated any suggestions?

    THanks for the response, I originally used axis WSDL2Java. And only used the interface class. I think this is where my whole thing fell down. Although this worked with a static stub client that I used.
    I have now generated the server side java files using wscompile and am l looking how to implement the server. It doesn't look like it has a implementation class there. And there isn't much information on how to do it.

  • Problem with wscompile

    Dear everybody,
    I have a problem when trying to execute wscompile. I developed an Stateless Session Bean (in the background there are some Entity Beans and Database, etc). in Websphere Studio Application Developer 5.1.2 and built a webservice out of it. I deployed the Application to Websphere Application Server 5.1 and exported the WSDL. When I execute wscompile with the WSDL, I get a
    java.lang.ClassCastException, and cannot figure out why.
    Classpath:
    set J2EEPATH=C:\Sun\AppServer\lib
    set CLASSPATH=.\;C:\j2sdk1.4.2_08\lib
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\j2ee.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\jaxrpc-api.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\jaxrpc-api.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\jaxrpc-impl.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\jaxr-api.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\jaxr-impl.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\jax-qname.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\saaj-api.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\saaj-impl.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\endorsed\dom.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\endorsed\xercesImpl.jar
    set CLASSPATH=%CLASSPATH%;%J2EEPATH%\endorsed\xalan.jarWSCompile Command:
    wscompile -gen:client -verbose -keep -classpath .\ config-wsdl.xmlMy WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://core.rbac.csap2" xmlns:impl="http://core.rbac.csap2" xmlns:intf="http://core.rbac.csap2" xmlns:tns2="http://exceptions.csap2" xmlns:tns3="http://xml.apache.org/xml-soap" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <wsdl:types>
        <schema elementFormDefault="qualified" targetNamespace="http://core.rbac.csap2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://core.rbac.csap2" xmlns:intf="http://core.rbac.csap2" xmlns:tns3="http://xml.apache.org/xml-soap" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://xml.apache.org/xml-soap"/>
       <element name="dropActiveRole">
        <complexType>
         <sequence>
          <element name="sessionId" nillable="true" type="xsd:string"/>
          <element name="roleName" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="dropActiveRoleResponse">
        <complexType>
         <sequence/>
        </complexType>
       </element>
       <element name="getNotActiveRoles">
        <complexType>
         <sequence>
          <element name="sessionId" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="getNotActiveRolesResponse">
        <complexType>
         <sequence>
          <element name="getNotActiveRolesReturn" nillable="true" type="tns3:Vector"/>
         </sequence>
        </complexType>
       </element>
       <element name="getRoles">
        <complexType>
         <sequence>
          <element name="sessionId" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="getRolesResponse">
        <complexType>
         <sequence>
          <element name="getRolesReturn" nillable="true" type="tns3:Vector"/>
         </sequence>
        </complexType>
       </element>
       <element name="getActiveRoles">
        <complexType>
         <sequence>
          <element name="sessionId" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="getActiveRolesResponse">
        <complexType>
         <sequence>
          <element name="getActiveRolesReturn" nillable="true" type="tns3:Vector"/>
         </sequence>
        </complexType>
       </element>
       <element name="logout">
        <complexType>
         <sequence>
          <element name="sessionId" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="logoutResponse">
        <complexType>
         <sequence/>
        </complexType>
       </element>
       <element name="addActiveRole">
        <complexType>
         <sequence>
          <element name="sessionId" nillable="true" type="xsd:string"/>
          <element name="roleName" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="addActiveRoleResponse">
        <complexType>
         <sequence/>
        </complexType>
       </element>
       <element name="loginAndCreateSession">
        <complexType>
         <sequence>
          <element name="name" nillable="true" type="xsd:string"/>
          <element name="password" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="loginAndCreateSessionResponse">
        <complexType>
         <sequence>
          <element name="loginAndCreateSessionReturn" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="hasAccess">
        <complexType>
         <sequence>
          <element name="sessionId" nillable="true" type="xsd:string"/>
          <element name="objectName" nillable="true" type="xsd:string"/>
          <element name="operationName" nillable="true" type="xsd:string"/>
         </sequence>
        </complexType>
       </element>
       <element name="hasAccessResponse">
        <complexType>
         <sequence>
          <element name="hasAccessReturn" type="xsd:boolean"/>
         </sequence>
        </complexType>
       </element>
      </schema>
        <schema elementFormDefault="qualified" targetNamespace="http://exceptions.csap2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://core.rbac.csap2" xmlns:intf="http://core.rbac.csap2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <complexType name="SystemSupportException">
        <complexContent>
         <extension base="tns2:CSAP2Exception">
          <sequence/>
         </extension>
        </complexContent>
       </complexType>
       <complexType name="CSAP2Exception">
        <sequence>
         <element name="message" nillable="true" type="xsd:string"/>
        </sequence>
       </complexType>
       <element name="SystemSupportException" nillable="true" type="tns2:SystemSupportException"/>
       <complexType name="NoPermissionException">
        <complexContent>
         <extension base="tns2:CSAP2Exception">
          <sequence/>
         </extension>
        </complexContent>
       </complexType>
       <element name="NoPermissionException" nillable="true" type="tns2:NoPermissionException"/>
      </schema>
        <schema elementFormDefault="qualified" targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://core.rbac.csap2" xmlns:intf="http://core.rbac.csap2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <complexType name="Vector">
        <sequence>
         <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/>
        </sequence>
       </complexType>
      </schema>
      </wsdl:types>
      <wsdl:message name="getActiveRolesResponse">
        <wsdl:part element="impl:getActiveRolesResponse" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="loginAndCreateSessionRequest">
        <wsdl:part element="impl:loginAndCreateSession" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="getRolesRequest">
        <wsdl:part element="impl:getRoles" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="addActiveRoleResponse">
        <wsdl:part element="impl:addActiveRoleResponse" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="addActiveRoleRequest">
        <wsdl:part element="impl:addActiveRole" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="hasAccessResponse">
        <wsdl:part element="impl:hasAccessResponse" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="hasAccessRequest">
        <wsdl:part element="impl:hasAccess" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="getActiveRolesRequest">
        <wsdl:part element="impl:getActiveRoles" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="getRolesResponse">
        <wsdl:part element="impl:getRolesResponse" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="dropActiveRoleResponse">
        <wsdl:part element="impl:dropActiveRoleResponse" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="getNotActiveRolesResponse">
        <wsdl:part element="impl:getNotActiveRolesResponse" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="SystemSupportException">
        <wsdl:part element="tns2:SystemSupportException" name="fault"/>
      </wsdl:message>
      <wsdl:message name="loginAndCreateSessionResponse">
        <wsdl:part element="impl:loginAndCreateSessionResponse" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="logoutRequest">
        <wsdl:part element="impl:logout" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="getNotActiveRolesRequest">
        <wsdl:part element="impl:getNotActiveRoles" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="logoutResponse">
        <wsdl:part element="impl:logoutResponse" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="dropActiveRoleRequest">
        <wsdl:part element="impl:dropActiveRole" name="parameters"/>
      </wsdl:message>
      <wsdl:message name="NoPermissionException">
        <wsdl:part element="tns2:NoPermissionException" name="fault"/>
      </wsdl:message>
      <wsdl:portType name="SystemSupport">
        <wsdl:operation name="dropActiveRole">
          <wsdl:input message="impl:dropActiveRoleRequest" name="dropActiveRoleRequest"/>
          <wsdl:output message="impl:dropActiveRoleResponse" name="dropActiveRoleResponse"/>
          <wsdl:fault message="impl:SystemSupportException" name="SystemSupportException"/>
        </wsdl:operation>
        <wsdl:operation name="getNotActiveRoles">
          <wsdl:input message="impl:getNotActiveRolesRequest" name="getNotActiveRolesRequest"/>
          <wsdl:output message="impl:getNotActiveRolesResponse" name="getNotActiveRolesResponse"/>
          <wsdl:fault message="impl:SystemSupportException" name="SystemSupportException"/>
        </wsdl:operation>
        <wsdl:operation name="getRoles">
          <wsdl:input message="impl:getRolesRequest" name="getRolesRequest"/>
          <wsdl:output message="impl:getRolesResponse" name="getRolesResponse"/>
          <wsdl:fault message="impl:SystemSupportException" name="SystemSupportException"/>
        </wsdl:operation>
        <wsdl:operation name="getActiveRoles">
          <wsdl:input message="impl:getActiveRolesRequest" name="getActiveRolesRequest"/>
          <wsdl:output message="impl:getActiveRolesResponse" name="getActiveRolesResponse"/>
          <wsdl:fault message="impl:SystemSupportException" name="SystemSupportException"/>
        </wsdl:operation>
        <wsdl:operation name="logout">
          <wsdl:input message="impl:logoutRequest" name="logoutRequest"/>
          <wsdl:output message="impl:logoutResponse" name="logoutResponse"/>
          <wsdl:fault message="impl:SystemSupportException" name="SystemSupportException"/>
        </wsdl:operation>
        <wsdl:operation name="addActiveRole">
          <wsdl:input message="impl:addActiveRoleRequest" name="addActiveRoleRequest"/>
          <wsdl:output message="impl:addActiveRoleResponse" name="addActiveRoleResponse"/>
          <wsdl:fault message="impl:NoPermissionException" name="NoPermissionException"/>
          <wsdl:fault message="impl:SystemSupportException" name="SystemSupportException"/>
        </wsdl:operation>
        <wsdl:operation name="loginAndCreateSession">
          <wsdl:input message="impl:loginAndCreateSessionRequest" name="loginAndCreateSessionRequest"/>
          <wsdl:output message="impl:loginAndCreateSessionResponse" name="loginAndCreateSessionResponse"/>
          <wsdl:fault message="impl:SystemSupportException" name="SystemSupportException"/>
        </wsdl:operation>
        <wsdl:operation name="hasAccess">
          <wsdl:input message="impl:hasAccessRequest" name="hasAccessRequest"/>
          <wsdl:output message="impl:hasAccessResponse" name="hasAccessResponse"/>
          <wsdl:fault message="impl:SystemSupportException" name="SystemSupportException"/>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="SystemSupportSoapBinding" type="impl:SystemSupport">
        <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="dropActiveRole">
          <wsdlsoap:operation soapAction=""/>
          <wsdl:input name="dropActiveRoleRequest">
            <wsdlsoap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="dropActiveRoleResponse">
            <wsdlsoap:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="SystemSupportException">
            <wsdlsoap:fault name="SystemSupportException" use="literal"/>
          </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getNotActiveRoles">
          <wsdlsoap:operation soapAction=""/>
          <wsdl:input name="getNotActiveRolesRequest">
            <wsdlsoap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="getNotActiveRolesResponse">
            <wsdlsoap:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="SystemSupportException">
            <wsdlsoap:fault name="SystemSupportException" use="literal"/>
          </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getRoles">
          <wsdlsoap:operation soapAction=""/>
          <wsdl:input name="getRolesRequest">
            <wsdlsoap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="getRolesResponse">
            <wsdlsoap:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="SystemSupportException">
            <wsdlsoap:fault name="SystemSupportException" use="literal"/>
          </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getActiveRoles">
          <wsdlsoap:operation soapAction=""/>
          <wsdl:input name="getActiveRolesRequest">
            <wsdlsoap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="getActiveRolesResponse">
            <wsdlsoap:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="SystemSupportException">
            <wsdlsoap:fault name="SystemSupportException" use="literal"/>
          </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="logout">
          <wsdlsoap:operation soapAction=""/>
          <wsdl:input name="logoutRequest">
            <wsdlsoap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="logoutResponse">
            <wsdlsoap:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="SystemSupportException">
            <wsdlsoap:fault name="SystemSupportException" use="literal"/>
          </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="addActiveRole">
          <wsdlsoap:operation soapAction=""/>
          <wsdl:input name="addActiveRoleRequest">
            <wsdlsoap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="addActiveRoleResponse">
            <wsdlsoap:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="NoPermissionException">
            <wsdlsoap:fault name="NoPermissionException" use="literal"/>
          </wsdl:fault>
          <wsdl:fault name="SystemSupportException">
            <wsdlsoap:fault name="SystemSupportException" use="literal"/>
          </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="loginAndCreateSession">
          <wsdlsoap:operation soapAction=""/>
          <wsdl:input name="loginAndCreateSessionRequest">
            <wsdlsoap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="loginAndCreateSessionResponse">
            <wsdlsoap:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="SystemSupportException">
            <wsdlsoap:fault name="SystemSupportException" use="literal"/>
          </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="hasAccess">
          <wsdlsoap:operation soapAction=""/>
          <wsdl:input name="hasAccessRequest">
            <wsdlsoap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="hasAccessResponse">
            <wsdlsoap:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="SystemSupportException">
            <wsdlsoap:fault name="SystemSupportException" use="literal"/>
          </wsdl:fault>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="SystemSupportService">
        <wsdl:port binding="impl:SystemSupportSoapBinding" name="SystemSupport">
          <wsdlsoap:address location="http://pcrw171:9080/CSAP2SysSupRouter/services/SystemSupport"/>
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>I could imagine it is because of the use of Vectors in that WSDL. I do not have problems when just Strings are included in a wsdl.
    Any ideas?
    Thanks and regards,
    Simon

    Running wscompile from a command line is hard work. It's much better to use the Ant task that comes with the JWSDP. The following link shows how to get it up and running:
    https://jax-rpc.dev.java.net/whitepaper/1.1/index-part1.html#2.1

  • 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

  • Problem with wscompile tool

    Hi,
    I'm trying to build the helloworld example in the jwstutorial13.
    When the build process reaches wscompile task it fails and generates a strange error:
    run-wscompile:
    [echo] Running wscompile:
    [echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat -define -d build -nd build -classpath build config-interface.xml -model build/model.gz
    [exec] java.lang.NoClassDefFoundError: Files\Norton
    [exec] Exception in thread "main"
    [exec] Result: 1
    I don't understand the following:
    [exec] java.lang.NoClassDefFoundError: Files\Norton
    I'm building this on Windows 2000, and norton antivirus is installed. How could that effect the build process.
    Can someone tell me how to solve this problem.
    Thanks...

    When the build process reaches wscompile task it fails
    and generates a strange error:
    run-wscompile:
    [echo] Running wscompile:
    [echo]
    cho]
    C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat
    t -define -d build -nd build -classpath build
    config-interface.xml -model build/model.gz
    [exec] java.lang.NoClassDefFoundError:
    ror: Files\Norton
    [exec] Exception in thread "main"
    [exec] Result: 1
    I don't understand the following:
    [exec] java.lang.NoClassDefFoundError: Files\Norton
    I'm building this on Windows 2000, and norton
    antivirus is installed. How could that effect the
    build process.I've had the exact same problem today and haven't been able to find any information on this problem at all. But actually your problem helped me realize what is wrong.
    My problem was that wscompile gave me the error java.lang.NoClassDefFoundError: Ghost on a newly reinstalled machine. I have been able to run the examples before, so I didn't really know what to think of this.
    But the thing is that Norton Ghost and probably also Norton Antivirus puts entries into the path that contains paths with spaces in the name, ex. C:\Programmer\Norton Ghost
    The problem is that wscompile sees "Ghost" as not being part of the path and mistakes it for being a different paramter. When I removed the entry from my path, the examples ran without complaints.
    I have tried to put " " around the entry, but it didn't help. I don't know if there is any way to include paths with spaces in it , unless you write the paths using dos short filenames.
    I hope this solves your problem if you haven't figured it out yet!
    It's amazing that there isn't any information about this problem in the documentation, or maybe there is?
    Just think of the majority of people using the english version of windows with the program folder C:\Program Files.
    /Bo

  • Problem in wscompile tool

    hi,
    I am developing a sample web serv ice to provide weater information.
    I have a problem in using wscmpile tool to generate wsdl files.
    I have sample interface and have a rmi implementaion of the interface also.
    I compiled these files and specified the information in a config.xml file.her eis the xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service name="WeatherService"
    targetNamespace="http://echoservice.org/wsdl"
    typeNamespace="http://echoservice.org/types"
    packageName="samplewebapp.inter">
    <interface name="samplewebapp.inter.WeatherInterface"
    servantName="samplewebapp.inter.WeatherImpl"/>
    </service>
    </configuration>
    Now when use wscompile -gen:server config.xml
    I get the followig exception:
    error: RmiModeler error: java.lang.ClassNotFoundException: samplewebapp$inter$WeatherInterface
    I do no tknow how to proceed from here,kindly help me

    Go to your the directory where you generate your class files..
    Create a jar file which includes your .class files : jar cf yourfile.jar samplewebapp
    The structure of your jar file should be :
    /samplewebapp
    |_inter
    |_ ....class
    Then you should be able to compile : wscompile.sh -classpath "yourfile.jar" ...
    I hope this will solve your problem.

  • Compilation failed while generating stub classes using wscompile

    I am new to Web Services. I am trying to generate client stub classes from WSDL (provided by Seapine's with TestTarckPro Software), using wscompile. I am using JWSDP 1.6
    ====================================================================================
    Here's the wscompile command,
    wscompile -gen:client -d classes2 -keep -s classes2 -verbose config.xml
    =========================================================================
    Here's config.xml file
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl
    location="./ttsoapcgi.wsdl"
    packageName="testtrack_interface"/>
    </configuration>
    =====================================================================================
    I am getting following compilation errors during stub generation. Following is the compilation error part of wscompile result output
    [SOAPObjectBuilderGenerator: writing object builder for: saveLink]
    [SerializerRegistryGenerator: creating serializer registry: testtrack_interface.Ttsoapcgi_SerializerRegistry]
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:10: ';' expected
    protected java.lang.String m-strFileName;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:11: ';' expected
    protected java.lang.String m-strFixedRevision;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:12: ';' expected
    protected java.util.Calendar m-dateFixedTimestamp;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:17: ')' expected
    public CSCCFileRecord(long recordid, java.lang.String m-strFileName, java.lang.String m-strFixedRevision, java.util.
    Calendar m-dateFixedTimestamp) {
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:47: ';' expected
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:29: ';' expected
    private static final int myM-STRFILENAME_INDEX = 1;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:30: ';' expected
    private static final int myM-STRFIXEDREVISION_INDEX = 2;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:31: ';' expected
    private static final int myM-DATEFIXEDTIMESTAMP_INDEX = 3;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:71: not a statement
    instance.setM-strFileName((java.lang.String)member);
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:87: not a statement
    instance.setM-strFixedRevision((java.lang.String)member);
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:96: not a statement
    instance.setM-dateFixedTimestamp((java.util.Calendar)member);
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:18: ';' expected
    private static final int myM-STRFILENAME_INDEX = 1;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:19: ';' expected
    private static final int myM-STRFIXEDREVISION_INDEX = 2;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:20: ';' expected
    private static final int myM-DATEFIXEDTIMESTAMP_INDEX = 3;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:29: '(' expected
    public void setM-strFileName(java.lang.String mStrFileName) {
    ^
    15 errors
    error: compilation failed, errors should have been reported
    ==============================================================================
    My understanding is, while generating stubs, dashes or hyphens in variable names m-strFileName, m-strFixedRevision, m-dateFixedTimestamp are interpreted as minus sign and hence compilation is failing.
    I tried stub generation from same WSDL with Apache Axis and it's working fine. But stub generation is failing with JWSDP. Is this a problem with this WSDL file ? Am I missing something while using wscomplie command ?
    Please advise.
    Thanks
    Here's ttsoapcgi.wsdl file
    ==================================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="ttsoapcgi"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
    targetNamespace="urn:testtrack-interface"
    xmlns:tns="urn:testtrack-interface"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ttns="urn:testtrack-interface">
    <types>
    <schema targetNamespace="urn:testtrack-interface"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ttns="urn:testtrack-interface"
    xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="unqualified"
    attributeFormDefault="unqualified">
    <element name="CDatabase" type="ttns:CDatabase"/>
    <complexType name="CDatabase">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCDatabase">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CDatabase" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDatabase[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CDatabaseTable" type="ttns:CDatabaseTable"/>
    <complexType name="CDatabaseTable">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCDatabaseTable">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CDatabaseTable" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDatabaseTable[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CTableField" type="ttns:CTableField"/>
    <complexType name="CTableField">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCTableField">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CTableField" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CTableField[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CFieldValue" type="ttns:CFieldValue"/>
    <complexType name="CFieldValue">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCFieldValue">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CFieldValue" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFieldValue[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CTableColumn" type="ttns:CTableColumn"/>
    <complexType name="CTableColumn">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCTableColumn">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CTableColumn" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CTableColumn[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CFilter" type="ttns:CFilter"/>
    <complexType name="CFilter">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCFilter">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CFilter" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFilter[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CRecordData" type="ttns:CRecordData"/>
    <complexType name="CRecordData">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCRecordData">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CRecordData" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CRecordData[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CRecordRowSoap" type="ttns:CRecordRowSoap"/>
    <complexType name="CRecordRowSoap">
    <sequence>
    <element name="row" type="ttns:ArrayOfCRecordData" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCRecordRowSoap">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CRecordRowSoap" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CRecordRowSoap[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CRecordListSoap" type="ttns:CRecordListSoap"/>
    <complexType name="CRecordListSoap">
    <sequence>
    <element name="columnlist" type="ttns:ArrayOfCTableColumn" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="records" type="ttns:ArrayOfCRecordRowSoap" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <element name="CItemWithDBRecordId" type="ttns:CItemWithDBRecordId"/>
    <complexType name="CItemWithDBRecordId">
    <sequence>
    <element name="recordid" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </complexType>
    <element name="CItemToTrack" type="ttns:CItemToTrack"/>
    <complexType name="CItemToTrack">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="COrderedItemWithDBRecordId" type="ttns:COrderedItemWithDBRecordId"/>
    <complexType name="COrderedItemWithDBRecordId">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="order" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CSystemBase" type="ttns:CSystemBase"/>
    <complexType name="CSystemBase">
    <complexContent>
    <extension base="ttns:CItemToTrack">
    <sequence>
    <element name="systemname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CSystem" type="ttns:CSystem"/>
    <complexType name="CSystem">
    <complexContent>
    <extension base="ttns:CSystemBase">
    <sequence>
    <element name="location" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="computermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="computerbrand" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="cputype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="cpuspeed" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="harddisktype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="harddisksize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="ramsize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="romsize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="osname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="osversion" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="videoname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hascdrom" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="cdrommodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hasscanner" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="scannermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hasmodem" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="modemmodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hasprinter" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="printermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="otherhardware" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hasmultiplemonitors" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CSCCFileRecord" type="ttns:CSCCFileRecord"/>
    <complexType name="CSCCFileRecord">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="m-strFileName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="m-strFixedRevision" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="m-dateFixedTimestamp" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCSCCFileRecord">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CSCCFileRecord" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CSCCFileRecord[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CFileAttachment" type="ttns:CFileAttachment"/>
    <complexType name="CFileAttachment">
    <sequence>
    <element name="m-pFileData" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="m-strFileName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="m-strArchiveName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCFileAttachment">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CFileAttachment" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFileAttachment[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CReportedByRecord" type="ttns:CReportedByRecord"/>
    <complexType name="CReportedByRecord">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="foundby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="datefound" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="contactinfo" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="foundinversion" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="comments" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="reproduced" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="reproducedsteps" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="standardtestconfig" type="ttns:CSystem" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="otherhardwaresoftware" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="testconfigtype" type="xsd:short" minOccurs="1" maxOccurs="1"/>
    <element name="attachmentlist" type="ttns:ArrayOfCFileAttachment" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="showorder" type="xsd:short" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCReportedByRecord">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CReportedByRecord" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CReportedByRecord[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CField" type="ttns:CField"/>
    <complexType name="CField">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CStringField" type="ttns:CStringField"/>
    <complexType name="CStringField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CIntegerField" type="ttns:CIntegerField"/>
    <complexType name="CIntegerField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CDecimalField" type="ttns:CDecimalField"/>
    <complexType name="CDecimalField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:double" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CBooleanField" type="ttns:CBooleanField"/>
    <complexType name="CBooleanField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CDateField" type="ttns:CDateField"/>
    <complexType name="CDateField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CDateTimeField" type="ttns:CDateTimeField"/>
    <complexType name="CDateTimeField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CDropdownField" type="ttns:CDropdownField"/>
    <complexType name="CDropdownField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="dropdownValues" type="ttns:ArrayOfCFieldValue" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CVersionField" type="ttns:CVersionField"/>
    <complexType name="CVersionField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCField">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CField" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CField[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfstring">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="xsd:string[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CDefectEvent" type="ttns:CDefectEvent"/>
    <complexType name="CDefectEvent">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="user" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="date" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="notes" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="eventaddorder" type="xsd:short" minOccurs="1" maxOccurs="1"/>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="parenteventid" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    <element name="attachmentlist" type="ttns:ArrayOfCFileAttachment" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="fieldlist" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="resultingstate" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hours" type="xsd:double" minOccurs="1" maxOccurs="1"/>
    <element name="assigntolist" type="ttns:ArrayOfstring" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCDefectEvent">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CDefectEvent" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDefectEvent[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CDefectEventDefinition" type="ttns:CDefectEventDefinition"/>
    <complexType name="CDefectEventDefinition">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="user" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="datetime" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="notes" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="resultingState" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="resultingStateValues" type="ttns:ArrayOfCFieldValue" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="fileattachments" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="timeTracking" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="timeSumOfAll" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="timeHoursSinceLast" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="newAssignment" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="releaseNotes" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="customFields" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCDefectEventDefinition">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CDefectEventDefinition" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDefectEventDefinition[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CDefect" type="ttns:CDefect"/>
    <complexType name="CDefect">
    <complexContent>
    <extension base="ttns:CItemToTrack">
    <sequence>
    <element name="defectnumber" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    <element name="summary" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="state" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="disposition" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="type" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="priority" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="product" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="component" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="reference" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="severity" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="enteredby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="dateentered" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="locationaddedfrom" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="datetimecreated" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="datetimemodified" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="createdbyuser" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="modifiedbyuser" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="actualhourstofix" type="xsd:double" minOccurs="1" maxOccurs="1"/>
    <element name="reportedbylist" type="ttns:ArrayOfCReportedByRecord" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="eventlist" type="ttns:ArrayOfCDefectEvent" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="pSCCFileList" type="ttns:ArrayOfCSCCFileRecord" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="customFieldList" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CTask" type="ttns:CTask"/>
    <complexType name="CTask">
    <complexContent>
    <extension base="ttns:CItemToTrack">
    <sequence>
    <element name="status" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="priority" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="summary" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="description" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="datedue" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="dateassigned" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="versiondue" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="assignedto" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="assignedby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="assigneddefect" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="PhoneNumber" type="ttns:PhoneNumber"/>
    <complexType name="PhoneNumber">
    <sequence>
    <element name="numbertype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="phonenumber" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <element name="CUser" type="ttns:CUser"/>
    <complexType name="CUser">
    <complexContent>
    <extension base="ttns:CItemToTrack">
    <sequence>
    <element name="firstname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="lastname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="usergroupname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="company" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="emailtype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="emailaddress" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="isactive" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="iscustomer" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="isglobal" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="isactiveglobal" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="userLicense" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="password" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="loginname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="phoneone" type="ttns:PhoneNumber" minOccurs="1" maxOccurs="1"/>
    <element name="phonetwo" type="ttns:PhoneNumber" m

    Deepank-
    When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
    Hope this helps,
    Dan

  • WSCompile error

    Hello,
    I'm very new to webservices. I am using tomcat as the container and got jwsdp installed in it.
    While trying to build one of the examples provided I am getting a build error. It seems that WSCompile isn't working fine. Find below the extracts of build output and some excerpts of build.xml file too.
    build output
    C:\tomcat50-jwsdp\xws-security\samples\simple>ant run-sample
    Buildfile: build.xml
    clean:
       [delete] Deleting directory C:\tomcat50-jwsdp\xws-security\samples\simple\build
       [delete] Deleting directory C:\tomcat50-jwsdp\xws-security\samples\simple\dist
    as8-check:
    ws-check:
    tc-check:
        [mkdir] Created dir: C:\tomcat50-jwsdp\xws-security\samples\simple\build\client\classes
        [mkdir] Created dir: C:\tomcat50-jwsdp\xws-security\samples\simple\build\server\WEB-INF\classes
        [mkdir] Created dir: C:\tomcat50-jwsdp\xws-security\samples\simple\dist
    compile-handler-code:
         [echo] Compiling the handler source code
        [javac] Compiling 1 source file to C:\tomcat50-jwsdp\xws-security\samples\simple\build\server\WE
    B-INF\classes
        [javac] Compiling 1 source file to C:\tomcat50-jwsdp\xws-security\samples\simple\build\client\cl
    asses
    create-handler-jar:
          [jar] Building jar: C:\tomcat50-jwsdp\xws-security\samples\simple\build\client\secenv-handler.
    jar
    prepare:
    gen-server:
         [echo] Running wscompile....
    BUILD FAILED
    file:C:/tomcat50-jwsdp/xws-security/samples/simple/build.xml:135: Could not create task or type of t
    ype: wscompile.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'wscompile'.
       Fix: check your spelling.
    - The task needs an external JAR file to execute
       and this is not found at the right place in the classpath.
       Fix: check the documentation for dependencies.
       Fix: declare the task.
    - The task is an Ant optional task and optional.jar is absent
       Fix: look for optional.jar in ANT_HOME/lib, download if needed
    - The task was not built into optional.jar as dependent
       libraries were not found at build time.
       Fix: look in the JAR to verify, then rebuild with the needed
       libraries, or download a release version from apache.org
    - The build file was written for a later version of Ant
       Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
       and needs to be declared using <taskdef>.
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 2 seconds
    Excerpts from the build.xml
    <!--
    Copyright 2004 Sun Microsystems, Inc. All rights reserved.
    SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    -->
    <!DOCTYPE project [
          <!ENTITY tomcat SYSTEM "file:../buildconfig/tomcat-config.xml">
          <!ENTITY sjsas SYSTEM "file:../buildconfig/sjsas-config.xml">
          <!ENTITY sjsws SYSTEM  "file:../buildconfig/sjsws-config.xml">
    ]>
    <project name="simple" default="usage" basedir=".">
      <!-- Values in build.properties (if any) override the values in this file -->
      <property file="build.properties"/>
      <property file="../build.properties"/>
      <property name="context-path" value="securesimple"/> 
      <property name="client-class" value="${ant.project.name}.TestClient"/>
      <property name="url" value="http://${endpoint.host}:${endpoint.port}/manager/"/>
      <property name="username" value="${username}"/>
      <property name="password" value="${password}"/>
      <property name="build.home" value="build"/>
      <property name="dist.home" value="dist"/>
      <property name="portable-war" value="${ant.project.name}-portable.war"/>
      <property name="deployable-war" value="${context-path}.war"/>
      <property name="war-path" value="${dist.home}/${deployable-war}"/>
      <property name="config.rpcenc.file" value="${basedir}/etc/config.xml"/>
      <property name="client.config.rpcenc.file" value="${basedir}/etc/client-config.xml"/>
      <property name="model.rpcenc.file" value="model.xml.gz"/>
      <property name="webapp.webxml" value="${basedir}/etc/web.xml"/>
      <property name="jaxrpc.tool.verbose" value="true"/>
      <target name="as8-check" if="sjsas.home">
        <mkdir dir="${build.home}/client/classes"/>
        <mkdir dir="${build.home}/server/WEB-INF/classes"/>
        <mkdir dir="${dist.home}"/>
        &sjsas;
      </target>
      <target name="ws-check" if="sjsws.home">
        <mkdir dir="${build.home}/client/classes"/>
        <mkdir dir="${build.home}/server/WEB-INF/classes"/>
        <mkdir dir="${dist.home}"/>
        &sjsws;
      </target>
      <target name="tc-check" if="tomcat.home">
        <mkdir dir="${build.home}/client/classes"/>
        <mkdir dir="${build.home}/server/WEB-INF/classes"/>
        <mkdir dir="${dist.home}"/>
        <!--&tomcat;--><!--Added by Sourabh: Its commented to fix compilation issues-->
      </target>
      <target name="prepare" depends="as8-check, ws-check, tc-check, compile-handler-code, create-handler-jar">
          <mkdir dir="${build.home}"/>
          <mkdir dir="${build.home}/server"/>
          <mkdir dir="${build.home}/server/WEB-INF"/>
          <mkdir dir="${build.home}/server/WEB-INF/classes"/>
          <mkdir dir="${dist.home}"/>
      </target>
      <target name="compile-handler-code"
              description="Compiles the handler">
        <echo message="Compiling the handler source code "/>
         <path id="app.classpath">
         <!--Added by Sourabh:Start -->
              <fileset dir="${build.home}/../../../../xws-security/lib">
                   <include name="**/*.jar"/>
              </fileset>
              <fileset dir="${build.home}/../../../../jwsdp-shared/lib">
                   <include name="**/*.jar"/>
              </fileset>
         <!--Added by Sourabh: End-->
         </path>
        <javac debug="true"
               srcdir="src"
               destdir="${build.home}/server/WEB-INF/classes"
               includes="**/*.java">
        <classpath>
            <path refid="app.classpath"/>
        </classpath>
        </javac>
        <javac debug="true"
               srcdir="src"
               destdir="${build.home}/client/classes"
               includes="**/*.java">
        <classpath>
            <path refid="app.classpath"/>
        </classpath>
        </javac>
      </target>
      <target name="create-handler-jar"
              description="Creating jar file">
        <jar jarfile="${build.home}/client/secenv-handler.jar">
          <fileset dir="${build.home}/client/classes">
            <include name="**/*.class"/>
          </fileset>
        </jar>
      </target>
      <target name="compile-server" depends="gen-server"
              description="Compiles the server-side source code">
        <echo message="Compiling the server-side source code...."/>
        <javac debug="true"
               srcdir="server/src"
               destdir="${build.home}/server/WEB-INF/classes"
               includes="**/*.java">
        <classpath>
            <path refid="app.classpath"/>
         </classpath>
        </javac>
      </target>
      <target name="gen-server" depends="prepare"
              description="Runs wscompile to generate server artifacts">
        <echo message="Running wscompile...."/>
        <wscompile verbose="${jaxrpc.tool.verbose}"
                   xPrintStackTrace="true"   
                   jvmargs="-Djava.endorsed.dirs=${java.endorsed.dir}"
                   keep="true" fork="true"
                   security="${server.security.config}"
                   import="true"
                   model="${build.home}/server/WEB-INF/${model.rpcenc.file}"
                   base="${build.home}/server/WEB-INF/classes"
                   classpath="${app.classpath}"
                   config="${config.rpcenc.file}">
          <classpath>
            <pathelement location="${build.home}/server/WEB-INF/classes"/>
            <path refid="app.classpath"/>
          </classpath>
        </wscompile>
      </target>
        <target name="setup-web-inf" depends="prepare">
            <echo message="Setting up ${build.home}/server/WEB-INF..."/>
            <copy file="./etc/web.xml" todir="${build.home}/server/WEB-INF"/>
            <copy file="./etc/jaxrpc-ri.xml" todir="${build.home}/server/WEB-INF"/>
            <copy file="./etc/PingService.wsdl" todir="${build.home}/server/WEB-INF"/>
        </target>
      <target name="raw-war" depends="setup-web-inf"
              description="Creates a 'raw' WAR file">
        <echo message="Packaging to ${dist.home}/${portable-war}...."/>
        <delete file="${dist.home}/${portable-war}" />
        <jar jarfile="${dist.home}/${portable-war}">
          <fileset dir="${build.home}/server">
            <include name="WEB-INF/**"/>
            <include name="index.html"/>
          </fileset>
        </jar>
      </target>
      <target name="process-war" depends="raw-war"
              description="Runs wsdeploy to create a deployable or 'cooked' WAR file">
        <echo message="Running wsdeploy..."/>
        <delete file="${dist.home}/${deployable-war}"/>
        <wsdeploy fork="true" verbose="${jaxrpc-tool-verbose}" keep="true"
                  jvmargs="-Djava.endorsed.dirs=${java.endorsed.dir}"
                  tmpdir="${build.home}/server"
                  outwarfile="${dist.home}/${deployable-war}"
                  inwarfile="${dist.home}/${portable-war}">
          <classpath>
            <path refid="app.classpath"/>
          </classpath>
        </wsdeploy>
      </target>
      <target name="build-server"
              depends="compile-server, gen-server, raw-war, process-war">
      </target>
      <!-- Appserver -->
      <target name="check-if-deployed-as" if="sjsas.home">
        <echo message="Checking for deployed webapp at context path /${context-path}"/>
        <condition property="as.webapp.deployed">
          <http url="http://${endpoint.host}:${endpoint.port}/${context-path}/"/>
        </condition>
      </target>
      <target name="deploy-sjsas"
              depends="prepare, check-if-deployed-as, undeploy-sjsas"
              if="sjsas.home">
        <echo message="Deploying war for ${ant.project.name} to sjsas"/>
        <appserv-deploy file="${war-path}" password="${password}" sunonehome="${sjsas.home}" />
      </target>
      <target name="undeploy-sjsas" if="as.webapp.deployed">
        <echo message="Undeploying existing webapp at ${context-path}"/>
        <echo message="appclasspath ${app.classpath}"/>
        <appserv-undeploy name="${context-path}" password="${password}" sunonehome="${sjsas.home}" />
      </target>
      <!-- end of Appserver -->
      <!-- Webserver -->
      <target name="check-if-deployed-ws" if="sjsws.home">
        <echo message="Checking for deployed webapp at context path /${context-path}"/>
        <condition property="ws.webapp.deployed">
          <http url="http://${endpoint.host}:${endpoint.port}/${context-path}/"/>
        </condition>
      </target>
      <target name="deploy-ws">
          <echo message="deploying ${war-path} at ${context-path}" />
          <exec executable="${SJSWS_DEPLOY}" vmlauncher="false">
          <arg value="deploy" />
          <arg value="-u" />
          <arg value="/${context-path}" />
          <arg value="-i" />
          <arg value="${VS.DIR}" />
          <arg value="-v" />
          <arg value="${VS.DIR}" />
          <arg value="${war-path}" />
          </exec>
      </target>
      <target name="undeploy-ws" >
        <echo message="undeploying ${context-path}" />
        <exec executable="${SJSWS_DEPLOY}" vmlauncher="false">
            <arg value="delete" />
            <arg value="deploy" />
            <arg value="-u" />
            <arg value="/${context-path}" />
            <arg value="-i" />
            <arg value="${VS.DIR}" />
            <arg value="-v" />
            <arg value="${VS.DIR}" />
            <arg value="hard" />
         </exec>
      </target>
      <target name="deploy-sjsws"
              depends="prepare, check-if-deployed-ws, undeploy-sjsws"
              if="sjsws.home" >
        <echo message="Deploying war for ${ant.project.name} to sjsws"/>
        <antcall target="deploy-ws" />
      </target>
      <target name="undeploy-sjsws" if="ws.webapp.deployed">
        <echo message="Undeploying existing webapp at ${context-path}"/>
        <echo message="appclasspath ${app.classpath}"/>
        <antcall target="undeploy-ws" />
      </target>
      <!--End of Webserver -->
      <!--Tomcat -->
      <target name="check-if-deployed-tom" if="tomcat.home">
        <echo message="Checking for deployed webapp at context path /${context-path}"/>
        <condition property="tom.webapp.deployed">
          <http url="http://${endpoint.host}:${endpoint.port}/${context-path}/"/>
        </condition>
      </target>
      <target name="deploy-tomcat"
              depends="prepare, check-if-deployed-tom, undeploy-tomcat"
              if="tomcat.home" >
        <echo message="Deploying war for ${ant.project.name} to tomcat"/>
        <deploy-catalina url="${url}" username="${username}" password="${password}"
                path="/${context-path}" war="file:${war-path}"/>
      </target>
    <target name="undeploy-tomcat-proper" if="webapp.deployed">
          <echo message="Undeploying existing webapp at ${context-path}"/>
          <undeploy-catalina url="${url}" username="${username}" password="${password}" path="/${context-path}"/>
      </target>
      <target name="undeploy-tomcat-war-present" if="war.present">
          <echo message="Undeploying existing webapp at ${context-path}"/>
          <undeploy-catalina url="${url}" username="${username}" password="${password}" path="/${context-path}"/>
      </target>
      <target name="undeploy-tomcat" if="tomcat.home">
        <echo message="Undeploying existing webapp at ${context-path}"/>
        <condition  property="war.present">
            <available file="${tomcat.home}/webapps/${deployable-war}" />
        </condition>
        <antcall target="undeploy-tomcat-war-present" />
        <condition property="webapp.deployed">
          <http url="http://${endpoint.host}:${endpoint.port}/${context-path}/"/>
        </condition>
        <antcall target="undeploy-tomcat-proper" />
    </target>
      <!--End of Tomcat -->
      <target name="deploy-forced" depends= "deploy-sjsas, deploy-sjsws, deploy-tomcat"/>
      <target name="internal-undeploy" depends= "undeploy-sjsas, undeploy-sjsws, undeploy-tomcat"/>
      <target name="redeploy" depends="prepare"
          description="Undeploys and deploys a Web aplication">
          <antcall target="undeploy" />
          <antcall target="deploy" />
      </target>
      <target name="gen-client" depends="prepare"
              description="Runs wscompile to generate client side artifacts">
        <echo message="Running wscompile...."/>
        <wscompile fork="true" verbose="${jaxrpc.tool.verbose}" keep="true"
                   jvmargs="-Djava.endorsed.dirs=${java.endorsed.dir}"
                   client="true"
                   security="${client.security.config}"
                   base="${build.home}/client"
                   features=""
                   config="${client.config.rpcenc.file}">
          <classpath>
            <fileset dir="${build.home}/client">
                <include name="secenv-handler.jar"/>
            </fileset>
            <path refid="app.classpath"/>
          </classpath>
        </wscompile>
      </target>
      <target name="compile-client" depends="prepare"
              description="Compiles the client-side source code">
        <echo message="Compiling the client source code...."/>
        <javac srcdir="client/src"
               debug="true"
               destdir="${build.home}/client"
               includes="**/*.java">
          <classpath>
            <path refid="app.classpath"/>
            <fileset dir="${build.home}/client">
                <include name="secenv-handler.jar"/>
            </fileset>
          </classpath>
        </javac>
      </target>
      <target name="build-client" depends="gen-client, compile-client"
              description="Executes the targets needed to build a stub client.">
      </target>
      <target name="run-sample"
              depends="clean, prepare, build-server, deploy-forced, build-client"
              description="Runs the example client">
        <echo message="Running the ${client-class} program...."/>
        <java fork="on" classname="${client-class}">
          <sysproperty key="java.endorsed.dirs" value="${java.endorsed.dir}"/>
          <sysproperty key="endpoint.host" value="${endpoint.host}"/>
          <sysproperty key="endpoint.port" value="${endpoint.port}"/>
          <sysproperty key="service.url" value="${service.url}"/>
          <sysproperty key="jwsdp.home" value="${jwsdp.home}"/>
          <classpath>
            <pathelement location="${build.home}/client"/>
            <fileset dir="${build.home}/client">
                <include name="secenv-handler.jar"/>
            </fileset>
            <path refid="app.classpath"/>
          </classpath>
        </java>
      </target>
      <target name="run-remote-sample"
              depends="clean, prepare, build-client"
              description="Runs the example client">
        <echo message="Running the ${client-class} program...."/>
        <java fork="on" classname="${client-class}">
          <sysproperty key="java.endorsed.dirs" value="${java.endorsed.dir}"/>
          <sysproperty key="http.proxyHost" value="${http.proxyHost}"/>
          <sysproperty key="http.proxyPort" value="${http.proxyPort}"/>
          <sysproperty key="endpoint.host" value="${endpoint.host}"/>
          <sysproperty key="endpoint.port" value="${endpoint.port}"/>
          <sysproperty key="service.url" value="${service.url}"/>
          <sysproperty key="jwsdp.home" value="${jwsdp.home}"/>
          <classpath>
            <pathelement location="${build.home}/client"/>
            <fileset dir="${build.home}/client">
                <include name="secenv-handler.jar"/>
            </fileset>
            <path refid="app.classpath"/>
          </classpath>
        </java>
      </target>
      <target name="clean-server"
              description="Removes server side build directories">
        <delete dir="${build.home}/server"/>
      </target>
      <target name="clean-client"
              description="Removes client side build directories">
        <delete dir="${build.home}/client"/>
      </target>
      <target name="clean"
              description="Removes all build and dist directories">
        <delete dir="${build.home}"/>
        <delete dir="${dist.home}"/>
      </target>
      <target name="usage" depends="prepare">
        <echo message="Please see README.txt for more info."/>
        <echo message="Useful targets:"/>
        <echo message="  clean = remove both server and client objects"/>
        <echo message="  clean-server = remove only server objects"/>
        <echo message="  clean-client = remove only client objects"/>
        <echo message="  build-server = build server side code"/>
        <echo message="  deploy-forced = force deploy built server code to Container"/>
        <echo message="  build-client = build client app code"/>
        <echo message="  run-sample = run the sample"/>
        <echo message="  run-remote-sample = run the sample against a remote server containing the deployed endpoint"/>
      </target>
      <target name="help" depends="usage"/>
    </project>any help would be highly appreciated.
    regards,
    Sourav

    407 Proxy Authentication Required
    The compiler is trying to reference a document on the web, but can't use your proxy because it doesn't have the proxy id and password to use.
    If it isn't possible to pas the proxy info to the compiler, download the doc to a local server and reference it there.

  • List of issues with WSCompile

    Hi,
    Please let me know if there are any solutions to this or any forum topics relating to this.
    1) Wscompile doesn't understand abstract="true". So the generated java source is not an abstract class.
      <complexType name="WSMessage" abstract="true">
    Why is this?
    2) Wscompile does't generate the source code for complex types that are not specified as input/output part of the operations defined in the WSDL.
    Why is this?
    3) Wscompile does't generate the code for complex types that do not have any sequence of elements defined in the XSD.
    commonSchema.xsd
    <complexType name="WSMessage" abstract="true">
    <sequence/>
    </complexType>
    <complexType name="WSRequest">
    <complexContent>
    <extension base="tns:WSMessage"/>
    </complexContent>
    </complexType>
    <complexType name="WSResponse">
    <complexContent>
    <extension base="tns:WSMessage"/>
    </complexContent>
    </complexType>
    myModule.xsd references complex types defined in commonSchema.xsd
    <element name="AuthenicateUserRequest">
    <complexType>
    <complexContent>
    <extension base="commonSchema:WSRequest">
    <sequence>
    <element name="userName" type="string" minOccurs="1" maxOccurs="1"/>
    <element name="password" type="string" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    </element>
    This is the structure of my XSD. And when I generate the code from WScompile, it just does't generate anything for the commonSchema.xsd
    I also found that the addition of an sequence element to the WSMessage which is being referenced by WSRequest,WSResponse etc.. does't change the scenario. Its only when I add a sequence element to the WSRequest or WSResponse, then the code is generated. Also, it seems that AuthenicateUserRequest which references the WSRequest in the XSD, does not reflect in the generated code for the same reason stated above.
    meaning AuthenicateUserRequest doesn't extend WSRequest.
    any help is appreciated......

    Hi dkohlert ,
    thanx for the solution. It infact generated most of the artifacts from the XSD.
    I have one more major problem,
    As I have stated in the section 3 of my first post
    <complexType name="WSMessage" abstract="true">
             <sequence/>
        </complexType>
        <complexType name="WSRequest">
             <complexContent>
              <extension base="tns:WSMessage" />
               </complexContent>
        </complexType>whereever the tag <extension base="" /> is used as shown above, no code is generated. I just have a generated java code for complex type WSMessage and not for WSRequest.
    It's only when I add an element to the WSRequest such as,
        <complexType name="WSRequest">
             <complexContent>
                    <extension base="tns:WSMessage" >
    <sequence>
    <element name="param" type="xsd:string" minOccurs="1" maxOccurs="1"/>
    </sequence>
                        </extension>
               </complexContent>
        </complexType>the java code is generated for WSRequest.
    Can you help me on this.

  • Problem in Creating .wsdl file and mapping.xml with ant

    hi
    i am created my .wsdl file and mapping.xml file with wscompile tool but when i run this by ant tool it show a problem.
    the command runs on command prompt but when run throught ant file it shows a following error :-
    Execute failed: java.io.IOException: CreateProces: wscompile -define -mapping build\classes\META-INF\mapping.xml -d . -nd build\.................and so on
    so if anybody have any idea then plz help me asap
    thanx

    The following Ant snippet is the way I've defined my wscompile task. I'm creating a web application and it looks like yours might be an EJB endpoint, but you can adjust where necessary:
    <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
         <classpath refid="compile.classpath" />
    </taskdef>
    <target name="init">
         <echo message="-------- ${appname} --------" />
    </target>
    <!-- This target compiles the server components using an existing WSDL as the driving document.
           The configuration file must use the <wsdl> element giving the location (local file system
           or URL) of the WSDL document.
           Note: the fork argument is needed to over come a bug when using the mapping argument. See
           http://forum.java.sun.com/thread.jspa?threadID=592994&tstart=0
      -->
         <target name="generate-server-from-WSDL" depends="init">
              <wscompile fork="yes"
                           keep="true"
                           base="${basedir}/WebContent/WEB-INF/classes"
                           import="true"
                           features="wsi"
                           xPrintStackTrace="true"
                           verbose="true"
                           mapping="${basedir}/WebContent/WEB-INF/jaxrpc-mapping.xml"
                           sourcebase="${basedir}/src"
                           config="${config.server.doclit.file}">
                   <classpath>
                        <path refid="compile.classpath" />
                   </classpath>
              </wscompile>
         </target>
         <target name="compile-server-from-WSDL" depends="generate-server-from-WSDL">
              <javac srcdir="${basedir}/src" destdir="${basedir}/WebContent/WEB-INF/classes" debug="${compile.debug}">
                   <classpath refid="compile.classpath" />
              </javac>
         </target>Just make sure that the named destination directories exist before you run the script.
    If you'd like more details on the wscompile Ant task, I found the following pages invaluable:
    https://jax-rpc.dev.java.net/whitepaper/1.1/index-part1.html

  • JAX RPC extension: Problem with document/literal and MyType[]

    Hi,
    I have installed the JAX RPC extension and want to generate a stub from my WSDL file. The WSDL describes a document/literal binding.
    Problem:
    A webservice server method like:
    public wineshop.model.common.SimpleProducer[] getSimpleProducerList() throws RemoteException;
    is translated into a stub method like:
    public UnknownType getSimpleProducerList() throws Exception {..}
    Is an array of own types with the binding style "document/literal" not supported in JAX RPC 1.4 or is it just a bug?
    The WSDL file is generated by JAX RPC 1.4.
    I have installed JWSDP-1.5 and generated a stub with wscompile from the WSDL file. The generated stub has the correct method return type:
    public wineshop.ws.client.SimpleProducer[] getSimpleProducerList()
    throws java.rmi.RemoteException
    It there a workaround like replacing some JDev JARs with JWSDP-1.5 to solve the problem?
    Any hints are welcome.
    Thanks Markus

    repost.....

  • Where is the wscompile utility for Java Web Services Developer Pack 2.0?

    Hi. I am running Ubuntu Linux 7.04. I downloaded and installed tomcat 5.0 for WSDP and then WSDP 2.0. I did so because I am trying to use the wscompile utility to generate the WSDL and JAX-RPC mapping files so that I can create a simple example web service. (It doesn't seem like I should need the tomcat container for this, but the installation was prompting for a web container, so I supplied one).
    My problem is that there is no wscompile file anywhere in the installation. I have read some other posts, and it seems as though the utility should be there. I looked inside the /jsdp-shared/bin directory of the installation, but there is nothing there.
    I ran locate wscompile and find wscompile*, but nothing shows up. What am I doing wrong?
    Thanks so much.

    Just to clarify, when I said there is nothing in the /jsdp-shared/bin directory, I just meant that the wscompile utility that I am looking for is not there. There are multiple scripts in this directory. I also encountered no problems when I installed WSDP 2.0 via the gui screen.
    Thanks.

  • Custom Application Class Embed problem aka AMBIGUOUS

    package  
    com.drdynscript.examples{
    import mx.controls.Image; 
    import mx.core.Application; 
    import mx.core.BitmapAsset; 
    import nl.demonsters.debugger.MonsterDebugger; 
    public class FlexTestApp4 extends Application{
    //EXTERNAL IMAGE
    Embed(source="./assets/logo.jpg")][
    Bindable] private var logoClass:Class; 
    //UI COMPONENTS
    Bindable] public var imgLogo:Image;[
    Bindable] public var imgLogo2:Image; 
    public function FlexTestApp4(){
    super(); 
    //INITIALIZE
    init();
    private function init():void
    //MONSERT DEBUGGER
    MonsterDebugger.
    trace(this, "INIT");}
    public function createImage():void{
    var imgObj:BitmapAsset = new logoClass() as BitmapAsset;imgObj.bitmapData.noise(4);
    imgLogo2.source = imgObj;
    MY MXML
    <?xml version="1.0" encoding="utf-8"?><drdynscript:FlexTestApp4  xmlns:mx="
    http://www.adobe.com/2006/mxml" layout="absolute" xmlns:drdynscript="
    com.drdynscript.examples.*">
     <mx:Style>
     Application
     backgroundImage: Embed(source="./assets/District9.png")
    </mx:Style>  
    <mx:Image x="10" y="10" width="493" height="500" id="imgLogo" source="{logoClass}"/> //DOESNT WORK AMBIGUOUS
     <mx:Image id="imgLogo1" source="@Embed(source='./assets/logo.jpg')"/>
     <mx:Image id="imgLogo2" creationComplete="createImage()"/></drdynscript:FlexTestApp4>

    I stumbled over this problem today, too.
    First, let me say that that problem did not exist with previous versions of the JWSDP. Now with 1.2 I noticed that wscompile generates class files with the same names as the custom classes that you wish to send over the net. Either this design is complete rubbish or indeed intentional, but the users are left alone, at least till the new tutorial is released.
    The solution that seems to work for me is to simply replace the classes generated by wscompile with the original ones.
    However I do not know if this will cause any problems or is the right way to handle the situation. Hopefully anybody of the responsible engineers at Sun will comment on this.
    Regards,
    Ingo

  • JAX-RPC documentliteral with -model option problems in JWSDP 2.0

    Hello,
    I am trying to deploy a service generated with JAX-RPC. Howeverr when I write URL (http://localhost:8080/webservicedeployable/webservice001) in a browser I am getting message: 404 Not Found: Invalid request. Appending ?WSDL shows propers wsdl code, so endpoint URL is allright.. There is my config file delow:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
      <service name="webservice001"
               targetNamespace="http://scdjws/webservices/wsdl"
               typeNamespace="http://scdjws/webservices/types"
               packageName="com.service001">
        <interface name="service.MyServicePort" servantName="service.MyServiceImpl"/>     
      </service> 
    </configuration>I am using command:
    wscompile -gen:server -f:documentliteral -s "C:\Documents and Settings\Michal\jbproject\mojservice\src\" -classpath WEB-INF/classes -d build -model webservice001.xml.gz config.xml -keepmy jaxrpc-ri.xml is:
    <?xml version="1.0" encoding="utf-8"?>
    <webServices xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
                 version="1.0"
                 targetNamespaceBase="http://java.sun.com/xml/ns/jax-rpc/wsi/wsdl"
                 typeNamespaceBase="http://java.sun.com/xml/ns/jax-rpc/wsi/types"
                 urlPatternBase="/ws">
      <endpoint name="service001"
                displayName="Service 001"
                description="This is service001"
                interface="service.MyServicePort"
                implementation="service.MyServiceImpl"
                model="/webservice001.xml.gz"/>
      <endpointMapping endpointName="service001"
                       urlPattern="/webservice001"/>
    </webServices>I am using Tomcat 5.5.16 and JWSDP 2.0.
    Making a call to the service throws exception:
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/webservicedeployable/webservice001
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791)
    Thank you in advance for all suggestion.
    Michal

    Hi,
    I reselved the problem by just copying the FastInfoset to the jaxrpc\lib directory (I am sure this should work in a different way).
    Well, the next problem I am getting is that the "XMLStreamWriter" class cannot be found. This class is contained in jsr173_api.jar.
    I guess my main question is the following:
    Which projects are necessary to get this simple helloWorld example to work?
    I did set the JWSDP_HOME varible. Is there another setting I have to make to have all necessary jar-files available and to be able to run the samples?
    Could anybody point me to a tutorial that does not only show a few lines of code (as the HelloWorld sample in the JWSDP-Tutorial) but that would instead lead me through a step-by-step sample application that I write by myself and actually runs at the end? The example in the JWSDP-Tutorial uses all kinds of existing config files which are not explained.
    Thanks for your help.

Maybe you are looking for

  • Can't set up irssi colors

    I'm feeling really... stupid. I just can't set up irssi colors, almost ashame for asking advice on this Here's my theme (just cloned the default theme): # When testing changes, the easiest way to reload the theme is with /RELOAD. # This reloads the c

  • Pulling hash out of loops (foreach)

    Hi, Hope this is the right group.  I have encountered variants of this off and on for some time, and would like to find a good explanation of what is going on.  In this case, I have a file with what I'll call "userid" on it, one per line: user01 user

  • WinDVD Creator2 cannot detect input from TV or VCR

    I have a Satellite Pro M40 notebook and I am trying to input data from my TV/VCR so that I can record onto DVD. I have previously used the system for importing data through a digital video camera without problems. But now I am trying to convert famil

  • Sub contracting components tracking against PO

    Hi Is there any way to track the components isssued against a PO. There are a couple if transactions to track the materials with vendor MBLB and ME2O But here we cant track the Materials issued against a PO. To be clear I want to track for the pertic

  • SBS 2003 Server & email

    Hi everyone! This is my third post regarding not being able to set up my email and I found out a little more info today. We are using SBS 2003 for a server and this is maybe why I'm having problems. We use excange and access our email with Microsoft