Problem building the Schema...

Hi,
I have two BPEL processes..Say 'BPELProcess1' and 'BPELProcess2'..I am trying to invoke the 'BPELProcess1' in 'BPELProcess2'..I am able to create the partner link..but the problem here is when I try to assign the values to the 'BPELProcess1' using an assign activity..It is not showing the variables of the 'BPELProcess1'....Instead it is displaying 'Exception:problem building the schema', Any how I am able to solve this by importing the schema of the 'BPELProcess1'...but Is there any way that we can overcome this problem with out importing the schema....
Note: I am using the JDeveloper 10.1.3.3

I have the same problem - Exception: Problem building schema! I assume something's wrong with the schema (:) but no clue as to how to fix it. Don't see anything helpful on the discussion forum so far, except previous post by Feroz without reply. Anyone?
Thanks
S (newbie)

Similar Messages

  • Problems building the sample Apps for JSF

    I m trying to build the sample Apps provided as part of the JWSDP 1.3 for jsp after making some changes.
    The JSF tutorial says to run tne "ant" command after making changes to the build.properties file.
    The problems i am facing are:
    1. It says to specify the username/passowrd . I do not see anything like that in build.properties.
    2. For building it says to excute "ant" command. But that comes back with errors just specifying the usage which is similar to java usage. I have set all the variables like JSF_HOME, ANT_HOME, JWSDP_HOME etc to the correct values..
    Can anyhelp me by pointing me to how to rebuild these samples..
    BTW i am using the Tomcat that cam bundled with JWSDP 1.4
    Thanks
    SJ

    I also had some problems building the examples. As I use WinXP, I can't really help unfortunately. But I would like to mention, that a stand-alone JSF EA Version wouldl be great and definitely make it easier for newbies to get contac to this technology.
    Another recommendation would be to have a jsf-blank.war, that contains all necessary libs, config files, etc. without references to other downloads. This way I am sure, that many people more would be fascinated.
    I guess that JSF will be available as such a standalone version in the end, but it would also be nice to have it right now, even as an EA.
    cu
    sven

  • Problem building the J2sdk-1_4_1

    I am trying to perform a build of the J2sdk using the source code and build instructions provided by sun. However there are errors in the files used by Make. Has anyone built the j2skd using suns source.
    Does anyone know of any projects in this area.?
    Any information would be very useful as I am finding it difficult to find any information in this area.
    Thanks in advance,
    David.

    The error message seems to be a problem with the C++ path. I have checked the installation and used short directory names but still get these errors:
    C:/j2sdk-1_4_2/j2sdk-1_4_2-src-scsl/hotspot\build\windows\.\vm\release\Makefile(
    16) : fatal error U1052: file '../generated/Dependencies' not found
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'C:\PROGRA~1\MIAF9D~1\VC98\Bin\nmake.exe' : return co
    de '0x2'
    Stop.
    gmake[1]: *** [hotspot-compiler2] Error 2
    gmake: *** [scsl-build] Error 2
    Has anyone encountered this before? Any ideas would be helpful.
    Thanks ,
    Dave.

  • Problem building the service with jwsc task on bea 9.2

    i am trying to build a web service from a wsdl file,
    Firstly i generate the proper artifacts with the wsdlc task as described on bea 9.2 docs,then i run the wsdl task trying to build the service from the artifacts previously generated,
    here is the wsdl file,and after there are the error i get trying to build the service.
    <?xml version="1.0" encoding="utf-8" ?>
    <wsdl:definitions xmlns:types="http://emcs.dgtaxud.ec/webservice/types"
    xmlns:ref="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    targetNamespace="http://emcs.dgtaxud.ec/webservice"
    xmlns:ws="http://emcs.dgtaxud.ec/webservice"
    xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/">
    <wsdl:types>
    <xsd:schema elementFormDefault="qualified" targetNamespace="http://emcs.dgtaxud.ec/webservice/types"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="startEntityAction">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="startEntityActionResponse">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="getEntityActionResult">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="getEntityActionResultResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ActionSucceeded" type="xsd:boolean"/>
    <xsd:element name="ActionResult" minOccurs="0" >
    <xsd:simpleType>
    <xsd:restriction base="xsd:token">
    <xsd:enumeration value="Success" />
    <xsd:enumeration value="Error" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="stopEntityAction">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="stopEntityActionResponse">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <xsd:schema elementFormDefault="qualified"
    targetNamespace="http://www.openuri.org/2002/04/soap/conversation/">
    <xsd:element name="StartHeader" type="conv:StartHeader"/>
    <xsd:element name="ContinueHeader" type="conv:ContinueHeader"/>
    <xsd:element name="CallbackHeader" type="conv:CallbackHeader"/>
    <xsd:complexType name="StartHeader">
    <xsd:sequence>
    <xsd:element name="conversationID" type="xsd:string" minOccurs="0"/>
    <xsd:element name="callbackLocation" type="xsd:string" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ContinueHeader">
    <xsd:sequence>
    <xsd:element name="conversationID" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="CallbackHeader">
    <xsd:sequence>
    <xsd:element name="conversationID" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="StartHeader_literal">
    <wsdl:part name="StartHeader" element="conv:StartHeader"/>
    </wsdl:message>
    <wsdl:message name="ContinueHeader_literal">
    <wsdl:part name="ContinueHeader" element="conv:ContinueHeader"/>
    </wsdl:message>
    <wsdl:message name="startEntityActionSoapIn">
    <wsdl:part name="startEntityActionParameters" element="types:startEntityAction"/>
    <wsdl:part name="entities" type="xsd:base64Binary"/>
    </wsdl:message>
    <wsdl:message name="startEntityActionSoapOut">
    <wsdl:part name="startEntityActionResponseParameters" element="types:startEntityActionResponse"/>
    </wsdl:message>
    <wsdl:message name="getEntityActionResultSoapIn">
    <wsdl:part name="getEntityActionResultParameters" element="types:getEntityActionResult"/>
    </wsdl:message>
    <wsdl:message name="getEntityActionResultSoapOut">
    <wsdl:part name="getEntityActionResultResponseParameters" element="types:getEntityActionResultResponse"/>
    <wsdl:part name="report" type="xsd:base64Binary"/>
    </wsdl:message>
    <wsdl:message name="stopEntityActionSoapIn">
    <wsdl:part name="stopEntityActionParameters" element="types:stopEntityAction"/>
    </wsdl:message>
    <wsdl:message name="stopEntityActionSoapOut">
    <wsdl:part name="stopEntityActionResponseParameters" element="types:stopEntityActionResponse"/>
    </wsdl:message>
    <wsdl:portType name="MaintainEntitySoap">
    <wsdl:operation name="startEntityAction">
    <wsdl:input message="ws:startEntityActionSoapIn"/>
    <wsdl:output message="ws:startEntityActionSoapOut"/>
    </wsdl:operation>
    <wsdl:operation name="getEntityActionResult">
    <wsdl:input message="ws:getEntityActionResultSoapIn"/>
    <wsdl:output message="ws:getEntityActionResultSoapOut"/>
    </wsdl:operation>
    <wsdl:operation name="stopEntityAction">
    <wsdl:input message="ws:stopEntityActionSoapIn" />
    <wsdl:output message="ws:stopEntityActionSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="MaintainEntitySoap" type="ws:MaintainEntitySoap">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="startEntityAction">
    <soap:operation soapAction="http://emcs.dgtaxud.ec/startEntityAction"/>
    <conv:transition phase="start"/>
    <wsdl:input>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="startEntityActionParameters" use="literal"/>
    <soap:header wsdl:required="true" message="ws:StartHeader_literal"
    part="StartHeader" use="literal" />
    </mime:part>
    <mime:part>
    <mime:content part="entities" type="application/octet-stream"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getEntityActionResult">
    <soap:operation soapAction="http://emcs.dgtaxud.ec/getEntityActionResult"/>
    <conv:transition phase="continue"/>
    <wsdl:input>
    <soap:body use="literal"/>
    <soap:header wsdl:required="true" message="ws:ContinueHeader_literal"
    part="ContinueHeader" use="literal" />
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="getEntityActionResultResponseParameters" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="report" type="application/octet-stream"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="stopEntityAction">
    <soap:operation soapAction="http://emcs.dgtaxud.ec/stopEntityAction" style="document" />
    <conv:transition phase="finish" />
    <wsdl:input>
    <soap:body use="literal" />
    <soap:header wsdl:required="true" message="ws:ContinueHeader_literal"
    part="ContinueHeader" use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="MaintainEntity">
    <wsdl:documentation>Asynchronous web service for maintaining entities.</wsdl:documentation>
    <wsdl:port name="MaintainEntitySoap" binding="ws:MaintainEntitySoap">
    <soap:address location="https://seed.dgtaxud.ec:8443/SEEDWS/entity/MaintainEntity.jws"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    the errors i get:
    build-service:
    [jwsc] JWS: processing module /MaintainEntitySoapImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /MaintainEntitySoapImpl
    [jwsc] C:\DOCUME~1\PAPAGE~1\LOCALS~1\Temp\_1mu7ug\seed\webservices\maintainecontract\MaintainEntitySoap.java 31:69
    [jwsc] [ERROR] - A Document Bare style operation must have exactly one non header IN Parameter.
    [jwsc] C:\DOCUME~1\PAPAGE~1\LOCALS~1\Temp\_1mu7ug\seed\webservices\maintainecontract\MaintainEntitySoap.java 41:15
    [jwsc] [ERROR] - A Document Bare style operation must be declared Oneway if it returns void.
    [jwsc] C:\Documents and Settings\papageorgopoulos\Desktop\emcs latest\MaintainEntityContractServ\webservicefiles\MaintainEntitySoa
    pImpl.java 28:21
    [jwsc] [ERROR] - A document style operation must not have a non header INOUT or OUT Parameter.
    [jwsc] C:\DOCUME~1\PAPAGE~1\LOCALS~1\Temp\_1mu7ug\seed\webservices\maintainecontract\MaintainEntitySoap.java 41:15
    [jwsc] [ERROR] - A Document Bare style operation must have exactly one non header IN Parameter.
    [jwsc] C:\Documents and Settings\papageorgopoulos\Desktop\emcs latest\MaintainEntityContractServ\webservicefiles\MaintainEntitySoa
    pImpl.java 13:8
    [jwsc] [ERROR] - javax.jws.WebService.endpointInterface seed.webservices.maintainecontract.MaintainEntitySoap is invalid.
    [AntUtil.deleteDir] Deleting directory C:\DOCUME~1\PAPAGE~1\LOCALS~1\Temp\_1mu7ug
    for any ideas i would be grateful

    Ok, thanks Shay. It is ok when I use ' instead of " in my rendering condition, but the page also crashes when there is an ADF table with Empty text attribute value for example: #{bindings.TmetaformatMprogramView1.viewable ? 'No rows yet.' : 'Access Denied.'}. It crashes, says it cannot parse ? same as \ before.
    Edited by: nermin on Oct 31, 2008 10:20 AM

  • Asant problem- building the hello1 example

    I am trying to run the first example from the tutorial.I followed the instructions as described in the tutorial and configured the environment variables. However, when I am trying to build the hello1 example I get the following message:
    Usage: java [-options] class [args...]
               (to execute a class)
       or  java [-options] -jar jarfile [args...]
               (to execute a jar file)
    where options include:
        -client       to select the "client" VM
        -server       to select the "server" VM
        -hotspot      is a synonym for the "client" VM  [deprecated]
                      The default VM is client.
        -cp <class search path of directories and zip/jar files>
        -classpath <class search path of directories and zip/jar files>
                      A ; separated list of directories, JAR archives,
                      and ZIP archives to search for class files.
        -D<name>=<value>
                      set a system property
        -verbose[:class|gc|jni]
                      enable verbose output
        -version      print product version and exit
        -showversion  print product version and continue
        -? -help      print this help message
        -X            print help on non-standard options
        -ea[:<packagename>...|:<classname>]
        -enableassertions[:<packagename>...|:<classname>]
                      enable assertions
        -da[:<packagename>...|:<classname>]
        -disableassertions[:<packagename>...|:<classname>]
                      disable assertions
        -esa | -enablesystemassertions
                      enable system assertions
        -dsa | -disablesystemassertionsWhat am I doing wrong?
    Thank you,
    Itay

    Thanks for your quick reply.
    My environment variables are:
    J2EE_HOME = E:\Java\J2EE\AppServer
    JAVA_HOME = %J2EE_HOME%\jdk
    So as you can see I have no spaces in the directories names.

  • Problem building schema - Siebel OnDemand Web Services

    I'm trying to call a Siebel OnDemand Web Service from BPEL.
    I've downloaded the Contact.wsdl from OnDemand and imported it into my project.
    I've created a partner link and created variables for the input and output.
    The problem is that JDeveloper cannot build the schemas defined in the wsdl.
    If you try to copy a value to the Input variable, JDeveloper gives the error:
    Exception - Problem building schema!
    You cannot navigate the schema path.
    Does anyone know why this is happening?

    I'm also trying to do this.
    Some info from the Siebel web services guide:-
    "The login request is an HTTPS request to instantiate a session and obtain a session ID. A client invokes login by sending an HTTP GET request to a URL like the following:
    https://secure.crmondemand.com/Services/Integration?command=login
    NOTE: The login parameter value is case sensitive.
    ■ Login input. The input to login is provided in the URL parameters and the HTTP headers, as follows:
    ■ The only URL parameter to be set is command. This parameter value is login.
    Two HTTP headers, UserName and Password, must be set with the appropriate values for your system. For example:
    ❏ UserName: [email protected]
    ❏ Password: mypass
    ■ Login output. The login command returns the following items:
    ■ A session cookie, jsessionid. The client must use this cookie when submitting subsequent requests, including logoff requests.
    ■ A status code of 200, if the session does not encounter any errors. This indicates that the request succeeded.
    Then to get data out ....
    Integration request input. The jsessionid returned to the client during login must be included with the request. The request must contain the jsessionid either as a cookie or as a URL parameter, as follows:
    https://secure.crmondemand.com/Services/Integration/object;jsessionid=xyZ12489w3482413
    Does anyone have any ideas on how we might do this using the Oracle BPEL PM?
    Thanks in advance.

  • Trouble loading the schems in MQL

    Has anybody had problems loading the schema in MQL for the Autovue integration into enovia?
    I got below error while adding formats. Looks like Markup policy is set to "6". Pls check your script.
    attempting lookup ...
    Viewable Schema Object Lookup failed. Continuing with installation...
    <<< End Installing Types
    Start Installing Formats
    sMarkupPolicy --> 6
    sObjectName --> 1|Error: - Symbolic name '6' does not exists
    csiEndTrans*** Warning: Could not commit transaction.
    <<< csiEndTrans
    Transaction aborted - Global Configuration Object
    Aborting transaction, error in Installation...
    Error: #1900068: modify policy failed
    System Error: #1500178: policy '1|Error: - Symbolic name '6' does not exists' does not exist
    ===End installation of Global Configuration Object Schema===

    Normally you have to load the SWF by starting the HTML companion file that will call the JS and CSS-files. And be sure that, if you play it locally, the drive is added to Flash secured locations.

  • Large DB Performance problems when updating schemas

    Hi,
    I'm facing performance problems updating the schema of large databases in SQLServer 2008 R2 and I can't find a proper solution. I would have thought that this is a fairly common problem so here it goes.
    I have a database which is about 700Gb in size. I am going to detail 2 different issues:
    EXAMPLE 1: CHANGING A FIELD TYPE
    In that Database I have a table with the schema detailed below as Table_TB. This table contains several million records. As you can see there is a column of type TEXT (Comment_FD). What I am trying to do is changing  the column type to NVARCHAR(MAX) to
    remove the deprecated TEXT type and support UNICODE characters in that field.
    The command I am running is the following one:
    ALTER TABLE DBA.Table_TB ALTER COLUMN Comment_FD NVARCHAR(MAX)
    This operation takes several hours to complete.
    I tried the following:
    -Adding the new column to the same table and copying the data over
    -Creating a new entire table with the new field type modified and copy the data over
    -Exporting to disk the contents of the table, truncate the table and reimporting the data both with Management Studio and the bcp tool. 
    -When copying to a new table I made also tried removing the PK of the table to skip the overhead of creating an index. 
    -I also tried using a simple spd to copy the data over (to the column in the same table and the other table) in batches. 
    In ALL my tests I set the SQLServer Recovery model to Simple to skip as much as I can the overhead of generating logs.
    No matter what I do, the times to complete this operation seem to be unusable. 
    Please note that I am reducing this problem to its minimum expression. Can't say precisely how long the operation takes, but a script that contain 5 field type changes identical to that one in that and other two tables takes 7 days to complete!!! The REAL problem
    is that I have several other fields to which I need to change the type, and they currently amount to a total running time of 14 days!. And this is just changing a handful of fields in a handful of tables. At some point every string in the system will need
    to be migrated to get unicode support, making this completely impracticable.
    **Based on smaller DBs in the same system I guesstimate this table will contain about 14M records and will be about 44Gb in size. 
    EXAMPLE 2: ADDING COLUMNS
    I have another table int the same DB, with a schema detailed below as Table_2_TB, and again several million records in it. I am trying to add a colum using the following SQL:
    ALTER TABLE DBA.Table2_TB ADD strFiDatasourceName_FD VARCHAR(64) NOT NULL DEFAULT ''
    This operation takes a bit more than 7 hours to complete.
    **Based on smaller DBs in the same system I guesstimate this table will contain about 54M records, and a size of 98Gb.
    QUESTIONS:
    ---->Am I doing something wrong, or is there any way to optimize either the SQL or the SQLServer configuration to speed this up?
    ---->Are these performance levels normal at all when dealing with databases of this size? 
    ---->Anyone out there with experience on DBs of this size?
    ---->Does Microsoft offer some kind of service (cloud?) to make structural changes in large Dbs?
    Thanks a lot for your help in advance!
    This is the schema for the first table:
    CREATE TABLE [DBA].[Table_TB](
    [BranchCode_FD] [char](2) NOT NULL,
    [FolderNo_FD] [int] NOT NULL,
    [DateTime_FD] [datetime] NULL,
    [Staff_FD] [char](3) NULL,
    [Action_FD] [varchar](25) NULL,
    [Comment_FD] [text] NULL,
    [Team_FD] [varchar](8) NULL,
    [Group_FD] [varchar](8) NULL,
    [PopUpDate_FD] [smalldatetime] NULL,
    [nRecordID_FD] [smallint] NOT NULL,
    [nFiFoldItemID_FD] [smallint] NOT NULL,
    PRIMARY KEY CLUSTERED
    [BranchCode_FD] ASC,
    [FolderNo_FD] ASC,
    [nRecordID_FD] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 100) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    ALTER TABLE [DBA].[Table_TB] ADD CONSTRAINT [DF__Table_TB__DateTime] DEFAULT ('1980-01-01') FOR [DateTime_FD]
    GO
    ALTER TABLE [DBA].[Table_TB] ADD CONSTRAINT [DF__Table_TB__PopUp__096A45D7] DEFAULT ('1980-01-01') FOR [PopUpDate_FD]
    GO
    ALTER TABLE [DBA].[Table_TB] ADD DEFAULT ((-1)) FOR [nFiFoldItemID_FD]
    GO
    This is the schema for the second table:
    CREATE TABLE [DBA].[Table2_TB](
    [strBBranchCode_FD] [char](2) NOT NULL,
    [lFFoldNo_FD] [int] NOT NULL,
    [nFiFoldItemID_FD] [smallint] NOT NULL,
    [strFiType_FD] [char](3) NOT NULL,
    [dtFiCreateDate_FD] [smalldatetime] NOT NULL,
    [strFiBookingRef_FD] [varchar](32) NOT NULL,
    [strFiBookingRefDayMonth_FD] [varchar](5) NOT NULL,
    [strFiBookedVia_FD] [varchar](50) NOT NULL,
    [bFiInterfaced_FD] [smallint] NOT NULL,
    [nFiSortOrder_FD] [smallint] NOT NULL,
    [strFiCreateStaffCode_FD] [char](3) NOT NULL,
    [strPcProductCode_FD] [varchar](5) NOT NULL,
    [dtFiStartDateTime_FD] [smalldatetime] NOT NULL,
    [lFiFinanVendID_FD] [int] NOT NULL,
    [lFiItinVendID_FD] [int] NOT NULL,
    [dtFiVendBalDueDate_FD] [smalldatetime] NOT NULL,
    [dtFiVendDepositDueDate_FD] [smalldatetime] NOT NULL,
    [strFiStatus_FD] [varchar](2) NOT NULL,
    [bFiTransFeeHasBeenApplied_FD] [smallint] NOT NULL,
    [bFiATOLTypeMan_FD] [smallint] NOT NULL,
    [nFiATOLType_FD] [smallint] NOT NULL,
    [strCcClassCode_FD] [varchar](10) NOT NULL,
    [strFiStartPointCode_FD] [varchar](5) NOT NULL,
    [strFiEndPointCode_FD] [varchar](5) NOT NULL,
    [strFiAirlineCode_FD] [varchar](3) NOT NULL,
    [strFiVendDocNo_FD] [varchar](16) NOT NULL,
    [dtFiIssueDate_FD] [smalldatetime] NOT NULL,
    [strFiDiscReasonCode_FD] [varchar](3) NOT NULL,
    [nFiLastFoldPricingID_FD] [smallint] NOT NULL,
    [strFiPrintingNote_FD] [text] NOT NULL,
    [strFiNonPrintingNote_FD] [text] NOT NULL,
    [dtFiStatusExpiryDate_FD] [smalldatetime] NOT NULL,
    [strFiClientFreqTravellerNo_FD] [varchar](20) NOT NULL,
    [strFiRouteNo_FD] [varchar](5) NOT NULL,
    [nFiNumBum_FD] [smallint] NOT NULL,
    [dtFiEndDateTime_FD] [smalldatetime] NOT NULL,
    [strFiFareBase_FD] [varchar](15) NOT NULL,
    [strFiInterfaceItemID_FD] [varchar](15) NOT NULL,
    [strFiEndPointLoc_FD] [varchar](255) NULL,
    [strFiStartPointLoc_FD] [varchar](255) NULL,
    [strMcMealCode_FD] [varchar](5) NOT NULL,
    [strFiSeatNote_FD] [text] NOT NULL,
    [strFiMealNote_FD] [text] NOT NULL,
    [strFiAirCraftType_FD] [varchar](5) NOT NULL,
    [strFiJourneyTime_FD] [varchar](8) NOT NULL,
    [strFiCheckInMins_FD] [varchar](10) NOT NULL,
    [lFiJourneyDist_FD] [int] NOT NULL,
    [nFiNumStop_FD] [smallint] NOT NULL,
    [strFiBaggageAllow_FD] [varchar](15) NOT NULL,
    [strFiIssueStaffCode_FD] [varchar](20) NOT NULL,
    [dtFiDispatchDate_FD] [smalldatetime] NOT NULL,
    [strFiDispatchStaffCode_FD] [varchar](3) NOT NULL,
    [strDmDispatchCode_FD] [varchar](2) NOT NULL,
    [lfFiVendDepositDueAmt_FD] [decimal](17, 2) NOT NULL,
    [strFiRateCode_FD] [varchar](50) NOT NULL,
    [strFiRatePlan_FD] [varchar](2) NOT NULL,
    [strFiCabinNo_FD] [varchar](8) NOT NULL,
    [strFiMileage_FD] [varchar](10) NOT NULL,
    [strFiStartPointLocTelNo_FD] [varchar](40) NULL,
    [strFiBookingGuarantee_FD] [varchar](60) NOT NULL,
    [strFiSpecialRemarks_FD] [varchar](250) NULL,
    [strFiCxnCondition_FD] [varchar](100) NOT NULL,
    [bFiFlyDrive_FD] [smallint] NOT NULL,
    [strFiConfNo_FD] [varchar](32) NOT NULL,
    [lFiLinkID_FD] [int] NOT NULL,
    [strFiCategory_FD] [varchar](15) NOT NULL,
    [nFiNumRoom_FD] [smallint] NOT NULL,
    [nFiNumDay_FD] [smallint] NOT NULL,
    [nFiSaleFoldItemID_FD] [smallint] NOT NULL,
    [bFiRefundItem_FD] [smallint] NOT NULL,
    [strFiFareSavingCode_FD] [varchar](2) NOT NULL,
    [lfFiFareSavingAmt_FD] [decimal](17, 2) NOT NULL,
    [strFiRateNote_FD] [text] NOT NULL,
    [strFiDiscCode_FD] [varchar](20) NOT NULL,
    [strFiReqDispatchMethodCode_FD] [varchar](2) NOT NULL,
    [dtFiReqDispatchDateTime_FD] [smalldatetime] NOT NULL,
    [nFiReqDispatchVoucherType_FD] [smallint] NOT NULL,
    [nFiLastFoldItemDetailID_FD] [smallint] NOT NULL,
    [nFiNumConjunction_FD] [smallint] NOT NULL,
    [lfFiBSPFrgnBaseFareAmt_FD] [decimal](17, 2) NOT NULL,
    [lfFiBSPBaseFareAmt_FD] [decimal](17, 2) NOT NULL,
    [lfFiBSPTaxDiscrepancy_FD] [decimal](17, 2) NOT NULL,
    [lfFiBSPPenaltyFeeAmt_FD] [decimal](17, 2) NOT NULL,
    [nFiRegion_FD] [smallint] NOT NULL,
    [strFiOpenTktNo_FD] [varchar](16) NOT NULL,
    [strFiTktSource_FD] [varchar](3) NOT NULL,
    [strFiJourneyType_FD] [varchar](3) NOT NULL,
    [strFiTktType_FD] [varchar](3) NOT NULL,
    [strFiInterfaceNameRemark_FD] [varchar](50) NULL,
    [nFiATOLIssuedStatus_FD] [smallint] NOT NULL,
    [strFiFareSavingFareBase_FD] [varchar](13) NOT NULL,
    [strFiPaxType_FD] [varchar](3) NOT NULL,
    [strFiActualCarrier_FD] [varchar](2) NOT NULL,
    [strFiNetRemitType_FD] [varchar](1) NOT NULL,
    [strFiFareConstruction_FD] [text] NOT NULL,
    [lfFiBSPTotVATAmt_FD] [decimal](17, 2) NOT NULL,
    [bFiNetFare_FD] [smallint] NOT NULL,
    [strFiTourCode_FD] [varchar](50) NOT NULL,
    [strFiSuppFOPInfo_FD] [varchar](255) NOT NULL,
    [lfFitBSPPublishedCommPerc_FD] [decimal](12, 6) NOT NULL,
    [strFiBSPFareCurrCode_FD] [varchar](3) NOT NULL,
    [strFiTktIssueIataNo_FD] [varchar](8) NOT NULL,
    [lfFiFareOfferedSavingAmt_FD] [decimal](17, 2) NOT NULL,
    [strFiFareOfferedSavingCode_FD] [varchar](2) NOT NULL,
    [strFiDesc_FD] [varchar](8000) NOT NULL,
    [lfFiBSPFareBuyDiscrepancyAmt_FD] [decimal](17, 2) NOT NULL,
    [bFiNoPrintOnItin_FD] [smallint] NOT NULL,
    [dtFiStatusCodeChangeDateTime_FD] [smalldatetime] NOT NULL,
    [bFiNoPrintIfAllPricingsZeroCustAmt_FD] [smallint] NOT NULL,
    [strFiFareSavingFareBaseLow_FD] [varchar](13) NOT NULL,
    [lfFiFareSavingLowAmt_FD] [decimal](17, 2) NOT NULL,
    [strFiBrochureCode_FD] [varchar](8) NOT NULL,
    [bFiVendPayDepositNow_FD] [smallint] NOT NULL,
    [bFiVendPayBalanceNow_FD] [smallint] NOT NULL,
    [strFiBankBranchCode_FD] [varchar](2) NOT NULL,
    [strFiOperatingAirlineCode_FD] [varchar](2) NOT NULL,
    [strFiFarePassengerTypeCode_FD] [varchar](3) NOT NULL,
    [strFiAssociatedFarePricingInfoID_FD] [varchar](15) NOT NULL,
    [bFiVerificationReq_FD] [smallint] NOT NULL,
    [dtFiLastVerifiedDateTime_FD] [datetime] NOT NULL,
    [lFiLastVerifiedLevel_FD] [int] NOT NULL,
    [lFiLastVerifiedWithCount_FD] [int] NOT NULL,
    [dtFiTktingStatusChangeDateTime_FD] [smalldatetime] NOT NULL,
    [strFiTktingInformation_FD] [text] NOT NULL,
    [strFiTktingStatus_FD] [varchar](2) NOT NULL,
    [lfFiBSPFareSellDiscrepancyAmt_FD] [decimal](17, 2) NOT NULL,
    [lfFiBSPTaxBuyDiscrepancyAmt_FD] [decimal](17, 2) NOT NULL,
    [strFiTktingBatchID_FD] [varchar](15) NOT NULL,
    [dtFiTktingBatchDateTime_FD] [smalldatetime] NOT NULL,
    [lIplPolicyLevelID_FD] [int] NOT NULL,
    [strFiTktingDescription_FD] [varchar](1000) NOT NULL,
    [strFiTktingDataVersion_FD] [varchar](10) NOT NULL,
    [strFiSourceTktingSystem_FD] [varchar](20) NOT NULL,
    [strFiOthPtsPmtCode_FD] [varchar](3) NOT NULL,
    [bFiManualPtsEntry_FD] [smallint] NOT NULL,
    [strFiEndorsement_FD] [varchar](500) NOT NULL,
    [strFiOwnedByStaffCode_FD] [char](3) NOT NULL,
    [strFiThirdPartyTrackingID_FD] [varchar](25) NOT NULL,
    [strFiAdditionalPrintingNote_FD] [text] NULL,
    [bFiOverridePrintingNote_FD] [smallint] NOT NULL,
    [lfFiCarbonOffsetWeightAmt_FD] [decimal](17, 2) NOT NULL,
    [strFiCancellationPolicyNote_FD] [text] NULL,
    [bFiPEProcessed_FD] [smallint] NOT NULL,
    [bFiActingAsAgentFor_FD] [smallint] NOT NULL,
    [nFiOriginalBuyingBasis_FD] [smallint] NOT NULL,
    [bFiIsOpenSegment_FD] [smallint] NOT NULL,
    [nFiCreateSource_FD] [smallint] NOT NULL,
    [strFiBookingSourceInvoiceNo_FD] [varchar](7) NOT NULL,
    [strFiGDSPaxTypeCode_FD] [varchar](8) NOT NULL,
    [strFiNetFareGDSAccountCode_FD] [varchar](8) NOT NULL,
    [strFiPOSID_FD] [varchar](50) NOT NULL,
    [bFiIsPOSEditable_FD] [smallint] NOT NULL,
    [lfFiCustExchRate_FD] [decimal](16, 8) NOT NULL,
    [lfFiCustFareSavingLowAmt_FD] [decimal](17, 2) NOT NULL,
    [lfFiCustFareSavingAmt_FD] [decimal](17, 2) NOT NULL,
    [lfFiCustFareOfferedSavingAmt_FD] [decimal](17, 2) NOT NULL,
    [bFiCCItemPayableToBranch_FD] [smallint] NOT NULL,
    [dtFiExternalAccountingDate_FD] [smalldatetime] NOT NULL,
    [strFiSourceSystemBookResponseText_FD] [text] NOT NULL,
    [bFiIsConnection_FD] [smallint] NOT NULL,
    [bFiIsPEFoldLevelItem_FD] [smallint] NOT NULL,
    [nFiReqdEndorsedConjTktType_FD] [smallint] NOT NULL,
    [bFiEndorsedConjTktDetailIsManual_FD] [smallint] NOT NULL,
    [strFiReqdEndorsedConjTktDetailText_FD] [varchar](30) NOT NULL,
    [lFiLastTktingTemplateID_FD] [int] NOT NULL,
    [dtFiBookedDate_FD] [smalldatetime] NOT NULL,
    [strFiTktingVerificationWarning_FD] [varchar](1000) NOT NULL,
    [strFiTktingVerificationError_FD] [varchar](1000) NOT NULL,
    [strFiTktingError_FD] [varchar](1000) NOT NULL,
    [strFiCustomerAccountingData00_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData01_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData02_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData03_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData04_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData05_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData06_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData07_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData08_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData09_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingDataNote_FD] [varchar](100) NOT NULL,
    [strFiCustomerAccountingData10_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData11_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData12_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData13_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData14_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData15_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData16_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData17_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData18_FD] [varchar](50) NOT NULL,
    [strFiCustomerAccountingData19_FD] [varchar](50) NOT NULL,
    [nFiFlightBasis_FD] [smallint] NOT NULL,
    [lFiStartPointVendID_FD] [int] NOT NULL,
    [lFiEndPointVendID_FD] [int] NOT NULL,
    [lCtID_FD] [int] NOT NULL,
    [strFiContractCode_FD] [varchar](25) NOT NULL,
    [strFiContractPeriodCode_FD] [varchar](50) NOT NULL,
    PRIMARY KEY CLUSTERED
    [strBBranchCode_FD] ASC,
    [lFFoldNo_FD] ASC,
    [nFiFoldItemID_FD] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 100) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    ALTER TABLE [DBA].[Table2_TB] WITH NOCHECK ADD FOREIGN KEY([nFiReqDispatchVoucherType_FD])
    REFERENCES [DBA].[VoucherTypes_TB] ([nVtCode_FD])
    GO
    ALTER TABLE [DBA].[Table2_TB] WITH NOCHECK ADD FOREIGN KEY([strPcProductCode_FD], [strFiType_FD])
    REFERENCES [DBA].[ProductCodes_TB] ([ProductCode_FD], [Type_FD])
    GO
    ALTER TABLE [DBA].[Table2_TB] WITH NOCHECK ADD FOREIGN KEY([strBBranchCode_FD], [lFFoldNo_FD])
    REFERENCES [DBA].[Folder_TB] ([BranchCode_FD], [FolderNo_FD])
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strBB__44AB0736] DEFAULT ('') FOR [strBBranchCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lFFol__459F2B6F] DEFAULT (0) FOR [lFFoldNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiFo__46934FA8] DEFAULT ((-1)) FOR [nFiFoldItemID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__478773E1] DEFAULT ('') FOR [strFiType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiC__487B981A] DEFAULT ('1980-01-01') FOR [dtFiCreateDate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_TB__strFiBookingRef] DEFAULT ('') FOR [strFiBookingRef_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__4A63E08C] DEFAULT ('') FOR [strFiBookingRefDayMonth_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_TB__strFiBookedVia_FD] DEFAULT ('') FOR [strFiBookedVia_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__bFiIn__4C4C28FE] DEFAULT (0) FOR [bFiInterfaced_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiSo__4D404D37] DEFAULT ((-1)) FOR [nFiSortOrder_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__4E347170] DEFAULT ('') FOR [strFiCreateStaffCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_TB__strPcProductCode] DEFAULT ('') FOR [strPcProductCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiS__501CB9E2] DEFAULT ('1980-01-01') FOR [dtFiStartDateTime_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lFiFi__5110DE1B] DEFAULT ((-1)) FOR [lFiFinanVendID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lFiIt__52050254] DEFAULT ((-1)) FOR [lFiItinVendID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiV__52F9268D] DEFAULT ('1980-01-01') FOR [dtFiVendBalDueDate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiV__53ED4AC6] DEFAULT ('1980-01-01') FOR [dtFiVendDepositDueDate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__54E16EFF] DEFAULT ('') FOR [strFiStatus_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__bFiTr__55D59338] DEFAULT (0) FOR [bFiTransFeeHasBeenApplied_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__bFiAT__56C9B771] DEFAULT (0) FOR [bFiATOLTypeMan_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiAT__57BDDBAA] DEFAULT (0) FOR [nFiATOLType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strCc__58B1FFE3] DEFAULT ('') FOR [strCcClassCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_TB__strFiStartPointCode] DEFAULT ('') FOR [strFiStartPointCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_TB__strFiEndPointCode] DEFAULT ('') FOR [strFiEndPointCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__5B8E6C8E] DEFAULT ('') FOR [strFiAirlineCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__5C8290C7] DEFAULT ('') FOR [strFiVendDocNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiI__5D76B500] DEFAULT ('1980-01-01') FOR [dtFiIssueDate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__5E6AD939] DEFAULT ('') FOR [strFiDiscReasonCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiLa__5F5EFD72] DEFAULT ((-1)) FOR [nFiLastFoldPricingID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__605321AB] DEFAULT ('') FOR [strFiPrintingNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__614745E4] DEFAULT ('') FOR [strFiNonPrintingNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiS__623B6A1D] DEFAULT ('1980-01-01') FOR [dtFiStatusExpiryDate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__632F8E56] DEFAULT ('') FOR [strFiClientFreqTravellerNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__6423B28F] DEFAULT ('') FOR [strFiRouteNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_TB__nFiNumBum] DEFAULT ((-1)) FOR [nFiNumBum_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiE__660BFB01] DEFAULT ('1980-01-01') FOR [dtFiEndDateTime_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__67001F3A] DEFAULT ('') FOR [strFiFareBase_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__67F44373] DEFAULT ('') FOR [strFiInterfaceItemID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__68E867AC] DEFAULT ('') FOR [strFiEndPointLoc_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__69DC8BE5] DEFAULT ('') FOR [strFiStartPointLoc_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strMc__6AD0B01E] DEFAULT ('') FOR [strMcMealCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__6BC4D457] DEFAULT ('') FOR [strFiSeatNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__6CB8F890] DEFAULT ('') FOR [strFiMealNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__6DAD1CC9] DEFAULT ('') FOR [strFiAirCraftType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__6EA14102] DEFAULT ('') FOR [strFiJourneyTime_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__6F95653B] DEFAULT ('') FOR [strFiCheckInMins_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lFiJo__70898974] DEFAULT (0) FOR [lFiJourneyDist_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiNu__717DADAD] DEFAULT (0) FOR [nFiNumStop_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__7271D1E6] DEFAULT ('') FOR [strFiBaggageAllow_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__7365F61F] DEFAULT ('') FOR [strFiIssueStaffCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiD__745A1A58] DEFAULT ('1980-01-01') FOR [dtFiDispatchDate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__754E3E91] DEFAULT ('') FOR [strFiDispatchStaffCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strDm__764262CA] DEFAULT ('') FOR [strDmDispatchCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFiV__77368703] DEFAULT (0) FOR [lfFiVendDepositDueAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__782AAB3C] DEFAULT ('') FOR [strFiRateCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__791ECF75] DEFAULT ('') FOR [strFiRatePlan_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__7A12F3AE] DEFAULT ('') FOR [strFiCabinNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__7B0717E7] DEFAULT ('') FOR [strFiMileage_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__7BFB3C20] DEFAULT ('') FOR [strFiStartPointLocTelNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__7CEF6059] DEFAULT ('') FOR [strFiBookingGuarantee_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__7DE38492] DEFAULT ('') FOR [strFiSpecialRemarks_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__7ED7A8CB] DEFAULT ('') FOR [strFiCxnCondition_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__bFiFl__7FCBCD04] DEFAULT (0) FOR [bFiFlyDrive_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__00BFF13D] DEFAULT ('') FOR [strFiConfNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lFiLi__01B41576] DEFAULT ((-1)) FOR [lFiLinkID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__02A839AF] DEFAULT ('') FOR [strFiCategory_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiNu__039C5DE8] DEFAULT (0) FOR [nFiNumRoom_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiNu__04908221] DEFAULT (0) FOR [nFiNumDay_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiSa__0584A65A] DEFAULT ((-1)) FOR [nFiSaleFoldItemID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__bFiRe__0678CA93] DEFAULT (0) FOR [bFiRefundItem_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__076CEECC] DEFAULT ('') FOR [strFiFareSavingCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFiF__08611305] DEFAULT (0) FOR [lfFiFareSavingAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__0955373E] DEFAULT ('') FOR [strFiRateNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__0A495B77] DEFAULT ('') FOR [strFiDiscCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__0B3D7FB0] DEFAULT ('') FOR [strFiReqDispatchMethodCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__dtFiR__0C31A3E9] DEFAULT ('1980-01-01') FOR [dtFiReqDispatchDateTime_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiRe__0D25C822] DEFAULT (0) FOR [nFiReqDispatchVoucherType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiLa__0F0E1094] DEFAULT ((-1)) FOR [nFiLastFoldItemDetailID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiNu__100234CD] DEFAULT (0) FOR [nFiNumConjunction_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFiB__10F65906] DEFAULT (0) FOR [lfFiBSPFrgnBaseFareAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFiB__11EA7D3F] DEFAULT (0) FOR [lfFiBSPBaseFareAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFiB__12DEA178] DEFAULT (0) FOR [lfFiBSPTaxDiscrepancy_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFiB__13D2C5B1] DEFAULT (0) FOR [lfFiBSPPenaltyFeeAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__bFiDo__14C6E9EA] DEFAULT (0) FOR [nFiRegion_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__15BB0E23] DEFAULT ('') FOR [strFiOpenTktNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__16AF325C] DEFAULT ('') FOR [strFiTktSource_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__17A35695] DEFAULT ('') FOR [strFiJourneyType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__18977ACE] DEFAULT ('') FOR [strFiTktType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__198B9F07] DEFAULT ('') FOR [strFiInterfaceNameRemark_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__nFiAT__1A7FC340] DEFAULT ((-1)) FOR [nFiATOLIssuedStatus_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__1B73E779] DEFAULT ('') FOR [strFiFareSavingFareBase_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__1C680BB2] DEFAULT ('') FOR [strFiPaxType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__1D5C2FEB] DEFAULT ('') FOR [strFiActualCarrier_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__1E505424] DEFAULT ('') FOR [strFiNetRemitType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__1F44785D] DEFAULT ('') FOR [strFiFareConstruction_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFiB__20389C96] DEFAULT (0) FOR [lfFiBSPTotVATAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__bFiNe__212CC0CF] DEFAULT (0) FOR [bFiNetFare_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__2220E508] DEFAULT ('') FOR [strFiTourCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__23150941] DEFAULT ('') FOR [strFiSuppFOPInfo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFit__24092D7A] DEFAULT (0) FOR [lfFitBSPPublishedCommPerc_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__24FD51B3] DEFAULT ('') FOR [strFiBSPFareCurrCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__25F175EC] DEFAULT ('') FOR [strFiTktIssueIataNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__lfFiF__27D9BE5E] DEFAULT (0) FOR [lfFiFareOfferedSavingAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD CONSTRAINT [DF__Table2_T__strFi__251D4D44] DEFAULT ('') FOR [strFiFareOfferedSavingCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiDesc_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [lfFiBSPFareBuyDiscrepancyAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiNoPrintOnItin_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('1980-1-1') FOR [dtFiStatusCodeChangeDateTime_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiNoPrintIfAllPricingsZeroCustAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiFareSavingFareBaseLow_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [lfFiFareSavingLowAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiBrochureCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiVendPayDepositNow_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiVendPayBalanceNow_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiBankBranchCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiOperatingAirlineCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiFarePassengerTypeCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiAssociatedFarePricingInfoID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiVerificationReq_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('1980-01-01') FOR [dtFiLastVerifiedDateTime_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [lFiLastVerifiedLevel_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [lFiLastVerifiedWithCount_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('1980-01-01') FOR [dtFiTktingStatusChangeDateTime_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiTktingInformation_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiTktingStatus_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [lfFiBSPFareSellDiscrepancyAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [lfFiBSPTaxBuyDiscrepancyAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiTktingBatchID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('1980-01-01') FOR [dtFiTktingBatchDateTime_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((-1)) FOR [lIplPolicyLevelID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiTktingDescription_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiTktingDataVersion_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiSourceTktingSystem_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiOthPtsPmtCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiManualPtsEntry_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiEndorsement_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiOwnedByStaffCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiThirdPartyTrackingID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiAdditionalPrintingNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiOverridePrintingNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [lfFiCarbonOffsetWeightAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCancellationPolicyNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiPEProcessed_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiActingAsAgentFor_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [nFiOriginalBuyingBasis_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiIsOpenSegment_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [nFiCreateSource_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (' ') FOR [strFiBookingSourceInvoiceNo_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiGDSPaxTypeCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiNetFareGDSAccountCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiPOSID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT (0) FOR [bFiIsPOSEditable_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [lfFiCustExchRate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [lfFiCustFareSavingLowAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [lfFiCustFareSavingAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [lfFiCustFareOfferedSavingAmt_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [bFiCCItemPayableToBranch_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('1980-01-01') FOR [dtFiExternalAccountingDate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiSourceSystemBookResponseText_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [bFiIsConnection_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [bFiIsPEFoldLevelItem_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [nFiReqdEndorsedConjTktType_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [bFiEndorsedConjTktDetailIsManual_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiReqdEndorsedConjTktDetailText_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((-1)) FOR [lFiLastTktingTemplateID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('1980-01-01') FOR [dtFiBookedDate_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiTktingVerificationWarning_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiTktingVerificationError_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiTktingError_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData00_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData01_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData02_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData03_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData04_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData05_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData06_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData07_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData08_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData09_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingDataNote_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData10_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData11_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData12_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData13_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData14_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData15_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData16_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData17_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData18_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiCustomerAccountingData19_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((0)) FOR [nFiFlightBasis_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((-1)) FOR [lFiStartPointVendID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((-1)) FOR [lFiEndPointVendID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ((-1)) FOR [lCtID_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiContractCode_FD]
    GO
    ALTER TABLE [DBA].[Table2_TB] ADD DEFAULT ('') FOR [strFiContractPeriodCode_FD]
    GO

    Hi,
    I just wanted to summarize the conclusions we got here, in case it helps someone else.
    For the case of the ALTER statement:
    First we analyzed the query performance and found out that the query was I/O bound. A handful of useful scripts can be found on the links below. Some high values on PAGEIOLATCH wait times suggested some memory pressure, so we incremented the amount of memory
    dedicated to the server up to 32GB. This single change was one of the most effective ones and reduced the query execution time by about 40%-50%. I guess SQLServer needs less paging to perform the operation when it can load more pages in memory at the same
    time.
    We run more tests tweaking some other mentioned variables like the server maxDOP, which made in fact the query slower the higher the value we set. The initial server config was set with auto CPU affinity, but I/O mask affinity set to the first 4 CPUs, and
    we found out that setting it to ALL AUTO perform faster for some reason.
    After some analysis made by Microsoft on the diagnostics/metrics data, the only interesting finding was that a couple of the storage volumes were performing slightly slower than the rest causing a bit of a bottleneck. We recommended the customer to look
    into it with their storage team, but even with those fixed, we won't expect the query to run much faster.
    No other tweaks have been found useful to speed up the ALTER statement. Basically it comes up to how fast you I/O subsystem is, and how much can SQLServer can cache in memory. No other suggestion has been made by Microsoft, and they've advised that any
    other tweaked query (split the column addition and the constraints for example) is going to perform worse than the plain and simple alter statement.
    On the NVARCHAR type problem:
    As it was suggested by Erland Sommarskog, SQLServer 2014 Enterprise edition performed this operation about 40% faster than SQLServer 2008 R2 with the same hardware specs.
    At the moment upgrading the customer infrastructure is not an option for us, so we don't have a proper solution to accomplish this in a workable time frame on SQLServer 2008. 
    The strategy that we found might be the best option was the one suggessted by E. Sommarskog, bind our code for reading access to a COALESCED calculated column, and writing on the new converted NVARCHAR column. Schedule a batch job in the backgroud
    to migrate all the data over time to the new column, and finally remove the old column.
    Thanks a lot everyone for your help.
    David.
    Useful links:
    http://www.sqlskills.com/blogs/paul/wait-statistics-or-please-tell-me-where-it-hurts/
    http://msdn.microsoft.com/en-us/library/ms189768.aspx
    http://rusanu.com/2014/02/24/how-to-analyse-sql-server-performance/

  • Error "Problem building schema" while invoking external webservice

    Hi,
    I have following problem:
    I created 2 BPEL processes.
    One of these processes should be called from the other as a partnerlink.
    When I create the partnerlink, pointing to the deployed wsdl, I get following error "Problem building schema" when I try to access the input variable that was created by the invoke activity.
    I have tried a lot of things but keep on getting this error.
    When I create a new, empty BPEL process, and do exactly the same it does work!
    any help would be greatly appreciated.....

    Hi,
    I have given this URL 'http://ws.cdyne.com/WeatherWS/Weather.asmx?WSDL'.
    Now it is showing the following error
    Exception occured in library handler.Not implemented.
    Exception of class CX_SIDL_INTERNAL_ERROR
    Please have a look into it
    Regards,
    Dhana

  • "Problem building schema" exception in BPEL Designer

    Hi all,
    I use BPEL Designer 10.1.2.0.2 and encounter the following problem:
    I built a web service based on the Oracle Toplink How To demo. The web service has one published method that returns a custom 'Customer' object.
    I deployed the web service on my localhost (AS 10.1.3)
    In my BPEL process, I create a partnerlink based on the WSDL that was generated by JDeveloper and let BPEL Designer create a local copy.
    Then I created an invoke and had the wizard create in- and output variables for the invoke.
    When I select either the input- or output variable in the structure pane, I get an error message when I click on the 'parameters' entry. The message shown is 'Exception - problem building schema!'
    When I check the 'show detailed node information' box no additional info is shown!
    Any Idea what might go wrong?
    The WSDL looks as follows:
    <definitions
    name="updCustWS"
    targetNamespace="http://examples.ox.model/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://examples.ox.model/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://examples.ox.model/types/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns1="http://www.oracle.com/webservices/internal/literal"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://examples.ox.model/types/"
    elementFormDefault="qualified" xmlns:tns="http://examples.ox.model/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
    <complexType name="getCust">
    <sequence>
    <element name="cust" type="tns:Customer" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="Customer">
    <sequence>
    <element name="gender" type="string" nillable="true"/>
    <element name="dateOfBirth" type="dateTime" nillable="true"/>
    <element name="phoneNumbers" type="ns1:vector" nillable="true"/>
    <element name="shippingAddress" type="tns:Address" nillable="true"/>
    <element name="billingAddress" type="tns:Address" nillable="true"/>
    <element name="firstName" type="string" nillable="true"/>
    <element name="lastName" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="Address">
    <sequence>
    <element name="postalCode" type="string" nillable="true"/>
    <element name="suite" type="string" nillable="true"/>
    <element name="street" type="string" nillable="true"/>
    <element name="province" type="string" nillable="true"/>
    <element name="city" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="getCustResponse">
    <sequence>
    <element name="result" type="tns:Customer" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="version">
    <sequence/>
    </complexType>
    <complexType name="versionResponse">
    <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="getCustElement" type="tns:getCust"/>
    <element name="getCustResponseElement" type="tns:getCustResponse"/>
    <element name="versionElement" type="tns:version"/>
    <element name="versionResponseElement" type="tns:versionResponse"/>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/webservices/internal/literal"
    elementFormDefault="qualified" xmlns:tns="http://www.oracle.com/webservices/internal/literal"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://examples.ox.model/types/"/>
    <import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
    <complexType name="vector">
    <complexContent>
    <extension base="tns:list">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="UpdCustWS_getCust">
    <part name="parameters" element="tns0:getCustElement"/>
    </message>
    <message name="UpdCustWS_getCustResponse">
    <part name="parameters" element="tns0:getCustResponseElement"/>
    </message>
    <message name="UpdCustWS_version">
    <part name="parameters" element="tns0:versionElement"/>
    </message>
    <message name="UpdCustWS_versionResponse">
    <part name="parameters" element="tns0:versionResponseElement"/>
    </message>
    <portType name="updCustWS">
    <operation name="getCust">
    <input message="tns:UpdCustWS_getCust"/>
    <output message="tns:UpdCustWS_getCustResponse"/>
    </operation>
    <operation name="version">
    <input message="tns:UpdCustWS_version"/>
    <output message="tns:UpdCustWS_versionResponse"/>
    </operation>
    </portType>
    <binding name="updCustWSSoapHttp" type="tns:updCustWS">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getCust">
    <soap:operation soapAction="http://examples.ox.model//getCust"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    <operation name="version">
    <soap:operation soapAction="http://examples.ox.model//version"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    </binding>
    <service name="updCustWS">
    <port name="updCustWSSoapHttpPort" binding="tns:updCustWSSoapHttp">
    <soap:address location="http://localhost:7780/toplinkDemo-toplink-context-root/updCustWSSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    any help would be greatly appreciated!
    Thanks in advance,
    Rob

    Hi
    I know it's an old thread, but I'm having the same issue.
    I have created an EJB3 web service that returns an object with 2 nested objects. The autogenerated WSDL looks something like this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns0="http://www.oracle.com/webservices/internal/literal" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://smbc.crm.persistence.services/" name="CRMBusinessWSService" targetNamespace="http://smbc.crm.persistence.services/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://www.oracle.com/webservices/internal/literal" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://smbc.crm.persistence.services/" elementFormDefault="qualified">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <complexType name="Businesses">
    <sequence>
    <element name="partyId" type="long" nillable="true"/>
    <element name="businessContactPoints" type="ns1:list" nillable="true"/>
    <element name="businessAddresses" type="ns1:list" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="BusinessAddresses">
    <sequence>
    <element name="locality" type="string" nillable="true"/>
    <element name="paon" type="string" nillable="true"/>
    <element name="siteUseType" type="string" nillable="true"/>
    <element name="locationId" type="long" nillable="true"/>
    <element name="townName" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="BusinessContactPoints">
    <sequence>
    <element name="telCountryCode" type="string" nillable="true"/>
    <element name="partyId" type="long" nillable="true"/>
    <element name="telAreaCode" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="queryBusinessesFindByPartyId" type="tns:queryBusinessesFindByPartyId"/>
    <complexType name="queryBusinessesFindByPartyId">
    <sequence>
    <element name="int_1" type="int"/>
    </sequence>
    </complexType>
    <element name="queryBusinessesFindByPartyIdResponse" type="tns:queryBusinessesFindByPartyIdResponse"/>
    <complexType name="queryBusinessesFindByPartyIdResponse">
    <sequence>
    <element name="return" type="tns:Businesses" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.oracle.com/webservices/internal/literal" targetNamespace="http://www.oracle.com/webservices/internal/literal" elementFormDefault="qualified">
    <import namespace="http://smbc.crm.persistence.services/"/>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="CRMBusinessWS_queryBusinessesFindByPartyId">
    <part name="parameters" element="tns:queryBusinessesFindByPartyId"/>
    </message>
    <message name="CRMBusinessWS_queryBusinessesFindByPartyIdResponse">
    <part name="parameters" element="tns:queryBusinessesFindByPartyIdResponse"/>
    </message>
    <portType name="CRMBusinessWS">
    <operation name="queryBusinessesFindByPartyId">
    <input message="tns:CRMBusinessWS_queryBusinessesFindByPartyId"/>
    <output message="tns:CRMBusinessWS_queryBusinessesFindByPartyIdResponse"/>
    </operation>
    </portType>
    <binding name="CRMBusinessWSSoapHttp" type="tns:CRMBusinessWS">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="queryBusinessesFindByPartyId">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="CRMBusinessWSService">
    <port name="CRMBusinessSessionEJB" binding="tns:CRMBusinessWSSoapHttp">
    <soap:address location="http://blah.solihull.gov.uk:1234/crm-ws/CRMBusinessSessionEJB"/>
    </port>
    </service>
    </definitions>
    The web service runs fine and returns a valid XML document (like below):
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://smbc.crm.persistence.services/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <env:Body>
    <ns0:queryBusinessesFindByPartyIdResponse>
    <ns0:return>
    <ns0:turnover xsi:nil="1"/>
    <ns0:partyId>551837</ns0:partyId>
    <ns0:employeesLocal xsi:nil="1"/>
    <ns0:employeesNational xsi:nil="1"/>
    <ns0:businessName xsi:nil="1"/>
    <ns0:classificationSic xsi:nil="1"/>
    <ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
    <ns0:classificationLacors xsi:nil="1"/>
    <ns0:sbaLinkNumber xsi:nil="1"/>
    <ns0:legalStatus xsi:nil="1"/>
    <ns0:localAuthority xsi:nil="1"/>
    <ns0:bpa>560950</ns0:bpa>
    <ns0:dateCommencedTrading xsi:nil="1"/>
    <ns0:businessDirectoryListing xsi:nil="1"/>
    <ns0:businessStage xsi:nil="1"/>
    <ns0:classificationBcl xsi:nil="1"/>
    <ns0:employeesGlobal xsi:nil="1"/>
    <ns0:descriptionOfBusiness xsi:nil="1"/>
    <ns0:businessContactPoints xsi:type="ns1:vector">
    <ns1:item xsi:type="ns0:BusinessContactPoints">
    <ns0:telCountryCode xsi:nil="1"/>
    <ns0:partyId>551837</ns0:partyId>
    <ns0:contactPointType>EMAIL</ns0:contactPointType>
    <ns0:contactTelephoneNumber xsi:nil="1"/>
    <ns0:bpa>560950</ns0:bpa>
    <ns0:contactPointId>76330</ns0:contactPointId>
    <ns0:telExtensionNumber xsi:nil="1"/>
    <ns0:contactEmailAddress>[email protected]</ns0:contactEmailAddress>
    <ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
    <ns0:telAreaCode xsi:nil="1"/>
    </ns1:item>
    <ns1:item xsi:type="ns0:BusinessContactPoints">
    <ns0:telCountryCode>44</ns0:telCountryCode>
    <ns0:partyId>551837</ns0:partyId>
    <ns0:contactPointType>PHONE</ns0:contactPointType>
    <ns0:contactTelephoneNumber>323233</ns0:contactTelephoneNumber>
    <ns0:bpa>560950</ns0:bpa>
    <ns0:contactPointId>76329</ns0:contactPointId>
    <ns0:telExtensionNumber xsi:nil="1"/>
    <ns0:contactEmailAddress xsi:nil="1"/>
    <ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
    <ns0:telAreaCode>123</ns0:telAreaCode>
    </ns1:item>
    </ns0:businessContactPoints>
    <ns0:businessAddresses xsi:type="ns1:vector">
    <ns1:item xsi:type="ns0:BusinessAddresses">
    <ns0:partyId>551837</ns0:partyId>
    <ns0:locality>Kingshurst</ns0:locality>
    <ns0:paon>20</ns0:paon>
    <ns0:siteUseType>HEADQUATERS_FOR</ns0:siteUseType>
    <ns0:locationId>34380</ns0:locationId>
    <ns0:townName>Birmingham</ns0:townName>
    <ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
    <ns0:saon xsi:nil="1"/>
    <ns0:bpa>560950</ns0:bpa>
    <ns0:country>GB</ns0:country>
    <ns0:uprn>100070950848</ns0:uprn>
    <ns0:dateOfOccupancyAtthisaddr xsi:nil="1"/>
    <ns0:streetDescriptor>Acacia Avenue</ns0:streetDescriptor>
    <ns0:postcode>B37 6AQ</ns0:postcode>
    <ns0:countyName xsi:nil="1"/>
    <ns0:usrn xsi:nil="1"/>
    </ns1:item>
    </ns0:businessAddresses>
    </ns0:return>
    </ns0:queryBusinessesFindByPartyIdResponse>
    </env:Body>
    </env:Envelope>
    The problem is that I'm trying to transform this message in BPEL/ESB but the mapper does not understand the schema as described in the WSDL and will not let me do 'for-each' or 'if' actions on the collections of addresses for example.
    I've tried injecting my own WSDL into the EJB3 web service through annotations, but it will not compile....
    Can anybody help????
    Thanks
    Chris

  • Problem building schema in provider ABCS

    Hi
    I imported AccountWSEndPointCRMOnDemand from AIA_HOME\PIP to my jdeveloper(10.1.3.4).but i am getting problem building schema error for one of the partnerlinks.nothing is getting dispalyed if i click on 'show detailed node information'.
    I took that wsdl & created a sample bpel which works perfectly fine but with the actual PIP bpel its not working.I pasted the link in IE, it shows the contents corretly.
    Please advice!
    Thanks

    The accountAdapter.wsdl contents is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    targetNamespace="urn:crmondemand/ws/account/10/2004"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="urn:crmondemand/ws/account/10/2004"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <import namespace="urn:crmondemand/ws/account/10/2004" location="http://host:port/AIAComponents/ApplicationObjectLibrary/CRMOD/ODR15/wsdls/account.wsdl"/>
    <plnk:partnerLinkType name="Default_Binding_Account_PL">
    <plnk:role name="Default_Binding_Account_Role">
    <plnk:portType name="tns:Default_Binding_Account"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    wherein account.wsdl has xsd info which is working fine in the browser.
    Also which checkbox i need to check in jdeveloper to see the error details.

  • Partnerlink - Problem building schema

    Hi,
    I have following problem:
    I created 2 BPEL processes.
    One of these processes should be called from the other as a partnerlink.
    When I create the partnerlink, pointing to the deployed wsdl, I get following error "Problem building schema" when I try to access the input variable that was created by the invoke activity.
    I have tried a lot of things but keep on getting this error.
    When I create a new, empty BPEL process, and do exactly the same it does work!
    any help would be greatly appreciated.....

    Hello,
    please be careful with the "Problem building schema"-error not to mix up the reasons. As far as I know this error can be caused by different ways, e. g. schema is not valid, wsdl is not accesible...
    Therefore please check at first of a local copy of the wsdl is working or not. In lather case there might be a trouble in the wsdl, more preciously in type definition.
    @Ruerd: If you want I can have a look at your wsdl to see if it is valid - just post the code here.
    BR,
    Hansi

  • Problems with the build-IN SNTP-Client on cRIO9014&cRIO9012

    Hi out there,
    I have a problem using the build-IN SNTP-Client of a cRIO-9014 (and a cRIO-9012).
    It seems that the cRIO sometimes gets another time (e.g. 28.01.1920  12:03:00) other than it should get (e.g. 31.08.2014 09:59:00).
    I've found this problem in our measurement-files. They had some unusual timestamps (as showed in the following example).
    To prevent the SNTP-Client from doing too many damages to our measurement-files, I built a time-validator (with a range of 5 min), which checks one of my servers (and let it write every time change to a log file).
    The Log-File looks like (Where "$Message" is a custom-message. It is unrelated to the problem, but occurs every minute):
    31.08.2014          09:58:00 $Message
    31.08.2014          09:59:00 $Message
    31.08.2014          10:20:00 Setting Time from 28.01.1920 12:14:09 to: 31.08.2014 10:20:00
    31.08.2014          10:21:00 $Message
    31.08.2014          10:22:00 $Message
    31.08.2014          10:54:00 $Message
    31.08.2014          10:55:00 $Message
    31.08.2014          10:59:00 $Message
    31.08.2014          11:00:00 $Message
    As you can see, the cRIO loses its time somewhere between 09:59:00 and 10:00:00(UTC) and it has been set back at 10:58:XX (UTC). It is shown with the gap between the messages at 10:55:00 and 10:59:00.
    The configuration for the timesync was:
    [TIME SYNC]
    source.rtc.enable=True
    source_priority=sntp;rtc;
    source.sntp.enable=true
    source.sntp.address=192.53.103.108
    source.sntp.interval=60
    source.sntp.port=123
    source.sntp.verbose=false
    source.sntp.log=false
    sntp.address is a public  German time-server, hosted by our national institute.
    I've set sntp.verbose and sntp.log to TRUE for more information, but have to wait some time for a logfile.
    The network has the following scheme:
    cRIO -> UMTS-Modem -> ISP-VPN -> Internet
    Does anyone have had this problem and/or know, how to fix it?
    Thanks for your help!
    Cateros

    Hi!
    The problem happens sporadically, at first, we didn't even notice it, just that there are files missing and we got the strange logs. Now, with the workaround, we can finally trace the problem (and in some cases restore our measurement).
    What do you mean with "connectthe cRIO directly to a router?"? Could you please explain it?
    In the enclosure are more networkdevices, but only the cRIO uses the connection to the internet.
    The "UMTS Modem" has also routing capacities, which we use to remote control both of the RIOs.
    Thanks for your reply
    Cateros

  • Bpel variables return Http 503 (problem building schema) error

    First of all if I have posted this in the wrong forum, I apologise in advance.
    I have recently installed the Oracle SOA suite and I have downloaded JDeveloper 10.1.3.3, I am running the (http://download.oracle.com/otndocs/products/bpel/orderbooking.pdf) Oracle® BPEL Process Manager Tutorial and when attempting to create a copy rule I have noticed that some of my variables return the following error:
    Exception - Problem building schema
    expanded error:
    Exception: Server returned HTTP response code: 503 for URL: http://MYID.MYDOMAIN.com:80/orabpel/default/CreditRatingService/CreditRatingService?wsdl
    I can access the WSDL directly and it is visible in my Bpel console window too, yet JDeveloper seems to be having trouble with it. I have setup an integration server connection to the BPEL server and from there, when I attempt to validate WSDL I don't get any problems.
    I was wondering if anyone could help as this has got me stuck and I can't continue any further.
    Edited by: Saheem on Jun 8, 2009 3:33 PM

    Disable the proxy settings in JDeveloper.
    Marc

  • Exception:Problem building schema

    Hi all,
    I want to make a web service call to a service deployed in weblogic, I copied the wsdl to a local file and I created a PartnerLink referring to the wsdl in my local file. I put an Invoke action, create an input variable, everything work fine. However when I try to explore the input variable I got exception:Problem building schema.
    Is there anything wrong with the WSDL? I've validate it and it was ok.
    Thanks in advance,
    santoso
    Here is the WSDL of the service:
    <?xml version='1.0' encoding='UTF-8'?>
    <definitions name="ProposalWSServiceDefinitions" targetNamespace="http://com/my/ws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.my.com/opl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.my.com/opl">
    <complexType name="Proposal">
    <sequence>
    <element name="id" type="int"/>
    <element name="title" type="string"/>
    <element name="creator" type="string"/>
    <element name="status" type="string"/>
    <element name="customerId" type="int"/>
    </sequence>
    </complexType>
    <element name="ProposalData" type="tns:Proposal"/>
    </schema>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://com/my/ws" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="insertProposal">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="proposal" type="opl:Proposal" xmlns:opl="http://www.my.com/opl"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </types>
    <message name="insertProposal">
    <part element="s0:insertProposal" name="parameters"/>
    </message>
    <portType name="ProposalWS">
    <operation name="insertProposal" parameterOrder="parameters">
    <input message="s0:insertProposal"/>
    </operation>
    </portType>
    <binding name="ProposalWSServiceSoapBinding" type="s0:ProposalWS">
    <s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="insertProposal">
    <s1:operation soapAction="" style="document"/>
    <input>
    <s1:body parts="parameters" use="literal"/>
    </input>
    </operation>
    </binding>
    <service name="ProposalWSService">
    <port binding="s0:ProposalWSServiceSoapBinding" name="ProposalWSSoapPort">
    <s1:address location="http://172.16.208.45:7001/SBSWebService/ProposalWS"/>
    </port>
    </service>
    </definitions>

    I've solved it just by upgrading to BPEL 10.1.3.1 (was 10.1.2.0)

Maybe you are looking for