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!

Similar Messages

  • 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

  • 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" 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.

  • 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

  • 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 - 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.

  • Problems building the sample Apps for JSF

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

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

  • Problem building 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

  • How to use Fault schema in WSDL for Error Handling in ALSB

    We are not able to view the fault element in our alsb flow under body variable and when we get the error in test console the error comes in bea fault schema,but we want the error in our own defined fault schema.Pls. guide.
    Below are the steps we followed to create a wsdl.
    Steps:
    1. We created a webservice project in workspacestudio and generated a wsdl.
    2. Then we have added a fault element manually in that wsdl.
    3. Now we have generated a webservice from that modified wsdl.
    4. Again we have generated a wsdl from webservice created in step 3.
    5. step 4 wsdl is tested and running well on server.
    When we try to configure that service as Proxy/Business service in ALSB and view the XPATH Expression Editor, we are not able to view Fault element under variable structures under body variable as shown below.But when we see the design view of our running wsdl in workspace studio it shows the fault element.How to get the fault element in variable body so that we can view the error in our logs in our defined Fault schema instead of BEA fault schema.WDSL is enclosed as an attachment.
    Thanks in advance

    Have you tried using the "Log" action in your pipeline proxy and log for $body and $fault. This will defin return the $body and $fault if these were parsed correctly

  • Problem building schema in jdeveloper

    Hi i am invoking a web service through a partner link. But when I click on rrefresh button in structure tab, its shows this error:
    Referência inválida: 'urn:unApTypes:TApFieldType'
    oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarException: Referência inválida: 'urn:unApTypes:TApFieldType'
         at oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarProvider.buildSchemas(SchemaGrammarProvider.java:202)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.getGrammars(GrammarInfo.java:860)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.createGrammarInfo(GrammarInfo.java:803)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.<init>(GrammarInfo.java:282)
         at oracle.tip.tools.ide.common.bpeldesigner.SchemaResolvedObj.buildResolvedDocument(SchemaResolvedObj.java:242)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessagePartItem(ExplorerTreeUtil.java:208)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessageParts(ExplorerTreeUtil.java:135)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessage(ExplorerTreeUtil.java:98)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.buildOperationNode(ExplorerTreeUtil.java:80)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.populateOperations(PLExplorerTreeNode.java:178)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.populateRoles(PLExplorerTreeNode.java:161)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.getChildNodes(PLExplorerTreeNode.java:80)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTree$TreeExpansionHandler$1.run(ExplorerTree.java:6260)
    The WSDL that i am invokin is:
    <?xml version="1.0" encoding="utf-8" ?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    name="IApWebServicesservice" targetNamespace="http://tempuri.org/"
    xmlns:tns="http://tempuri.org/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:ns1="urn:unApTypes" xmlns:ns2="urn:unApWebServicesInterface"
    xmlns:ns3="http://www.borland.com/namespaces/Types">
    <types>
    <xs:schema targetNamespace="urn:unApTypes" xmlns="urn:unApTypes">
    <xs:simpleType name="TApLanguages">
    <xs:restriction base="xs:string">
    <xs:enumeration value="alPortuguese"/>
    <xs:enumeration value="alEnglish"/>
    <xs:enumeration value="alSpanish"/>
    <xs:enumeration value="alPortuguesePT"/>
    <xs:enumeration value="alDeutsch"/>
    <xs:enumeration value="alItalian"/>
    <xs:enumeration value="alFrench"/>
    <xs:enumeration value="alRussian"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TApFieldType">
    <xs:restriction base="xs:string">
    <xs:enumeration value="aftNotDefined"/>
    <xs:enumeration value="aftIntAutoInc"/>
    <xs:enumeration value="aftIntAuto"/>
    <xs:enumeration value="aftInteger"/>
    <xs:enumeration value="aftByteAuto"/>
    <xs:enumeration value="aftByte"/>
    <xs:enumeration value="aftWordAuto"/>
    <xs:enumeration value="aftWord"/>
    <xs:enumeration value="aftFloat"/>
    <xs:enumeration value="aftString"/>
    <xs:enumeration value="aftDate"/>
    <xs:enumeration value="aftTime"/>
    <xs:enumeration value="aftBoolean"/>
    <xs:enumeration value="aftBlob"/>
    <xs:enumeration value="aftImage"/>
    <xs:enumeration value="aftRichText"/>
    <xs:enumeration value="aftDateTime"/>
    <xs:enumeration value="aftMemo"/>
    <xs:enumeration value="aftFile"/>
    <xs:enumeration value="aftCurrency"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:schema>
    <xs:schema targetNamespace="urn:unApWebServicesInterface"
    xmlns="urn:unApWebServicesInterface">
    <xs:complexType name="TWSTransactionParams">
    <xs:sequence>
    <xs:element name="Fields" type="ns2:TWSTransactionHeaderFieldsArray"/>
    <xs:element name="Reserved" type="ns2:TWSTransactionParams"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSTransactionHeaderFieldsArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence/>
    <xs:attribute ref="soapenc:arrayType"
    n1:arrayType="ns2:TWSTransactionHeaderFields[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TWSTransactionHeaderFields">
    <xs:sequence>
    <xs:element name="Reserved" type="ns2:TWSTransactionHeaderFields"/>
    <xs:element name="FieldCaption" type="xs:string"/>
    <xs:element name="FieldId" type="xs:int"/>
    <xs:element name="GroupId" type="xs:int"/>
    <xs:element name="GroupCaption" type="xs:string"/>
    <xs:element name="Required" type="xs:boolean"/>
    <xs:element name="DataType" type="xs:int"/>
    <xs:element name="Mask" type="xs:string"/>
    <xs:element name="FieldLength" type="xs:int"/>
    <xs:element name="LookupName" type="xs:string"/>
    <xs:element name="PrimaryKey" type="xs:int"/>
    <xs:element name="Language" type="xs:string"/>
    <xs:element name="ReadOnly" type="xs:boolean"/>
    <xs:element name="LiteralMicroHelp" type="xs:string"/>
    <xs:element name="ExceptReadOnlyTransactions" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSTransactionExecuteParamArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence/>
    <xs:attribute ref="soapenc:arrayType"
    n1:arrayType="ns2:TWSTransactionExecuteParam[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TWSTransactionExecuteParam">
    <xs:sequence>
    <xs:element name="Id" type="xs:int"/>
    <xs:element name="Value" type="xs:anyType"/>
    <xs:element name="Reserved" type="ns1:TApFieldType"/>
    <xs:element name="FieldName" type="xs:string"/>
    <xs:element name="ClientFieldName" type="xs:string"/>
    <xs:element name="FieldSize" type="xs:int"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSQueryParams">
    <xs:sequence>
    <xs:element name="Reserved" type="ns2:TWSQueryParams"/>
    <xs:element name="Fields" type="ns2:TWSQueryHeaderFieldsArray"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSQueryHeaderFieldsArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence/>
    <xs:attribute ref="soapenc:arrayType"
    n1:arrayType="ns2:TWSQueryHeaderFields[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TWSQueryHeaderFields">
    <xs:sequence>
    <xs:element name="Reserved" type="ns2:TWSQueryHeaderFields"/>
    <xs:element name="FieldCaption" type="xs:string"/>
    <xs:element name="ParamType" type="xs:int"/>
    <xs:element name="ParamName" type="xs:string"/>
    <xs:element name="Mask" type="xs:string"/>
    <xs:element name="DefaultValue" type="xs:anyType"/>
    <xs:element name="Required" type="xs:boolean"/>
    <xs:element name="GroupId" type="xs:int"/>
    <xs:element name="GroupCaption" type="xs:string"/>
    <xs:element name="Hint" type="xs:string"/>
    <xs:element name="FindInList" type="xs:boolean"/>
    <xs:element name="UseValueList" type="xs:boolean"/>
    <xs:element name="ValueList" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteParamArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence/>
    <xs:attribute ref="soapenc:arrayType"
    n1:arrayType="ns2:TWSQueryExecuteParam[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteParam">
    <xs:sequence>
    <xs:element name="Value" type="xs:string"/>
    <xs:element name="Reserved" type="ns1:TApFieldType"/>
    <xs:element name="ParamName" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteResults">
    <xs:sequence>
    <xs:element name="Fields" type="ns2:TWSQueryExecuteFieldsArray"/>
    <xs:element name="Records" type="ns2:TWSQueryExecuteRecordsArray"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteFieldsArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence/>
    <xs:attribute ref="soapenc:arrayType"
    n1:arrayType="ns2:TWSQueryExecuteField[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteRecordsArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence/>
    <xs:attribute ref="soapenc:arrayType"
    n1:arrayType="ns2:TWSQueryExecuteRecord[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteField">
    <xs:sequence>
    <xs:element name="FieldName" type="xs:string"/>
    <xs:element name="Reserved" type="ns1:TApFieldType"/>
    <xs:element name="FieldType" type="xs:int"/>
    <xs:element name="Mask" type="xs:string"/>
    <xs:element name="Length" type="xs:int"/>
    <xs:element name="Decimals" type="xs:int"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteRecord">
    <xs:sequence>
    <xs:element name="Values" type="ns2:TWSQueryExecuteValuesArray"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteValuesArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence/>
    <xs:attribute ref="soapenc:arrayType"
    n1:arrayType="ns2:TWSQueryExecuteValue[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TWSQueryExecuteValue">
    <xs:sequence>
    <xs:element name="Value" type="xs:string"/>
    <xs:element name="Reserved" type="ns1:TApFieldType"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <xs:schema targetNamespace="http://www.borland.com/namespaces/Types"
    xmlns="http://www.borland.com/namespaces/Types">
    <xs:complexType name="TIntegerDynArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence/>
    <xs:attribute ref="soapenc:arrayType" n1:arrayType="xs:int[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    </xs:schema>
    </types>
    <message name="GetTransactions0Request">
    <part name="UserName" type="xs:string"/>
    <part name="Pass" type="xs:string"/>
    <part name="Transactions" type="xs:string"/>
    <part name="Error" type="xs:string"/>
    <part name="LanguageId" type="ns1:TApLanguages"/>
    </message>
    <message name="GetTransactions0Response">
    <part name="Transactions" type="xs:string"/>
    <part name="Error" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
    </message>
    <message name="GetParameters1Request">
    <part name="UserName" type="xs:string"/>
    <part name="Pass" type="xs:string"/>
    <part name="TransactionId" type="xs:int"/>
    <part name="Params" type="ns2:TWSTransactionParams"/>
    <part name="Error" type="xs:string"/>
    <part name="LanguageId" type="ns1:TApLanguages"/>
    <part name="EditionType" type="xs:int"/>
    </message>
    <message name="GetParameters1Response">
    <part name="Params" type="ns2:TWSTransactionParams"/>
    <part name="Error" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
    </message>
    <message name="ExecuteTransaction2Request">
    <part name="UserName" type="xs:string"/>
    <part name="Pass" type="xs:string"/>
    <part name="TransactionId" type="xs:int"/>
    <part name="Params" type="ns2:TWSTransactionExecuteParamArray"/>
    <part name="Error" type="xs:string"/>
    <part name="LanguageId" type="ns1:TApLanguages"/>
    <part name="EditionType" type="xs:int"/>
    <part name="IntegrationMode" type="xs:int"/>
    <part name="Scope" type="ns3:TIntegerDynArray"/>
    <part name="KeyId" type="xs:int"/>
    </message>
    <message name="ExecuteTransaction2Response">
    <part name="Error" type="xs:string"/>
    <part name="KeyId" type="xs:int"/>
    <part name="return" type="xs:boolean"/>
    </message>
    <message name="GetQueryParameters3Request">
    <part name="UserName" type="xs:string"/>
    <part name="Pass" type="xs:string"/>
    <part name="QueryId" type="xs:int"/>
    <part name="Params" type="ns2:TWSQueryParams"/>
    <part name="Error" type="xs:string"/>
    <part name="LanguageId" type="ns1:TApLanguages"/>
    </message>
    <message name="GetQueryParameters3Response">
    <part name="Params" type="ns2:TWSQueryParams"/>
    <part name="Error" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
    </message>
    <message name="QueryExecute4Request">
    <part name="UserName" type="xs:string"/>
    <part name="Pass" type="xs:string"/>
    <part name="QueryId" type="xs:int"/>
    <part name="Params" type="ns2:TWSQueryExecuteParamArray"/>
    <part name="Error" type="xs:string"/>
    <part name="Results" type="ns2:TWSQueryExecuteResults"/>
    <part name="LanguageId" type="ns1:TApLanguages"/>
    </message>
    <message name="QueryExecute4Response">
    <part name="Error" type="xs:string"/>
    <part name="Results" type="ns2:TWSQueryExecuteResults"/>
    <part name="return" type="xs:boolean"/>
    </message>
    <portType name="IApWebServices">
    <operation name="GetTransactions">
    <input message="tns:GetTransactions0Request"/>
    <output message="tns:GetTransactions0Response"/>
    </operation>
    <operation name="GetParameters">
    <input message="tns:GetParameters1Request"/>
    <output message="tns:GetParameters1Response"/>
    </operation>
    <operation name="ExecuteTransaction">
    <input message="tns:ExecuteTransaction2Request"/>
    <output message="tns:ExecuteTransaction2Response"/>
    </operation>
    <operation name="GetQueryParameters">
    <input message="tns:GetQueryParameters3Request"/>
    <output message="tns:GetQueryParameters3Response"/>
    </operation>
    <operation name="QueryExecute">
    <input message="tns:QueryExecute4Request"/>
    <output message="tns:QueryExecute4Response"/>
    </operation>
    </portType>
    <binding name="IApWebServicesbinding" type="tns:IApWebServices">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetTransactions">
    <soap:operation soapAction="urn:unApWebServicesInterface-IApWebServices#GetTransactions"
    style="rpc"/>
    <input>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </input>
    <output>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </output>
    </operation>
    <operation name="GetParameters">
    <soap:operation soapAction="urn:unApWebServicesInterface-IApWebServices#GetParameters"
    style="rpc"/>
    <input>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </input>
    <output>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </output>
    </operation>
    <operation name="ExecuteTransaction">
    <soap:operation soapAction="urn:unApWebServicesInterface-IApWebServices#ExecuteTransaction"
    style="rpc"/>
    <input>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </input>
    <output>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </output>
    </operation>
    <operation name="GetQueryParameters">
    <soap:operation soapAction="urn:unApWebServicesInterface-IApWebServices#GetQueryParameters"
    style="rpc"/>
    <input>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </input>
    <output>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </output>
    </operation>
    <operation name="QueryExecute">
    <soap:operation soapAction="urn:unApWebServicesInterface-IApWebServices#QueryExecute"
    style="rpc"/>
    <input>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </input>
    <output>
    <soap:body use="encoded"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:unApWebServicesInterface-IApWebServices"/>
    </output>
    </operation>
    </binding>
    <service name="IApWebServicesservice">
    <port name="IApWebServicesPort" binding="tns:IApWebServicesbinding">
    <soap:address location="http://localhost:8082/soap/IApWebServices"/>
    </port>
    </service>
    </definitions>
    Any help in this regard is highly appreciated.

    Hi,
    In your wsdl types section, in the second schema which defines the targetNamespace="urn:unApWebServicesInterface", you are not importing the schema corresponding to the targetNamespace "urn:unApTypes". Adding the import and declaring the ns1 prefix would solve the error you are getting.
    <xs:schema targetNamespace="urn:unApWebServicesInterface"
                   xmlns="urn:unApWebServicesInterface" xmlns:ns1="urn:unApTypes">
          <xs:import namespace="urn:unApTypes" />However, there are more problems with the wsdl -
    <li> in <soap:binding style=""/> style is null
    <li> in the subsequent soap:operations, style is null
    <li> The wsdl uses soapenc:array - which is not directly supported by BPEL.
    Hope this helps,
    regards,
    Shanmu.

  • Problem building schema

    Hi
    I get the following error when i try to invoke a partner link by creating variables . Bpel is unable to read the variables created for the wsdl files attached as a partner link. I tried calling the webservice from other sources by providing the soap request and it works fine . Is there any way i can use this wsdl in bpel , as it gives me errors saying errors in the xsd.
    I get the following error
    Validating Process...
    Done validating.
    invalid facet "maxLength" for type "complexType"
    invalid facet "maxLength" for type "complexType"
    oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarException: invalid facet "maxLength" for type "complexType"
    invalid facet "maxLength" for type "complexType"
         at oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarProvider.buildSchemas(SchemaGrammarProvider.java:202)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.getGrammars(GrammarInfo.java:859)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.createGrammarInfo(GrammarInfo.java:802)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.<init>(GrammarInfo.java:281)
         at oracle.tip.tools.ide.common.bpeldesigner.SchemaResolvedObj.buildResolvedDocument(SchemaResolvedObj.java:242)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessagePartItem(ExplorerTreeUtil.java:208)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessageParts(ExplorerTreeUtil.java:135)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessage(ExplorerTreeUtil.java:98)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.buildOperationNode(ExplorerTreeUtil.java:72)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.populateOperations(PLExplorerTreeNode.java:175)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.populateRoles(PLExplorerTreeNode.java:158)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.getChildNodes(PLExplorerTreeNode.java:80)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTree$TreeExpansionHandler$1.run(ExplorerTree.java:6255)
    invalid facet "maxLength" for type "complexType"
    invalid facet "maxLength" for type "complexType"
    oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarException: invalid facet "maxLength" for type "complexType"
    invalid facet "maxLength" for type "complexType"
         at oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarProvider.buildSchemas(SchemaGrammarProvider.java:202)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.getGrammars(GrammarInfo.java:859)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.createGrammarInfo(GrammarInfo.java:802)
         at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.<init>(GrammarInfo.java:281)
         at oracle.tip.tools.ide.common.bpeldesigner.SchemaResolvedObj.buildResolvedDocument(SchemaResolvedObj.java:242)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessagePartItem(ExplorerTreeUtil.java:208)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessageParts(ExplorerTreeUtil.java:135)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessage(ExplorerTreeUtil.java:98)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.buildOperationNode(ExplorerTreeUtil.java:80)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.populateOperations(PLExplorerTreeNode.java:175)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.populateRoles(PLExplorerTreeNode.java:158)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.getChildNodes(PLExplorerTreeNode.java:80)
         at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTree$TreeExpansionHandler$1.run(ExplorerTree.java:6255)
    Thanks
    -Pradip
    Edited by: cpradip on Aug 4, 2009 3:23 PM

    hii Pradip,
    Can you show us some example lines from your wsdl which includes this maxLength and ComplexType? Seems to be an attribute issue with maxLength.

  • Any specifications about wsdls that works in BPEL Manager for partnerlinks

    Is there any specifications for the wsdls/schemas that are supported by BPEL manager?
    i observed issues when I try to make a partner link with any external web services (which runs out side the bpel manager).
    the most common errors I saw
    1."Exception :Problem building schema!" when trying to expand partner link operation input/output values
    2. not able to list the operations of wsdls in designer partner links
    Most of the times it happens to consume wsdls which are generated by some other auto generated tools(like bea WL, specific servers, Xfire etc) to create partner links with!. at the same time we don't have any control on wsdls.
    Of course some time by changing wsdl namespaces, etc we can solved few problems where ever we can identify the issue
    So what i am trying to hear is, is there any specifications that I can impose/inform my external parners in order to consume their descriptions through designer partner link establishment option!
    thanks in advance!
    jagan

    Hi,
    in a nutshell the buzzword to follow is ws-i compatibilty,, there are several kits on the internet to test your wsdl .. or simple import it into a jdev 10.1.3 and right click on it ..
    hth clemens

Maybe you are looking for

  • How to backup data from old droid to turbo?

    The turbo is not listed for new devices. How do you backup data from old droid to new turbo?

  • Hide new/old value of bind variable in SQL*Plus

    Hi, I have a SQL*Plus script to create a new user. It asks for username & password and then passes these values to a SP to do some checks and finally create the user. The output is currently the following : New user will be created in ORCL LAB Enter

  • 4.1 on Windows 7 RC 64bit

    Premiere Pro 4.0.1 has been working perfectly on my test Windows 7 RC 64bit system on a Dell 690 workstation.  I installed the 4.1 via the help update (410MBs).  Guess what?  The AVCHD and HDV along with the Sony XDCAM options were not available - th

  • Bind variables in views

    I am having some performance issues using bind variables in views (Oracle 7.3.4). When I execute the view using '' values the view executes the expected execution plan. When I execute the view using bind variables the execution plan changes to someth

  • How java support multiple inheritance by the use of interface.

    As per my understanding, Interface is just having the signatures of the methods not the implementation. So How java support multiple inheritance by the use of interface? Answer 1: we can institate interface reference by its implemented class.