Exception building schema because of different namespace

Hi all,
I have a wsdl that define a schema having different namespace from the service itself. When I create an Invoke activity and the input/output variables, everything went ok. However if I try to explore the newly created input/output variables an exception (Problem building schema) is thrown.
If I use the same namespace for the service and the schema defined in it, everything is okay.
Could anybody explain to me why I should set it to the same namespace to get it to work?
Is it a mistake to use different namespace?
Thanks in advance,
santoso
Below is the wsdl :
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ProposalWSServiceDefinitions4" targetNamespace="http://www.test.com/service" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://www.test.com/service" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.test.com/opl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.test.com/opl">
<complexType name="TProposal">
<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="Proposal" type="tns:TProposal"/>
</schema>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.test.com/service" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="insertProposal">
<xs:complexType>
<xs:sequence>
<xs:element ref="opl:Proposal" xmlns:opl="http://www.test.com/opl"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="insertProposalResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="opl:Proposal" xmlns:opl="http://www.test.com/opl"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</types>
<message name="insertProposal">
<part element="s0:insertProposal" name="parameters"/>
</message>
<message name="insertProposalResponse">
<part element="s0:insertProposalResponse" name="parameters"/>
</message>
<portType name="ProposalWS">
<operation name="insertProposal" parameterOrder="parameters">
<input message="s0:insertProposal"/>
<output message="s0:insertProposalResponse"/>
</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>
<output>
<s1:body parts="parameters" use="literal"/>
</output>
</operation>
</binding>
<service name="ProposalWSService">
<port binding="s0:ProposalWSServiceSoapBinding" name="ProposalWSSoapPort">
<s1:address location="http://localhost:7021/Proposal"/>
</port>
</service>
</definitions>

Hi,
The problem is when I use the wsdl in a bpel process project, the variable created can't be explored.
However, I've found the solution by adding import namespace.
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.test.com/service" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://www.test.com/opl" />
<xs:element name="insertProposal">
<xs:complexType>
<xs:sequence>
<xs:element ref="opl:Proposal" xmlns:opl="http://www.test.com/opl"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="insertProposalResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="opl:Proposal" xmlns:opl="http://www.test.com/opl"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

Similar Messages

  • I am getting read WSDL errors for WSDLS and Exception building schema in the assign activity schema

    Hi All,
    1 st error: Even though I had added the URLs related to Webservice WSDLs that composite and BPEL have to load,I am getting 'read WSDL' errors when I open the composite.Sometimes it is loading properly and sometimes it is not loading properly.I restarted the system and I had aslo put webbrowser and proxy unchecked still I am facing that issue
    2 nd error: As I any schema node in assign activity I am getting 'Exception building schema' errors.
    What I feel I had set some memory settings so that wsdls and schemas will load properly.
    Please do the needful to resolve these issues as I have to work on some production issues urgently.

    Maybe you can use the MDS to decouple your development environment with your runtime environment.
    Put you're WSDLs/XSDs in a local MDS that you then sync with your runtime environment.
    Instead of referencing to the life WSDL you reference to a oramds:// url.
    Check out my two-part blogpost about it:
    (1/2) Using the MetaData Services (MDS) in a SOA environment
    (2/2) Using the MetaData Services (MDS) in a SOA environment

  • How to find those different namespaces in schema?

    Hi,
    I heard that schema contains different name spaces. how to find those different namespaces in schema?
    I checked with this but it is throwing "table or view doesn't exist".
    select namespace from v$librarycache;
    Thanks
    Praveen

    Are you referring to this? From the SQL Language Reference manual under Schema Object Names and Qualifiers
    7. Within a namespace, no two objects can have the same name.
    The following schema objects share one namespace:
    Tables
    Views
    Sequences
    Private synonyms
    Stand-alone procedures
    Stand-alone stored functions
    Packages
    Materialized views
    User-defined types
    Each of the following schema objects has its own namespace:
    Indexes
    Constraints
    Clusters
    Database triggers
    Private database links
    Dimensions
    Because tables and views are in the same namespace, a table and a view in the same schema cannot have the same name. However, tables and indexes are in different namespaces. Therefore, a table and an index in the same schema can have the same name.
    Each schema in the database has its own namespaces for the objects it contains. This means, for example, that two tables in different schemas are in different namespaces and can have the same name.
    Each of the following nonschema objects also has its own namespace:
    User roles
    Public synonyms
    Public database links
    Tablespaces
    Profiles
    Parameter files (PFILEs) and server parameter files (SPFILEs)
    Because the objects in these namespaces are not contained in schemas, these namespaces span the entire database.Which is why you can do:
    SQL> create table t (id number, descr varchar2(10));
    Table created.
    SQL> alter table t add constraint t check (mod(id,2) = 0);
    Table altered.
    SQL> create index t on t(id);
    Index created.
    SQL> create trigger t
      2  before update on t
      3  begin
      4     dbms_output.put_line('T Trigger');
      5  end;
      6  /
    Trigger created.but not:
    SQL> create view t as select * from t;
    create view t as select * from t
    ERROR at line 1:
    ORA-00955: name is already used by an existing objector
    SQL> create procedure t
      2  begin
      3     null;
      4  end;
      5  /
    create procedure t
    ERROR at line 1:
    ORA-00955: name is already used by an existing objectJohn

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

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

  • Exception - Cannot Build Schema (Question)

    Friends,
    I have a quick question which is driving me crazy. New to SOA, please help.
    I defined a variable of type "element" by refering it to an pre-existing xsd. I know the xsd is valid. When I try to use the variable in an assign activiity it does not show the child element and gives error "Exception - Cannot build Schema". While creating variable I refer to element "FetchCustomerInfoResponse".
    Following is the xsd for your reference :-
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="FetchCustomerInfoResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="XYX_ONT_ACCOUNT_ORDERS">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="XYZ_ONT_ACCOUNT_ORDER" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:attribute name="ordered_date" type="xsd:string"/>
    <xsd:attribute name="cust_po_number" type="xsd:string"/>
    <xsd:attribute name="order_number" type="xsd:integer"/>
    <xsd:attribute name="header_id" type="xsd:integer"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>

    Hi,
    using the schema you gave, i was able to create a variable inside the BPEL by referring to the FetchCustomerInfoResponse element, and also i was able to do the copy operation inside the assign activity.
    Please try the same again, may be create the variable again...it should work...
    Thanks
    N

  • Problem in building schema when try to invoke the another BPEL service

    Hi all,
    Whenever try to Invoke a another BPEL service using the Invoke activiy and Partnerlink, we need to create a variable structure similar to the providing service.
    For this I used create Auto Varible option available in the invoke activity. But after creating the variable, I tried to expand the variable for the copy operation, the error iam getting is Problem in building schema.
    This error never happened to me before. I have no clue.
    Jdev version:10.1.3.3.0
    Soa version:10.1.3.3.0
    Please help me on this.
    Thanks.

    Hi Lokesh,
    Iam not able to understand what you are trying to say. But my Input variable and Invoke Input variable are compatible, no problem on this. I got some clue from your reply.
    Finally I got it worked by doing it in another way.
    In my Invoking BPEL Process(ie. BPEL Process is trying to invoke the another BPEL Process using Partnerlink) wsdl I imported the partnerlink BPEL schema and it get solved my problem.
    eg) <import namespace="http://xmlns.oracle.com/BpelProcessname" schemaLocation="ParnerLinkBPELSchema.xsd"/>
    This can be usefull for others and I never did this to import the schema manually before, but it works without any errors.
    Now only it causing this problem, whether it is any Jdeveloper issue.
    And i tryed this using Jdev version 10.1.3.4.0, but still the same exception.
    This workaround will usefull for others.
    Thanks for your reply.
    bye.....

  • How to merge XML-Data of two variables of different namespace?

    Hi all,
    I am facing a problem manipulating XML data in a BPEL process. As I didn't get any response on my question in the BPEL forum, I decided to post it again in this forum. I am not very familiar with using XML up to this moment, so please don't blame me if this turns out to be a stupid question.
    I have to combine information coming from 2 different sources (1st delivered by BPEL-client input "FileInfo", 2nd delivered by a ftp-adapter "FileData") for passing it to another service.
    So there are 3 XSDs (2 in, 1 out), each with a different namespace. As every structure is composed of several elements, I don't want to copy them one by one. But when copying a whole node including child elements, the target structure yields empty nodes, because the target child elements maintain the source namespace!
    Using 2 XSLT's works well for each input, but in combination, the last transformation deletes the information of the first one.
    So, the only way to merge the data I figured out by now, is to use a XSLT for each input, transforming it into 2 separate Variables belonging to the same namespace and then copying the complete nodes of the two variables into the target (which of course belongs to the common namespace as well).
    Although there is an inconsistent indexing of the namespaces (see example), happily all data can be accessed.
      <CommonData>
        <CommonData xmlns="http://TargetNamespace.com/CommonData">
          <FileInfo xmlns="http://TargetNamespace.com/CommonData">
            <Name>testfile2.txt</Name>
            <Size/>
            <DateReceived>2009-02-10T17:15:46+01:00</DateReceived>
          </FileInfo>
          <FileData xmlns:ns0="http://TargetNamespace.com/CommonData">
            <ns0:KOPF>
              <ns0:Id>1</ns0:Id>
              <ns0:Value>1</ns0:Value>
              <ns0:Text>Hier könnten Ihre Daten stehen -</ns0:Text>
            </ns0:KOPF>
            <ns0:POSI>
              <ns0:Id>1</ns0:Id>
              <ns0:Position>1</ns0:Position>
              <ns0:Value>1</ns0:Value>
              <ns0:Text>eins ----</ns0:Text>
            </ns0:POSI>
            <ns0:POSI>
              <ns0:Id>2</ns0:Id>
              <ns0:Position>2</ns0:Position>
              <ns0:Value>2</ns0:Value>
              <ns0:Text>zwei ----</ns0:Text>
            </ns0:POSI>
          </FileData>
        </CommonData>
      </CommonData>Now for the question:
    Is this really the only way to merge variables? As it took 4 operations to achieve this, it seems to be too complicated, and therefore too inperformant to me.
    BTW: In real life there would be up to 9999 positions with much more payload (in total up to several MBs) to be processed!
    Having full control of the namespaces in this case, I could think of using one namespace for all XSDs too. But would this be a better solution? Is there a golden rule on using namespaces relating to design issues?
    Any comments appreciated,
    cheers, Marco

    Well, if you only want to change namespace (no other changes) I would use a single generic XSL that changes the namespace for any XML document into a given target namespace, keeping the rest. That will require two transformation calls, but only one XSL. I'm afraid I don't have an example available, but if you google perhaps you can find it, I have seen it somewhere.
    Normally when you have different namespaces the contents differ as well, though, and what you really want is a merge function. There is a way to pass two documents into a single XSL and that is to use parameters. You pass one source document the normal way and assign the other converted to a string to a paramter. You must use an assign with processXSLT in BPEL, not a transform activity. The processXSLT really takes three arguments and the third contains the parameters. Now to the difficulty - in the transformation you need to change the string into a nodeset (an XML document). In the current XPath version used by the platform there is no nodeSet function, but it is possible to write one in Java. If you have it you can select from both documents while building the third. I don't have an example handy and yes it is a bit messy as well, but much of the work only has to be done once and can be reused in other processes.

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

  • 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

  • Import schema to a different tablespace

    hi,
    I've exported my instance:
    EXP SYSTEM/MANAGER@OLDINSTANCE FULL=Y FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_EXP.LOG
    after I've created new tablespace and new user:
    CREATE TABLESPACE MAX DATAFILE 'c:\MAX01.dbf' SIZE 3800M REUSE DEFAULT STORAGE
    (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 256 PCTINCREASE 0) ONLINE;
    CREATE USER MAX IDENTIFIED BY MAX DEFAULT TABLESPACE MAX TEMPORARY TABLESPACE TEMP;
    finally I've imported tom's objects in MAX:
    IMP SYSTEM/MANAGER@NEWINSTANCE FROMUSER=TOM TOUSER=MAX FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_IMP.log
    but in some tables I get these errors:
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE TABLE "AREA" ("OFL" VARCHAR2(4), "OBL" VARCHAR2(32), "OSITE" V"
    "ARCHAR2(32), "OLS" VARCHAR2(32), "OAREA" NUMBER, "DV_ID" VARCHAR2(32), "DP_"
    "ID" VARCHAR2(32), "ODISMESSO" VARCHAR2(2), "OTYPE" VARCHAR2(64), "OCAT" VAR"
    "CHAR2(64), "OOCCUP" NUMBER, "SFL" VARCHAR2(32), "SBL" VARCHAR2(32), "SSITE""
    " VARCHAR2(32), "PRORATE" VARCHAR2(8), "STYPE" VARCHAR2(64), "SCAT" VARCHAR2"
    "(64), "SAREA" NUMBER, "SOCCUP" NUMBER, "AREA_SERV" NUMBER) PCTFREE 10 PCTU"
    "SED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 314572800 NEXT 52428"
    "800 MINEXTENTS 1 MAXEXTENTS 1000 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS "
    "1 BUFFER_POOL DEFAULT) TABLESPACE "TOM""
    IMP-00003: ORACLE error 1658 encountered
    ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
    In new instance there are 2 tablespaces (TOM, MAX)
    I tried 2 solution:
    1) I've taken the tablespace TOM offline in the new instance, but when I import fromuser=TOM touser=MAX.............
    I get error because not exist tablespace TOM
    2)I removed MAX's quota on the TOM tablespace in the new instance.
    ALTER USER MAX QUOTA unlimited ON TOM;
    but when I import I get alway the same error:
    ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
    I know That I must encrease tablespace TOM for avoid this error, but I must create 6 new users in 6 different tablespaces and I'd to increase tablespace TOM too much (how many GB?).
    how can I import schema to a different tablespace?
    Thanks
    Raf

    I don't understand why you cannot import TOM's scheme
    to new instance, because you say that you' ve TOM
    tablespace in the database.
    Check size of it, may be you need to increase size or
    you can TOM tablespace set autoextended.
    Also, you can set MAX tablespace is default in new database and set TOM tablespace is readonly.
    Then import cannot create object in TOM tablespace
    and create this in MAX tablespace.
    Best regards, Victor

  • JDeveloper, Can not build schema - Help Required

    Hi everyone,
    I am facing a peculiar problem with Jdeveloper. (10.1.3.4.4270)
    I am developing an ESB project. When referring to a XSD from within a XSD using a URL i.e. import, It's giving me error.
    Here is the sample code:_
    <?xml version="1.0" encoding="utf-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    <xsd:import namespace="http://xmlns.mysite.com/q/types"
              schemaLocation="http://192.168.8.10:7072/mySchemas/xmltypes.xsd" />
    ( [http://192.168.8.10:7072/mySchemas/xmltypes.xsd|http://192.168.8.10:7072/mySchemas/xmltypes.xsd] is accessible from a browser directly on the machine where project dir exists)
    When opening the XSD is design mode its showing red(error) for any element that uses types from xmltypes.xsd. When opening the XSL mapping which uses the current XSD its gives the following error:
    "Failed to open the target schema:
    Can not build schema 'http://xmlns.mysite.com/q/types' located at 'file :/C: /....../*xmltypes.xsd*'"
    +(It seems Jdeveloper is looking for the xmltypes.xsd in project dir, even though the import points to a URL)+
    The same code above works fine in Eclipse Gynamade and elements in current XSD are able to refer to types in xmltypes.xsd.
    What could be the problem. I am not finding any solution for this.
    Thanks in advance.

    Thank you for your reply.ButI had assign the dba role to the user,and could you tell me what version can build the schema.I had use the RAM 6.3.4.0.0 Complete 6.334
    Thank in advance
    Chris

  • Getting different namespace in inbound XML message consumed by BPEL after translated from EDI to XML in B2B using Inbound Agreement

    Hello B2B Gurus,
    I am able to process B2B inbound  files successfully from Trading Partner --> B2B --> BPEL. When it comes to BPEL i am not able to parse/transform the received XML as i am getting selection failures in assign and empty nodes in transformation. When i look at the input XML payload which i received in ReceiveB2BConsume Payload i observed that i am getting namespace as " xmlns="NS_495C37A0921C418BB66A86A6E75B2CA120070312140549" instead of actual namespace xmlns="urn:oracle:b2b:X12/V4010/856" which is in my XSD as well and i am getting the XML start tag <?xml version="1.0" encoding="UTF-8" ?> 2 times. :
    <?xml version="1.0" encoding="UTF-8" ?>
      <?xml version="1.0" encoding="UTF-8" ?>
    <Transaction-856  xmlns="NS_495C37A0921C418BB66A86A6E75B2CA120070312140549" mlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="1.0" Standard="X12" Version="V4010" CreatedDate="2013-08-21T16:33:57" CreatedBy="XEngine_2956" GUID="{00C28978-0AA1-11E3-88B9-80C16E7DC6DA}">
    <Internal-Properties>
    </Transaction-856>
    I went back and checked the XSD which i loaded in the B2B Console and i am having the following namespace
    "<xsd:schema xmlns="urn:oracle:b2b:X12/V4010/856" targetNamespace="urn:oracle:b2b:X12/V4010/856" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0" elementFormDefault="qualified">"
    I am not sure why the XML translated from EDI in B2B console has the different namespace and XML start tag 2 times. Can you please help me resolve the issue. Let me know if i am missing anything.
    Thanks in Advance..

    Hi,
    Please set property as b2b.setDynamicNameSpace=false.
    To use EDI ecs and xsd files from Oracle B2B 10g version, set this property to true.
    When using EDI ecs and xsd files in Oracle B2B 11g which were used in Oracle B2B 10g, the XEngine may generate dynamic namespace for the translated xml. For example,
    xmlns="NS_31CA8D0F33324F95A0BF15D85539C27E20060518215520" 
    To turn off dynamic namespace generation for inbound EDI messages, set this property to false.
    Thanks
    Satendra Pare

  • Error building schema

    Hi Gurus,
    I am trying to create a simple synchronous BPEL process from which I am invoking a external webservice deployed on a local oc4j container in my laptop.My external webservice operation takes a complex type as input and returns a complex type as output.I have created a partner link for my external webservice and an invoke activity for the calling the partner link.
    When I try to expand the Input/Output variables created for the invoke activity,I get the following error
    Error building schema
    Exception: Connection timed out: connect
    I have the correct proxy settings in my JDeveloper and I am able to access my webservice port from my browser.Please let me know where I am going wrong.
    Thanks In Advance,
    Prasanna

    Hi, just a try:
    "In obsetenv.bat you can specify the proxy to be used for outbound soap/http.
    Make sure it is set if there is a proxy between the bpel server and the webservice you are trying to call."
    In case it works: Thanks to Mark :-)
    Regards,
    Hansi

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

Maybe you are looking for

  • Can i get free apps from the app store,without giving my credit card information

    when i want to download a app the the app store , the message said this apple ID has not yet been used with the itunes store. please review your account information, i dont have a account on itunes,  i just want free apps.  my question is do i need t

  • Art work for a whole play list

    Hi I have lots of songs in a play list i want to know how to assign an art work for all of them in one step instead of assigning image to each song one by one Kindest Regards

  • TS1702 While trying to install an app on my ipad,I get a waiting message instead of installing.

    While trying to install an app on my iPad, I got a "waiting"message instead of installing. It never goes beyond waiting. I tried deleting the app and reinstalling it. I got the same message. Has anyone had the same problem?

  • Trouble downloading Mountain Lion

    I am running OS 10.6.8 and need to download Keynote onto my machine. I tried to do this and was told that I needed OS 10.7 in order to run it. I then tried to download Mountain Lion onto my machine. Im currently running OS 10.6.8 on an imac. i purcha

  • Toplink 11 & JPA: advisable way going forward?

    Hi, We're considering the Toplink configuration choices of a new major information system. This system will not be in production for at least a year or more. I think we have a few options: - keep on using Toplink Workbench ORM 10.1.3 - start using To