How to see the wsdl (url) in a UI component.

Hello

I use adf 11g


Because sometimes I use wsdl (url) diferent to test datacontrols.ccx purpuses I change the url I works very well.

But in my UI I show wich a wsdl is actually configured.

How can I do?

Concerning

Hello

in a test of bean managed

BindingContext bctx = BindingContext.getCurrent();
AdapterDCService adc = (AdapterDCService)bctx.findDataControl("YourDataControlName");
DataControl adapterDataControl = adc.getAdaptedDC();
WSDataControl wsDataControl =(WSDataControl)adapterDataControl.getDataProvider();

WSDefinition wsDefinition = (WSDefinition)wsDataControl.getDefinition();
URL endpointURL = wsDefinition.getWSDL();

//expose the endpointURL from a setter/getter method so it can be EL referenced from a UI Component

Frank

Tags: Java

Similar Questions

  • Generate class files using the WSDL url and wsimport

    I am trying to create a java application that hits the service exposed by hub.

    To create the application in java, I'm generating class files using the WSDL that is created and exposed by the hub.

    Executed steps:

    1 created an application in OPA.

    2. deployed on the hub (usinf deploy option of snapshot on Policy Modeling)

    3. in the deployment tab, I see the request and get the url of the wsdl by clicking on it.

    I try on this wsdl wsimport command. But it gives me following error messages.

    ---------------------------------------------------------------------------------------------------

    C:\***\AllFiles > wsimport http://localhost:7001/hub/determinations-Server/assess/SOAP/generic/12.2/AttemptOne?WSDL

    the analysis of WSDL...

    [ERROR] invalid WSDL http://localhost:7001/hub/determinations-Server/assess/SOAP/generic/12.2/AttemptOne?WSDL , expected {http://schemas.xmlsoap.org/wsdl/} html (line 2) data definitions

    Cannot read the WSDL document: ( http://localhost:7001/Hub/determinations-Server/assess/SOAP/Generic/12.2/AttemptOne?WSDL , because 1) did not find the document. (/ 2) the document could not be read. (3) the element the document root is not < wsdl:definitions >.

    [ERROR] WSDL:service is not found in the WSDL (s) provided:

    At least a WSDL with definition of at least one service must be provided.

    Unable to parse the WSDL file.

    ---------------------------------------------------------------------------------------------------

    If I store the wsdl file in a file on my local computer, and then run wsimport, it generates the classes very well.

    Can someone provide me with a way that I can generate the classes using the wsdl url and not the local file?

    Also, do I need to create a connection in the Connections tab on the hub?

    Thanks in advance.

    -Alain

    Looks like you could run in the user authentication when wsimport runs against the WSDL. Instead of the WSDL, its reception, the login page.

    The best way to work around this problem is perhaps what you do already - to obtain the wsdl and save them in a file.

    Another solution is to disable the restriction of connection to the Web Service API. You can do this in the menu on the users page (admin role can turn on and off.

    You can switch between a user and a password with the call of the WSDL file, but I don't know if its possible to do with wsimport

    See you soon

    Frank

  • After deployment got "404 Not Found".  How to find the correct URL?

    For the experienced:

    Preparing to deploy my application, I use JDeveloper 10.1.3.4 to deploy the application on the server standalone oc4j included in JDeveloper. After deployment, I get the error "404 Not Found" when trying to invoke the application in a browser. The deployment seems OK, because the log in JDeveloper window showed no error executing deployment from inside JDeveloper. So I guess the question is how to find the correct URL to invoke the application. Here are the steps I took to make the deployment.

    First, I installed the standalone oc4j by running the .bat < jdev_home > \jdev\bin\start_oc4j file. Installation is OK because I have deployed the application SRTutorial and invoked successfully in a browser.

    The WAR file has been created by right-clicking on the ViewController project and select this option to create a WAR file. At the root of the application its own name, I typed "ZB" in the area of the root of context.

    Then in ViewController-> resources, right_click the deployment file (ZBOV.deploy) and chose ' deploy to "the local_standalone_oc4j. Messages in the Journal of JDeveloper window for deployment are all nice and clean without errors.

    I then used this url to invoke the application deployed in a browser:

    http://localhost:8888/ZB/faces/staff/login.JSPX

    But I got an error "404 Not Found". Immediately, I tried citing the application of SRTutorial, and it works fine.

    Login.JSPX is one of the pages of the application. In the browser of the application, it is with other files in the content of ViewController/Web/personal folder, so I used /staff/login.jspx after ZB/faces.

    What could be wrong? If the deployment is really successful, how to find the correct url to invoke the application?

    Thanks a lot for your help!


    Newman

    Hello

    According to me, there are 2 possibilities (could be more that I'm not aware of if :)).

    1. your deployment profile has been changed to use a different context root.
    2. your request has not been installed correctly.

    To 1, try to create a new deployment profile and leave the values by default as it is the case, run the jspx page, get the root context, deploy the application to a different OC4J instance (using the new deployment profile), and then run the application with the context root, that you received from the embedded OC4J.

    For 2, check the log file and see if you had any error / exception.

    HTH.

    Arun-

  • How to see the content of what's currently on my iCloud of this site

    How to see the content of what's currently on my iCloud.  I would like to see these files presented in a display of file manager type in order to sort and remove if necessary.

    Go to iCloud.com, then click on your iCloud drive icon.  I hope this is what you mean or what you are looking for.

    iCloud Drive FAQ - Apple Support

  • How to see the old registered devices?

    How to see the list of disabled devices?

    If you have devices that are associated with your Apple ID, to the use of the content purchased from iTunes Store or access to subscription services, I don't think that there is a list of previously associated devices that are no longer associated.  I don't know what you mean by devices 'off '.

    If you ask about "old devices registered" on your Apple ID support profile, they must always be there.  This list is mainly for the purpose of support services.  You can check here

    https://supportprofile.Apple.com/

  • How to see the level of ink for a dell v515w printer?

    Separated from this thread.

    How to see the level of ink for a dell v515w printer?

    Hi Albert,

    I appreciate your time display. You can refer to the manual for more information. http://www.Dell.com/Ed/business/p/Dell-V515w/PD

    To better help, contact Dell technical support.

    http://en.community.Dell.com/support-forums/peripherals/

    Thank you.

  • All the fonts/writing are gibberish and I can't not as what is written, so I can't change anything on my vista, how to see the writing again if I can read? Thank you

    All the fonts/writing are gibberish and I can't not as what is written, so I can't change anything on my vista, how to see the writing again if I can read? Thank you

    Try cleartype youre settings, follow this link.

    http://www.Microsoft.com/en-us/typography/default.aspx

    Also, look for downloads 'police' as you need...

    1, select "cleartype online setting" you will probably get a download popup, install the

    Update...

  • How can see the motherboard serial number in windows 7

    Salvation;

    I need how can see the serial number of the motherboard in windows 7
    I look forward to help me
    Thank you...

    You will most likely need remove the left side panel and look at the motherboard to determine the serial number.

  • The WSDL URL is not valid or the WSDL file is not valid or incorrect @ WebLogic Server

    Hello

    Hello everyone... I am facing a problem regarding the application of BPEL process in Weblogic server and its details are given below

    I was sent a BPEL process in Weblogic Server and previously it was working very well according to our goal.

    But today when I clicked on particular SOA as soa-infra in Weblogic Enterprise Manager and press TEST tab to copy the 'end' for this SOA url I got this below error mentioned that this error is also coming up for all SOA processes.

    Error: -.

    The WSDL URL is not valid or the WSDL file is not valid or incorrect. -java.io.IOException:WSDLException: faultCode = OTHER_ERROR: cannot play the WSDL

    According to http://xyz.com:7001/soa-infra/services/default/FASoaWPv1.3/fa_proc_client_ep?XSD=xsd/schedule.xsd:WSDL not found not found


    Thanx in advance and please help me to solve it.


    With respect,


    Manas Mazumder

    Kolkata (India)


    Hello

    Hello everyone... I encountered a problem regarding the application of BPEL process and its details are given below

    I was sent a BPEL process in Weblogic Server and previously it was working very well according to our goal.

    But today when I clicked on particular SOA as soa-infra in Weblogic Enterprise Manager and press TEST tab to copy the 'end' for this SOA url I got this below error mentioned that this error is also coming up for all SOA processes.

    Error: -.

    The WSDL URL is not valid or the WSDL file is not valid or incorrect. -java.io.IOException:WSDLException: faultCode = OTHER_ERROR: cannot play the WSDL

    According to http://xyz.com:7001/soa-infra/services/default/FASoaWPv1.3/fa_proc_client_ep?XSD=xsd/schedule.xsd:WSDL not found not found

    Hello

    Hello everyone... I encountered a problem regarding the application of BPEL process and its details are given below

    I was sent a BPEL process in Weblogic Server and previously it was working very well according to our goal.

    But today when I clicked on particular SOA as soa-infra in Weblogic Enterprise Manager and press TEST tab to copy the 'end' for this SOA url I got this below error mentioned that this error is also coming up for all SOA processes.

    Error: -.

    The WSDL URL is not valid or the WSDL file is not valid or incorrect. -java.io.IOException:WSDLException: faultCode = OTHER_ERROR: cannot play the WSDL

    According to http://xyz.com:7001/soa-infra/services/default/FASoaWPv1.3/fa_proc_client_ep?XSD=xsd/schedule.xsd:WSDL not found not found

    Hello

    Hello everyone... I encountered a problem regarding the application of BPEL process and its details are given below

    I was sent a BPEL process in Weblogic Server and previously it was working very well according to our goal.

    But today when I clicked on particular SOA as soa-infra in Weblogic Enterprise Manager and press TEST tab to copy the 'end' for this SOA url I got this below error mentioned that this error is also coming up for all SOA processes.

    Error: -.

    The WSDL URL is not valid or the WSDL file is not valid or incorrect. -java.io.IOException:WSDLException: faultCode = OTHER_ERROR: cannot play the WSDL

    http://xyz.com:7001/soa-infra/services/default/FASoaWPv1.3/fa_proc_client_ep?XSD=xsd/schedule.xsd:WSDL notfound found

    xddsdsdlslkldsfdsfn dsnkjWith

    Hi Manas,

    Try your composite, cleaning of the MDS (under the deployed applications) cancel the deployment and redeployment.

    Antonis

  • How I see the preview image of my PDF documents?

    How I see the preview image of my PDF documents?

    Hi josepm26085232,

    Preview of thumbnails has been disabled in the latest Adobe Acrobat Reader DC due to security problem.

    If you want this feature, you will need to uninstall the latest version & reinstall the old version of the Adobe - Adobe Acrobat Reader DC Distributiondrive.

    Kind regards
    Nicos

  • How to get the friendly URL to the web sites of the centre

    Anyone know where I can find good instructions on how to produce the friendly URL to the web sites of the centre

    Hi Ahmed.

    If you are running version 7.6 or 11gR1BP1 or earlier, the GST Site Foundation is a good option for you.    The GSF website is here:

    http://www.GST-Foundation.org/

    and I have recently written a howto for vanity URL using the FMA here:

    http://www.function1.com/2012/11/how-to-use-vanity-URLs-in-the-GSF-with-WebCenter-sites/

    Please let me know if you have any questions!

    Sincerely,

    Tony Field

    Function1

  • How to see the header values are passed as part of a Message in BPEL invoke

    Hello

    I spent some session id in the header of a message to invoke.
    In Audit trail, that I'm not able to see these header values, his only show transmitted the request body.

    Is there a way I can see past also the header values?

    Kind regards
    En

    See the below URL for more information on the complete SOAP in 11g message display.

    http://www.albinsblog.com/2012/10/getting-SOAP-envelope-of.html#.UUrX7TceBBE

    Mark recognition appropriate as "useful" or "right answer", if your problem is resolved.

    Concerning
    Albin I
    [http://www.albinsblog.com/]

  • How to change the LOGO url

    Hallo,

    Could someone explain how to change the LOGO URL (when I click on redirect logo should go not to the home page, but to any page I want to set manually).

    Thanks for the tips.

    Apex 4.1.

    Hello

    have a look at the page template.

    Home--> Application Builder--> Application XX-->--> models shared components

    According to the Setup, you should find something like

      
    

    He simply change "#HOME_LINK #" to your desired URL/page.

    I hope this helps...

    Thank you
    Sandro

  • How to generate the WSDL in CCB231

    How to generate the WSDL in ccb231? I'm not able to use the WSDL generated to XAI inbound service like soapUI gives importing problem. I couldn't open the schema editor to generate the WSDL as ODBC driver is missing from my windows machine 7. Any suggestions please

    What kind of import errors that you get with soapUI?

    I have a virtual machine running CC & B 2.3.1 with SoapUI 3.6.1 and when I import the WSDL generated by XAI Inbound Service it runs smoothly.

  • How to see the info of waiting events. After executing a statement select query

    Hello

    How to see the info of waiting events. After running a select query. Is there a setting to the value of this option?
    And I also want to see the following info. in the trace file. For this, what are the settings I need to adjust to the right?
    SELECT * FROM emp, dept 
    WHERE emp.deptno = dept.deptno;
    
    call   count      cpu    elapsed     disk    query current    rows
    ---- -------  -------  --------- -------- -------- -------  ------
    Parse      1     0.16      0.29         3       13       0       0
    Execute    1     0.00      0.00         0        0       0       0
    Fetch      1     0.03      0.26         2        2       4      14 
     
    Misses in library cache during parse: 1 
    Parsing user id: (8) SCOTT 
    Concerning
    Evelyne

    For

    SQL > show parameter dump;

    ORA-00942: table or view does not exist
    >
    Use

     GRANT SEECT ON v_$parameter to Your_User_Name
    

    For

    SQL > ALTER SESSION SET EVENTS = 10046 trace name forever, context level 12';

    ERROR:
    ORA-01031: insufficient privileges
    >
    Use

     GRANT ALTER SESSION to your_user
    

Maybe you are looking for