Generating WSDL using wscompile???URGENT!!

I am new to the wsdl and I am trying to use a rmi interface to generate a wsdl file and other server artifacts using wscompile. All of my files are in the trial directory.
Config.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="MonitorService"
typeNamespace="\\monitor.org\nexgear.typ"
targetNamespace="\\monitor.org\nexgear.wsdl"
packageName="nexgear">
<interface name="Monitor"
servantName = "MonitorImpl"/>
</service>
</configuration>
when I use wscompile -gen:server -cp . config.xml
I get a few InvocationTargetException and after about 4-5 of these it reveals that it ic being caused be a NoClassDefFoundException Monitor wrong name (monitor/Monitor)
The monitor/Monitor appears nowhere in my code and the monitor directory doesn't exist.
If I leave out the classpath option I get a NoClassDefFoundException Monitor.
I am building from my src directory and don't really know what I am doing wrong. Getting this to work makes a huge impact on my project ie. go no-go.

I got this working this morning. The trick is in the file structure. When I got the error about class not found it gave me a weird naming that didn't exist in my file structure. Well after thinking about it and getting nowhere this naming was followed in my file structure and I got the WSDL.

Similar Messages

  • How to show and hid the elments in WSDL using wscompile

    Hi Folks,
    I have web service interfce
    public interface DataObjectProcess extends Remote
    DataObject jobRequest(DataObject aDataObject) throws RemoteException, Exception;
    my DataObject is like this
    public class DataObject implements java.io.Serializable
    pivate Integer commandKey;
    private File outputFile;
    public DataObject(){}
    public void setCommandKey(Integer aKey)
    commandKey = aKey;
    public Integer getCommandKey()
    return commandKey;
    public void setOutputFile(File aFile)
    outputFile = aFile;
    public File getOutputFile()
    return outputFile;
    I use wscompile to generate WSDL file, but it can not show outputFile element in WSDL? How can I do that.
    For commandKey element. if I don't want to show this element in WSDL. How to do it? Thank you very much.
    Edgy

    Hi Folks,
    I have web service interfce
    public interface DataObjectProcess extends Remote
    DataObject jobRequest(DataObject aDataObject) throws RemoteException, Exception;
    my DataObject is like this
    public class DataObject implements java.io.Serializable
    pivate Integer commandKey;
    private File outputFile;
    public DataObject(){}
    public void setCommandKey(Integer aKey)
    commandKey = aKey;
    public Integer getCommandKey()
    return commandKey;
    public void setOutputFile(File aFile)
    outputFile = aFile;
    public File getOutputFile()
    return outputFile;
    I use wscompile to generate WSDL file, but it can not show outputFile element in WSDL? How can I do that.
    For commandKey element. if I don't want to show this element in WSDL. How to do it? Thank you very much.
    Edgy

  • Generating WSDL using Integration Directory (Tools-Define Web Service)

    Hi,
    I have tested the "Define Web Service" tool in Integration Directory - some question;
    1) It's a little bit frustrating to change the URL after clicking the "Propose URL" button - is it possible to configure somewhere the right URL
    http://<srv>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<cchannel>
    2) The generated WSDL is not according to the basic profile for WSDLs - wrong encoding="ISO-8859-1" - supposed to be "UTF-8"|"UTF-16" - is it possible to configure how the WSDL is generated?
    I'm not sure, but I think there is a issue related to the type of binding for a binding.
    3) A web service can consists of several methods - is there a tool for generating a WSDL for several interfaces?
    It's "boring" to manually copy-paste from several generated WSDLs to one main WSDL for a web service
    Anyway, by using XMLSpy and SoapScope, everything works just fine

    a single data type will refer to multiple data types data.
    You can refer one Data type in other Data Type but it wont be available under a  different root node.....the root node will the the DT name under which you are referring the other DTs......you can do this by:
    DT --> Give the appropriate name to a node --> While selecting the Type for this node select Data types --> select the DT from the list available....for this you should first include all the schemas in IR i.e. you should first create individual DTs by importing the schema (DT --> XSD --> Import Data Type Definition from File)
    You have a huge list of schemas!
    Regards,
    Abhishek.

  • JAX-WS generated WSDL uses xsd:import and no option to inline schemas

    Is it possible to configure JAX-WS 2.0/2.1 so that when generating WSDL at runtime it will inline the schema definitions instead of using the <xsd:import> method? Unfortunately, some clients (Adobe Flex, for example) do NOT know how to process schema imports. I realize that Adobe (and others) should fix the problem on their end and become fully spec compliant, but the cold reality is that they are not.
    Any advice, suggestions, or solutions would be greatly appreciated.
    Regards,
    Todd

    You should post this question either to the JAXB 2.0 and JAX-WS 2.0 forum (http://forums.java.net/jive/forum.jspa?forumID=46) or the JAX-WS dev mailing list ([email protected]) so that the team is aware of the issue.
    That functionality currently does not exist. The only work around that I am aware of is to generate the WSDL before deployment and rearrange it as necessary.

  • Missing dependant files in generated WSDL using jwsc task

    Hi,
    I’m using weblogic 12.1 ant task jwsc to generate the artifacts to create weblogic web service. Following is my JWS file
    @WebService(name="HelloWorld", serviceName="HelloWorld",
    targetNamespace="http://example.org")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
                  use=SOAPBinding.Use.LITERAL,
                  parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    @WLHttpTransport(contextPath="HelloWorld", serviceUri="HelloWorldSvc",
                      portName="HelloWorldPort")
    public class HelloWorld{
    @WebMethod()
    public ServiceResponse sayHello(){
    Employee emp=new Employee();
    emp.setName(“Alex”);
    System.out.println(“Hello ”+emp.getName());
    return new ServiceResponse(emp);
    public class ServiceResponse{
    private Object responseObject;
    public ServiceResponse(Object responseObejct){
    this.responseObject=responseObject;
    //getters and setters of response object
    My webMethod sayHello() uses Employee class . After executing jwsc task, the generated WSDL doesn’t contain any reference related to Employee class. If I use clientgen ant task to generate client artifacts from WSDL (generated from jwsc task), client jar will not have Employee class (since WSDL doesn’t have the user-defined class Employee).
    If I try to access the application, it’s throwing NoClassDefFoundError for Employee class.(unknown java type:Employee)
    Ant script :
    <jwsc
           srcdir="src"
           destdir="${dist}">
          <jws file="com/examples/webservices/HelloWorld.java" />
        </jwsc>
    Ant task to generate client artifacts:
    <clientgen
                   wsdl="http://localhost:7001/HelloWorld/HelloWorldSvc?WSDL”
                   destFile="HelloWorld_Client.jar"
                   packageName="com.examples.webservices.client"
                   classpathref="class.path"              
                   type="JAXRPC"/>

    I have some new information. When I generate the project as FlashHelp, I get an error message:
    Error: Fail to update Template file whxdata\whfts.xml
    In the resulting output, we get correctly functional TOC autosync, but non-functional search. (This is the same result as with WebHelp, except that no error message appears in generation.)

  • Re: How to generate wsdl using JDeveloper11.5...

    Hi ,
    How to generate wsdl file using schema(ie: Drag and drop process).
    please help me.
    Regards,
    venkatesh.

    In Composite editor When you drag "Web Service" service component in editor, it gives option to create new service and create WSDL form XML schema.
    Jayesh
    http://www.yagnasys.com

  • How to use wscompile to generate code using a WSDL file?

    I am working with JAX-RPC of Java Web Service ver: 1.1. I am intrested in making the WSDL file first and generating Java code from the WSDL file. On the following link:
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html#wp80094
    it says that wscompile can generate code using a WSDL file..:
    <quote>
    Table 11-3 wscompile Options
    -import : read a WSDL file, generate the service's RMI interface and a template of the class that implements the interface
    </quote>
    and the wscompile software says this:
    <quote>
    C:\>wscompile
    -import : generate interfaces and value types only
    </quote>
    can anyone tell me how to generated Java code from a WSDL file. As in, make the WSDL file (e.g. using XMLSpy) and then use that WSDL generate Java code.
    Thanks

    I'm trying to generate code using wscompile under the struction in JAXRPC_Tutorial.pdf.
    I issued the following command:
    wscompile.sh -keep -gen:client -f:wsi -verbose config.xml
    But I met with the following warning and I cann't find the produced java code, who know why? Thanks in advance!
    warning: ignoring SOAP port "EmployeeDBPort": unrecognized transport
    warning: Service "EmployeeDatabase" does not contain any usable ports
    the config.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl name="EmployeeDBService"
    location="EmployeeDB.wsdl"
    packageName="com.sun.xml.rpc.xml.EmployeeDB">
    </wsdl>
    </configuration>

  • JWSDP - configuration error in using wscompile.bat to generate WSDL

    Hello all,
    I am new to JWSDP and am trying to generate a WSDL and jaxrpc mapping for my EJB SEI. I'm using JWSDP 1.4 and my interface has simple String datatypes as arguments. I'm getting the following error when I try to use wscompile.bat:
    error: only one configuration file can be specified: config.xml
    Usage: wscompile [options] configuration_file
    Use "wscompile -help" for a detailed description of options.I'm using the command as follows:
    wscompile -cp C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar -gen:server -f:rpcliteral -mapping jaxrpc-mapping.xml config.xml(client.jar contains the interface, and since it extends javax.ejb.EJBObject, I also included jboss-j2ee.jar in the CLASSPATH). My config.xml looks as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
      <service name="MyInterfaceService"
           targetNamespace="http://webservice.interfaces.test.com"
           typeNamespace="http://webservice.interfaces.test.com"
           packageName="com.test.interfaces">
           <interface name="com.test.interfaces.MyInterface"/>
      </service>
    </configuration>What am I doing wrong here? Would really appreciate any help.
    Thanks.

    Apparently for JWSDP, the command needs to be issued as follows:
    wscompile -cp "C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar" -gen:server -f:rpc
    literal -mapping jaxrpc-mapping.xml config.xml(Notice the quotes around the CLASSPATH)
    Hope this helps someone else.

  • 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

  • Cannot generate WSDL file with wscompile

    I get an error while generating the WSDL file using wscompile tool.
    my compile line is "wscompile -gen:server CRAWS.xml -keep" and I get a RmiModeler error with an ClassNotFoundException .
    I have put my jar file in the bin folder (same folder of wscompile) and I've also copied my service build files in the same folder (under the package subfolders).
    Here is the code of the xml configuration:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service name="CraWS_Service" targetNamespace="urn:com.servepath.cra/wsdl/CraService"
          typeNamespace="urn:com.servepath.cra/types/CraService"
          packageName="com.servepath.CraWebService">
        <interface name="com.servepath.CraWebService.CraWSIF" servantName="com.servepath.CraWebService.CraWS_Impl"/>
    </service>
    </configuration> 

    I'm new to Web Services so I'm just guessing, but perhaps you need to add -classpath lib/foo.jar;lib/bar.jar to specify where your class-files are.

  • To generate a wsdl using JAX-WS in JBOSS with java program but without EJB

    Hi,
    I am using JAX-WS to generate webservices using JBOSS application server by writing a java program.
    My sample java program includes :which takes an i/p name as string and displays out put as "Hello name",with the use of annotations.And,also have written web.xml for it.If I start JBOSS without adding project to it,it is starting.BUt If I add project to it the server is not publishing.Its getting like:"publishing JBOSS 4.2.2....:waiting for virtual machine to exit".
    I have followed the link:*http://www.javabeat.net/articles/2007/10/creating-webservice-using-jboss-and-eclipse/3*
    to do this,where in it was given that by means of auto build process of eclipse IDE war file generates in default jboss folder.But which is not happening,so that,am unable to generate wsdl file..
    Can any body help me?
    1) why jboss is not publishing after adding project to it?
    2) why war file is not generating in the default jboss folder?
    Regards....

    Yeah sure!!
    Overall picture: I wish to expose my OSB services to the third parties using OCSG. For that I've created the Communication services corresponding to each OSB service.
    Problem: Integration with the OSB.
    At the OSB side I've got JMS queues which interacts with other existing systems in my SOA enviornment. But I'm not getting how to get the OCSG application- triggered request messages in that queue? Please help.
    Also I've read about the SOA facades for integration with OSB.Which of the two approaches you will suggest?

  • Using generated wsdl file to other scenario

    Hi...
        I have done one scenario like giving
    Input File:  Fname,Lname,Address
    Output file: FullName,address.
    using BPM.
    After doing the sceanrio i have generated the wsdl file. I have tested the wsdl file using infopath.It is working fine.
    Then i have done anothe scenario like File_webservice_File sceanrio. In this scenario, i have used the wsdl file which i have generated before using BPM. while executng the scenario, output is not coming. i have used 2 receiver communication channels for soap and for file.For soap, i have given the target url and soap action of the wsdl file which i have generated.In moni i can see the 3 messages. for one message it is showing checked flag, but for other 2 messages, it is not showing any flag. Can you please tell, where i have done wrong.

    Hi Leelaratnam,
    try to refresh the queue ie SMQ1 and SMQ2 and even referesh the cache
    chk for this links
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
    Thanx
    Sampath

  • Failure to generate WSDL from web service when use xmlbean

    Hi, I have a web service that uses xmlbean generated by schema. The schema from 3rd party is in a separate project since it's used by another web app and ejb project. In wlw103 I have included the schema project in this web service project's Java Build Path. The web service compiles, but when I tried to generate WSDL a Error window shows and says "The WSDL cannot be generated from the web service due to unexpected runtime errors".
    The following is the detail. What do I need to do to make the xmlbean available for my web service? Thanks
    com.bea.workshop.webservices.core.gen.WebServicesException: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\workspace\ws\src\myPackage\testWS.java
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl$3.invoke(WebServiceCompilerImpl.java:335)
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.accessCompiler(WebServiceCompilerImpl.java:390)
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.compile0(WebServiceCompilerImpl.java:330)
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.compile(WebServiceCompilerImpl.java:275)
         at com.bea.workshop.webservices.ui.actions.GenerateWsdlFromJwsAction.run(GenerateWsdlFromJwsAction.java:169)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
    Caused by: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\workspace\ws\src\myPackage\testWS.java
         at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:526)
         at weblogic.wsee.tools.jws.build.JwsCompiler.compile(JwsCompiler.java:483)
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl$3.invoke(WebServiceCompilerImpl.java:333)
         ... 46 more
    Caused by: weblogic.wsee.tools.WsBuildException: weblogic.wsee.bind.buildtime.BindingException: ERROR ! could not add Xml Schema Type for XmlBean named '\[com.domain.UserDocument\]'. This is completely unexpected and might be caused by missing *.xsb and *.xsd files in the build environment. The building and running of this Service is likely to FAIL.
         at weblogic.wsee.tools.jws.jaxrpc.JAXRPCWebServiceInfo.createBindings(JAXRPCWebServiceInfo.java:227)
         at weblogic.wsee.tools.jws.wsdl.WsdlBuilder.processImpl(WsdlBuilder.java:43)
         at weblogic.wsee.tools.jws.jaxrpc.JAXRPCProcessor.process(JAXRPCProcessor.java:27)
         at weblogic.wsee.tools.jws.process.CompositeProcessor.process(CompositeProcessor.java:47)
         at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:522)
         ... 48 more
    Caused by: weblogic.wsee.bind.buildtime.BindingException: ERROR ! could not add Xml Schema Type for XmlBean named '\[com.domain.UserDocument\]'. This is completely unexpected and might be caused by missing *.xsb and *.xsd files in the build environment. The building and running of this Service is likely to FAIL.
         at weblogic.wsee.bind.buildtime.internal.SoapAwareJava2Schema.bindAsExplodedTylar(SoapAwareJava2Schema.java:1414)
         at weblogic.wsee.bind.buildtime.internal.TylarJ2SBindingsBuilderImpl.createBuildtimeBindings(TylarJ2SBindingsBuilderImpl.java:216)
         at weblogic.wsee.tools.jws.jaxrpc.JAXRPCWebServiceInfo.createBindings(JAXRPCWebServiceInfo.java:223)
         ... 52 more

    HI,
    I hope this issue can resolved by adding this patch CR349256
    Try to contact weblogic support to get more details about this patch.
    Regards,
    Kal.

  • Use wscompile to set properties in generated client.

    It seems to me that there should be an easy way to set properties in generated code.
    My client code generates properly, for instance:
            try {
                stub._initialize(super.internalTypeRegistry);
            } catch (JAXRPCException e) {
                throw e;
            } catch (Exception e) {
                throw new JAXRPCException(e.getMessage(), e);
            }      However, at this point, I am now having to insert the properties for user/pass (basic authentication) by hand.
            try {
                stub._initialize(super.internalTypeRegistry);
                stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,"any user");
                stub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,"any password");
            } catch (JAXRPCException e) {
                throw e;
            } catch (Exception e) {
                throw new JAXRPCException(e.getMessage(), e);
            }Simple enough.
    Has anyone done this automatically, using wscompile? Manually changing generated code just seems like bad form to me.
    Thanks,
    DaShaun

    Ok, don't do what I tried to do. Very bad form, my apologies. Instead of adding the authentication code to the generated classes, I should have been adding it to my client code.
    Each client then needs to authenticate itself. My approach would have allowed any client to use the code and be authenticated as 'any user'. This is not good.
    DaShaun

  • Web service deployment using generated wsdl

    Hi,
    As u know app server is generating the wsdl and mapping files in deployment time if you dont include these files in the archive.
    What i m trying to do is to use the pregenerated wsdl and mapping file in the archieve, i don't want app server to generate wsdl and mapping. I'm generating these files in build phase and placing them under META-INF folder of resulting jar file.
    And i expect oc4j to use these supplied files but it continues to generate and uses the generated.
    (I'm using wsa.jar to generate wsdl, mean i'm generating in oracle way, not other tool)
    (I dont want to use the auto generated wsdl cause i need to update them before deployment. Auto generated wsdl have data definition with object graphs which is not supported by document-literal message format. i will try to clean object graph dependencies in wsdl and deploy) Or shall i use Rpc-Encoded which supports object graphs??
    Thanks...

    it seems that it is hard to extract main question from the preview post. The question is that:
    how can i deploy web service for a stateless session bean annotated with @webService annotations with supplied wsdl and mapping file in the ejb jar file...
    (oc4j always generates a new wsdl,does;t use the one given in the jar)

Maybe you are looking for