Invalid query compiler error

Hi - I migrated a BPEL process from 10.1.2.1.0 The BPEL diagram is fine. If I open the assign using Jdeveloper, everything looks perfectly fine. I am able to do the Edit Copy operation with no problems. Upon compilation , however, the following error occurs:
Error(201):
[Error ORABPEL-10057]: invalid query
[Description]: in line 201 of "C:\jdeveloper\jdev\mywork\E1Integration\SalesOrderEntry\bpel\SalesOrderEntry.bpel",
query "/ns1:Request/ns1:Header/MessageHeader/MessageType" is invalid, because .
[Potential fix]: Check the XML schema and make sure your query string is valid.
I am using inline schema from the following wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="IntegrationPoints_FlowServices" targetNamespace="http://e1.oracle.com/SOE/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://e1.oracle.com/SOE/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdns1="http://e1.oracle.com/SOE">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/SOEInput1" xmlns:dx4="http://www.oracle.com/SOEInput1" xmlns:dx3="http://www.peoplesoft.com" xmlns:dx2="http://www.oracle.com/SOEInput">
<xsd:import namespace="http://www.peoplesoft.com"/>
<xsd:import namespace="http://www.oracle.com/SOEInput"/>
<xsd:element name="Processing">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:actionType"/>
<xsd:element ref="dx3:useConfigurationRule"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Billing">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx2:Pricing"/>
<xsd:element ref="dx3:paymentTermsCode"/>
<xsd:element ref="dx3:paymentInstrumentCode"/>
<xsd:element ref="dx3:taxRateAreaCode"/>
<xsd:element ref="dx3:taxExplanationCode"/>
<xsd:element ref="dx3:taxableCode"/>
<xsd:element ref="dx3:modeOfTransportCode"/>
<xsd:element ref="dx3:printMessageCode"/>
<xsd:element ref="dx2:Carrier"/>
<xsd:element ref="dx3:freightHandlingCode"/>
<xsd:element ref="dx3:subledger"/>
<xsd:element ref="dx3:subledgerTypeCode"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ShipTo">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://localhost/IntegrationPoints/FlowServices/SalesOrderEntryMODIFIEDMSG" xmlns:tns="http://localhost/IntegrationPoints/FlowServices/SalesOrderEntryMODIFIEDMSG" xmlns:jde="http://e1.oracle.com/SOE">
<xsd:import namespace="http://e1.oracle.com/SOE"/>
<xsd:complexType name="SalesOrderInput">
<xsd:sequence>
<xsd:element ref="jde:SalesOrderEntry"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SalesOrderOutput">
<xsd:sequence>
<xsd:element ref="jde:SalesOrderEntry"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/SOEInput" xmlns:dx2="http://www.oracle.com/SOEInput" xmlns:dx3="http://www.peoplesoft.com" xmlns:dx4="http://www.oracle.com/SOEInput1">
<xsd:import namespace="http://www.peoplesoft.com"/>
<xsd:import namespace="http://www.oracle.com/SOEInput1"/>
<xsd:element name="Processing">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:actionType"/>
<xsd:element ref="dx3:processingVersion"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SalesOrderKey">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:documentNumber"/>
<xsd:element ref="dx3:documentTypeCode"/>
<xsd:element ref="dx3:documentCompany"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SoldTo">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
<xsd:element ref="dx3:mailingName"/>
<xsd:element ref="dx3:addressLine1"/>
<xsd:element ref="dx3:addressLine2"/>
<xsd:element ref="dx3:addressLine3"/>
<xsd:element ref="dx3:addressLine4"/>
<xsd:element ref="dx3:city"/>
<xsd:element ref="dx3:countyCode"/>
<xsd:element ref="dx3:stateCode"/>
<xsd:element ref="dx3:postalCode"/>
<xsd:element ref="dx3:countryCode"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ShipTo">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
<xsd:element ref="dx3:mailingName"/>
<xsd:element ref="dx3:addressLine1"/>
<xsd:element ref="dx3:addressLine2"/>
<xsd:element ref="dx3:addressLine3"/>
<xsd:element ref="dx3:addressLine4"/>
<xsd:element ref="dx3:city"/>
<xsd:element ref="dx3:countyCode"/>
<xsd:element ref="dx3:stateCode"/>
<xsd:element ref="dx3:postalCode"/>
<xsd:element ref="dx3:countryCode"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Carrier">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Billing">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:adjustmentScheduleCode"/>
<xsd:element ref="dx3:customerPriceGroupCode"/>
<xsd:element ref="dx3:percentDiscountTrade"/>
<xsd:element ref="dx3:paymentTermsCode"/>
<xsd:element ref="dx3:paymentInstrumentCode"/>
<xsd:element ref="dx3:printMessageCode"/>
<xsd:element ref="dx2:Carrier"/>
<xsd:element ref="dx3:freightHandlingCode"/>
<xsd:element ref="dx3:deliveryInstruction1"/>
<xsd:element ref="dx3:deliveryInstruction2"/>
<xsd:element ref="dx3:taxRateAreaCode"/>
<xsd:element ref="dx3:taxExplanationCode"/>
<xsd:element ref="dx3:creditCardAccountName"/>
<xsd:element ref="dx3:creditCardAccountNumber"/>
<xsd:element ref="dx3:creditCardTypeCode"/>
<xsd:element ref="dx3:checkNumber"/>
<xsd:element ref="dx3:dateExpiration"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DeliverTo">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="InvoicedTo">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="PaidBy">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ForwardedTo">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="UserReservedData">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:userReservedCode"/>
<xsd:element ref="dx3:userReservedDate"/>
<xsd:element ref="dx3:userReservedAmount"/>
<xsd:element ref="dx3:userReservedNumber"/>
<xsd:element ref="dx3:userReservedReference"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Item">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:itemId"/>
<xsd:element ref="dx3:itemProduct"/>
<xsd:element ref="dx3:itemCatalog"/>
<xsd:element ref="dx3:itemCustomer"/>
<xsd:element ref="dx3:itemFreeForm"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ItemParent">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:itemId"/>
<xsd:element ref="dx3:itemProduct"/>
<xsd:element ref="dx3:itemCatalog"/>
<xsd:element ref="dx3:itemCustomer"/>
<xsd:element ref="dx3:itemFreeForm"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Segment">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:segmentNumber"/>
<xsd:element ref="dx3:segmentValue"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Configuration">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx2:ItemParent"/>
<xsd:element ref="dx2:Item"/>
<xsd:element ref="dx3:businessUnit"/>
<xsd:element ref="dx3:quantityComponent"/>
<xsd:element ref="dx3:unitOfMeasureCodeComponent"/>
<xsd:element ref="dx3:lineTypeCode"/>
<xsd:element ref="dx3:description1"/>
<xsd:element ref="dx2:Segment" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Product">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx2:Item"/>
<xsd:element ref="dx3:lotNumber"/>
<xsd:element ref="dx3:location"/>
<xsd:element ref="dx3:itemWeight"/>
<xsd:element ref="dx3:unitOfMeasureCodeWeight"/>
<xsd:element ref="dx3:itemVolume"/>
<xsd:element ref="dx3:unitOfMeasureCodeVolume"/>
<xsd:element ref="dx3:description1"/>
<xsd:element ref="dx3:description2"/>
<xsd:element ref="dx2:Configuration" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Pricing">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:unitOfMeasureCodePricing"/>
<xsd:element ref="dx3:isZeroPriceOverride"/>
<xsd:element ref="dx3:adjustmentScheduleCode"/>
<xsd:element ref="dx3:datePriceEffective"/>
<xsd:element ref="dx3:priceCode1"/>
<xsd:element ref="dx3:priceCode2"/>
<xsd:element ref="dx3:priceCode3"/>
<xsd:element ref="dx3:priceUnitDomestic"/>
<xsd:element ref="dx3:priceUnitForeign"/>
<xsd:element ref="dx3:priceExtendedDomestic"/>
<xsd:element ref="dx3:priceExtendedForeign"/>
<xsd:element ref="dx3:itemPriceGroupCode"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="OriginalOrderKey">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:documentNumber"/>
<xsd:element ref="dx3:documentTypeCode"/>
<xsd:element ref="dx3:documentCompany"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="OriginalOrder">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx2:OriginalOrderKey"/>
<xsd:element ref="dx3:documentLineNumber"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="RelatedOrderKey">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:documentNumber"/>
<xsd:element ref="dx3:documentTypeCode"/>
<xsd:element ref="dx3:documentCompany"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="RelatedOrder">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx2:RelatedOrderKey"/>
<xsd:element ref="dx3:documentLineNumber"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Supplier">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:entityId"/>
<xsd:element ref="dx3:entityLongId"/>
<xsd:element ref="dx3:entityTaxId"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CategoryCodesSales">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:categoryCode001"/>
<xsd:element ref="dx3:categoryCode002"/>
<xsd:element ref="dx3:categoryCode003"/>
<xsd:element ref="dx3:categoryCode004"/>
<xsd:element ref="dx3:categoryCode005"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CategoryCodesPurchasing">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:categoryCode001"/>
<xsd:element ref="dx3:categoryCode002"/>
<xsd:element ref="dx3:categoryCode003"/>
<xsd:element ref="dx3:categoryCode004"/>
<xsd:element ref="dx3:categoryCode005"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Detail">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx4:Processing"/>
<xsd:element ref="dx3:documentLineNumber"/>
<xsd:element ref="dx3:businessUnit"/>
<xsd:element ref="dx3:businessUnitDestination"/>
<xsd:element ref="dx3:customerPO"/>
<xsd:element ref="dx3:reference"/>
<xsd:element ref="dx3:agreementId"/>
<xsd:element ref="dx3:agreementSupplement"/>
<xsd:element ref="dx2:Product"/>
<xsd:element ref="dx4:Billing"/>
<xsd:element ref="dx3:dutyStatusCode"/>
<xsd:element ref="dx2:OriginalOrder"/>
<xsd:element ref="dx2:RelatedOrder"/>
<xsd:element ref="dx4:ShipTo"/>
<xsd:element ref="dx2:Supplier"/>
<xsd:element ref="dx3:quantityOrdered"/>
<xsd:element ref="dx3:quantityShippable"/>
<xsd:element ref="dx3:quantityBackOrdered"/>
<xsd:element ref="dx3:quantityCanceled"/>
<xsd:element ref="dx3:unitOfMeasureCodeTransaction"/>
<xsd:element ref="dx3:lineTypeCode"/>
<xsd:element ref="dx3:lineOfBusinessCode"/>
<xsd:element ref="dx3:endUseCode"/>
<xsd:element ref="dx3:priorityCode"/>
<xsd:element ref="dx3:dateOrdered"/>
<xsd:element ref="dx3:dateRequested"/>
<xsd:element ref="dx3:timeRequested"/>
<xsd:element ref="dx3:dateCancel"/>
<xsd:element ref="dx3:datePromisedShip"/>
<xsd:element ref="dx3:timePromisedShip"/>
<xsd:element ref="dx3:dateScheduledPick"/>
<xsd:element ref="dx3:timeScheduledPick"/>
<xsd:element ref="dx3:datePromisedOriginal"/>
<xsd:element ref="dx3:timePromisedOriginal"/>
<xsd:element ref="dx3:datePromisedDelivery"/>
<xsd:element ref="dx3:timePromisedDelivery"/>
<xsd:element ref="dx3:statusCodeLast"/>
<xsd:element ref="dx3:statusCodeNext"/>
<xsd:element ref="dx2:CategoryCodesSales"/>
<xsd:element ref="dx2:CategoryCodesPurchasing"/>
<xsd:element ref="dx2:UserReservedData"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Header">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="MessageHeader" >
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Environment" type="xsd:string"/>
<xsd:element name="MessageType" type="xsd:string"/>
<xsd:element name="MessageID" type="xsd:string"/>
<xsd:element name="MessageVersion" type="xsd:string"/>
<xsd:element name="MessageReferenceID" type="xsd:string"/>
<xsd:element name="UserID" type="xsd:string"/>
<xsd:element name="UserPassword" type="xsd:string"/>
<xsd:element name="SourceSystemName" type="xsd:string"/>
<xsd:element name="CreationDate" type="xsd:string"/>
<xsd:element name="Operation" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element ref="dx2:Processing"/>
<xsd:element ref="dx2:SalesOrderKey"/>
<xsd:element ref="dx3:businessUnit"/>
<xsd:element ref="dx3:company"/>
<xsd:element ref="dx3:orderedBy"/>
<xsd:element ref="dx3:orderTakenBy"/>
<xsd:element ref="dx3:holdOrderCode"/>
<xsd:element ref="dx3:customerPO"/>
<xsd:element ref="dx3:attachmentText"/>
<xsd:element ref="dx2:SoldTo"/>
<xsd:element ref="dx2:ShipTo"/>
<xsd:element ref="dx3:dateOrdered"/>
<xsd:element ref="dx3:dateRequested"/>
<xsd:element ref="dx3:timeRequested"/>
<xsd:element ref="dx3:dateCancel"/>
<xsd:element ref="dx3:dateScheduledPick"/>
<xsd:element ref="dx3:timeScheduledPick"/>
<xsd:element ref="dx3:currencyCodeTo"/>
<xsd:element ref="dx3:rateExchangeOverride"/>
<xsd:element ref="dx2:Billing"/>
<xsd:element ref="dx2:DeliverTo"/>
<xsd:element ref="dx2:InvoicedTo"/>
<xsd:element ref="dx2:PaidBy"/>
<xsd:element ref="dx2:ForwardedTo"/>
<xsd:element ref="dx2:UserReservedData"/>
<xsd:element ref="dx2:Detail" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx2:Header"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/SOEOutput" xmlns:jde2="http://www.oracle.com/SOEOutput" xmlns:dx3="http://www.peoplesoft.com">
<xsd:import namespace="http://www.peoplesoft.com"/>
<xsd:element name="Detail">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:documentLineNumber"/>
<xsd:element ref="dx3:messages" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Header">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx3:documentNumber"/>
<xsd:element ref="dx3:documentTypeCode"/>
<xsd:element ref="dx3:documentCompany"/>
<xsd:element ref="dx3:messages" maxOccurs="unbounded"/>
<xsd:element ref="jde2:Detail" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="jde2:Header"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/SOE" xmlns:dx="http://www.oracle.com/SOE" xmlns:dx2="http://www.oracle.com/SOEInput" xmlns:jde2="http://www.oracle.com/SOEOutput">
<xsd:import namespace="http://www.oracle.com/SOEInput"/>
<xsd:import namespace="http://www.oracle.com/SOEOutput"/>
<xsd:element name="ProcessSOE">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx2:Request"/>
<xsd:element ref="jde2:Response"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://e1.oracle.com/SOE" xmlns:jde="http://e1.oracle.com/SOE" xmlns:dx="http://www.oracle.com/SOE">
<xsd:import namespace="http://www.oracle.com/SOE"/>
<xsd:element name="SalesOrderEntry">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dx:ProcessSOE"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.peoplesoft.com" xmlns:dx3="http://www.peoplesoft.com">
<xsd:element name="actionType" type="xsd:string"/>
<xsd:element name="processingVersion" type="xsd:string"/>
<xsd:element name="documentNumber" type="xsd:string"/>
<xsd:element name="documentTypeCode" type="xsd:string"/>
<xsd:element name="documentCompany" type="xsd:string"/>
<xsd:element name="businessUnit" type="xsd:string"/>
<xsd:element name="company" type="xsd:string"/>
<xsd:element name="orderedBy" type="xsd:string"/>
<xsd:element name="orderTakenBy" type="xsd:string"/>
<xsd:element name="holdOrderCode" type="xsd:string"/>
<xsd:element name="customerPO" type="xsd:string"/>
<xsd:element name="attachmentText" type="xsd:string"/>
<xsd:element name="entityId" type="xsd:string"/>
<xsd:element name="entityLongId" type="xsd:string"/>
<xsd:element name="entityTaxId" type="xsd:string"/>
<xsd:element name="mailingName" type="xsd:string"/>
<xsd:element name="addressLine1" type="xsd:string"/>
<xsd:element name="addressLine2" type="xsd:string"/>
<xsd:element name="addressLine3" type="xsd:string"/>
<xsd:element name="addressLine4" type="xsd:string"/>
<xsd:element name="city" type="xsd:string"/>
<xsd:element name="countyCode" type="xsd:string"/>
<xsd:element name="stateCode" type="xsd:string"/>
<xsd:element name="postalCode" type="xsd:string"/>
<xsd:element name="countryCode" type="xsd:string"/>
<xsd:element name="dateOrdered" type="xsd:string"/>
<xsd:element name="dateRequested" type="xsd:string"/>
<xsd:element name="timeRequested" type="xsd:string"/>
<xsd:element name="dateCancel" type="xsd:string"/>
<xsd:element name="dateScheduledPick" type="xsd:string"/>
<xsd:element name="timeScheduledPick" type="xsd:string"/>
<xsd:element name="currencyCodeTo" type="xsd:string"/>
<xsd:element name="rateExchangeOverride" type="xsd:string"/>
<xsd:element name="adjustmentScheduleCode" type="xsd:string"/>
<xsd:element name="customerPriceGroupCode" type="xsd:string"/>
<xsd:element name="percentDiscountTrade" type="xsd:string"/>
<xsd:element name="paymentTermsCode" type="xsd:string"/>
<xsd:element name="paymentInstrumentCode" type="xsd:string"/>
<xsd:element name="printMessageCode" type="xsd:string"/>
<xsd:element name="freightHandlingCode" type="xsd:string"/>
<xsd:element name="deliveryInstruction1" type="xsd:string"/>
<xsd:element name="deliveryInstruction2" type="xsd:string"/>
<xsd:element name="taxRateAreaCode" type="xsd:string"/>
<xsd:element name="taxExplanationCode" type="xsd:string"/>
<xsd:element name="creditCardAccountName" type="xsd:string"/>
<xsd:element name="creditCardAccountNumber" type="xsd:string"/>
<xsd:element name="creditCardTypeCode" type="xsd:string"/>
<xsd:element name="checkNumber" type="xsd:string"/>
<xsd:element name="dateExpiration" type="xsd:string"/>
<xsd:element name="userReservedCode" type="xsd:string"/>
<xsd:element name="userReservedDate" type="xsd:string"/>
<xsd:element name="userReservedAmount" type="xsd:string"/>
<xsd:element name="userReservedNumber" type="xsd:string"/>
<xsd:element name="userReservedReference" type="xsd:string"/>
<xsd:element name="useConfigurationRule" type="xsd:string"/>
<xsd:element name="documentLineNumber" type="xsd:string"/>
<xsd:element name="businessUnitDestination" type="xsd:string"/>
<xsd:element name="reference" type="xsd:string"/>
<xsd:element name="agreementId" type="xsd:string"/>
<xsd:element name="agreementSupplement" type="xsd:string"/>
<xsd:element name="itemId" type="xsd:string"/>
<xsd:element name="itemProduct" type="xsd:string"/>
<xsd:element name="itemCatalog" type="xsd:string"/>
<xsd:element name="itemCustomer" type="xsd:string"/>
<xsd:element name="itemFreeForm" type="xsd:string"/>
<xsd:element name="lotNumber" type="xsd:string"/>
<xsd:element name="location" type="xsd:string"/>
<xsd:element name="itemWeight" type="xsd:string"/>
<xsd:element name="unitOfMeasureCodeWeight" type="xsd:string"/>
<xsd:element name="itemVolume" type="xsd:string"/>
<xsd:element name="unitOfMeasureCodeVolume" type="xsd:string"/>
<xsd:element name="description1" type="xsd:string"/>
<xsd:element name="description2" type="xsd:string"/>
<xsd:element name="quantityComponent" type="xsd:string"/>
<xsd:element name="unitOfMeasureCodeComponent" type="xsd:string"/>
<xsd:element name="lineTypeCode" type="xsd:string"/>
<xsd:element name="segmentNumber" type="xsd:string"/>
<xsd:element name="segmentValue" type="xsd:string"/>
<xsd:element name="unitOfMeasureCodePricing" type="xsd:string"/>
<xsd:element name="isZeroPriceOverride" type="xsd:string"/>
<xsd:element name="datePriceEffective" type="xsd:string"/>
<xsd:element name="priceCode1" type="xsd:string"/>
<xsd:element name="priceCode2" type="xsd:string"/>
<xsd:element name="priceCode3" type="xsd:string"/>
<xsd:element name="priceUnitDomestic" type="xsd:string"/>
<xsd:element name="priceUnitForeign" type="xsd:string"/>
<xsd:element name="priceExtendedDomestic" type="xsd:string"/>
<xsd:element name="priceExtendedForeign" type="xsd:string"/>
<xsd:element name="itemPriceGroupCode" type="xsd:string"/>
<xsd:element name="taxableCode" type="xsd:string"/>
<xsd:element name="modeOfTransportCode" type="xsd:string"/>
<xsd:element name="subledger" type="xsd:string"/>
<xsd:element name="subledgerTypeCode" type="xsd:string"/>
<xsd:element name="dutyStatusCode" type="xsd:string"/>
<xsd:element name="quantityOrdered" type="xsd:string"/>
<xsd:element name="quantityShippable" type="xsd:string"/>
<xsd:element name="quantityBackOrdered" type="xsd:string"/>
<xsd:element name="quantityCanceled" type="xsd:string"/>
<xsd:element name="unitOfMeasureCodeTransaction" type="xsd:string"/>
<xsd:element name="lineOfBusinessCode" type="xsd:string"/>
<xsd:element name="endUseCode" type="xsd:string"/>
<xsd:element name="priorityCode" type="xsd:string"/>
<xsd:element name="datePromisedShip" type="xsd:string"/>
<xsd:element name="timePromisedShip" type="xsd:string"/>
<xsd:element name="datePromisedOriginal" type="xsd:string"/>
<xsd:element name="timePromisedOriginal" type="xsd:string"/>
<xsd:element name="datePromisedDelivery" type="xsd:string"/>
<xsd:element name="timePromisedDelivery" type="xsd:string"/>
<xsd:element name="statusCodeLast" type="xsd:string"/>
<xsd:element name="statusCodeNext" type="xsd:string"/>
<xsd:element name="categoryCode001" type="xsd:string"/>
<xsd:element name="categoryCode002" type="xsd:string"/>
<xsd:element name="categoryCode003" type="xsd:string"/>
<xsd:element name="categoryCode004" type="xsd:string"/>
<xsd:element name="categoryCode005" type="xsd:string"/>
<xsd:element name="messages" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SalesOrderEntry">
<wsdl:part name="SalesOrderEntry" element="wsdns1:SalesOrderEntry"/>
</wsdl:message>
<wsdl:message name="SalesOrderEntryOutput">
<wsdl:part name="SalesOrderEntry" element="wsdns1:SalesOrderEntry"/>
</wsdl:message>
<wsdl:portType name="IntegrationPoints_FlowServicesPortType">
<wsdl:operation name="SalesOrderEntry">
<wsdl:input message="tns:SalesOrderEntry"/>
<wsdl:output message="tns:SalesOrderEntryOutput"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="IntegrationPoints_FlowServicesBinding" type="tns:IntegrationPoints_FlowServicesPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SalesOrderEntry">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="IntegrationPoints_FlowServicesService">
<wsdl:port name="IntegrationPoints_FlowServicesPort0" binding="tns:IntegrationPoints_FlowServicesBinding">
<soap:address location="http://galileo.wlgore.com:5555/soap/default"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks,
RM

Well the problem looks like it is has to do with the Header element and ns1. If I test using the html form, it fails. So I selected "Save Test" to examine the xml. This creates the following xml (only showing the portion of interest):
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body xmlns:ns1="http://www.oracle.com/SOEInput">
          <ns1:Request>
               <Header>
                    <MessageHeader>
                         <Environment>Development</Environment>
                    </MessageHeader>
               </Header>
          </ns1:Request>
     </soap:Body>
</soap:Envelope>
As you can see, ns1: is missing from the Header element, which explains why
"/ns1:Request/ns1:Header/MessageHeader/Environment" is failing. If I augment it by adding the ns1: manually it executes correctly:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body xmlns:ns1="http://www.oracle.com/SOEInput">
          <ns1:Request>
               <ns1:Header>
                    <MessageHeader>
                         <Environment>Development</Environment>
                    </MessageHeader>
               </ns1:Header>
          </ns1:Request>
     </soap:Body>
</soap:Envelope>
Any idea why this would occur on the BPEL server ? I presumed the HTML form would contain the correct namespaces.

Similar Messages

  • Query Compilation Error - Function overloaded

    I'm trying to use 2 document style web services in a query. When I test the query
    I get:
    tart server side stack trace:
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Compilation Error (Type Checks) 1-3-1-3: Function
    Employees1:ProcessDocument() is overloaded.
    java.rmi.RemoteException: Query Compilation Error (Type Checks) 1-3-1-3: Function
    Employees1:ProcessDocument() is overloaded.
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:306)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:821)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace
    Can someone tell me what this error means?
    Thank you,
    Jason

    Release Note Entry:
    When designing Workshop web services, you may need to alter the
    Targetnamespace for a web service if a method name in this web service
    clashes with a method name in another web service that uses the same
    Targetnamespace.
    "Mike Reiche" <[email protected]> wrote:
    >
    "A function with the same name has multiple definitions in the configuration.
    Check
    you configuration"
    Check for multiple definitions of Employees1:ProcessDocument() in your
    CFLD file(s).
    - Mike
    "Jason Levine" <[email protected]> wrote:
    I'm trying to use 2 document style web services in a query. When I test
    the query
    I get:
    tart server side stack trace:
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Compilation Error (Type Checks) 1-3-1-3:
    Function
    Employees1:ProcessDocument() is overloaded.
    java.rmi.RemoteException: Query Compilation Error (Type Checks) 1-3-1-3:
    Function
    Employees1:ProcessDocument() is overloaded.
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:306)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown
    Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:821)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace
    Can someone tell me what this error means?
    Thank you,
    Jason

  • Query compile error.

    I know that both these queries work by themselves, yet when i put together, I get this error (i assume on the second query). Any thoughts?
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\bin\tomcat\work\www.smweb.cc_8080\_0002fsourcebook_0002fmaster_0002fresults_0005fip_0005fname_0002ejspresults_0005fip_0005fname_jsp_10.java:160: Variable 'rset' is already defined in this method.
    ResultSet rset = null;
    ^
    C:\bin\tomcat\work\www.smweb.cc_8080\_0002fsourcebook_0002fmaster_0002fresults_0005fip_0005fname_0002ejspresults_0005fip_0005fname_jsp_10.java:162: Variable 'sql' is already defined in this method.
    String sql =
    ^
    2 errors
    <%@ include file="dbconnection.jsp" %>     
         <%-- Run SQL Query --%>
    <% String TitleName;
    ResultSet rset = null;
    String sql =
    "SELECT distinct Left(TitleName, 1) AS Title FROM Titles ";
    try {
    rset = stmt.executeQuery (sql);
    catch (SQLException e) {
    out.println (e);
         return;
    while (rset.next ())
    TitleName = rset.getString ("Title");
    %>
    <%
    try {
    stmt.close();
    conn.close();
    } catch (Exception ex) {}
    %>
         <a href="results.jsp?Title=<%= TitleName %>"><%= TitleName %></a>
    |
         <%
         %></td>
    </tr>
    </table>
    <br>
    Click on the Publication name to edit or delete a source. Otherwise,
    you may go back and search again.</P>
    <form method="POST" action="delete.jsp" name="ResultsForm">
    <table border="1" cellspacing="0" cellpadding="3" width="600">
    <tr bgcolor="#ffffcc">
    <td width="239"><b>Information Provider</b></td>
    <td width="156"><B>Country</B></td>
    <td width="178"><b># of Publications</b></td>
    </TR>
    <% int IPNumber;
    String IPName;
    String CountryName;
    ResultSet rset = null;
    String sql =
    "SELECT " +
    "IPNumber, IPName, CountryName " +
    "FROM " +
    "IPs " +
    "WHERE " +
         "IPName LIKE " +
    "'" + request.getParameter("IPName") + "%'";
    try {
    rset = stmt.executeQuery (sql);
    catch (SQLException e) {
    out.println (e);
         return;
    while (rset.next ())
    IPNumber = rset.getInt ("IPNumber");
    IPName = rset.getString ("IPName");
    CountryName = rset.getString ("CountryName");
    %>
    <tr>
    <td width="239" height="20"><a href="ip_edit.jsp?IPNumber="></a></td>
    <TD width="156" height="20"> </TD>
    <TD width="178" height="20">
              NumberOfPubs </TD>
    </tr>
         <%
         %>
    </table>

    Hi
    See a trimmed down version of your code.
    org.apache.jasper.JasperException: Unable to compile
    class for
    JSPC:\bin\tomcat\work\www.smweb.cc_8080\_0002fsourceboo
    _0002fmaster_0002fresults_0005fip_0005fname_0002ejspres
    lts_0005fip_0005fname_jsp_10.java:160: Variable 'rset'
    is already defined in this method.
    ResultSet rset = null;
    ^
    C:\bin\tomcat\work\www.smweb.cc_8080\_0002fsourcebook_0
    02fmaster_0002fresults_0005fip_0005fname_0002ejspresult
    _0005fip_0005fname_jsp_10.java:162: Variable 'sql' is
    already defined in this method.
    String sql =
    ^
    2 errors
    <%@ include file="dbconnection.jsp" %>
    <%-- Run SQL Query --%>
    <% String TitleName;
    ResultSet rset = null;
    String sql =
    "SELECT distinct Left(TitleName, 1) AS Title
    <% int IPNumber;
    String IPName;
    String CountryName;
    ResultSet rset = null;
    String sql =
    "SELECT " +
    "IPNumber, IPName, CountryName " +
    "FROM " +
    "IPs " +
    "WHERE " +
    "IPName LIKE " +
    "'" + request.getParameter("IPName") + "%'";
    try {
    rset = stmt.executeQuery (sql);
    catch (SQLException e) {
    out.println (e);
    return;
    while (rset.next ())
    IPNumber = rset.getInt ("IPNumber");
    IPName = rset.getString ("IPName");
    CountryName = rset.getString ("CountryName");
    %>
    <tr>
    <td width="239" height="20"><A
    "20"><A HREF="ip_edit.jsp?IPNumber=IPNumber">
    <a href="ip_edit.jsp?IPNumber="> </A></td>
    <TD width="156" height="20"> </TD>
    <TD width="178" height="20">
    NumberOfPubs </TD>
    </tr>
    <%
    %>
    </table>You'll notice that you are redeclaring the varible rset & sql in the same scope. remove the second declaration but you can re-define tham as rset = null and sql = "....."; this should work
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun Microsystems inc
    http://www.sun.com/developers/support

  • ORA-00902: invalid datatype comile error while using CAST function

    Hi everyone,
    I'm getting ORA-00902: invalid datatype compilation error while using CAST function.
    open ref_cursor_list for select empName from TABLE(CAST(part_t AS partnumberlist));
    The partnumberlist and ref_cursor_list is declared in the Package spec as given below.
    TYPE ref_cursor_list IS REF CURSOR;
    TYPE partnumberlist IS TABLE OF emp.empName%TYPE;
    The error points the partnumberlist as invalid datatype in TOAD because of this i'm unable to compile the package.
    Any suggestion
    Thanks and regards
    Sathish Gopal

    Here is my code for
    package Spec
    CREATE OR REPLACE PACKAGE "HISTORICAL_COMMENTZ" AS
    TYPE prior_part_data_record IS RECORD (
    prior_part_row_id PGM_RPLCMNT_PART.PR_PART_ROW_S_ID%TYPE,
    prior_pgm_chng_s_id PGM_RPLCMNT_PART.PR_PGM_CHNG_S_ID%TYPE
    TYPE parts_list IS TABLE OF prior_part_data_record;
    --TYPE parts_list IS TABLE OF NUMBER;
    TYPE partnumberlist IS TABLE OF PGM_RPLCMNT_PART.PR_PART_ROW_S_ID%TYPE;
    TYPE partnumber_cursor IS REF CURSOR;
    TYPE comment_record IS RECORD (
    pgm_s_id                     PGM_PART_CMNT.PGM_S_ID%TYPE,
    part_row_s_id                PGM_PART_CMNT.PART_ROW_S_ID%TYPE,
    pgm_chng_s_id                PGM_PART_CMNT.PGM_CHNG_S_ID%TYPE,
    cmnt_txt                     PGM_PART_CMNT.CMNT_TXT%TYPE,
    cmnt_dt                     PGM_PART_CMNT.CMNT_DT%TYPE,
    updt_rsrc_id                PGM_PART_CMNT.UPDT_RSRC_ID%TYPE
    TYPE comment_list IS TABLE OF comment_record;
    global_pgm_s_id INTEGER := 0;
    global_part_row_s_id INTEGER := 0;
    err_num NUMBER := 999999;
    err_msg VARCHAR2 (250);
    PROCEDURE getComments (
    pgm_s_id IN NUMBER,
    part_row_s_id IN NUMBER,
    partnumber_cursorlist out partnumber_cursor);
    END;
    Package Body
    CREATE OR REPLACE PACKAGE BODY HISTORICAL_COMMENTZ
    AS
    FUNCTION getPriorPart
    (param_prior_pgm_chng_s_id IN PGM_RPLCMNT_PART.PR_PGM_CHNG_S_ID%TYPE,
    return_prior_part_data_record IN OUT prior_part_data_record
    RETURN INTEGER
    IS
    retVal INTEGER;
    prior_part_row_id INTEGER;
    prior_pgm_chng_s_id INTEGER;
    local_prior_part_data_record prior_part_data_record;
    BEGIN
    SELECT PR_PART_ROW_S_ID AS prior_part_row_id, PR_PGM_CHNG_S_ID AS prior_pgm_chng_s_id
    INTO local_prior_part_data_record
    --SELECT PR_PART_ROW_S_ID INTO retVal
    FROM PGM_RPLCMNT_PART
    WHERE PGM_S_ID = global_pgm_s_id AND CUR_PGM_CHNG_S_ID = param_prior_pgm_chng_s_id;
    return_prior_part_data_record := local_prior_part_data_record;
    retVal := 0;
    RETURN retVal;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    err_num := SQLCODE;
    err_msg := 'SQL Error ' || SUBSTR (SQLERRM, 1, 250);
    DBMS_OUTPUT.put_line ('SQLERROR = ' || err_msg);
    retVal := -1;
    RETURN retVal;
    WHEN OTHERS
    THEN
    err_num := SQLCODE;
    err_msg := 'SQL Error ' || SUBSTR (SQLERRM, 1, 250);
    DBMS_OUTPUT.put_line ('SQLERROR = ' || err_msg);
    retVal := -1;
    RETURN retVal;
    END getPriorPart;
    FUNCTION getComment (found_parts_list IN parts_list, comments OUT comment_list)
    RETURN INTEGER
    IS
    CURSOR init_cursor
    IS
    SELECT PGM_S_ID,PART_ROW_S_ID,PGM_CHNG_S_ID,CMNT_TXT,CMNT_DT,UPDT_RSRC_ID
    FROM PGM_PART_CMNT WHERE 1 = 2;
    retVal INTEGER;
    indexNum PLS_INTEGER;
    local_part_record prior_part_data_record;
    local_comment_record comment_record;
    local_part_row_s_id NUMBER;
    i PLS_INTEGER;
    BEGIN
    OPEN init_cursor;
    FETCH init_cursor
    BULK COLLECT INTO comments;
    i := 0;
    indexNum := found_parts_list.FIRST;
    WHILE indexNum IS NOT NULL
    LOOP
    local_part_record := found_parts_list(indexnum);
    local_part_row_s_id := local_part_record.prior_part_row_id;
    SELECT PGM_S_ID,PART_ROW_S_ID,PGM_CHNG_S_ID,CMNT_TXT,CMNT_DT,UPDT_RSRC_ID
    INTO local_comment_record FROM PGM_PART_CMNT
    WHERE PGM_S_ID = global_pgm_s_id
    AND PART_ROW_S_ID = local_part_row_s_id;
    comments(i) := local_comment_record;
    i := i + 1;
    END LOOP;
    RETURN retval;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    err_num := SQLCODE;
    err_msg := 'SQL Error ' || SUBSTR (SQLERRM, 1, 250);
    DBMS_OUTPUT.put_line ('SQLERROR = ' || err_msg);
    RETURN retval;
    WHEN OTHERS
    THEN
    err_num := SQLCODE;
    err_msg := 'SQL Error ' || SUBSTR (SQLERRM, 1, 250);
    DBMS_OUTPUT.put_line ('SQLERROR = ' || err_msg);
    RETURN retval;
    END getComment;
    PROCEDURE getComments
    pgm_s_id IN NUMBER,
    part_row_s_id IN NUMBER,
    partnumber_cursorlist OUT partnumber_cursor)
    IS
    comment_recordlist comment_record;
    retPartnumberlist partnumberlist;
    found_parts_list parts_list;
    local_part_record prior_part_data_record;
    is_more_parts BOOLEAN;
    driver_chng_s_id NUMBER;
    num_parts NUMBER;
    retVal NUMBER;
    comments comment_list;
    returnPartnumberlist partnumberlist;
    iloopCounter PLS_INTEGER;
    inx1 PLS_INTEGER;
    part_t partnumberlist :=partnumberlist(100,200,300);
    CURSOR part_list_init_cursor
    IS
    SELECT PR_PART_ROW_S_ID,PR_PGM_CHNG_S_ID FROM PGM_RPLCMNT_PART WHERE 1 = 2;
    CURSOR inIt_cursor
    IS
    SELECT 0 FROM DUAL WHERE 1 = 2;
    BEGIN
    DBMS_OUTPUT.ENABLE (5000000);
    global_pgm_s_id := pgm_s_id;
    global_part_row_s_id := part_row_s_id;
    SELECT PART_ROW_S_ID AS prior_part_row_id, PR_PGM_CHNG_S_ID AS prior_pgm_chng_s_id
    INTO local_part_record
    FROM PGM_RPLCMNT_PART
    WHERE PGM_S_ID = global_pgm_s_id AND PART_ROW_S_ID = global_part_row_s_id AND
    CUR_PGM_CHNG_S_ID IN (SELECT MAX(CUR_PGM_CHNG_S_ID) FROM PGM_RPLCMNT_PART WHERE
    PGM_S_ID = global_pgm_s_id AND PART_ROW_S_ID = global_part_row_s_id
    GROUP BY PART_ROW_S_ID);
    OPEN part_list_init_cursor;
    FETCH part_list_init_cursor
    BULK COLLECT INTO found_parts_list;
    -- Add the existing part to the found list
    found_parts_list.EXTEND;
    found_parts_list(1) := local_part_record;
    driver_chng_s_id := local_part_record.prior_pgm_chng_s_id;
    num_parts := 1;
    is_more_parts := TRUE;
    WHILE (is_more_parts) LOOP
    retVal := getPriorPart(driver_chng_s_id,local_part_record);
    IF (retVal != -1) THEN
    found_parts_list.EXTEND;
    num_parts := num_parts + 1;
    found_parts_list(num_parts) := local_part_record;
    driver_chng_s_id := local_part_record.prior_pgm_chng_s_id;
    ELSE
    is_more_parts := FALSE;
    END IF;
    END LOOP;
    --num_parts := getComment(found_parts_list,comments);
    OPEN init_cursor;
    FETCH init_cursor
    BULK COLLECT INTO returnPartnumberlist;
    num_parts := found_parts_list.COUNT;
    FOR iloopCounter IN 1 .. num_parts
    LOOP
    returnPartnumberlist.EXTEND;
    returnPartnumberlist(iloopCounter) := found_parts_list(iloopCounter).prior_part_row_id;
    END LOOP;
    retPartnumberlist := returnPartnumberlist;
    open
    *          partnumber_cursorlist for select PR_PART_ROW_S_ID from TABLE(CAST(retPartnumberlist AS historical_commentz.partnumberlist));*                              
    DBMS_OUTPUT.put_line('Done....!');
    EXCEPTION
    some code..............................
    END getComments;
    END HISTORICAL_COMMENTZ;
    /

  • BPEL - 10.1.3.3  [Error ORABPEL-10057]: invalid query

    Hi,
    I am getting the following error when compiling the BPEL Process.
    Error(1198):
    [Error ORABPEL-10057]: invalid query
    [Description]: in line 1198 of "C:\HealdSalesForce\trunk\WebFormsToSalesForce\bpel\WebFormsToSalesForce.bpel", query "/ns2:queryResponse/ns2:result/ns2:records[1]/child::ns1:ConvertedAccountId" is invalid, because step 'ns1:ConvertedAccountId' is not valid..
    [Potential fix]: Check the XML schema and make sure your query string is valid.
    This is the code segments...
    xmlns:ns1="urn:sobject.enterprise.soap.sforce.com"
    xmlns:ns3="http://xmlns.oracle.com/SalesForceAuthentication"
    xmlns:ns2="urn:enterprise.soap.sforce.com"
    <variable name="*_RetrieveDupCandidatesOutput_*"
    messageType="ns2:queryResponse"/>
    <invoke name="RetrieveDupCandidates" partnerLink="sForce6.0"
    portType="ns2:Soap" operation="query"
    inputVariable="RetrieveDupCandidatesInput"
    outputVariable="*_RetrieveDupCandidatesOutput_*"
    bpelx:inputHeaderVariable="sessionHeader"/>
    ...... ............Errors out here..........
    <case condition="string-length(bpws:getVariableData('RetrieveDupCandidatesOutput','parameters','/ns2:queryResponse/ns2:result/ns2:records[1]')/ns1:ConvertedAccountId) > 0">
    This code is working in 10.1.2, When upgraded to 10.1.3, it is erroring out.
    Any idea why is this erroring out. Is it because of the mixed namespaces in the query path? We are trying to get the first record of the resultset(records) and get the ConvertedAccountId from the first record.
    Thank you
    Krish
    Edited by: knandipati on 2009. 8. 31 오후 5:28
    Edited by: knandipati on 2009. 8. 31 오후 5:29

    Hi,
    I am getting the following error when compiling the BPEL Process.
    Error(1198):
    [Error ORABPEL-10057]: invalid query
    [Description]: in line 1198 of "C:\HealdSalesForce\trunk\WebFormsToSalesForce\bpel\WebFormsToSalesForce.bpel", query "/ns2:queryResponse/ns2:result/ns2:records[1]/child::ns1:ConvertedAccountId" is invalid, because step 'ns1:ConvertedAccountId' is not valid..
    [Potential fix]: Check the XML schema and make sure your query string is valid.
    This is the code segments...
    xmlns:ns1="urn:sobject.enterprise.soap.sforce.com"
    xmlns:ns3="http://xmlns.oracle.com/SalesForceAuthentication"
    xmlns:ns2="urn:enterprise.soap.sforce.com"
    <variable name="*_RetrieveDupCandidatesOutput_*"
    messageType="ns2:queryResponse"/>
    <invoke name="RetrieveDupCandidates" partnerLink="sForce6.0"
    portType="ns2:Soap" operation="query"
    inputVariable="RetrieveDupCandidatesInput"
    outputVariable="*_RetrieveDupCandidatesOutput_*"
    bpelx:inputHeaderVariable="sessionHeader"/>
    ...... ............Errors out here..........
    <case condition="string-length(bpws:getVariableData('RetrieveDupCandidatesOutput','parameters','/ns2:queryResponse/ns2:result/ns2:records[1]')/ns1:ConvertedAccountId) > 0">
    This code is working in 10.1.2, When upgraded to 10.1.3, it is erroring out.
    Any idea why is this erroring out. Is it because of the mixed namespaces in the query path? We are trying to get the first record of the resultset(records) and get the ConvertedAccountId from the first record.
    Thank you
    Krish
    Edited by: knandipati on 2009. 8. 31 오후 5:28
    Edited by: knandipati on 2009. 8. 31 오후 5:29

  • Error "Compile error: Invalid character" after copy paste operations in VBE 6.5 PowerPoint 2011

    This is a weird problem with the VBE 6.5 in Office 2011, running natively on a Mac.
    Sometimes, yet often, when I select a word by double clicking on it or a line by highlighting that line in the editor and then copy/paste it somewhere else in the code, the compiler throws the error "Compile error: Invalid character"
    The thing is, what I see has been pasted is exactly the same as the source text. However, if I then paste the same clipboard item to a text editor, I can see that there is an 'invisible' character at the end of the string which is counted in the text editor
    where the cursor is shifted past it but does not shown on the screen!!!
    Back in the VBE, if I select a line that is dubious and drag it, the semi transparent dragged text has a '>' character on a new line.
    In some copy/paste cases, the compiler doesn't see an error but the code doesn't work as expected and I have spent hours debugging stuff that has invisible characters in it (the hardest debugging I've ever had to do!).
    I'm not sure if this example will paste correctly into the forum but this looks like 19 characters but is in fact 20 as there is the offending copy/paste invisible character between 'Test' and '.'
    <code>Test.Value = False</code>
    This seems to be a major oversight in the code of the VBE 6.5 so are Microsoft aware of this and when is it due to be fixed?
    Jamie.

    I had this exact issue.  This is a terrible bug.  The code looks perfect, but there are hidden characters that throw compiler errors.  Thanks for the quick fix, Microsoft.

  • How to use : bind character in DB adapter Select Query SOA11g. Getting Error code :17003 .java.sql.SQLException: Invalid column index error

    Hi All,
    The Actual query to perform is below.
    SELECT name,number from emp  WHERE CASE WHEN :1='T' AND term_date IS Not NULL THEN 1 WHEN :1='A' AND term_date IS NULL THEN 1 WHEN :1='ALL' THEN 1 ELSE  1 END = 1;
    I have tried in DB adapter like below as a parameter for :1 as #vInputParam
    SELECT name,number from emp  WHERE CASE WHEN #vInputParam='T' AND term_date IS Not NULL THEN 1 WHEN #vInputParam='A' AND term_date IS NULL THEN 1 WHEN #vInputParam='ALL' THEN 1 ELSE  1 END = 1;
    Getting Error code :17003 .java.sql.SQLException: Invalid column index error.
    Please suggest me on using ':' bind character in DB adapter Select Query SOA11g.
    Can someone help me on this please?
    Thanks,
    Hari

    Hi,
    Could you please make sure your binding style(Oracle Positional,Oracle named..etc) of the Seeded VO and Custom Vo are same.
    This is the option you will get when you are extending your vo. So make sure that both are same.
    You can refer the below link too
    VO extension leads to "Invalid column index" exception
    Thanks
    Bharat

  • After December 2014 update, Compile Error - calling Excel Objects Sub "Object library invalid or contains references to object definitions that could not be found"

    When try to call Sub in Excel Objects > SheetXX after the original xlsm is modified and saved by another user in diff machine, getting an error below and seems Excel cannot identify any subs exists in Sheet.
    Compile error:
    Object library invalid or contains references to object definitions that could not be found
    Note: it seems that this problem has been occurring After December 2014 update and still exists even after applying the fix:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/11/forms-controls-stop-working-after-december-2014-updates-.aspx)

    Hi Kwlee324,
    Thanks for sharing the workaround with us. It would be very helpful for others who have the same issue.
    Also I found a two useful links about the error message "Object library invalid or contains references to object definitions that could not be found":
    https://support.microsoft.com/kb/2703186
    http://blogs.msdn.com/b/vsod/archive/2009/06/05/visual-basic-6-controls-stop-working-after-security-advisory-960715.aspx
    Hope it is helpful.
    Regards & Fei
    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.

  • Query giving compilation error

    hi,
    i am confused that my query is working fine on back-end sqlplus, but as i put to use it in my form
    at pre-form to know count, it gives compilation error;
    sqlplus
    SELECT COUNT(*) M_CNT1
    FROM(
    SELECT POH_CODE||'-'||POH_NO CODE,NVL(POH_FREIGHT_lc_amount,0)
    -NVL((
    SELECT SUM(FTH_LC_AMOUNT)
       FROM FIN_TXN_HEADER
      WHERE FTH_REF_CODE = POH_CODE
        AND FTH_REF_NO = POH_NO
        AND FTH_ACNT_CODE = 'AC1009'
      GROUP BY FTH_REF_CODE,FTH_REF_NO),0) NET, POH_CODE, POH_NO
    FROM PURCHASE_ORDER_HEADEr
    WHERE NVL(POH_FREIGHT_LC_AMOUNT,0) > 0);
        M_CNT1
             1
    in pre-form
    declare
    m_cnt1 number;
    BEGIN
    SELECT COUNT(*) INTO M_CNT1
    FROM(
    SELECT NVL(POH_FREIGHT_lc_amount,0)
    -NVL((
    SELECT SUM(FTH_LC_AMOUNT)
       FROM FIN_TXN_HEADER
      WHERE FTH_REF_CODE = POH_CODE
        AND FTH_REF_NO = POH_NO
        AND FTH_ACNT_CODE = 'AC1009'
      GROUP BY FTH_REF_CODE,FTH_REF_NO),0) NET
    FROM PURCHASE_ORDER_HEADER
    WHERE NVL(POH_FREIGHT_LC_AMOUNT,0) > 0);
    END;return error;
    Error 103 at line 11, column 2
    Encountered the symbol "SELECT" when expecting on of the following:
    ( - + mod not null others<an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    cast<a string literal with character se specification>
    <a number> <a single-quoted SQL string>
    Error 103 at line 16, column 36
    Encountered the symbol "," when expecting on of the following:
    ) intersect minus union
    i think the problem is continuation line or single quote.
    what is it can anybody help me please? tyvm.

    >
    Error is in this line.
    Use : before M_CNT1hi Navneet,
    m_cnt1 is neither a db-or-a-non-db-block item.
    so how come i used : sign before m_cnt1.
    i guess the problem is below sonewhere may be,
    -NVL((
    SELECT SUM(FTH_LC_AMOUNT)       --- line 11
                         OR
      GROUP BY FTH_REF_CODE,FTH_REF_NO),0) NET    --line 16

  • Oracle DB Query Generating Invalid Column Index error

    Dear All,
    Apologies for a question on this rather basic error but I don't understand why i'm experiencing the behaviour described.
    The piece of code below connects to a database, runs a query, then attempts to display the contents of the resultset. I understand from other posts on the topic that the query I am executing (INSERT INTO table VALUES (...)) as in the comments below needs to have autocommit disabled to allow me to access the resultset without the transaction closing.
      public void runQuery(String query) throws Exception {   Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection(database, username, password); con.setAutoCommit(false); Statement st = con.createStatement();         ResultSet rs = st.executeQuery (query);         // "select * from user_tables"         // "INSERT INTO BH VALUES ('','2.25','Dark Red','Samsonite','4987638762')"         while (rs.next()) {         System.out.print (rs.getString(1)); // Exception thrown here     }         con.commit(); st.close();   con.close();   }
    I have removed try {} catch {} error handling for clarity.
    I am receiving the invalid column index error from the indicated line, which clearly suggest column 1 doesn't exist, however if i run the same query in another tool, something like the following is returned:
    Rows Affected
    1
    The query is being received by the database as the row ends up in the table intact, so I am clearly missing something about how to access the resultset correctly.
    I am guessing that I am either misusing/misunderstanding the autocommit option or that the resultset is different to what I am expecting...
    Can someone please shed a little light?
    Many thanks!
    George

    Ok, I've done a little more digging, and i've come to the conclusion that an INSERT query doesn't return a resultset (or returns an empty one)
    Could someone with a little more knowledge confirm this as I've had little luck finding an explicit yes or no from the web!
    Many Thanks in advance...

  • LV 2011 (and LV 2012) Compiler Error. Invalid size in _InstSize: 21

    I created a subvi in LV8.5 to handle user interface events outside a main vi. The subvi gets the control references which are registered for events, by a queue all actions are sent to a consumer case, nothing fancy. Everything works fine in LV8.5, but now I took all over to LV2011SP1 on a Windows 7 64bit and I get always the same error:
    "Compiler error. Report this problem to National Instruments Tech Support. Invalid size in _InstSize 21"
    that pops up 3 times. I tried to open the same code also in LV2012, same error... When trying to isolate the problem, I found out that by disabling code in the 3 biggest consumer cases I can get rid of the warning, but then I can't reduce the problem to one single element...
    Any ideas? 
    Solved!
    Go to Solution.
    Attachments:
    Compiler error. Invalid size in _InstSize 21.png ‏7 KB

    DavidZ. wrote:
    I created a subvi in LV8.5 to handle user interface events outside a main vi. The subvi gets the control references which are registered for events, by a queue all actions are sent to a consumer case, nothing fancy. Everything works fine in LV8.5, but now I took all over to LV2011SP1 on a Windows 7 64bit and I get always the same error:
    "Compiler error. Report this problem to National Instruments Tech Support. Invalid size in _InstSize 21"
    that pops up 3 times. I tried to open the same code also in LV2012, same error... When trying to isolate the problem, I found out that by disabling code in the 3 biggest consumer cases I can get rid of the warning, but then I can't reduce the problem to one single element...
    Any ideas? 
    Try to inline the subvi's.
    Try making them reentrant.
    Mass compile.
    Press ctrl-shift-arrow to force recompile of the entire vi call hierarchy.
    Try separating the source from the binary.
    Br,
    /Roger

  • Flex compilation error after adding an additional output port to a query

    Hello,
    I need to add an additional output port to a query in order to dynamically filter some results. Our version of VC 7.0 (SP16) doesn't support filter components with access to store data.
    Just when we add an extra output port to the query and deploy it we run into a flex compilation error.
    Has somebody come along with that?
    Kind regards
    Stefan

    Hi
    Why exactly you want another output port. With same output port you can drag multiple filters & restrict the output.
    Creation of second output port is not required.
    If first way is not suitable in your case, then you add that query twice (or multiple times) & pass the same input parameters.
    If still it is not serving the purpose then please elaborate your requirement as what dynamic filter you want.
    Regards
    Sandeep

  • What's with "Invalid Embed directive in stylesheet - can't resolve source" compile errors

    Hi
    Quite often I notice that I get lots compile errors like "Invalid Embed directive in stylesheet - can't resolve source 'Embed("assets/icons/cancelOnWhite_12x12.png")'. line 165 application.css"
    ONLY when there are other compile errors. As soon as I fix these other errors, all "Invalid Embed directive" errors disappear.
    Obviously these errors should never show in the first place, and I wonder if this is a known problem with an existing bug report?

    No. Will keep you posted if I get anything.
    I also want to clarify one thing: Design view reports embed errors as well. If you are seeing an error from design view, you should be able to see the "problem" go away and come back when you hit refresh in Design view.
    Can you confirm if this is that? If that is so, we've taken care of it in the upcoming release.

  • Compile error: Object library invalid or contains references to object definitions that could not be found

    Office Online 365 installed today January 20 on brand new HP Envy. Get the above message when loading Excel applications with code and when running code. Will greatly appreciate help. Applications run well on other computers.

    Hi Jaime,
    >> Get the above message when loading Excel applications with code and when running code. Will greatly appreciate help. Applications run well on other computers.
    >> Compile error: Object library invalid or contains references to object definitions that could not be found
    According to the error message, it seems some ActiveX control is not registered successfully on the new machine.
    Would you mind telling us which ActiveX controls you used in the workbook?
    >> For my applications Excel from Office 365 is now useless. Should I just let my subscription run out and purchase another version?
    According to my experience, this issue is not related to the subscription.
    Regards,
    Jeffrey
    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.

  • LDAP: error code 1 - Invalid query reference]; remaining name '

    I have the following function for a paged search operation.
    Data retrieved by this function is used somewhere else to modify the Ldap Directory context.
    Despite my setting for ctx and search control as "no timeout", i've been keeping thrown the exception for operations lasting more than 5 minutes(consistently) and for some short operations(sporadically):
    Paged Search failed : javax.naming.NamingException: [LDAP: error code 1 - Invalid query reference]; remaining name '<directory>'
    I am using DirX as LDAP directory.
    Is this a time-out related exception which can be fixed in the code?
    How can it be fixed?
    There's no clue all over the web about this.
    Thanks.
          * Returns the next page of the search results.
          * The returned result from this method can not exceed page size
          * set in the constructor.
          * @return
         public NamingEnumeration nextPage(){
              //1.step Set PagedResultsControl
              NamingEnumeration results = null;
              Control[] controls=null;          
              try {               
                   if( isSearchStarted==false ){
                        isSearchStarted=true;
                        if(sortingAttributes==null)
                             controls=new Control[]{ new PagedResultsControl(pageSize) };
                        else
                             controls=new Control[]{new SortControl(sortingAttributes, Control.NONCRITICAL), new PagedResultsControl(pageSize) };
                   }else {// examine the response controls
                        cookie = parseControls(ctx.getResponseControls());
                        if( cookie!=null && cookie.length!=0 ){
                             // pass the cookie back to the server for the next page
                             if(sortingAttributes==null)
                                  controls=new Control[] { new PagedResultsControl(pageSize, cookie, Control.CRITICAL) };
                             else
                                  controls=new Control[] {new SortControl(sortingAttributes, Control.NONCRITICAL), new PagedResultsControl(pageSize, cookie, Control.CRITICAL) };
                        }else{
                             //search is finished
                             return null;
                   ctx.setRequestControls(controls);
                   //ctx.getEnvironment().values();
                   //ctx.getEnvironment().put("com.sun.jndi.ldap.connect.timeout", "5000", 300000);
                   ctx.addToEnvironment("com.sun.jndi.ldap.connect.timeout", "0");
                   //ctx.getEnvironment().values();
              } catch (NamingException e) {
                   Tracer.getInstance().error("Paged Search failed while setting response controls: " + e);
                   return null;
              } catch (Exception e) {
                   Tracer.getInstance().error("Paged Search failed while setting response controls: " + e);
                   return null;
              //2.step: DO SEARCH
              for(int i=0;i<10;i++){
                   boolean reconnect=false;
                   try{     
                        results = ctx.search(searchBase, searchFilter, searchCtls);
                        Thread.sleep(300000);
                        //ctx.get
                        //Thread.sleep(300000);
                        break;
                   } catch (NamingException e) {
                        Tracer.getInstance().error("Paged Search failed : " + e);
                        reconnect=true;                    
                   } catch (Exception e) {
                        reconnect=true;
                        Tracer.getInstance().error("Paged Search failed : " + e);                    
                   if(reconnect){
                        try {
                             this.ctx = LDAPServer.getInstance().getDirContext();
                             ctx=ctx.newInstance(controls);
                             //ctx.getEnvironment().values();
                        } catch (NamingException e1) {
                             Tracer.getInstance().error("Could not reconnect the ldapcontext");
              return results;
         }

    It turned out to be a DirX "root DSE" entry "PAGP" that is disposing my paged results if a timeout occurs(300 seconds by default).
    So i have to modify this entry during runtime, which is unfortunately only can be accesed by dirxadm.exe.
    Is it possible to modify this attribute by a ldap context method?

Maybe you are looking for

  • Wanted to run a background job in diff app server

    i wanted to run a job in diff app server... how can i do it. sap guru

  • Wildcards in 3rd party script

    I am trying to adapt a 3rd party calendar script for operation on my PHP site. I'm guessing that the script was writted for use with Access or something besides MySQL since it uses "*" as a wildcard in the SQL (which I can fix). But it also uses that

  • Can't create a session on Local Disk on Cisco NAM2204-RJ45 5.1(2)

    I have a Cisco NAM 2204-RJ45 with the version 5.1(2). The issue that I have is that when I want to create a new session capture, we can not select to save the capture to the local disk, and the NAM shows me this message: "All Disk Storage are current

  • Mac mini doesn't recognise Powerbook G4 in Target Disk mode

    The hard disk on my Powerbook G4 is reporting errors so I would like to get the data off it by connecting it to my mini in target disk mode with a firewire cable. The powerbook drive fires up into target disk mode but the mini doesn't seem to recogni

  • Agents of a PCR waiting for Approval

    Hi All, I have a PCR that is Waitiing for Approval. How can i find agents for this PCR ? I have the PCR number. Any hints ???? Regards, Radhika.