Problem in schema tranformation

Hi,
I am trying to tranform one object to another object by using transform activity.
When i test the .xsl file by giving the input data in the jdeveloper transformation is successful.
But when i deploy this object and test through bpel console, tranformed element is empty..
Please guide me in resolving this problem.
Please lookinto these BPEL project files.
Transformation_1.xsl
<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
<!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
<mapSources>
<source type="WSDL">
<schema location="TransformProcess.wsdl"/>
<rootElement name="IFX" namespace="http://xmlns.oracle.com/TransformProcess"/>
</source>
</mapSources>
<mapTargets>
<target type="XSD">
<schema location="BPMTestRule.xsd"/>
<rootElement name="customerObj" namespace="http://xmlns.misys.com/jrules"/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 10.1.2.0.2(build 060111.0746) AT [FRI DEC 08 14:31:15 IST 2006]. -->
?>
<xsl:stylesheet version="1.0" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns3="urn:swift:xsd:$pain.004.001.01" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ns2="urn:swift:xsd:$pain.001.001.01" xmlns:ns0="http://xmlns.misys.com/jrules" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:client="http://xmlns.oracle.com/TransformProcess" xmlns:ns4="urn:swift:xsd:$pain.002.001.01" xmlns:ns1="http://www.misys.com/ws/2006/05/myifx/core" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" xmlns:ns5="http://www.ifxforum.org/RemitDetailInfo/2004/07" exclude-result-prefixes="xsl plnk ns3 xsd ns2 ns0 client ns4 ns1 ns5 bpws ldap xp20 ora orcl">
<xsl:template match="/">
<ns0:customerObj>
<loanAmount>
<xsl:value-of select="/ns1:IFX/ns1:BankSvcRq/ns1:DebitAddRq/ns1:DebitInfo/ns1:CompositeCurAmt/ns1:CurAmt/ns1:Amt"/>
</loanAmount>
</ns0:customerObj>
</xsl:template>
</xsl:stylesheet>
TransformProcess.wsdl
<definitions
name="TransformProcess"
targetNamespace="http://xmlns.oracle.com/TransformProcess"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:ns1="http://www.misys.com/ws/2006/05/myifx/core"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:ns2="http://xmlns.misys.com/jrules"
xmlns:client="http://xmlns.oracle.com/TransformProcess"
>
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/TransformProcess"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.misys.com/ws/2006/05/myifx/core">
<import namespace="http://www.misys.com/ws/2006/05/myifx/core" schemaLocation="myifx_draft.xsd"/>
<element name="IFX" type="ns1:IFX_Type"/>
<element name="IFXDataElement">
<complexType>
<sequence>
<element ref="ns1:IFX" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
</schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://xmlns.misys.com/jrules" schemaLocation="BPMTestRule.xsd"/>
</xsd:schema>
</types>
<message name="TransformProcessResponseMessage">
<part name="payload" element="client:IFX"/>
</message>
<message name="CustMesaage">
<part name="payload" element="ns2:customerObj"/>
</message>
<message name="TransformProcessRequestMessage">
<part name="payload" element="client:IFX"/>
</message>
<portType name="TransformProcess">
<operation name="initiate">
<input message="client:TransformProcessRequestMessage"/>
</operation>
</portType>
<portType name="TransformProcessCallback">
<operation name="onResult">
<input message="client:TransformProcessResponseMessage"/>
</operation>
</portType>
<plnk:partnerLinkType name="TransformProcess">
<plnk:role name="TransformProcessProvider">
<plnk:portType name="client:TransformProcess"/>
</plnk:role>
<plnk:role name="TransformProcessRequester">
<plnk:portType name="client:TransformProcessCallback"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
TransformProcess.bpel
<!--
// Oracle JDeveloper BPEL Designer
// Created: Fri Dec 08 10:17:44 IST 2006
// Author: Rekha
// Purpose: Asynchronous BPEL Process
-->
<process name="TransformProcess" targetNamespace="http://xmlns.oracle.com/TransformProcess" xmlns="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:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://www.misys.com/ws/2006/05/myifx/core" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xmlns.misys.com/jrules" xmlns:client="http://xmlns.oracle.com/TransformProcess" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" 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:TransformProcess" myRole="TransformProcessProvider" partnerRole="TransformProcessRequester"/>
</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="inputVariable" messageType="client:TransformProcessRequestMessage"/><!-- Reference to the message that will be sent back to the
requester during callback
-->
<variable name="outputVariable" messageType="client:TransformProcessResponseMessage"/>
<variable name="ruleVar" messageType="client:CustMesaage"/>
<variable name="ruleVar1" messageType="client:CustMesaage"/>
</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 TransformProcess.wsdl
-->
<receive name="receiveInput" partnerLink="client" portType="client:TransformProcess" operation="initiate" variable="inputVariable" createInstance="yes"/><!-- Asynchronous callback to the requester.
Note: the callback location and correlation id is transparently handled
using WS-addressing.
-->
<assign name="Transform_1">
<copy>
<from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('inputVariable','payload'))"/>
<to variable="ruleVar" part="payload"/>
</copy>
<bpelx:annotation>
<bpelx:pattern>transformation
</bpelx:pattern>
</bpelx:annotation>
</assign>
<invoke name="callbackClient" partnerLink="client" portType="client:TransformProcessCallback" operation="onResult" inputVariable="outputVariable"/>
</sequence>
</process>

Hi,
thanks for the reply. I have modified my files.
I have a root element in the source object IFXDataElement which is mapped to customerObj.
But when i run the process, IFXDataElement is not having namespace . thts the reason transformation failing.
I tried testing the xsl mapping in the jdeveloper. It fails when i remove the namespace for the root element.
but when I copy the inputVariable to the ifxReq variable, its creating the target root IFXDataElement as the root element without namespace.
Please let me know how to overcome this problem.
Modified files are here:
<!--
// Oracle JDeveloper BPEL Designer
// Created: Fri Dec 08 10:17:44 IST 2006
// Author: Rekha
// Purpose: Asynchronous BPEL Process
-->
<process name="TransformProcess" targetNamespace="http://xmlns.oracle.com/TransformProcess" xmlns="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:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://www.misys.com/ws/2006/05/myifx/core" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xmlns.misys.com/jrules" xmlns:client="http://xmlns.oracle.com/TransformProcess" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" 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:TransformProcess" myRole="TransformProcessProvider" partnerRole="TransformProcessRequester"/>
</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="inputVariable" messageType="client:TransformProcessRequestMessage"/><!-- Reference to the message that will be sent back to the
requester during callback
-->
<variable name="outputVariable" messageType="client:TransformProcessResponseMessage"/>
<variable name="ruleVar" messageType="client:CustMesaage"/>
<variable name="ruleVar1" messageType="client:IFXEnvelopeMessage"/>
<variable name="ifxReq" messageType="client:IFXDataElementMessage"/>
<variable name="ifxEnvelopeVar" messageType="client:IFXEnvelopeMessage"/>
<variable name="ifxElem" messageType="client:RuleMessage"/>
<variable name="testVar" messageType="client:IFXEnvMessage"/>
</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 TransformProcess.wsdl
-->
<receive name="receiveInput" partnerLink="client" portType="client:TransformProcess" operation="initiate" variable="inputVariable" createInstance="yes"/><!-- Asynchronous callback to the requester.
Note: the callback location and correlation id is transparently handled
using WS-addressing.
-->
<assign name="Transform_1">
<copy>
<from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('inputVariable','payload'))"/>
<to variable="ruleVar" part="payload"/>
</copy>
<bpelx:annotation>
<bpelx:pattern>transformation
</bpelx:pattern>
</bpelx:annotation>
</assign>
<assign name="Assign_1">
<copy>
<from variable="inputVariable" part="payload"/>
<to variable="ifxReq" part="payload"/>
</copy>
</assign>
<assign name="Transform_2">
<copy>
<from expression="ora:processXSLT('Transformation_2.xsl',bpws:getVariableData('ifxReq','payload'))"/>
<to variable="ruleVar" part="payload"/>
</copy>
<bpelx:annotation>
<bpelx:pattern>transformation
</bpelx:pattern>
</bpelx:annotation>
</assign>
<invoke name="callbackClient" partnerLink="client" portType="client:TransformProcessCallback" operation="onResult" inputVariable="outputVariable"/>
</sequence>
</process>
<definitions
name="TransformProcess"
targetNamespace="http://xmlns.oracle.com/TransformProcess"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:ns1="http://www.misys.com/ws/2006/05/myifx/core"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:ns2="http://xmlns.misys.com/jrules"
xmlns:client="http://xmlns.oracle.com/TransformProcess"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/TransformProcess"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.misys.com/ws/2006/05/myifx/core"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<import namespace="http://www.misys.com/ws/2006/05/myifx/core" schemaLocation="myifx_draft.xsd" />
<element name="IFX" type="ns1:IFX_Type"/>
<!-- <element name="IFXDataElement" type="ns1:IFXDataElement_Type"/> -->
<element name="IFXDataElement" type="ns1:IFXDataElement_Type"/>
<!-- <complexType>
<sequence>
<element ref="ns1:IFX" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element> -->
<element name="IFXEnvelope" >
<complexType>
<sequence>
<element ref="client:IFX_new"/>
</sequence>
</complexType>
</element>
<element name="IFX_new">
<complexType>
<sequence>
<element ref="ns1:IFX" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="ifxelem" nillable="true" type="xsd:anyType">
<!-- <complexType>
<sequence> <element name="ifxdata" nillable="true" type="xsd:anyType" />
</sequence>
</complexType> -->
</element>
</schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://xmlns.misys.com/jrules" schemaLocation="BPMTestRule.xsd"/>
</xsd:schema>
</types>
<message name="TransformProcessResponseMessage">
<part name="payload" element="ns1:IFX"/>
</message>
<message name="CustMesaage">
<part name="payload" element="ns2:customerObj"/>
</message>
<message name="TransformProcessRequestMessage">
<part name="payload" element="ns1:IFX"/>
</message>
<message name="RuleMessage">
<part name="payload" element="ns1:IFX"/>
</message>
<message name="IFXDataElementMessage">
<part name="payload" element="ns1:IFXDataElement"/>
</message>
<message name="IFXEnvelopeMessage">
<part name="payload" element="client:IFXEnvelope"/>
</message>
<message name="IFXEnvMessage">
<part name="payload" element="client:ifxelem"/>
</message>
<portType name="TransformProcess">
<operation name="initiate">
<input message="client:TransformProcessRequestMessage"/>
</operation>
</portType>
<portType name="TransformProcessCallback">
<operation name="onResult">
<input message="client:TransformProcessResponseMessage"/>
</operation>
</portType>
<plnk:partnerLinkType name="TransformProcess">
<plnk:role name="TransformProcessProvider">
<plnk:portType name="client:TransformProcess"/>
</plnk:role>
<plnk:role name="TransformProcessRequester">
<plnk:portType name="client:TransformProcessCallback"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
<!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
<mapSources>
<source type="WSDL">
<schema location="TransformProcess.wsdl"/>
<rootElement name="IFXDataElement" namespace="http://www.misys.com/ws/2006/05/myifx/core"/>
</source>
</mapSources>
<mapTargets>
<target type="XSD">
<schema location="BPMTestRule.xsd"/>
<rootElement name="customerObj" namespace="http://xmlns.misys.com/jrules"/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 10.1.2.0.2(build 060111.0746) AT [MON DEC 18 14:41:58 IST 2006]. -->
?>
<xsl:stylesheet version="1.0"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:ns3="urn:swift:xsd:$pain.004.001.01"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns2="urn:swift:xsd:$pain.001.001.01"
xmlns:ns0="http://xmlns.misys.com/jrules"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:client="http://xmlns.oracle.com/TransformProcess"
xmlns:ns4="urn:swift:xsd:$pain.002.001.01"
xmlns:ns1="http://www.misys.com/ws/2006/05/myifx/core"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:ns5="http://www.ifxforum.org/RemitDetailInfo/2004/07"
exclude-result-prefixes="xsl plnk ns3 xsd ns2 ns0 client ns4 ns1 ns5 bpws ldap xp20 ora orcl">
<xsl:template match="/">
<ns0:customerObj>
<ns0:customerObject>
<loanAmount>
<xsl:value-of select="/ns1:IFXDataElement/ns1:IFX/ns1:BankSvcRq/ns1:DebitAddRq/ns1:DebitInfo/ns1:CompositeCurAmt/ns1:CurAmt/ns1:Amt"/>
</loanAmount>
</ns0:customerObject>
</ns0:customerObj>
</xsl:template>
</xsl:stylesheet>
____________________________

Similar Messages

  • Error "Problem building schema" while invoking external webservice

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

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

  • "Problem building schema" exception in BPEL Designer

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

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

  • Problem building schema in provider ABCS

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

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

  • Partnerlink - Problem building schema

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

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

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

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

    Disable the proxy settings in JDeveloper.
    Marc

  • Exception:Problem building schema

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

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

  • Problem building schema on WSDL for Partnerlink

    Hi,
    We use PL/SQL webservices, which are being generated with JDeveloper. As long as it contains single Object Types, there's no problem with defining the WS as Partnerlink and using it.
    However, we've made one service that returns several occurrences (array). That shouldn't be a problem. But, ... I can define the partnerlink on the basis of the WSDL, but when I try to access the variables it generates with it, i get an exception with the following message: Problem building schema. Detailed node information shows: 'Invalid reference: 'http://schemas.xmlsoap.org/soap/encoding/:Array'
    <!--
    Generated by the Oracle JDeveloper 10g Web Services WSDL Generator
    -->
    <!--Date Created: Tue Sep 13 15:03:40 CEST 2005-->
         <definitions name="aanvraagWS" targetNamespace="http://nl/nak/aanvraagService/aanvraagWS.wsdl">
         <types>
         <schema targetNamespace="http://nl.nak.services/AanvraagWS.xsd">
         <complexType name="nl_nak_services_AvrgAvrgOtUser" jdev:packageName="nl.nak.services">
         <all>
    <element name="id" type="decimal"/>
    <element name="oogstjaar" type="decimal"/>
    <element name="aanvraagNummer" type="decimal"/>
    <element name="rleId" type="decimal"/>
    <element name="kotId" type="decimal"/>
    <element name="aantalVerpakkingen" type="decimal"/>
    <element name="verpakkingsvorm" type="string"/>
    <element name="totaalGewicht" type="decimal"/>
    <element name="indBemonsterdNaDrogen" type="string"/>
    <element name="partijnummerHandelaar" type="string"/>
    <element name="opmerkingen" type="string"/>
    <element name="datumBemonstering" type="dateTime"/>
    <element name="plombenummer" type="string"/>
    <element name="indSpoedonderzoek" type="string"/>
    <element name="bemonsterdDoor" type="string"/>
    <element name="pdtId" type="decimal"/>
    <element name="procesInstanceId" type="decimal"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AanvraagWSImpl_addaanvraag_Out" jdev:packageName="nl.nak.services">
         <all>
    <element name="paanvraagotInout" type="ns1:nl_nak_services_AvrgAvrgOtUser"/>
    <element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AvrgServiceBerichtOtUser" jdev:packageName="nl.nak.services">
         <all>
    <element name="serviceCode" type="decimal"/>
    <element name="serviceBericht" type="string"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AanvraagWSImpl_getaanvraag_Out" jdev:packageName="nl.nak.services">
         <all>
    <element name="paanvraagotOut" type="ns1:nl_nak_services_AvrgAvrgOtUser"/>
    <element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AanvraagWSImpl_findaanvraag_Out" jdev:packageName="nl.nak.services">
         <all>
    <element name="paanvraagotOut" type="ns1:nl_nak_services_AvrgAvrgOtUser"/>
    <element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AvrgWngOtUser" jdev:packageName="nl.nak.services">
         <all>
    <element name="id" type="decimal"/>
    <element name="wmrId" type="decimal"/>
    <element name="prrId" type="decimal"/>
    <element name="avrgId" type="decimal"/>
    <element name="waardeNumeriek" type="decimal"/>
    <element name="waardeAlfanumeriek" type="string"/>
    <element name="datumUitvoering" type="dateTime"/>
    <element name="uitvoerder" type="string"/>
    <element name="istId" type="decimal"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AanvraagWSImpl_addwaarneming_Out" jdev:packageName="nl.nak.services">
         <all>
    <element name="pwaarnemingotInout" type="ns1:nl_nak_services_AvrgWngOtUser"/>
    <element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AanvraagWSImpl_getwaarneming_Out" jdev:packageName="nl.nak.services">
         <all>
    <element name="pwaarnemingotOut" type="ns1:nl_nak_services_AvrgWngOtUser"/>
    <element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AanvraagWSImpl_findwaarneming_Out" jdev:packageName="nl.nak.services">
         <all>
    <element name="pwaarnemingotInout" type="ns1:nl_nak_services_AvrgWngOtUser"/>
    <element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AanvraagWSImpl_listwaarnemingperaanvraag_Out" jdev:packageName="nl.nak.services">
         <all>
    <element name="pwaarnemingctOut" type="ns1:nl_nak_services_AvrgWngCt"/>
    <element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
    </all>
    </complexType>
         <complexType name="nl_nak_services_AvrgWngCt" jdev:packageName="nl.nak.services">
         <all>
    <element name="array" type="ns1:ArrayOfnl_nak_services_AvrgWngOtUser"/>
    </all>
    </complexType>
         <complexType name="ArrayOfnl_nak_services_AvrgWngOtUser">
         <complexContent>
         <restriction base="SOAP-ENC:Array">
    <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="ns1:nl_nak_services_AvrgWngOtUser[]"/>
    </restriction>
    </complexContent>
    </complexType>
         <complexType name="nl_nak_services_AanvraagWSImpl_listwaarnemingperwerkmonster_Out" jdev:packageName="nl.nak.services">
         <all>
    <element name="pwaarnemingctOut" type="ns1:nl_nak_services_AvrgWngCt"/>
    <element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
    </all>
    </complexType>
    </schema>
    </types>
         <message name="addaanvraag0Request">
    <part name="xxpAanvraagOt_inoutxx" type="ns1:nl_nak_services_AvrgAvrgOtUser"/>
    </message>
         <message name="addaanvraag0Response">
    <part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_addaanvraag_Out"/>
    </message>
         <message name="getaanvraag1Request">
    <part name="pAanvraagid" type="xsd:decimal"/>
    </message>
         <message name="getaanvraag1Response">
    <part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_getaanvraag_Out"/>
    </message>
         <message name="findaanvraag2Request">
    <part name="pOogstjaar" type="xsd:decimal"/>
    <part name="pAanvraagNummer" type="xsd:decimal"/>
    </message>
         <message name="findaanvraag2Response">
    <part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_findaanvraag_Out"/>
    </message>
         <message name="addwaarneming3Request">
    <part name="xxpWaarnemingOt_inoutxx" type="ns1:nl_nak_services_AvrgWngOtUser"/>
    </message>
         <message name="addwaarneming3Response">
    <part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_addwaarneming_Out"/>
    </message>
         <message name="getwaarneming4Request">
    <part name="pWerkmonsterId" type="xsd:decimal"/>
    <part name="pAanvraagId" type="xsd:decimal"/>
    <part name="pBepalingId" type="xsd:decimal"/>
    </message>
         <message name="getwaarneming4Response">
    <part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_getwaarneming_Out"/>
    </message>
         <message name="findwaarneming5Request">
    <part name="xxpWaarnemingOt_inoutxx" type="ns1:nl_nak_services_AvrgWngOtUser"/>
    </message>
         <message name="findwaarneming5Response">
    <part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_findwaarneming_Out"/>
    </message>
         <message name="listwaarnemingperaanvraag6Request">
    <part name="pAanvraagId" type="xsd:decimal"/>
    </message>
         <message name="listwaarnemingperaanvraag6Response">
    <part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_listwaarnemingperaanvraag_Out"/>
    </message>
         <message name="listwaarnemingperwerkmonster7Request">
    <part name="pWerkmonsterId" type="xsd:decimal"/>
    </message>
         <message name="listwaarnemingperwerkmonster7Response">
    <part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_listwaarnemingperwerkmonster_Out"/>
    </message>
         <portType name="AanvraagWSPortType">
         <operation name="addaanvraag">
    <input name="addaanvraag0Request" message="tns:addaanvraag0Request"/>
    <output name="addaanvraag0Response" message="tns:addaanvraag0Response"/>
    </operation>
         <operation name="getaanvraag">
    <input name="getaanvraag1Request" message="tns:getaanvraag1Request"/>
    <output name="getaanvraag1Response" message="tns:getaanvraag1Response"/>
    </operation>
         <operation name="findaanvraag">
    <input name="findaanvraag2Request" message="tns:findaanvraag2Request"/>
    <output name="findaanvraag2Response" message="tns:findaanvraag2Response"/>
    </operation>
         <operation name="addwaarneming">
    <input name="addwaarneming3Request" message="tns:addwaarneming3Request"/>
    <output name="addwaarneming3Response" message="tns:addwaarneming3Response"/>
    </operation>
         <operation name="getwaarneming">
    <input name="getwaarneming4Request" message="tns:getwaarneming4Request"/>
    <output name="getwaarneming4Response" message="tns:getwaarneming4Response"/>
    </operation>
         <operation name="findwaarneming">
    <input name="findwaarneming5Request" message="tns:findwaarneming5Request"/>
    <output name="findwaarneming5Response" message="tns:findwaarneming5Response"/>
    </operation>
         <operation name="listwaarnemingperaanvraag">
    <input name="listwaarnemingperaanvraag6Request" message="tns:listwaarnemingperaanvraag6Request"/>
    <output name="listwaarnemingperaanvraag6Response" message="tns:listwaarnemingperaanvraag6Response"/>
    </operation>
         <operation name="listwaarnemingperwerkmonster">
    <input name="listwaarnemingperwerkmonster7Request" message="tns:listwaarnemingperwerkmonster7Request"/>
    <output name="listwaarnemingperwerkmonster7Response" message="tns:listwaarnemingperwerkmonster7Response"/>
    </operation>
    </portType>
         <binding name="AanvraagWSBinding" type="tns:AanvraagWSPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
         <operation name="addaanvraag">
    <soap:operation soapAction="" style="rpc"/>
         <input name="addaanvraag0Request">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
         <output name="addaanvraag0Response">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
         <operation name="getaanvraag">
    <soap:operation soapAction="" style="rpc"/>
         <input name="getaanvraag1Request">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
         <output name="getaanvraag1Response">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
         <operation name="findaanvraag">
    <soap:operation soapAction="" style="rpc"/>
         <input name="findaanvraag2Request">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
         <output name="findaanvraag2Response">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
         <operation name="addwaarneming">
    <soap:operation soapAction="" style="rpc"/>
         <input name="addwaarneming3Request">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
         <output name="addwaarneming3Response">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
         <operation name="getwaarneming">
    <soap:operation soapAction="" style="rpc"/>
         <input name="getwaarneming4Request">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
         <output name="getwaarneming4Response">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
         <operation name="findwaarneming">
    <soap:operation soapAction="" style="rpc"/>
         <input name="findwaarneming5Request">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
         <output name="findwaarneming5Response">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
         <operation name="listwaarnemingperaanvraag">
    <soap:operation soapAction="" style="rpc"/>
         <input name="listwaarnemingperaanvraag6Request">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
         <output name="listwaarnemingperaanvraag6Response">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
         <operation name="listwaarnemingperwerkmonster">
    <soap:operation soapAction="" style="rpc"/>
         <input name="listwaarnemingperwerkmonster7Request">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
         <output name="listwaarnemingperwerkmonster7Response">
    <soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
    </binding>
         <service name="aanvraagWS">
         <port name="AanvraagWSPort" binding="tns:AanvraagWSBinding">
    <soap:address location="http://nak3.nak.nl:7779/aanvraagService/AanvraagWS"/>
    </port>
    </service>
    </definitions>

    Well, the problem is caused by the fact that BPEL does not yet support soapenc:Array types. We've created a workaround by defining two Services, one that has only single returntypes and one that has the multiple returntypes (which are defined using soapenc:Array). There are other solutions, but those are very complicated. Hope this helps!

  • Problem building schema - Siebel OnDemand Web Services

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

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

  • Problem building schema for return type as custom object

    Hi i am invoking a web service through a partner link. But when i expand the invoke variables( in structure tab ), it shows Exception- Problem building schema.
    Response is of type java:Customer which is a custom object having mobile_no, name, compname.
    Error is--
    Invalid reference: 'java:customobjectproject:Customer'
    wsdl file:
    <?xml version='1.0' encoding='UTF-8'?>
    <definitions name="CustomerDetailServiceDefinitions" targetNamespace="http://customobjectproject" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://customobjectproject" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://customobjectproject" xmlns:s0="http://customobjectproject" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="getCustomer">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="mobileNo" type="xs:int"/>
    <xs:element name="name" type="xs:string"/>
    <xs:element name="compName" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="getCustomerResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="return" type="java:Customer" xmlns:java="java:customobjectproject"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:customobjectproject" xmlns:s0="http://customobjectproject" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:complexType name="Customer">
    <xs:sequence>
    <xs:element minOccurs="1" name="Mobile_no" nillable="false" type="xs:int"/>
    <xs:element minOccurs="1" name="Name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="1" name="CompName" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    </types>
    <message name="getCustomer">
    <part element="s0:getCustomer" name="parameters"/>
    </message>
    <message name="getCustomerResponse">
    <part element="s0:getCustomerResponse" name="parameters"/>
    </message>
    <portType name="CustomerDetail">
    <operation name="getCustomer" parameterOrder="parameters">
    <input message="s0:getCustomer"/>
    <output message="s0:getCustomerResponse"/>
    </operation>
    </portType>
    <binding name="CustomerDetailServiceSoapBinding" type="s0:CustomerDetail">
    <s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getCustomer">
    <s1:operation soapAction="" style="document"/>
    <input>
    <s1:body parts="parameters" use="literal"/>
    </input>
    <output>
    <s1:body parts="parameters" use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="CustomerDetailService">
    <port binding="s0:CustomerDetailServiceSoapBinding" name="CustomerDetailSoapPort">
    <s1:address location="http://localhost:7030/CustomerDetail/CustomerDetail"/>
    </port>
    </service>
    </definitions>
    I am using jdeveloper 10.1.3.3.0. Please help..
    Thanks.

    Well, the problem is caused by the fact that BPEL does not yet support soapenc:Array types. We've created a workaround by defining two Services, one that has only single returntypes and one that has the multiple returntypes (which are defined using soapenc:Array). There are other solutions, but those are very complicated. Hope this helps!

  • Problem building schema in JDeveloper with  user defined complex type.

    Hi,
    I am facing proble in JDeveloper while assigning input.
    1. Used Oracle BPEL Database Adaper to access the procedure in Oracle DB which accepts input in the form of record typ in database.
    2. XSD file is automatically created.
    3. BPEL process WSDL's, input and output parameter elements are modified as
    per the auto generated XSD file.
    4. Trying to assign the input from BPEL console to the input variable of
    procedure.
    5. Getting error message "Invalid reference:
    xmlns="http://www.w3.org/2001/XMLSchema:XX_QTE_LINE_REC_TYPE" in the Oracle
    BPEL designer when, drilled down at input variable.
    Generated code:
    1. XX_RAC_CREATE_QUOTE_1.XSD --> generated by Oracle BPEL below:
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/BOLINF/XX_RAC_CREATE_QUOTE_1/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/BOLINF/XX_RAC_CREATE_QUOTE_1/">
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="P_QTE_HEADER_REC" type="db:XX_RAC_QTE_HEADER_REC_TYPE" db:index="1" db:type="Struct" minOccurs="0" nillable="true"/>
    <element name="P_QTE_LINE_REC" type="db:XX_QTE_LINE_REC_TYPE" db:index="2" db:type="Struct" minOccurs="0" nillable="true"/>
    <element name="P_CIELING_LIMIT" type="decimal" db:index="3" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="P_EXCESS" type="decimal" db:index="4" db:type="NUMBER" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="X_QUOTE_NUMBER" type="string" db:index="5" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="X_RETURN_STATUS" type="string" db:index="6" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="XX_QTE_LINE_REC_TYPE">
    <sequence>
    <element name="QUOTE_HEADER_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="QUOTE_LINE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="INVENTORY_ORG_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="INVENTORY_ITEM_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="PRICE_LIST" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="BILL_TO_ACCOUNT" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="BILL_TO_SITE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="SHIP_TO_ACCOUNT" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="SHIP_TO_SITE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="QUANTITY" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="ORGANIZATION_ID" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="20"/>
    </restriction>
    </simpleType>
    </element>
    <element name="LINE_CATERORY_CODE" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="100"/>
    </restriction>
    </simpleType>
    </element>
    <element name="OPERATION_CODE" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="20"/>
    </restriction>
    </simpleType>
    </element>
    <element name="CREATED_BY" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="100"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    <complexType name="XX_RAC_QTE_HEADER_REC_TYPE">
    <sequence>
    <element name="SR_NUMBER" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="100"/>
    </restriction>
    </simpleType>
    </element>
    <element name="VRN" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="INS_ACCT_NBR" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="INS_ACCT_SITE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="CUST_ACCT_NBR" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="CUST_SITE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="CREATED_BY" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="ORGANIZATION_ID" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    </schema>
    2. Update QuoteCreationTest.wsdl as per the above generated XSD file below:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="QuoteCreationTest"
    targetNamespace="http://xmlns.oracle.com/QuoteCreationTest"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/QuoteCreationTest"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         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 us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/QuoteCreationTest"
                   xmlns="http://www.w3.org/2001/XMLSchema">
                   <element name="QuoteCreationTestProcessRequest">
                        <complexType>
                             <sequence>
    <element name="P_QTE_HEADER_REC" type="XX_RAC_QTE_HEADER_REC_TYPE" minOccurs="0" nillable="true"/>
    <element name="P_QTE_LINE_REC" type="XX_QTE_LINE_REC_TYPE" minOccurs="0" nillable="true"/>
    <element name="P_CIELING_LIMIT" type="decimal" minOccurs="0" nillable="true"/>
    <element name="P_EXCESS" type="decimal" minOccurs="0" nillable="true"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="QuoteCreationTestProcessResponse">
                        <complexType>
                             <sequence>
    <element name="X_QUOTE_NUMBER" type="string" minOccurs="0" nillable="true"/>
    <element name="X_RETURN_STATUS" type="string" minOccurs="0" nillable="true"/>
                             </sequence>
                        </complexType>
                   </element>
    <complexType name="XX_QTE_LINE_REC_TYPE">
    <sequence>
    <element name="QUOTE_HEADER_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="QUOTE_LINE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="INVENTORY_ORG_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="INVENTORY_ITEM_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="PRICE_LIST" type="string" minOccurs="0" nillable="true" />
    <element name="BILL_TO_ACCOUNT" type="string" minOccurs="0" nillable="true"/>
    <element name="BILL_TO_SITE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="SHIP_TO_ACCOUNT" type="string" minOccurs="0" nillable="true"/>
    <element name="SHIP_TO_SITE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="QUANTITY" type="decimal" minOccurs="0" nillable="true"/>
    <element name="ORGANIZATION_ID" type="string" minOccurs="0" nillable="true"/>
    <element name="LINE_CATERORY_CODE" type="string" minOccurs="0" nillable="true"/>
    <element name="OPERATION_CODE" type="string" minOccurs="0" nillable="true"/>
    <element name="CREATED_BY" type="string" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="XX_RAC_QTE_HEADER_REC_TYPE">
    <sequence>
    <element name="SR_NUMBER" type="string" minOccurs="0" nillable="true"/>
    <element name="VRN" type="string" minOccurs="0" nillable="true"/>
    <element name="INS_ACCT_NBR" type="string" minOccurs="0" nillable="true"/>
    <element name="INS_ACCT_SITE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="CUST_ACCT_NBR" type="string" minOccurs="0" nillable="true"/>
    <element name="CUST_SITE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="CREATED_BY" type="string" minOccurs="0" nillable="true"/>
    <element name="ORGANIZATION_ID" type="string" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="QuoteCreationTestRequestMessage">
              <part name="payload" element="client:QuoteCreationTestProcessRequest"/>
         </message>
         <message name="QuoteCreationTestResponseMessage">
              <part name="payload" element="client:QuoteCreationTestProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the QuoteCreationTest BPEL process -->
         <portType name="QuoteCreationTest">
              <operation name="process">
                   <input message="client:QuoteCreationTestRequestMessage" />
                   <output message="client:QuoteCreationTestResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="QuoteCreationTest">
              <plnk:role name="QuoteCreationTestProvider">
                   <plnk:portType name="client:QuoteCreationTest"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    3. Error message when accessing assign from JDeveloper below:
    Invalid reference:
    xmlns='http://www.w3.org/2001/XMLSchema:XX_QTE_LINE_REC_TYPE'
    Can any one please, let me know the reason for the above error generated.
    Thanks and Regards
    Raj

    clemens,
    Now, i have problem with the input variable data type of my client and the input variable type of my receive activity.
    Currenty, my input variable of receive activity is same as the data type of my procedure input parameter, but my client input variable is still string.
    Please, find my client WSDL below:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="QuoteCreation"
    targetNamespace="http://xmlns.oracle.com/QuoteCreation"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/QuoteCreation"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         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 us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/QuoteCreation"
                   xmlns="http://www.w3.org/2001/XMLSchema">
                   <element name="QuoteCreationProcessRequest">
                        <complexType>
                             <sequence>
                                  <element name="input" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="QuoteCreationProcessResponse">
                        <complexType>
                             <sequence>
                                  <element name="result" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="QuoteCreationRequestMessage">
              <part name="payload" element="client:QuoteCreationProcessRequest"/>
         </message>
         <message name="QuoteCreationResponseMessage">
              <part name="payload" element="client:QuoteCreationProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the QuoteCreation BPEL process -->
         <portType name="QuoteCreation">
              <operation name="process">
                   <input message="client:QuoteCreationRequestMessage" />
                   <output message="client:QuoteCreationResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="QuoteCreation">
              <plnk:role name="QuoteCreationProvider">
                   <plnk:portType name="client:QuoteCreation"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    Cheers
    Raj

  • Problem with Schema Definitions for Persintence Units

    Hello,
    Is there any way to explicitly specify SCHEMA types for the persistence units which are under use?
    Details:
    In our SOA application, we have to use two different data sources within a single business component. For that I have created my persintence.xml file with two persistence-unit definitions and is using @PersistenceContext(unitName="") to get an entity manager reference.
    Things were going smoothly until we had 2 different users for the respective database schema's.
    Now, as per the change request, I am supposed to use only one database user account, who is having only the read and modify privileges on both the database schema's. I would like to know, is there any way to explicitly specify the schema type for both of my persistence-units. I tried with the default-schema in orm.xml, but for both the data sources, that schema is getting referred. As a work around, currently I am using the SCHEMA attribute with all my @Table annotation of entity classes.
    Any input which will give insight to this problem will be appreciated.
    Thanks in advance,
    Regards,
    Dipu.

    orm.xml is the default mapping file for a persistence unit. Can you try specifying a separate mapping file where you define the default schema for your unit and reference it from the mapping-file element in the persistence.xml as follows:
    <mapping-file>META-INF/secondORMap.xml</mapping-file>     
    You can find a working example in the code examples (see chapter 11) of my book at http://manning.com/panda/. You can download from resources section.
    -Debu
    Author EJB 3 In Action - http://manning.com/panda/

  • Problem in Schemas import from one database to another

    Hi,
    I have to import the schemas from one database (10g release 1) to another database (10g release 1).
    But the problem is that through simple import (imp) the system privileges, object privileges & other things are not importing to import file. There are various objects in the schemas which are inter-related & I can't manually grant on those objects.
    I have also tried Toad Export DDL Script. But my problem is not solve through the Toad. There are other various issues occuring with TOAD.
    I have also tried SQL Developer & PL/SQL Developer but CLOB problem is occuring with them.
    The schemas which I have been creating in different database is new schemas with same name.
    AB
    Edited by: adhondiyal on Dec 26, 2010 8:55 AM

    adhondiyal wrote:
    Hi,
    I have to import the schemas from one database (10g release 1) to another database (10g release 1).
    But the problem is that through simple import (imp) the system privileges, object privileges & other things are not importing to import file. There are various objects in the schemas which are inter-related & I can't manually grant on those objects.
    I have also tried Toad Export DDL Script. But my problem is not solve through the Toad. There are other various issues occuring with TOAD.
    I have also tried SQL Developer & PL/SQL Developer but CLOB problem is occuring with them.
    ABWhy can't you use EXPDP/IMPDP
    have you given grants=y ?
    mp system/***** file=schema.dmp log=schema.log fromuser=user1 touser=user2 grants=yis the usernames of source & dest are same?
    use as if schema name is same
    expdp system/**** directory=DATA_PUMP_DIR dumpfile=schema.dmp logfile=schema.log schemas=users
    impdp system/**** dumpfile=schema.dmp logfile=schema1.log
    if schema name is different then
    expdp system/**** directory=DATA_PUMP_DIR dumpfile=schema.dmp logfile=schema.log schemas=users
    impdp system/**** dumpfile=schema.dmp logfile=schema1.log remap_schema=(source:dest)
    Thanks

  • Problem Importing Schemas

    Hello, Quite new to Oracle here..
    Oracle 9.2.0.6 on hp UX 11i.
    I have an .exp file containing users, schemas and everything. Its a normal exp.
    Here is what I do.
    1- I create an empty database called VPMTEST
    2- I set the Oracle_SID to VPMTEST
    I log on Sqplus, and i create some users that i know are in the .exp file by doing this:
    SQL>create user usernameidentified by password;
    SQL>grant resource, connect, dba to username;
    SQL> commit;
    SQL> exit
    # imp
    Username: system
    Password: password
    ImportFile: my_file.exp
    Enter Buffer Size (min is 8192) 30720> 30720
    Export file created by EXPORTLV09.02.00 via conventional patch
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    impoer server uses WE8IS08859P1 character set (possible charset convertion)
    List contents of import file only (yes/no): no > yes
    Import Entire export file? (tes/no) no:> no (i do not know the sys/system passwords on the .exp)
    Username: username (not a dba)
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done: [ENTER] (i do not know the tables)
    =============================================================
    Once the import is done, i have the import sucessful without warnings.
    The next step, i verify if everything was imported correctly by doing this:
    sqlplus :sys/passwd as sysdba"
    SQL> describe username
    ERROR:
    ORA-0403: object username does not exist
    SQL>,
    Anybody have an idea of what my problem could be???
    Thanks a lot for reading
    Maxime.
    null
    Message was edited by:
    malarie
    Message was edited by:
    malarie

    Thanks for the replies.
    It seems i still have a problem. It seems to be importing all the tables, but it does not import the tablespaces.
    As an example, after the import is done, i enter the following command: SQL> describe DOI and i have the folowing error:
    ERROR:
    ORA-04043: object DOI does not exist.
    So it seems to me that there is something wrong with my import command:
    # imp
    Username: system
    Password: password
    ImportFile: my_file.exp
    Enter Buffer Size (min is 8192) 30720> 30720
    Export file created by EXPORTLV09.02.00 via conventional patch
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    impoer server uses WE8IS08859P1 character set (possible charset convertion)
    List contents of import file only (yes/no): no > no
    Import Entire export file? (tes/no) no:> no (i do not know the sys/system passwords on the .exp)
    Username: username (not a dba)
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done: [ENTER] (i do not know the tables)
    Do I need to create ALL the users from the dump file before importing??
    Do I need to create ALL the tablespaces before the import as well?
    Do I have to import in a new database everytime? (I did multiple imports in my DB and now i have a lot of warnings saying that everything already exists)
    I think a part of the problem is the schemas not being imported.
    I know i have a lot of questions, but my experience with oracle management is very limited.
    Thanks for your time.

  • Problem creating schema source while using WebService in MessageMapping

    Hi, scenario is RFC2WS.
    Problem that occurs is that when i want to use a method from WebService in MessageMapping XI won't import the structure. I am getting following error. The WSDL is from an external portal on which a WebService is ready to invoke.
    <b>What might be the problem?! </b>
    <i>
    Problem when creating schema source:
    Details
    java.lang.NullPointerException
    STACKTRACE:
    com.sap.aii.utilxi.misc.api.BaseException: java.lang.NullPointerException
        at com.sap.aii.ib.gui.xmleditor.docview.views.XsdSchemaTextable.setSchema(XsdSchemaTextable.java:86)
        at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.setSchema(XsdContainerTextView.java:46)
        at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.<init>(XsdContainerTextView.java:36)
        at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.makeFromTreeDoc(MultiViewEditor.java:216)
        at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.<init>(MultiViewEditor.java:64)
        at com.sap.aii.mappingtool.mf.TransformationPanel.createTargetView(TransformationPanel.java:264)
        at com.sap.aii.mappingtool.mf.TransformationPanel.<init>(TransformationPanel.java:100)
        at com.sap.aii.mappingtool.mf.MappingTool.<init>(MappingTool.java:32)
        at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:96)
        at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:315)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView$LinkDataTarget.setData(XiMappingView.java:378)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView$MessageDataTarget.setData(XiTransformationView.java:973)
        at com.sap.aii.utilxi.swing.toolkit.dnd.DataTarget.setData(DataTarget.java:514)
        at com.sap.aii.utilxi.swing.toolkit.dnd.DataTarget.drop(DataTarget.java:462)
        at java.awt.dnd.DropTarget.drop(Unknown Source)
        at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
        at sun.awt.dnd.SunDropTargetContextPeer.access$800(Unknown Source)
        at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
        at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
        at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
    STACKTRACE:
    java.lang.NullPointerException
        at com.sap.aii.utilxi.xsd.api.XsdHandler.saveSchemaToDocument(XsdHandler.java:61)
        at com.sap.aii.ib.gui.xmleditor.docview.views.XsdSchemaTextable.setSchema(XsdSchemaTextable.java:82)
        at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.setSchema(XsdContainerTextView.java:46)
        at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.<init>(XsdContainerTextView.java:36)
        at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.makeFromTreeDoc(MultiViewEditor.java:216)
        at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.<init>(MultiViewEditor.java:64)
        at com.sap.aii.mappingtool.mf.TransformationPanel.createTargetView(TransformationPanel.java:264)
        at com.sap.aii.mappingtool.mf.TransformationPanel.<init>(TransformationPanel.java:100)
        at com.sap.aii.mappingtool.mf.MappingTool.<init>(MappingTool.java:32)
        at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:96)
        at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:315)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView$LinkDataTarget.setData(XiMappingView.java:378)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView$MessageDataTarget.setData(XiTransformationView.java:973)
        at com.sap.aii.utilxi.swing.toolkit.dnd.DataTarget.setData(DataTarget.java:514)
        at com.sap.aii.utilxi.swing.toolkit.dnd.DataTarget.drop(DataTarget.java:462)
        at java.awt.dnd.DropTarget.drop(Unknown Source)
        at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
        at sun.awt.dnd.SunDropTargetContextPeer.access$800(Unknown Source)
        at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
        at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
        at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
    </i>

    Hi ,
    Can you please cross check these steps carefully.
    1. After importing the WSDL using external definition, did you checked msges Tab for for the included msg to see what msges you have added.
    and be careful that the namespaces of the messages are part of the WSDL description and can differ from the namespace of the external definition object.
    2.Did you created message Interface corresponding to the message types from the external definition? it is needed to route the message to webService. Here select message types of the external definition object. Assign input and output messages.
    3. Creating a SOAP Receiver Channel
    To call the Web service, you create a communication channel with type SOAP and
    direction receiver in the Integration Directory. The obligatory parameters in the
    configuration are Target URL and SOAP action. You get the values you have to enter
    here from the WSDL file.
    Creating a SOAP Sender Channel
    When you create a SOAP sender channel you have to define the namespace and the
    name of a message interface. Since no input help is provided, you copy and paste the
    values from your Integration Repository.
    Select the Quality of Service according to your interface type. If you are using a
    synchronous interface, select Best Effort. Otherwise, select Exactly Once or EOIO.
    Hope this will help you to figure out.
    Regards
    Aashish Sinha
    PS : reward points if helpful

Maybe you are looking for