Change parsing schema

Hello.
Is it possible to change parsing schema of apex application on the fly? In Oracle Forms applications we could do that...
Thanks for any answers.

Hi Almir,
I assume by your comment about generic Oracle Forms, that the different schemas have identical structure but differing data. If this is the case I would see three options.
1. As already mentioned in this thread, make grants to the parsing schema which is probably an empty schema used only to tie the other schemas together and then prefix all table/view references with a schema name, the only thing that I would add is that the schema name should be referenced through and application variable, rather than hard coded, which is set on login and can be changed as required.
2. You could have a separate copy of the application to go with each parsing schema and then have a controlling entry application which directs the user to the correct application.
3. You could roll all the separate schemas into one schema. With the particular tables that have differing data (reference tables proabably same data) you can have an extra column that defines the ownership of the data and then use the Virtual Private Database feature to separate the users views of the data.
All these options have advantages and disadvantages, but I would prefer option 3 as its the most flexible option and probably the most correct, provided it is possible to re-engineer the underlying schemas to such a degree.
Andre

Similar Messages

  • Change parsing Schema Dynamically  in 4.0

    Hi,
    Can I Cange Parsing Schema Dynamically in Apex 4.0
    Thanks in Advance
    Regards,
    Avinash Nagawade

    Hi,
    This has been discussed on a number of occasions in the past.
    See: Change parsing schema ; Change Parsing Schema dynamically? ; APEX: change parsing schema on fly
    Ta,
    Trent
    *Don't forget to reward useful posts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to change parsing schema for REST

    Hi all,
    I'm trying to test the new REST Webservice feature, but this leads to an error:
    Using Apex 4.2.1.00.08, Listener 2.0.1.64.14.25 I set up a simple WebService (method: GET, format: JSON) which
    querys a table.
    When I try to test my webservice (using "Test" button) the following error is shown:
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=null, _failed=false, _lastUpdate=-1, _template=null, _type=REGEX]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    Matching tenant exists, continuing processing
    modul/template/ matches: modul/template/ score: 0
    Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=1019223475312614|5204902308237886, uriTemplate=modul/template/], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    Tenant Principal already established, cannot dispatch
    Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=1019223475312614|5204902308237886, uriTemplate=modul/template/], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: GET modul/template/
    Choosing: oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher as current candidate with score: Score [handle=oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher$TenantTarget@1537060, score=1, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Chose oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher as the final candidate with score: Score [handle=oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher$TenantTarget@1537060, score=1, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: GET prx/modul/template/
    prx/modul/template/ is a public resource
    modul/template/ is a public resource
    Using generator: oracle.dbtools.rt.json.query.JSONQueryGenerator
    Performing JDBC request as: POFFICE
    Error during evaluation of resource template: ORA-00942: Tabelle oder View nicht vorhanden
    I see what is going wrong: "Performing JDBC request as: POFFICE". JDBC is using a wrong schema ("POFFICE").
    So, my question is, how to change the parsing schema for JDBC/WebService?
    Thanks a lot,
    Michael

    jfle wrote:
    Yes - this is the reason,
    but is there a way to change or delete the first schema provisioned?See {message:id=3757162}
    We have deleted the poffice assignment to the workspace, but the REST-service executes with poffice?Don't know could be a bug.
    May be try exporting you restful webservice definition > Edit the export file in textpad/notepad and verify the parsing schema
    You will see a block something like below, there just amend the p_parsing_schema to desired > and then import it back
    wwv_flow_api.create_restful_module (
      p_id => 7113266627142076447 + wwv_flow_api.g_id_offset
    ,p_name => 'oracle.example.vikram2'
    ,p_parsing_schema => 'APX'
    ,p_items_per_page => 25
    ,p_status => 'PUBLISHED'
      );

  • How to change parsing schema for using application in test environment?

    Hi,
    I set up a test environment, i.e. an other Oracle schema with identical tables, views etc. to the productive environment. I wanted to duplicate the APEX application so that there will be a test version using the test Oracle schema and productive version using the productive oracle schema.
    Can some one please give me some tip how to do this? As far as I see i could change the parsing schema in the APEX Application install SQL in the following ways:
    1. While exportin the application with APEX
    2. In the result install f...sql file using search-replace
    3. While importing the APEX application via APEX Development GUI.
    I would prefere 1. or 3. but in both cases when I would like to change the schema name, the drop dowl list does not contain the test Oracle schema name. Do I have to grant something to the APEX worksspace schema for the test schema name to show up in the drop dowl list?
    Tamás

    On that screen,
    - click Create
    - select "Existing" Schema, click Next
    - select the Workspace, click Next
    - select the Schema, click Next
    - click Add Schema
    And now you'll end up with two schema's attached for the same Workspace.

  • Change Parsing Schema dynamically?

    Hi,
    This is a really interesting question, really!
    How do I change the default parsing schema automatically. Is this possible at all.
    I'm thinking of changaing the OWNER in my authentication function. Will this work if I want to set the schema name in the login page and let the user choose his schema from a drop-down list.
    What will the code has to look like?
    Thanks in advance!

    Sabiha,
    I understand now, my apologies.
    You may try and enter a query like:
    select * from &SCHEMA..EMP
    which probably imports fine and even works correctly at runtime. But when you try to edit this, you probably get an error like "Query cannot be parsed, please check the syntax of your query. (ORA-00903: invalid table name)"
    This works at runtime because there is an application substitution string called SCHEMA. But at design time, there is no substitution string or session state value called SCHEMA in application 4000 (the application builder). I don't regard this as a bug, though, because substitution of session state and strings is working as expected. You're trying to reference at design time something which typically would only be used in the context of runtime.
    In answer to your question and Branimir's question, nothing comes to mind how someone could programatically alter the parsing schema of an application at runtime. One idea, although this only helps you with reports and not much else, is to create your reports based upon a function returning SQL query. Then, you could write your own package and qualify the table owner with whatever you wish.
    Joel

  • How do i change xml schema in java

    i want to change a oracle.xml.parser.schema.xmlschema object in java (adding or changing elements, types, etc). is there some hidden way i didn't think of besides changing the xmldocument object behind the schema and rebuilding the schema? i find that rather uncomfortable.
    i'd appreciate any answers, even negative ones :)
    thanks

    Refer to
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXPDOM9.html

  • "SOAP-ERROR: Parsing Schema: unexpected complexType in complexType"

    Hi, I am trying to access cca service through wsdl by php. but when i am trying to create messageprovider object, that time i got error something like "SOAP-ERROR: Parsing Schema: unexpected <complexType> in complexType" . Please help me to resolve for this error.

    hi,
    just do not use WS-Policy. To achieve this change the WSDL-URL fed to the constructor from
    ... wsdl11/ws_policy/document?sap-client=123
    to
    ... wsdl11/standard/document?sap-client=123
    and it works.
    have fun,
    anton

  • Random Bingads WSDL errors: Parsing WSDL: Couldn't load from...failed to load external entity, Could not connect to host, Parsing Schema: can't import schema from

    Hi,
    I am developing a web tool that accesses client's Bingads accounts via OAUTH2 granting. I am downloading data from clients daily.
    Generally it worked, but for 2 days I am experiencing a weird issue, that in random times (but more and more often though) I receive random error messages from Bing server. I am pasting below a few example from my logs (with timestamp and request/response).
    Must note that I launch these requests from the server where we have the webapp but also I launch it locally. The same is the result.
    The timestamp is in France time (GMT+1).
    Thanks ahead!
    Best regards,
    Steve
    2015-01-14 15:08:05: Service\BingAds::initService => SOAP-ERROR: Parsing Schema: can't import schema from 'https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V9/ReportingService.svc?xsd=xsd0'
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetDetailedBulkDownloadStatusRequest><ns1:RequestId>108277125</ns1:RequestId></ns1:GetDetailedBulkDownloadStatusRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">XXXXX</h:TrackingId></s:Header><s:Body><GetDetailedBulkDownloadStatusResponse
    xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><Errors i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><ForwardCompatibilityMap xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
    xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><PercentComplete>100</PercentComplete><RequestStatus>Completed</RequestStatus><ResultFileUrl>https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=XXX</ResultFileUrl></GetDetailedBulkDownloadStatusResponse></s:Body></s:Envelope>
    2015-01-15 05:41:39: Service\BingAds::getCampaigns => SoapFault: Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)
    2015-01-15 05:45:00: Service\BingAds::initService => SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl"
    2015-01-15 11:58:46: Service\BingAds::getCampaigns =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)
    2015-01-15 11:59:50: Service\BingAds::initService =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl"
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">XXXXX</h:TrackingId></s:Header><s:Body><GetCampaignsByAccountIdResponse
    xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><Campaigns xmlns:i="http://www.w3.org/2001/XMLSchema-instance"></Campaign>........</Campaigns></GetCampaignsByAccountIdResponse></s:Body></s:Envelope>
    2015-01-15 12:05:55: Service\BingAds::getCampaigns =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXXXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXXXXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXXXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)

    Hi,
    1. I am using the older version of the PHP library provided by Bing (updated on 1/20/2014), so that is doing the WSDL loadings. I initialize the proxy calling OpticoBingAdsClientProxy providing what it needs, and then do the requests.
    2. I have a cron that reads data from client's accounts. I make several calls, like get search query report, get keyword performance report, get keyword bulk data. As the script progressed the first 2 worked and the third gave error. Or in other cases the
    first request failed. The calls have quite some time in between them since I process data (sometimes even 160 seconds)
    3. I did not change the code ion terms of requests, since as I said I use the PHP library (same credentials, ...).
    As of today (2015-01-16 10:30 GMT + 2) running my script, still have the same issues.
    Thank you!
    Steve

  • Choosing Different parsing schema

    Hi,
    I have 2 application using the one parsing schema (sch1)
    Now I want to create one another application, I would like to choose a different schema as parsing shcema (sch2),
    is this possible? it is not allowing me or it is not listing in the list box.

    Hi,
    Yes this is possible, you will need to assign schema sch2 to the workspace. You can do this in the APEX Admin app under Manage Workspaces 'Manager Workspace to Schema Assignments'. Then back in the Apex builder edit the Application definition and change the Parsing Schema to sch2.
    Regards
    Paul

  • HOW TO have LOV display values from a table not contained in parsing schema

    I am using DAD to log in and have been able to get around the problems associated with the login schema being different than the parsing schema. However, I want to have a list of values to be shown to the user based on a table in the DAD schema that they log into rather than the parsing schema.
    Anyone know how this might be done?

    GOT IT:
    RETURN 'select xxxxxxx' does it

  • How to download a file from a table not in the parsing schema

    We have a table in another schema which holds files in a blob column. I can create a form on this table and the file upload works fine. The file browse page item has the source as the blob column and storage type "BLOB column specified in Item Source attribute". The download link generated for the page shows a call to apex_util.get_blob_file and the parameters are correct. However, when you click on the link you get a Page Not Found 404 error. Same error in Apex 4.1.1. The plsql error is:
    ORA-20544: Invalid table owner
    ORA-06512: at "APEX_040000.WWV_FLOW_DML", line 1628
    ORA-06512: at "APEX_040000.HTMLDB_UTIL", line 2244
    ORA-06512: at line 31
    Is there a way to use apex_util.get_blob_file to download a file when the table is in another schema?
    Rod West

    Hi,
    I am not sure that the post explains everything as the "Automatic Row Processing" and "Automatic Row Fetch" process work fine on this page and therefore security should not be an issue.
    Thanks for the view suggestion, but I am not sure that a view is a good option for us because the parsing schema does not have create view privilege and therefore the view would be difficult to install and maintain. We will problably end up with a custom download file process.
    Rod West

  • Can multiple APEX application use the same parsing schema?

    Hi,
    I have 4.2 APEX thru pl/sql Gatewat, 11gr2 DB and using theme 24.
    Due to the APEX limitation for version control I would be splitting 1 big ERP applications into 24 different APEX applications and each application would be considered as 1 unit for version control.
    I have about 800 tables and I would assume that all of these would need to be stored in 1 schema since a lot of these table are linked thru FK.
    Can I have multiple APEX APPS using the same parsing schema? or is there a better way to do this?
    Thanks in advance!

    Hi,
    Multiple applications can have same (one) parsing schema.
    You can test that on e.g. apex.oracle.com, where normally you have only one schema and you create multiple applications and all use that same schema.
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Jan 28, 2013 7:15 PM

  • Would like to change Websheet schema

    I've been doing APEX Database applications for some time, but I am quite new to Websheet applications. My APEX version is 4.2.3.
    It's important to me which schema a websheet application winds up with because it seems that websheet reports can only access objects (such as tables) that are under the schema of that websheet. Also when you create a new websheet you don't seem to have any control over the schema it uses. We have 2 schemas associated with our workspace schema1 and schema2. All of the APEX$_WS tables are under schema2 and the files we want to report on are under schema1. The APEX$_WS files were no doubt put in schema2 by me when I created my first websheet application, but at the time I didn't know about websheet reports.
    I noticed that under administration> manage service > websheet database objects, there is an option to Remove Websheet Database Objects. I really hope I don't have to resort to this.
    I have another question about websheets. In the application builder page which lists the applications in my workspace, I added a column, "Parsing Schema". I was hoping that this would give me some insight into the above question. For "Sample Websheet Application - AnyCo IT Department", the parsing schema is schema2. For a new websheet I just created, the parsing schema is schema2. But for my main websheet that I am most concerned about the parsing schema is jwomble, my username. How did this happen?
    Jackie

    Update. I solved part of the problem by granting some privileges to schema2 so that it can access the tables in schema1. That solves the immediate problem but in the long run I will probably still need to move the websheets over to schema1. I'm thinking about exporting the websheets, removing and recreating the tables, and then importing.

  • SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

  • How to change the Schema (DB2, Oracle) in CommandTable at run time

    Dear all,
    I have a problem as below:
    I have created report with CommandTable, then I am using Java and CRJ 12 to export data. So how to change the SCHEMA in CommandTable? 
    Please help me on this.
    Ex: CommandTable is SELECT * from SCHEMA.TableA, SCHEMA.TableB
    Thanks,
    Nha

    Dear Ted,
    I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
    I also use the parameter to do it, but it can not be at run time, just correct when designing.
    Could you please help me on this. You can post the code if any.
    Thanks,
    Nha

Maybe you are looking for

  • Automatization and data merge in CS3

    Hi there, Let me first sketch the problem. As an organization we publish a weekly booklet with a calendar and information about things about to happen, etc. This is all made in InDesign with a header on the first page (only on the first page), follow

  • Ipod's battery is low and won't be recognized by the computer to charge.

    Hola, So, I fell asleep the other night and forgot to turn my Ipod Nano Video off. When I saw it in the morning it said, "Low Battery" at the top of the screen, had the icon of a battery and a triangle, and below that it says, "Connect to Power". I p

  • Rename the file name of a Vault (not the Vault name)

    I have a Maxtor Sahred Storage Plus and I am now planning to use it for backing up Aperture. Yes, I now that Aperture is not made for back up on a network, but it should be possible according to this thread: http://discussions.apple.com/thread.jspa?m

  • Role with SPRO for FICO

    Hello SAP EXperts, Can anyone tell me how to create a role with SPRO authorization for FICO transactions and roles only. I need to assign a role with which a FICO consultant can do all the customizing related tasks in the development server. Please g

  • Itunes not playing while IOS4 upgrade

    So Im upgrading my Iphone 3G to IOS4 and its taking for ever. Which is normal, and I expected this, but in the meantime I can't access the Itunes window, to keep playing music, or select my music. What gives? is this just me? Is this the fault of the