How to remove ANT Validation while Compiling SCA or BPEL in 11.1.1.4

SOA/SCA/BPEL Gurus,
As you know, sometimes we have to use the runtime WSDL URL directly in the BPEL process when invoking an external web service (say OSB). But then the service needs to be always available when deploying thru' ANT script as it validates and compiles. It has been a big problem whenever I deploy the BPEL if the invoking service (OSB) is down. On the other hand, the OSB deploys fine using ANT when the SCA is down.
I am expecting the BPEL should throw an error only at the runtime but not at design or deployment time like OSB.
Now my question is,
Though we all know we can resolve this by importing the WSDL/XSD to the project, I would like to know if there is a way to Disable/Remove the Validation part in the ANT Script so that it can create the jar/sar file and deploy to the server.
FYI -
The error is thrown out from ant-sca-compile.xml and the target is <target name="scac" description="Compile and validate a composite">
Please help !!!
Thanks
Bala
Edited by: 805364 on Mar 11, 2012 9:01 PM

Bala,
On the other hand, the OSB deploys fine using ANT when the SCA is down. OSB always needs a local copy of WSDL/XSD. It never references any WSDL/XSD over network at design,deployment or runtime.
I am expecting the BPEL should throw an error only at the runtime but not at design or deployment time like OSB. For building and validating the process components at deployment time, XSD/WSDL's must be available otherwise server may end up deploying incorrect/invalid configurations. So I don't think SOA is doing anything unexpected. In case you don't want to import artifacts into project then you have two other options -
1. Use MDS for sharing artifacts
2. Use UDDI (Universal Description Discovery and Integration). Oracle recommends Oracle Service Registry 11g (OSR). The advantage is that you can use OSR and SOA Suite in a Shared WebLogic Domain.
Regards,
Anuj

Similar Messages

  • How to remove Existing dll while deploying biztalk schemas

    Hi Friends,
    How to remove Existing dll while deploying biztalk schemas.
    am getting error property schema dll is being used by other person.just like that..
    Thanks & Regards
    Rajiv

    Goto BizTalk admin console -- > If you know the BizTalk application where this dll is already deployed, select that application. Otherwise select "All Artifacts" --> Select "Resources" folder --> And remove the dll of the above property schema project
    by right clicking on the Artifacts and select remove
    Other option is go to "Schemas" folder of the above BizTalk application (again in admin console),  --> select the schema ---> right click the schema you wan to remove  (Property schema) and click remove.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to remove special characters while typing data in edit cell in datagrid in flex4

    Hi Friends,
    I am facing this problem "how to remove special characters while typing data in edit cell in datagrid in flex4".If know anyone please help in this
    Thanks,
    Anderson.

    Removes any characters from
    @myString that do not meet the
    provided criteria.
    CREATE FUNCTION dbo.GetCharacters(@myString varchar(500), @validChars varchar(100))
    RETURNS varchar(500) AS
    BEGIN
    While @myString like '%[^' + @validChars + ']%'
    Select @myString = replace(@myString,substring(@myString,patindex('%[^' + @validChars + ']%',@myString),1),'')
    Return @myString
    END
    Go
    Declare @testStr varchar(1000),
    @i int
    Set @i = 1
    while @i < 255
    Select
    @TestStr = isnull(@TestStr,'') + isnull(char(@i),''),
    @i = @i + 1
    Select @TestStr
    Select dbo.GetCharacters(@TestStr,'a-z')
    Select dbo.GetCharacters(@TestStr,'0-9')
    Select dbo.GetCharacters(@TestStr,'0-9a-z')
    Select dbo.GetCharacters(@TestStr,'02468bferlki')
    perfect soluction

  • How to moidfy ant file to compile page flow files only

    Hello,
    Our existing application is compiled with standard ANT task and running on weblogic server. Now I try to change the jsp part using page flow and weblogic workshop.
    I think I still need to create an application and a project that contains the page flow files. How can I modify the the ANT file and compile the page flow files only, then these files can be packed with other files into a WAR file?
    Thank you for the help in advance.
    Zhong

    Hi,
    You can go through this weblog Handling Of Non-HTML Documents by Brian. It would be useful to you.
    /people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
    Regards,
    Ravikiran.C

  • How to turn off validation when compiling Packages...!

    Hello,
    How do I turn off the validation when compiling Packages in SQLPLus?
    Thanks
    Rao

    I'm guessing at what you're after here, but maybe this?
    ME_XE?create or replace procedure one
      2  as
      3  begin
      4     null;
      5  end;
      6  /
    Procedure created.
    Elapsed: 00:00:00.73
    ME_XE?set feedback off
    ME_XE?create or replace procedure one
      2  as
      3  begin
      4     null;
      5  end;
      6  /
    Elapsed: 00:00:00.61

  • Missing ant package while compiling in NetBeans IDE

    hi all,
    I am having problem compiling in NetBeans IDE 5.0. The error is package org.apache.tools.ant not found. I have installed apache-ant-1.6.5-bin and jdk1.5.0_07. Are these enough? The library files are in jar format. How can I tell if I having missing package "org.apache.tools.ant "?
    I am new to ANT tools and NetBeans. Can someone help?
    Thanks.

    i have tried with other projects and no problem. Only this project.
    What classes do I need to add into the project?

  • How to remove white fade while navigating between pages?

    I created small web page with 4 buttons which each of them leads to other page eg., Home,Gallery, Contacts,Reviews, but when i'm navigating between them there is annoying white flash! Is it possible to remove it?
    P.S. I uploaded my site to businesscatalyst Home
    Thank you!

    That is so strange, I just tried on my OS X Safari and WIN 7 Chrome and everything just fine, but when I'm trying on same OS X Chrome it has white flash while transitioning through navigation. Thanks anyway mac_heibu!

  • How to remove build errors while creating an Order App. for Handhelds

    Hi Friends,
    As per the Tutorial: Developing an Order Application for Handhelds provided at the given link http://help.sap.com/saphelp_nwmobile71/helpdata/en/8F/0B674240449C60E10000000A1550B0/frameset.htm
    I am creating mobile application for PDA . I have finished many steps but at one step I am getting build errors.
    The step is when we create service and paste the code provided in the document.
    public void generateTestData() {
    //@@begin implementation
          if( !(((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).getOrderOrderheaders().size() > 0))
             OrderOrderheader order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0023378");
             order.setLongtext("Repair front door");
             order.setServiceunit("SU01");
             order.setCreatedOn(Date.valueOf("2007-06-30"));
             order.setCreatedAt(Time.valueOf("08:45:00"));
             order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0024897");
             order.setLongtext("Analyse malfunction");
             order.setServiceunit("SU01");
             order.setCreatedOn(Date.valueOf("2007-07-01"));
             order.setCreatedAt(Time.valueOf("09:00:00"));
             order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0034534");
             order.setLongtext("Repair escalator");
             order.setServiceunit("SU03");
             order.setCreatedOn(Date.valueOf("2007-07-03"));
             order.setCreatedAt(Time.valueOf("19:45:00"));
             order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0024589");
             order.setLongtext("Analyse computer problem");
             order.setServiceunit("SU04");
             order.setCreatedOn(Date.valueOf("2007-07-01"));
             order.setCreatedAt(Time.valueOf("15:45:00"));
             order = ((Order_srvModel)OcaRoot.getInstance().getModel(Order_srvModel.class)).createOrderOrderheader();
             order.setOrderid("0027890");
             order.setLongtext("Repair door lock");
             order.setServiceunit("SU03");
             order.setCreatedOn(Date.valueOf("2007-07-05"));
             order.setCreatedAt(Time.valueOf("10:00:00"));
             OcaRoot.getInstance().commit();
    //@@end
    The issue is I am getting a red line below each set methods as I have shown by underlining. I am struggling with how to rectify the error.When I write ORDER and write . after it , it shows only get methods in the popup not the set methods.
    Please suggest .
    It will be a great help.
    Regards,
    Nitesh

    Hi Nitesh
    Check if the data object you created is bi directional in DOE?
    Regards
    Vidyadhar

  • How to remove boot options while booting in mac with the options key

    I've just installed windows trough bootcamp, but somethings went little bit wrong,
    Everythings works fine, mac works and windows 7 works properly. But when i hold down the option key while booting i dont have the normal 3 options (Mac, Windows, Mac Restore). I now see these options (MAC, Windows, Windows, Windows efi, mac restore).
    MAC -> works fine
    1e windows -> (error no operating system installed)
    2e windows -> works fine
    3e Efi windows (boots into mac)
    MAc restore -> works fine
    So is there an way to clean up these options?
    Thanks

    You think someone will use Boot Camp Assistant?
    EFI is / was always there. Sometimes it shows up (from using Disk Warrior).
    Windows has its own 100MB system reserved as well that is the boot area.
    I'd start with Lion Recovery, show hidden features and partitions, and check the health of all, and repair HFS volume.
    Also try your Windows DVD and see if it sees a problem.

  • How to remove bad file?

    hi
    I am creating external table to import csv file into table...I put csv file in this directory(c:\temp1\hr.csv)...while importing, the bad file and text document are created..Actually the client does not require this....Can anyone say how to remove those files while importing?
    Fazila

    First of all bad file contains those record information which is rejected for any specific reason. So, you can get some valuable information regarding the rejected records. But, still if you don't want to keep it - then you can do it with a java based procedure. I don't thinki you can do it directly through any oracle procedure. Because, you are about to access the o/s system files. I don't think that can be done directly using Oracle Pl/SQL - which i'm not sure.
    Regards.
    Satyaki De.

  • Error while compiling the composite through custom ant script

    Hi,
    I am getting the following error while compiling the composite through custom built ant scripts which are intern call the ant-sca-package.xml. And the composite is created by upgrading the 10g bpels. But the same composite is successfully compiling from Jdeveloper (11.1.1.4).
    oad of wsdl "oramds:/soa/shared/workflow/NotificationService.wsdl" failed
    oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/soa/shared/workflow/NotificationService.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:555)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:417)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:241)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:304)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:934)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:388)
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:176)
         at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:67)
         at java.net.URL.openStream(URL.java:1010)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
         ... 9 more
    Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:339)
    And in the following blog, its recommended to check for the adf-config.xml. But when upgrading the bpels from 10g to 11.1.1.4, I don't see any such file created by Jdeveloper.
    http://orasoa.blogspot.com/2010/08/ant-and-mds-composite-compile-error.html
    Not sure if I am missing some properties to add in by custom script while compiling.
    Thanks
    Sree
    Edited by: Sree on Jul 4, 2011 7:25 AM

    Hi Hussain,
    Thanks for the reply.
    Were you able to compile the form at the client side successfully?
    1) Were you able to compile the form at the client side successfully?:
    Ans: Yes, I was able to compile the form successfully at client side.
    2) Are you logged in as applmgr user? Have you sourced the application env file before compiling the form?
    Ans: No, I have not logged by applmgr user, i am using my own login. Yes I have sourced the application env file before compiling the form
    3) What does "echo $FORMS_PATH" return?
    Ans: echo $FORMS_PATH on server gives this path
    /u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource:/u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource/stub
    Can you please advise?
    Thanks,

  • HT4098 How do I unsubscribe from subscription VIP in the game StarMaker? every week, I removed 66 rubles, while I'm there not even sit, and how do I unsubscribe don't know, please help

    How do I unsubscribe from subscription VIP in the game StarMaker? every week, I removed 66 rubles, while I'm there not even sit, and how do I unsubscribe don't know, please help

    Contact the maker of the app. Apple has nothing to do with subscriptions to third party apps.

  • How to remove a member from cluster while CQ (cq5.5) instances are running?

    Hello,
    I have a query:
    how to remove a member from cluster while CQ instances are running? And is there any particular log to check that it got removed?
    Thanks in advance..

    I might be wrong. AFAIK you do not have the option to remove without shutting down and modfying cluster.properties.
    However this usecase would be minimal because before going into production you would have verified your architecture.

  • How does one escape special characters while compile the package.

    Hi
    The below is my function, while compiling the function in SQL plus it’s asking the substitute values, still I want to & symbol this column 'S&P Long Term Rating'
    now my question is how to avoid while compiling substitute values
    FUNCTION get_attribute_list RETURN t_ref_cursor AS
    lv_array varchar2_table_type := varchar2_table_type('Emerging Market Flag'
    ,'Region Code'
    ,'Region Name'
    ,'Moody''s Rating'
    ,'S&P Long Term Rating'
    ,'Credit Rating'
    ,'Region ISO'
    ,'Loan Country Code'
    ,'Loan Country Name'
    ,'What If Emerging Market Flag');
    lv_ref t_ref_cursor;
    lv_step_name a_run_log.step_name%TYPE;

    Frank Kulash wrote:
    SET DEFINE OFF is the best solution, as long as you don't need substritution variables elsewhere in the function.Agreed, however, just to toss out an alternative I use alot:
    anytime I encounter a "special" or "odd" character (ie &, CR, LF, TAB, whatever ...)
    I usually resort to stuffing it into a constant variable :)
    Of course, the OP's code might beg why the hardcoding in the proc? If the values being passed in via parameters, none of this is an issue. :)
    (in other words - if the OP is encountering this "issue" with a simple test - it might be worth mentioning - it might not be an issue with the "production" code - assuming things are being passed in via parameters)
    set serverout on
    declare
       lc_Amp   VARCHAR2(1) := CHR(38);   -- Ampersand
       lv_var   VARCHAR2(100);
    begin
       lv_var := 'S' || lc_Amp || 'P Long Term Rating';
       dbms_output.put_line ( lv_var );
    end;
    /

  • Error while compiling using ant

    While compiling a project using ant, I got an error that a particular method is missing in the class.
    But the method is actually present in the class.
    What may be the problem?. Any link will be useful.
    Regards,
    Joshua

    Its compiling and running fine in eclipse.

Maybe you are looking for

  • My computer says i am out of paper when i am not

    my computer shows its out of paper, when its not

  • Creating a cube for 2lis_11_vasth data source

    hi everyone, i am quite confused on how to create a cube for an r/3 data source for ex: 2lis_11_vasth. do i have to create my own cube by defining the individual info objects for each field or can i do it in business content? please let me know the p

  • Moving Photoshop Elements catalogues from a PC to a Mac

    I have created several photo catalogues on my PC using Photoshop Elements 7. I have now moved to a Mac computer. I have imported my photos tom my new computer, and into iPhoto. However I would like to continue organising and editing them with Photosh

  • Get-WinEvents Powershell bypass admin rights

    Hi Scripting Guys, I have wrote some code which takes the details regarding boot times from the event logs and outputs them into a table in htm. BUT - I'm having trouble with my powershell sript, it runs fine when I am running powershell as admin, bu

  • Workflow event trigerring

    Hi all, I am using the following code to trigger the event of the object type, in turn trigger a workflow everything works fine but the problem is not all the data are coming into the workflow is there something else that i have to do in this piece o