BPEL Compilation Error - JoJo

I am looking for is trying to figure out what am I doing wrong for this compile time error message to appear when I try to deploy the BPEL service. The BPEL diagram indicates no errors.
Error:
[Error ORABPEL-10902]: compilation failed
[Description]: in "bpel.xml", XML parsing failed because "undefined part element.
In WSDL at "file:/C:/BPELTest/AddInts/bpel/AdderSvc.wsdl", message part element "{http://tempuri.org/}AddResponse" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL import is complete.
[Potential fix]: n/a.
BPEL Scenario
The scenario is very, very simple.
I have a web service running on my local laptop (front-ended by the IIS app server). It adds two integer numbers and returns the value synchronously, and its WSDL is AdderSvc.wsdl (the same one listed in the error message). The BPEL process is merely kicked off by the "initiate" operation when using the BPEL Control as the client. "Initiate" takes two integer values to be added as inputs, and these two have the message types that map to the same message type that the AdderSvc is using. The BPEL process invokes the AdderSvc, and then invokes the callback to the client (BPEL Control). Very, Very simple stuff.
All my variables, seem in order, but I continue to get the above error message when I try to compile and deploy.
I am using a local copy of the AdderSvc.wsdl created by cutting and copying from the auto generated WSDL by IIS app server. I did this so that I could manually insert the "partnerLink" definitions into the AdderSvc WSDL as the auto generated WSDL does not describe this. The version of JDeveloper I am using is "Studio Edition Version 10.1.3.1.0.3960".
The contents of AdderSvc.WSDL file that the compiler is complaining about is below:
<?xml version="1.0" encoding="utf-8" ?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="Add">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="x" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="y" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="AddResult" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="AddSoapIn">
<wsdl:part name="parameters" element="tns:Add"/>
</wsdl:message>
<wsdl:message name="AddSoapOut">
<wsdl:part name="parameters" element="tns:AddResponse"/>
</wsdl:message>
<wsdl:portType name="CalcWSSoap">
<wsdl:operation name="Add">
<wsdl:input message="tns:AddSoapIn"/>
<wsdl:output message="tns:AddSoapOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CalcWSSoap" type="tns:CalcWSSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="Add">
<soap:operation soapAction="http://tempuri.org/Add" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CalcWS">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
<wsdl:port name="CalcWSSoap" binding="tns:CalcWSSoap">
<soap:address location="http://localhost/CalcWS/CalcWSnew.asmx" />
</wsdl:port>
</wsdl:service>
<plnk:partnerLinkType name="Add">
<plnk:role name="AddProvider">
<plnk:portType name="tns:CalcWSSoap"/>
</plnk:role>
</plnk:partnerLinkType>
</wsdl:definitions>

Please ignore this problem as the data presented is not accurate.

Similar Messages

  • BPEL Compilation Error: Load of wsdl "with Message part element undefined..

    Hi Friends,
    I am getting following error while compiling my BPEL process:
    Error: Load of wsdl "FTPWrite.wsdl with Message part element undefined in wsdl [file:/D:/MyData/_MyProjects/052_Amazon_MetadataInterface/001_SVN/002_Intl/trunc/MetadataInterfaceIntl_2013Apr15_WorkingCode/MetadataInterface_Intl/MetadataInterface_Intl.wsdl] part name = reply     type = {http://com.fox.metadata/MetadataInterfaceIntl/MetadataInterface_Intl/types}processResponse" failed
    However the reply message is already defined in the MetadataInterface_Intl.wsdlas shown below:
    Code for MetadataInterface_Intl.wsdl::::
    "<?xml version= '1.0' encoding= 'UTF-8' ?>
    <wsdl:definitions
    name="MetadataInterface_Intl"
    targetNamespace="http://xmlns.oracle.com/MetadataInterfaceIntl/MetadataInterface_Intl/MetadataInterface_Intl"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:inp1="http://com.fox.metadata/MetadataInterfaceIntl/MetadataInterface_Intl/types"
    xmlns:tns="http://xmlns.oracle.com/MetadataInterfaceIntl/MetadataInterface_Intl/MetadataInterface_Intl"
    >
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://com.fox.metadata/MetadataInterfaceIntl/MetadataInterface_Intl/types" schemaLocation="xsd/Metadata_Interface.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="requestMessage">
    <wsdl:part name="request" element="inp1:process"/>
    </wsdl:message>
    *<wsdl:message name="replyMessage">*
    *<wsdl:part name="reply" element="inp1:processResponse"/>*
    *</wsdl:message>*
    <wsdl:portType name="execute_ptt">
    <wsdl:operation name="execute">
    <wsdl:input message="tns:requestMessage"/>
    <wsdl:output message="tns:replyMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>"
    Surprisingly, this same code was compiling file last week and now I have no clue why I am getting this error. Can someone please shade some light on this issue?
    Thanks,
    Sachin.

    Hello
    I have had the same problem in Oracle BPM and solved it using the following steps:
    1- In your application navigator window, expand the project that contains the business rule.
    2- In the SOA Content, double click on your wsdl file.
    3- When the file opens, select the schema view from the bottom of the page.
    4- In the schema view, expand all the schema nodes and check if you see any values in red. If you see one, that value has probably caused the error and you should correct it using the property inspector window.
    In my case, the schema location value was set to a wrong path, so I changed it and the error resolved.
    Also, some error that appear as warning in the rule editor will show as compile error later, such as input types not being used and such, so those must be resolved before compiling.
    Hope that was helpful
    good luck

  • BPEL Compiler Error

    I am trying to create synchronus BPEL Process .I am getting the input from a routing BPEL and then after transforming the incoming xml i am giving it back to the routing BPEL .
    But i am getting a compiler error saying that the variable defined with a particular xsd is not defined.
    Error :-
    Project: D:\oraclBPM\integration\jdev\jdev\mywork\testing\RRToOAG\RRToOAG.jpr
    D:\oraclBPM\integration\jdev\jdev\mywork\testing\RRToOAG\RRToOAG.bpel
    Error(30): [Error ORABPEL-10010]: unresolved element [Description]: in line 30 of "D:\oraclBPM\integration\jdev\jdev\mywork\testing\RRToOAG\RRToOAG.bpel", XML element "{http://www.openapplications.org/oagis/9}ProcessReceiveDelivery" of variable "Transform_Output" is not defined. [Potential fix]: Make sure the XML element "{http://www.openapplications.org/oagis/9}ProcessReceiveDelivery" is defined in one of WSDLs that are referenced by the deployment descriptor.
    I am not understanding this.
    This is my BPEL file :
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Mon Nov 05 13:58:09 IST 2007
    // Author: m1004429
    // Purpose: Synchronous BPEL Process
    -->
    <process name="RRToOAG"
    targetNamespace="http://xmlns.oracle.com/RRToOAG"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ccf="http://clickcommerce.com/integration/xpathfunctions"
    xmlns:ns4="http://clickcommerce.com/RoutingBpel" xmlns:ns1="http://www.w3.org/2001/XMLSchema" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:ns3="http://www.openapplications.org/oagis/9" xmlns:ns2="http://clickcommerce.com/rrXML" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/RRToOAG" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="routingBPEL" partnerLinkType="ns4:RoutingBpel" myRole="RoutingBpelRequester" partnerRole="RoutingBpelProvider"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation --><!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="SimpleVariable" type="ns1:string"/>
    <variable name="Transform_Input" element="ns2:rrXML"/>
    <variable name="Transform_Output" element="ns3:ProcessReceiveDelivery"/>
    <variable name="receiveInput_onResult_InputVariable" messageType="ns4:RoutingBpelRequestMessage"/>
    <variable name="replyOutput_onResult_OutputVariable" messageType="ns4:RoutingBpelResponseMessage"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in RRToOAG.wsdl
    -->
    <receive name="receiveInput" partnerLink="routingBPEL" portType="ns4:RoutingBpelCallback" operation="onResult" variable="receiveInput_onResult_InputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
    <assign name="Assign_Input">
    <copy>
    <from variable="receiveInput_onResult_InputVariable" part="payload"/>
    <to variable="SimpleVariable"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('SimpleVariable')"/>
    <to variable="SimpleVariable"/>
    </copy>
    <copy>
    <from expression="ora:parseEscapedXML(bpws:getVariableData('Transform_Input'))"/>
    <to variable="Transform_Input"/>
    </copy>
    </assign>
    <assign name="Strip_Empty_Elements">
    <copy>
    <from expression="ccf:strip(bpws:getVariableData('Transform_Input'))"/>
    <to variable="Transform_Input"/>
    </copy>
    </assign>
    <assign name="TransformRRToOAG">
    <copy>
    <from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('Transform_Input'))"/>
    <to variable="Transform_Output"/>
    </copy>
    <bpelx:annotation>
    <bpelx:pattern>transformation
    </bpelx:pattern>
    </bpelx:annotation>
    </assign>
    <assign name="AssignOutput">
    <copy>
    <from expression="ora:getContentAsString(bpws:getVariableData('Transform_Output','/ns3:ProcessReceiveDelivery'))"/>
    <to variable="replyOutput_onResult_OutputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="routingBPEL" portType="ns4:RoutingBpelCallback" operation="onResult" variable="replyOutput_onResult_OutputVariable"/>
    </sequence>
    </process>
    And this is my WSDL file :
    <definitions
    name="RRToOAG"
    targetNamespace="http://xmlns.oracle.com/RRToOAG"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns1="http://clickcommerce.com/rrXML"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns2="http://www.openapplications.org/oagis/9"
    xmlns:client="http://xmlns.oracle.com/RRToOAG"
    >
    <types>
    <schema attributeFormDefault="qualified"
    elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/RRToOAG"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:ns1="http://clickcommerce.com/rrXML"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns2="http://www.openapplications.org/oagis/9"
    xmlns:client="http://xmlns.oracle.com/RRToOAG">
    <element name="RRToOAGProcessRequest">
    <complexType>
    <sequence>
    <element name="input" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="RRToOAGProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns1="http://clickcommerce.com/rrXML"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns2="http://www.openapplications.org/oagis/9"
    xmlns:client="http://xmlns.oracle.com/RRToOAG">
    <xsd:import namespace="http://clickcommerce.com/rrXML"
    schemaLocation="http://localhost/orabpel/xmllib/xsd/RRXML/rrXML.xsd"/>
    </xsd:schema>
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns1="http://clickcommerce.com/rrXML"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns2="http://www.openapplications.org/oagis/9"
    xmlns:client="http://xmlns.oracle.com/RRToOAG">
    <xsd:import namespace="http://www.openapplications.org/oagis/9"
    schemaLocation="http://localhost/orabpel/xmllib/xsd/OAGIS/BODs/Standalone/ProcessReceiveDelivery.xsd"/>
    </xsd:schema>
    </types>
    <message name="RRToOAGResponseMessage">
    <part name="payload" element="client:RRToOAGProcessResponse"/>
    </message>
    <message name="RRToOAGRequestMessage">
    <part name="payload" element="client:RRToOAGProcessRequest"/>
    </message>
    <portType name="RRToOAG">
    <operation name="process">
    <input message="client:RRToOAGRequestMessage"/>
    <output message="client:RRToOAGResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="RRToOAG">
    <plnk:role name="RRToOAGProvider">
    <plnk:portType name="client:RRToOAG"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    Has anyone of you encountered this error before ? If so, kindly let me know what solution you deployed to get rid of this error ?

    I guess you have the openApplication XSD in a seperate XSD?
    If so you have to include the XSD in your WSDL of the process. You can only use schemas you included in the WSDL of your process.
    Rgds,
    Martin

  • BPEL Compilation Error - Take 2 - JoJo

    I am looking for is trying to figure out what am I doing wrong for this compile time error message to appear when I try to deploy the BPEL service. The BPEL diagram indicates no errors.
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined WSDL message.
    Message "{http://tempuri.org/}AddSoapOut" is not defined in WSDL at "file:/C:/BPELTest/AddInts/bpel/AddInts.wsdl".
    Please make sure the spelling of the message name is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    BPEL Scenario
    The scenario is very, very simple.
    I have a web service running on my local laptop (front-ended by the IIS app server). It adds two integer numbers and returns the value synchronously, and its WSDL is AdderSvc.wsdl (the same one listed in the error message). The BPEL process is merely kicked off by the "initiate" operation when using the BPEL Control as the client. "Initiate" takes two integer values to be added as inputs, and these two have the message types that map to the same message type that the AdderSvc is using. The BPEL process invokes the AdderSvc, and then invokes the callback to the client (BPEL Control). Very, Very simple stuff.
    I am using a local copy of the AdderSvc.wsdl created by cutting and copying from the auto generated WSDL by IIS app server. I did this so that I could manually insert the "partnerLink" definitions into the AdderSvc WSDL as the auto generated WSDL does not describe this. The version of JDeveloper I am using is "Studio Edition Version 10.1.3.1.0.3960".
    All my variables, seem in order, but I continue to get the above error message when I try to compile and deploy. Attached are the .bpel and .wsdl files.
    Any suggestions will be geratly appreciated
    AddInts.bpel file
    <process name="AddInts" targetNamespace="http://xmlns.oracle.com/AddInts"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns1="http://tempuri.org/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/AddInts"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:AddInts"
    myRole="AddIntsProvider" partnerRole="AddIntsRequester"/>
    <partnerLink name="AdderSvc" partnerRole="AddProvider"
    partnerLinkType="ns1:Add"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- -->
    <!-- Reference to the message passed as input during initiation -->
    <variable name="Invoke_1_Add_InputVariable"
    messageType="ns1:AddSoapIn"/>
    <variable name="Invoke_1_Add_OutputVariable"
    messageType="ns1:AddSoapOut"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in AddInts.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:AddInts" operation="initiate"
    variable="Invoke_1_Add_InputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <invoke name="Invoke_1" partnerLink="AdderSvc" portType="ns1:CalcWSSoap"
    operation="Add" inputVariable="Invoke_1_Add_InputVariable"
    outputVariable="Invoke_1_Add_OutputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:AddIntsCallback" operation="onResult"
    inputVariable="Invoke_1_Add_OutputVariable"/>
    </sequence>
    </process>
    AddInts.wsdl file
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="AddInts"
    targetNamespace="http://xmlns.oracle.com/AddInts"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/AddInts"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:nsl="http://tempuri.org/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and use them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://xmlns.oracle.com/AddInts" schemaLocation="AddInts.xsd" />
              </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://tempuri.org/" schemaLocation="AdderSvc.xsd" />
              </schema>
    </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="AddIntsRequestMessage">
              <part name="payload" element="client:AddIntsProcessRequest"/>
         </message>
         <message name="AddIntsResponseMessage">
              <part name="payload" element="client:AddIntsProcessResponse"/>
         </message>
    <!--
    -->
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the AddInts BPEL process -->
         <portType name="AddInts">
              <operation name="initiate">
                   <!-- <input message="client:AddIntsRequestMessage"/> -->
                   <input message="nsl:AddSoapIn"/>
              </operation>
         </portType>
         <!-- portType implemented by the requester of AddInts BPEL process
         for asynchronous callback purposes
         -->
         <portType name="AddIntsCallback">
              <operation name="onResult">
                   <!-- <input message="client:AddIntsResponseMessage"/> -->
                   <input message="nsl:AddSoapOut"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         the AddInts partnerLinkType binds the provider and
         requester portType into an asynchronous conversation.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="AddInts">
              <plnk:role name="AddIntsProvider">
                   <plnk:portType name="client:AddInts"/>
              </plnk:role>
              <plnk:role name="AddIntsRequester">
                   <plnk:portType name="client:AddIntsCallback"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    AdderSvc.wsdl file
    <?xml version="1.0" encoding="utf-8" ?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:tns="http://tempuri.org/"
    xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    targetNamespace="http://tempuri.org/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    <s:element name="Add">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="x" type="s:int" />
    <s:element minOccurs="1" maxOccurs="1" name="y" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="AddResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="AddResult" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    <!--
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://tempuri.org/" schemaLocation="AdderSvc.xsd" />
    </schema>
    -->
    </wsdl:types>
    <wsdl:message name="AddSoapIn">
    <wsdl:part name="parameters" element="tns:Add"/>
    </wsdl:message>
    <wsdl:message name="AddSoapOut">
    <wsdl:part name="parameters" element="tns:AddResponse"/>
    </wsdl:message>
    <wsdl:portType name="CalcWSSoap">
    <wsdl:operation name="Add">
    <wsdl:input message="tns:AddSoapIn"/>
    <wsdl:output message="tns:AddSoapOut"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="CalcWSSoap" type="tns:CalcWSSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <wsdl:operation name="Add">
    <soap:operation soapAction="http://tempuri.org/Add" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="CalcWS">
    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
    <wsdl:port name="CalcWSSoap" binding="tns:CalcWSSoap">
    <soap:address location="http://localhost/CalcWS/CalcWSnew.asmx" />
    </wsdl:port>
    </wsdl:service>
    <plnk:partnerLinkType name="Add">
    <plnk:role name="AddProvider">
    <plnk:portType name="tns:CalcWSSoap"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>

    This problem has been resolved. The primary problem was due to the fact that I was trying to pass variables to the service provider without doing an appropriate assign function. Once the assignment was done the compilation and deployment were successful.
    For more information on how to make synchronous BPEL calls to external Web Services, refer to the sample titled 104.SyncQuoteConsumer and read the document in the BPEL help section titled "Invoking Synchronuos Web Service".

  • Simple Sync BPEL Compilation Error

    I have been able to build and compile some simple sync and async bpel processes. Now I am running into the following error, which I have no idea where it is coming from. I doublechecked all my bpel and wsdl code and there is nothing out of the ordinary. Search on this error resulted in nothing.
    Error: Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is:
    "Unable to write to stream: Could not find prefix for namespace: java.io.IOException: Could not find prefix for namespace
         at oracle.j2ee.ws.wsdl.extensions.ParseUtils.getAttValFromQName(ParseUtils.java:77)
         at oracle.j2ee.ws.wsdl.extensions.soap.SOAPHeaderSerializer.marshall(SOAPHeaderSerializer.java:46)
         at oracle.j2ee.ws.wsdl.extensions.ParseUtils.writeExtensibilityElements(ParseUtils.java:128)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBindingOperation(WSDLWriterImpl.java:373)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBinding(WSDLWriterImpl.java:323)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:197)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:93)
         at com.collaxa.cube.lang.compiler.template.WSDLGenerator.writeWSDL(WSDLGenerator.java:285)
         at com.collaxa.cube.lang.compiler.template.WSDLGenerator.generate(WSDLGenerator.java:311)
         at com.collaxa.cube.lang.compiler.CubeProcessor.generateOutput(CubeProcessor.java:814)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:563)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:457)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
         at oracle.tip.tools.ide.pm.util.CollaxaCompiler.compile(CollaxaCompiler.java:164)
         at oracle.tip.tools.ide.pm.util.BPELCompiler$2.run(BPELCompiler.java:529)
         at java.lang.Thread.run(Thread.java:595)
         at oracle.j2ee.ws.wsdl.extensions.soap.SOAPHeaderSerializer.marshall(SOAPHeaderSerializer.java:65)
         at oracle.j2ee.ws.wsdl.extensions.ParseUtils.writeExtensibilityElements(ParseUtils.java:128)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBindingOperation(WSDLWriterImpl.java:373)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBinding(WSDLWriterImpl.java:323)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:197)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:93)
         at com.collaxa.cube.lang.compiler.template.WSDLGenerator.writeWSDL(WSDLGenerator.java:285)
         at com.collaxa.cube.lang.compiler.template.WSDLGenerator.generate(WSDLGenerator.java:311)
         at com.collaxa.cube.lang.compiler.CubeProcessor.generateOutput(CubeProcessor.java:814)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:563)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:457)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
         at oracle.tip.tools.ide.pm.util.CollaxaCompiler.compile(CollaxaCompiler.java:164)
         at oracle.tip.tools.ide.pm.util.BPELCompiler$2.run(BPELCompiler.java:529)
         at java.lang.Thread.run(Thread.java:595)
    Exception: Unable to write to stream: Could not find prefix for namespace: java.io.IOException: Could not find prefix for namespace
         at oracle.j2ee.ws.wsdl.extensions.ParseUtils.getAttValFromQName(ParseUtils.java:77)
         at oracle.j2ee.ws.wsdl.extensions.soap.SOAPHeaderSerializer.marshall(SOAPHeaderSerializer.java:46)
         at oracle.j2ee.ws.wsdl.extensions.ParseUtils.writeExtensibilityElements(ParseUtils.java:128)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBindingOperation(WSDLWriterImpl.java:373)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBinding(WSDLWriterImpl.java:323)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:197)
         at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:93)
         at com.collaxa.cube.lang.compiler.template.WSDLGenerator.writeWSDL(WSDLGenerator.java:285)
         at com.collaxa.cube.lang.compiler.template.WSDLGenerator.generate(WSDLGenerator.java:311)
         at com.collaxa.cube.lang.compiler.CubeProcessor.generateOutput(CubeProcessor.java:814)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:563)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:457)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
         at oracle.tip.tools.ide.pm.util.CollaxaCompiler.compile(CollaxaCompiler.java:164)
         at oracle.tip.tools.ide.pm.util.BPELCompiler$2.run(BPELCompiler.java:529)
         at java.lang.Thread.run(Thread.java:595)
    Handled As: com.collaxa.cube.lang.compiler.CubeCException

    Ughh!! Problem solved. Damn namespaces!

  • Getting Internal compilation error In BPEL

    Hi,
    We have createa a bpel process using flow.
    WHile compiling we are facing the below error. Can any one help on this.
    Error: Internal compiler error.
    An internal error has occurred while attempting to process the BPEL process file "<BPELProj>\bpel\SendMailSHEReqABCSImpl.bpel"; the exception is: java.lang.NullPointerException
    Thanks
    Phanindra

    In the log Messages i could see the validation succesfully done. but the compilation is getting failed.
    Log message:-
    Loading Process:file:/C:/AIA BGC/DevWorkspace/SendMailSHEReqABCSImpl/bpel/SendMailSHEReqABCSImpl.bpel...
    Validating Process...
    Done validating.

  • JDeveloper Compiler Error during BPEL flow deployment

    Hi,
    Has anyone encountered the following during BPEL deployment? I am using JDeveloper 10.1.3.4. I was able to deploy last week without any problems.
    Compiling...
    Compiling D:\Datos\Jazztel\Cancelador\bpel\Cancelador.bpel
    [BPEL Compiler] Initializing compiler for first time use...
    BPEL suitcase generated in: D:\Datos\Jazztel\Cancelador\output\bpel_Cancelador_2.6.6.jar
    D:\Datos\jdevstudio10134\jdk\jre\bin\java.exe -jar D:\Datos\jdevstudio10134\jdev\lib\ojc.jar -source 1.5 -target 1.5 -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -nowarn:560 -nowarn:704 -nowarn:489 -nowarn:415 -nowarn:909 -nowarn:412 -nowarn:414 -nowarn:561 -nowarn:376 -nowarn:371 -nowarn:558 -nowarn:375 -nowarn:413 -nowarn:377 -nowarn:372 -nowarn:557 -nowarn:556 -nowarn:559 -encoding Cp1252 -g -d D:\Datos\Jazztel\Cancelador\output -make D:\Datos\Jazztel\Cancelador\output\Cancelador.cdi -classpath D:\Datos\jdevstudio10134\jdk\jre\lib\rt.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\i18n.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\sunrsasign.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jsse.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jce.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\charsets.jar;D:\Datos\jdevstudio10134\jdk\jre\classes;D:\Datos\Jazztel\Cancelador\output;D:\Datos\jdevstudio10134\toplink\jlib\toplink.jar;D:\Datos\jdevstudio10134\toplink\jlib\toplink-oc4j.jar;D:\Datos\jdevstudio10134\toplink\jlib\antlr.jar;D:\Datos\jdevstudio10134\lib\xmlparserv2.jar;D:\Datos\jdevstudio10134\lib\xml.jar -sourcepath D:\Datos\Jazztel\Cancelador\src;D:\Datos\jdevstudio10134\jdk\src.zip;D:\Datos\jdevstudio10134\toplink\jlib\toplink-src.zip D:\Datos\Jazztel\Cancelador\src\ConsultaInstanciasCS\Customerservicecrmkpn.java D:\Datos\Jazztel\Cancelador\src\CustomerServices\Customerservicesconstantes.java D:\Datos\Jazztel\Cancelador\src\DBCONSTANTES\Constantes.java D:\Datos\Jazztel\Cancelador\src\DBCONSULTAHISTORICO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBERRORESSISTEMA\Erroressistemasacciones.java D:\Datos\Jazztel\Cancelador\src\DBETAPAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBINSERTARINCIDENCIA\Incidencias.java D:\Datos\Jazztel\Cancelador\src\DBINSERTETAPASCOMPLETADAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBINSERTHISTORICO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBINSERTORDERPROGRESS\Ordersprogress.java D:\Datos\Jazztel\Cancelador\src\DBNOTIFICACIONESASINCRONAS\NotifRedAsincronas.java D:\Datos\Jazztel\Cancelador\src\DBORDENESCRM\OrdenesCrm.java D:\Datos\Jazztel\Cancelador\src\DBORDENESMNP\OrdenesMnp.java D:\Datos\Jazztel\Cancelador\src\DBORDENESRED\OrdenesRed.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Pedidos.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAADDONS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\Historico.java
    Error: compiler internal error
    *** OJC internal error log written to file C:\DOCUME~1\anipatel\CONFIG~1\Temp\ojcInternalError.log
    [10:45:12] Compilation complete: 1 errors, 156 warnings.
    The log file mentioned contains the following:
    OJC internal error log:
    Compiler version: 10.1.3
    Build number: 4270
    Source files:
         D:\Datos\Jazztel\Cancelador\src\ConsultaInstanciasCS\Customerservicecrmkpn.java
         D:\Datos\Jazztel\Cancelador\src\CustomerServices\Customerservicesconstantes.java
         D:\Datos\Jazztel\Cancelador\src\DBCONSTANTES\Constantes.java
         D:\Datos\Jazztel\Cancelador\src\DBCONSULTAHISTORICO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBERRORESSISTEMA\Erroressistemasacciones.java
         D:\Datos\Jazztel\Cancelador\src\DBETAPAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTARINCIDENCIA\Incidencias.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTETAPASCOMPLETADAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTHISTORICO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTORDERPROGRESS\Ordersprogress.java
         D:\Datos\Jazztel\Cancelador\src\DBNOTIFICACIONESASINCRONAS\NotifRedAsincronas.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESCRM\OrdenesCrm.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESMNP\OrdenesMnp.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESRED\OrdenesRed.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Pedidos.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAADDONS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\Historico.java
    Options:
         source: 150
         target: 150
         classpath: D:\Datos\jdevstudio10134\jdk\jre\lib\ext\sunjce_provider.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\sunpkcs11.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\localedata.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\dnsns.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\rt.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\i18n.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\sunrsasign.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jsse.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jce.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\charsets.jar;D:\Datos\jdevstudio10134\jdk\jre\classes;D:\Datos\Jazztel\Cancelador\output;D:\Datos\jdevstudio10134\toplink\jlib\toplink.jar;D:\Datos\jdevstudio10134\toplink\jlib\toplink-oc4j.jar;D:\Datos\jdevstudio10134\toplink\jlib\antlr.jar;D:\Datos\jdevstudio10134\lib\xmlparserv2.jar;D:\Datos\jdevstudio10134\lib\xml.jar
         sourcepath: D:\Datos\Jazztel\Cancelador\srcD:\Datos\jdevstudio10134\jdk\src.zipD:\Datos\jdevstudio10134\toplink\jlib\toplink-src.zip
         encoding: Cp1252
         excluded cls:
         rebuild: false
         noCodeGen: false
         lineNumbers: true
         sourceFile: true
         localVars: true
         codecoach: true
         omitAsserts: false
    Parser:
         errorFound: false
    java.lang.ArrayIndexOutOfBoundsException: 110
         at oracle.ojc.compiler.DepInfo.readInt(DepInfo.java:521)
         at oracle.ojc.compiler.DepInfo.readName(DepInfo.java:541)
         at oracle.ojc.compiler.DepInfo.read(DepInfo.java:578)
         at oracle.ojc.compiler.DepInfo.analyzeSources(DepInfo.java:279)
         at oracle.ojc.compiler.Compiler.main_internal(Compiler.java:1088)
         at oracle.ojc.compiler.Compiler.main_throws_exceptions(Compiler.java:816)
         at oracle.ojc.compiler.Compiler.main(Compiler.java:836)
         at oracle.jdeveloper.compiler.Ojc.translate(Ojc.java:1541)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:300)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:516)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:609)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:666)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:894)

    Just an update to this...
    I copied the BPEL flow project to our Linux server, where I was successfully able to compile and deploy the flow using devprompt and Ant. So, the problem is with JDev on my PC, but I'm not sure why though.
    I have rebooted my PC, shutdown any unnecessary apps, and the problem continues. Will see if the problem exists with other flows.
    Anit

  • Compile errors using bpelx:append

    I'm getting compile errors from one particular bpelx:append. I have others earlier in the bpel code, and they seem to be passing the check.
    <bpelx:append>
    <from variable="set-panel-member" query="/client:set-panel-member"/>
    <to variable="setPanel_setPanel_InputVariable" part="setPanelRequest" query="/setPanelRequest/panel/panel-member"/>
    </bpelx:append>
    Produces:
    Error(437):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 437 of "D:\BPEL_SANITARIUM\BPELPM\integration\jdev\jdev\mywork\Workspace\identifyPanelMembers\identifyPanelMembers.bpel", XML parsing failed because Invalid content starting with element "bpelx:append".
    [Potential fix]: Fix the invalid XML.
    <assign name="appendTheRest">
    <bpelx:append>
    <from variable="set-panel-member" query="/client:set-panel-member"/>
    <to variable="setPanel_setPanel_InputVariable" part="setPanelRequest" query="/setPanelRequest/panel/panel-member"/>
    </bpelx:append>
    </assign>
    Produces:
    Error(436):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 436 of "D:\BPEL_SANITARIUM\BPELPM\integration\jdev\jdev\mywork\Workspace\identifyPanelMembers\identifyPanelMembers.bpel", XML parsing failed because Invalid content starting with element "assign".
    [Potential fix]: Fix the invalid XML.
    The code is contained within a Switch block:
    <switch name="Switch_4">
    <case condition="bpws:getVariableData('index') = 1">
    <bpelx:annotation>
    <bpelx:pattern>First time only
    </bpelx:pattern>
    </bpelx:annotation>
    <assign name="setFirstPanelMember">
    <copy>
    <from variable="set-panel-member" query="/client:set-panel-member"/>
    <to variable="setPanel_setPanel_InputVariable" part="setPanelRequest" query="/setPanelRequest/panel/panel-member"/>
    </copy>
    </assign>
    </case>
    <otherwise>
    <empty name="append.the.rest"/>
    <assign name="appendTheRest">
    <bpelx:append>
    <from variable="set-panel-member" query="/client:set-panel-member"/>
    <to variable="setPanel_setPanel_InputVariable" part="setPanelRequest" query="/setPanelRequest/panel/panel-member"/>
    </bpelx:append>
    </assign>
    </otherwise>
    </switch>
    Any ideas?

    We are also receiving the same error. Our process was built for a client in 10.1.2.0.2 and the GUI interface never really liked the bpelx:append statement - it always showed up as an alert/error. But it worked on 10.1.2.0.2
    Now that the client is upgrading to 10.1.3, it won't actually compile.
    Anyone know of a solution?

  • Compilation error:  Failed to read wsdl

    Dear Experts,
    I am getting issue during deployment of BPEL process. I have created a BPEL process with schema named TD_Init.xsd and I get deployed. Later I have changed my xsd content in the sense I have added some more elements on the same xsd and update my process. getting compilation error as
    Error: [Error ORABPEL-10903]: failed to read wsdl
    [Description]: in "bpel.xml", Global element declaration/definition of name '{http://www.example.org}ProcessRequestElement' are duplicated at the following locations:
    file:/F:/JDeveloper/jdev/mywork/TDRequest/TDIntegration/bpel/TD_Init.xsd [line#: 14]
    http://eway:8889/orabpel/default/RecommendProcess/TD_Init.xsd [line#: 14]
    http://eway:8889/orabpel/default/AdvanceIssue/TD_Init.xsd [line#: 14]
    There are at least two of them looking different:
    file:/F:/JDeveloper/jdev/mywork/TDRequest/TDIntegration/bpel/TD_Init.xsd [difference starting at line#:23]
    http://eway:8889/orabpel/default/RecommendProcess/TD_Init.xsd [difference starting at line#:23]
    [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).

    Hi Rajesh,
    Thanks. You are having this issue because you are referencing the same xsd at a time with more than one process. Ensure that you reference the schema with its logical reference and use it within you local project directly. Even, if that does not work, then make it global and so all processes can use it .
    Example :
    You need to copy all your schemas into <ORACLE_SOA_HOME>/bpel/system/xmllib folder and access them using the following URL:
    http://<HOST NAME>:<PORT>/orabpel/xmllib/<XSD_PATH>
    For Example:
    http://localhost:7777/orabpel/xmllib/myxsd.xsd
    Regards
    A

  • Compiler error - Error:null

    I am attempting to create a process that invokes an external web service. Nothing fancy, just take input to the process assign it, transform it to the format the web service needs, invoke the web service, assign the response, and reply to the calling process.
    When I attempt to compile the process I get a compiler error of "Error:null" If I double click the error it shows me the bpel source and highlights the firs line (comment automatically added by JDeveloper).
    Any direction or information would be greatly appreciated.
    Thanks,
    Greg

    Okay, here is the output (at least the end of it):
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema [bpe
    lc] java.lang.StackOverflowError
    <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    BUILD FAILED
    C:\ORABPE~1\INTEGR~1\JDEV\JDEV\MYWORK\OMSINT~1\OMSCRE~2\build.xml:25: java.lang.
    StackOverflowError
    Total time: 4 seconds
    C:\ORABPE~1\INTEGR~1\JDEV\JDEV\MYWORK\OMSINT~1\OMSCRE~2>ENDLOCAL
    C:\ORABPE~1\INTEGR~1\JDEV\JDEV\MYWORK\OMSINT~1\OMSCRE~2>

  • Got compilation error about 'create instance activity' using file adapter

    Hi,
    I am creating a very simple bpel process using file adapter. in my 'Receive' activity, I selected 'create instance' , as the tutorial says.
    I got this compilation error during deploying.
    'Error(31): [Error ORABPEL-10051]: multiple create instance activity [Description]: in line 31 of "D:\OraBPELPM_1\integration\jdev\jdev\mywork\BPELPractices\FileAdapterTest2\FileAdapterTest2.bpel", Conflicting createInstacne="yes". Instance is already created by another activity. [Potential fix]: Remove createInstance="yes" attribute from this activity. '
    Several people had the same problem in my team. I wonder if this is a common issue. how to fix it?
    Thanks,
    Kate

    You must be having another receive/pick activity within the same process that has "createInstance" set to yes.
    Thats why its complaining.

  • View Compilation Errors in Embedded Java Activity

    Hi,
    Is there any way to see the compilation errors in the Embedded Java Activity in the BPEL.
    Thanks,
    Ajay

    Hi,
    Exceptions are automatically converted to BPEL faults and thrown back in BPEL.
    But to see some errors , one can use try catch block with audit trail entry in catch block like :
    try {
    catch (Exception e){
    addAuditTrailEntry(e);
    I have not used this so not sure if this will work.
    HTH,
    Ketan

  • Compilation error while calling static method from another class

    Hi,
    I am new to Java Programming. I have written two class files Dummy1 and Dummy2.java in the same package Test.
    In Dummy1.java I have declared a static final variable and a static method as you can see it below.
    package Test;
    import java.io.*;
    public class Dummy1
    public static final int var1= 10;
    public static int varDisp(int var2)
    return(var1+var2);
    This is program is compiling fine.
    I have called the static method varDisp from the class Dummy2 and it is as follows
    package Test;
    import java.io.*;
    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    and when i compile Dummy2.java, there is a compilation error <identifier > expected.
    Please help me in this program.

    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    }test+=Dummy1.varDisplay(var3);
    must be in a method, it cannot just be out somewhere in the class!

  • Compile Error: "schema 'name' does not exist

    Im trying to build a program that quereys a table in a database but i keep getting this error. Am i missing a link between the files or am i missing a line of code in my program??

    Apologies. I receive a compiler error which reads as follows;
    java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
    java.sql.SQLSyntaxErrorException: Schema 'DEMO' does not exist
    Heres the main body of code i am trying to execute.
    public class Main {
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    try{
    Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
    }catch(ClassNotFoundException e){
    System.out.println(e);
    try{
    Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/SimpleDBDemo", "demo", "demo");
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM DEMO.Table1");
    while (rs.next()) {
    String s = rs.getString("Name");
    float n = rs.getFloat("Age");
    System.out.println(s + " " + n);
    }catch(SQLException e){
    System.err.println(e);
    I am using NetBeans IDE and have created a database under: Services->Databases-> Java DB->SimpleDBDemo.
    I have a database connection in which theres a simple table (called "TABLE1") created which contains the names and ages of two people.
    Hope this makes the problem a bit clearer.
    Any help would be greatly appreciated.

  • Experiencing "The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' (are you missing an assembly reference?)" compilation error

    I am just starting to implement a new user login authentication process wherein after prompting user for username & password, I hope to authenticate them againts our company Active Directory user data. Since I am just starting, I only have very few things
    done at this point which is how I wanted to work on this so that my development environment is still at its simplest state.
    I am using the following for development:
    MS-Visual Studios Professional 2013 Version 12.0.30501.00 Update 2, and
    MS .NET Framework Version 4.5.50938.
    Here are my project solution's current items:
    Web.config:
    <?xml version="1.0"?>
    <!--
    For more information on how to configure your ASP.NET application, please visit
    http://go.microsoft.com/fwlink/?LinkId=169433
    -->
    <configuration>
    <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
    </system.web>
    <system.webServer>
    <defaultDocument enabled="true">
    <files>
    <add value="Login.aspx" />
    </files>
    </defaultDocument>
    </system.webServer>
    </configuration>
    Web.Debug.config:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
    <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
    <!--
    In the example below, the "SetAttributes" transform will change the value of
    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
    finds an attribute "name" that has a value of "MyDB".
    <connectionStrings>
    <add name="MyDB"
    connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
    xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
    </connectionStrings>
    -->
    <system.web>
    <compilation xdt:Transform="RemoveAttributes(debug)" />
    <!--
    In the example below, the "Replace" transform will replace the entire
    <customErrors> section of your web.config file.
    Note that because there is only one customErrors section under the
    <system.web> node, there is no need to use the "xdt:Locator" attribute.
    <customErrors defaultRedirect="GenericError.htm"
    mode="RemoteOnly" xdt:Transform="Replace">
    <error statusCode="500" redirect="InternalError.htm"/>
    </customErrors>
    -->
    </system.web>
    </configuration>
    Web.Assemblies.config:
    <?xml version="1.0"?>
    <configuration>
    <system.web>
    <compilation debug="false" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
    <assemblies>
    <add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral PublicKeyToken=b03f5f7f11d50a3a"/>
    </assemblies>
    </system.web>
    </configuration>
    Login.aspx:
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title></title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div id="loginForm" style="height: 562px; width: 399px; margin-left: 0px" title="Login Form">
    &nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="loginPageLabel" runat="server" Font-Bold="True" Font-Names="Arial Black" Font-Size="Large" Text="Please Log In"></asp:Label>
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="loginUsernameLabel" runat="server" Text="Username:"></asp:Label>
    &nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="loginUserNameTextBox" runat="server" OnTextChanged="loginUserNameTextBox_TextChanged" Width="213px" Wrap="False" AutoPostBack="True" TabIndex="1"></asp:TextBox>
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="loginPasswordLabel" runat="server" Text="Password:"></asp:Label>
    &nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="loginPasswordTextBox" runat="server" OnTextChanged="loginPasswordTextBox_TextChanged" Width="212px" Wrap="False" AutoPostBack="True" TabIndex="2"></asp:TextBox>
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:RadioButton ID="loginUAradioButton" runat="server" Font-Bold="True" OnCheckedChanged="loginUAradioButton_CheckedChanged" Text="TUPSS Associate" AutoPostBack="True" TabIndex="3" />
    &nbsp;&nbsp;
    <asp:RadioButton ID="loginAFradioButton" runat="server" Font-Bold="True" OnCheckedChanged="loginAFradioButton_CheckedChanged" Text="Area Franchisee" AutoPostBack="True" TabIndex="4" />
    <br />
    <br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="loginSubmitButton" runat="server" Font-Bold="True" OnClick="loginSubmitButton_Click" Text="Log In" TabIndex="5" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="loginCancelButton" runat="server" Font-Bold="True" OnClick="loginCancelButton_Click" Text="Cancel" TabIndex="6" />
    <br />
    <br />
    &nbsp;&nbsp;
    <asp:Label ID="loginStatusInstructionLabel" runat="server" Text="Status/Instruction:"></asp:Label>
    <br />
    &nbsp;&nbsp;
    <asp:TextBox ID="loginStatusInstructionTextBox" runat="server" Height="230px" MaxLength="100" Rows="12" TextMode="MultiLine" Width="360px" EnableViewState="False" OnTextChanged="loginStatusInstructionTextBox_TextChanged" ReadOnly="True" TabIndex="-1"></asp:TextBox>
    </div>
    </form>
    </body>
    </html>
    Login.aspx.cs:
    using System;
    using System.DirectoryServices;
    public partial class Login : System.Web.UI.Page
    private string uName; // user-entered username
    private string pWord; // user-entered password
    private int loginLoadCycles; // just keeping track of how many times Page_Load is called
    protected void Page_Load(object sender, EventArgs e)
    if (this.loginUserNameTextBox.Text == String.Empty &&
    this.loginPasswordTextBox.Text == String.Empty &&
    this.loginUAradioButton.Checked == false &&
    this.loginAFradioButton.Checked == false)
    this.loginInit();
    this.setLoginVisibilityAndFocus();
    this.loginLoadCycles += 1;
    private void loginInit()
    this.uName = String.Empty;
    this.pWord = String.Empty;
    this.loginLoadCycles = 0;
    private void setLoginVisibilityAndFocus()
    // Decide on whether or not the Login submit & cancel buttons should be enabled or not
    if ( this.loginUserNameTextBox.Text == String.Empty ||
    (this.loginUAradioButton.Checked == false && this.loginAFradioButton.Checked == false) )
    this.loginSubmitButton.Enabled = false;
    this.loginCancelButton.Enabled = false;
    this.loginStatusInstructionTextBox.Text = "Please specify if you are a TUPSS Associate or an Area Franchisee by checking either the 'TUPSS Associate' or 'Area Franchisee' checkbox.";
    else
    this.loginSubmitButton.Enabled = true;
    this.loginCancelButton.Enabled = true;
    if (this.loginPasswordTextBox.Text == String.Empty)
    this.loginStatusInstructionTextBox.Text = "Now that you have entered your username & type, please enter your password.";
    else
    this.loginStatusInstructionTextBox.Text = "When you are ready, please select either the Log In button to login, or the Cancel button to abort.";
    if (this.loginUAradioButton.Checked == false && this.loginAFradioButton.Checked == false)
    this.SetFocus(this.loginUAradioButton);
    else if (this.loginUserNameTextBox.Text == String.Empty)
    this.SetFocus(this.loginUserNameTextBox);
    else if (this.loginPasswordTextBox.Text == String.Empty)
    this.SetFocus(this.loginPasswordTextBox);
    else
    this.SetFocus(this.loginSubmitButton);
    protected void loginUserNameTextBox_TextChanged(object sender, EventArgs e)
    protected void loginPasswordTextBox_TextChanged(object sender, EventArgs e)
    // For some reason, after specifying that the password entry box's textmode to 'Password' setting,
    // the UI's password textbox is emptied
    this.loginStatusInstructionTextBox.Text = "NOTICE:\nThis application is still under development.\n\n" +
    "This is why the password you entered is visible. Once this portion of the application is ready, it will be masked.\n\n" +
    "Also, still need to figure out why when changing this to Password entry mode to mask its entered data, password is getting reset.";
    protected void loginSubmitButton_Click(object sender, EventArgs e)
    this.loginLoadCycles = 0;
    this.uName = this.loginUserNameTextBox.Text;
    this.pWord = this.loginPasswordTextBox.Text;
    if (this.loginUAradioButton.Checked == true && this.loginAFradioButton.Checked == false)
    this.loginLADPauthenticate('U'); // authenticate UPS Associates against UPS Corp's Active Directory
    else if (this.loginUAradioButton.Checked == false && this.loginAFradioButton.Checked == true)
    this.loginLADPauthenticate('A'); // authenticate Area Franchisees against UPS Store's iNet Active Directory
    else
    // set colors to show that this is an error instead of a status message or instruction
    this.loginStatusInstructionTextBox.Text = "ERROR: Cannot log in without specifying if you are an UPS Associate or an Area Franchisee!";
    protected void loginCancelButton_Click(object sender, EventArgs e)
    this.loginStatusInstructionTextBox.Text = "You have selected to cancel from logging in...";
    // Still need to plan what to do when user cancels out of logging in. For now, just initialize class attributes
    this.loginInit();
    protected void loginUAradioButton_CheckedChanged(object sender, EventArgs e)
    String msg = String.Empty;
    if (this.loginUAradioButton.Checked == true)
    this.loginAFradioButton.Checked = false;
    msg = "Thanks for specifying that you are a TUPSS Associate. ";
    if (this.loginUserNameTextBox.Text == String.Empty)
    msg += "Now please specify your username.";
    else if (this.loginPasswordTextBox.Text == String.Empty)
    msg += "Now please enter your password.";
    this.loginStatusInstructionTextBox.Text = msg;
    protected void loginAFradioButton_CheckedChanged(object sender, EventArgs e)
    String msg = String.Empty;
    if (this.loginAFradioButton.Checked == true)
    this.loginUAradioButton.Checked = false;
    msg = "Thanks for specifying that you are an Area Franchisee. ";
    if (this.loginUserNameTextBox.Text == String.Empty)
    msg += "Now please specify your username.";
    else if (this.loginPasswordTextBox.Text == String.Empty)
    msg += "Now please enter your password.";
    this.loginStatusInstructionTextBox.Text = msg;
    private void loginLADPauthenticate(char whichActiveDirectory)
    String msg = "Authenticating user '" + this.uName + "' with password '" + this.pWord + "' against ";
    if (whichActiveDirectory == 'U')
    msg += "UPS Corp's Active Directory...";
    else if (whichActiveDirectory == 'A')
    msg += "The UPS Store's Franchisee Active Directory...";
    msg += "\n\nNOTICE:\nThis is still under development.\n\nAt this point, this application is supposed to do something else now but is not yet ready.";
    this.loginStatusInstructionTextBox.Text = msg;
    this.loginStatusInstructionTextBox.AutoPostBack = true;
    // Authenticate using LDAP
    protected void loginStatusInstructionTextBox_TextChanged(object sender, EventArgs e)
    I confirmed that I have System.DirectoryServices.dll located in
    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\v4.0_4.0.0.0__b03f5f7f11d50a3a\ folder and that I as well as System have read as well as read&execute privileges
    not only to all folders in its path but also to the DLL file itself.
    I would appreciate any help in trying to resolve this compilation error so that I can proceed with implementing LDAP features for this endeavor.
    Thanks so much,
    hguico @ The UPS Store

    Hi,
    For web application problem, please post your thread in
    ASP.NET forum.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and
    makes it easier for other visitors to find the resolution later.

Maybe you are looking for