[JDev 12 c] How do I imply a Web service (with authentication) method?

Hallo,

in my merger ADF Web Application I have to call some methods of a REST Web service, but I have no way to have the WSDL or w.

I only know the URL of the container methods and the name (and parameters) of each method.

How can I call the webservice methods in JDeveloper?

The RESTful Client and Proxy JDeveloper component is not useful for me: he needs the URL of the WSDL/w but, as I said before, I did not.

I also tried to use JDeveloper Webservice data control , but I had problems configuring.

Would you kindly suggest me a way - also in pure Java (so without using a component JDevelpoer) - to call a Web service method and read his answer?

The Web service needs to the authentication of the client so I would like to know also how do I do the authentication (username + password) by programming.

Many thanks in advance,

Federico

Hi - I did using this approach: https://blogs.oracle.com/imc/entry/adf_mobile_the_specific_of

If you need to pass the security credentials, see: http://blog.teaminformatics.com/tag/mobile-application/

Rich.

Tags: Java

Similar Questions

  • How can I activate the web service on 8600

    How can I activate the web service on 8600

    How can I activate the web service on hp 8600

  • How do I create a web pages with Adobe Muse reagent? I think it's a great tool and must Access the functionality just like Edge reflow. And is it possible to import works of reflow to Muse?

    How do I create a web pages with Adobe Muse reagent? I think it's a great tool and must Access the functionality just like Edge reflow. And is it possible to import works of reflow to Muse?

    Hello

    Please check a few suggestions given in this thread you can create sensitive sites with Adobe Muse?

  • How to call a Web service with more than 1 parameter value?

    I have a Web service with a query as an array of String parameter.
    In an invoing xml, it should looks like:

    < GetPersonsData_Request >
    < application >
    < PersonIdList >
    < string 111 > < / string >
    < string > 222 < / string >
    < string > 333 < / string >
    ...
    < / PersonIdList >

    A problem I have:
    How can I assign a different value to this list?

    I posted the first element directly and then tried to add a new with append:
    < bpelx: Add >
    < bpelx: a > '12345' < / bpelx: go >
    < bpelx: to > $GetPersonsData_Request.parameters/ns2:request/ns5:PersonIdList < / bpelx: to >
    < / bpelx: Add >

    I get:
    < GetPersonsData_Request >
    < application >
    < PersonIdList >
    < string 111 > < / string >
    "12345".
    < / PersonIdList >
    < / request >

    Added as a single string, not as a structural element.

    What did I miss?

    I think that now your faced with a problem of namespaces because the element added is not the namespace of the element of the 'old' chain
    you don't have an element definition in your xsd that represents the element in your payoad?

    http://download.Oracle.com/docs/CD/E12483_01/integrate.1013/b28981/manipdoc.htm#CIHDGBGA
    http://oraclebpelindepth.blogspot.com/2008/09/arrays-in-bpel_21.html (search for bpelx: Add)

  • How encryption works in the web services connector?

    Hi, I wanted to ask if someone could explain or point me to somewhere where its explained how encryption in Web Service connector (connector guide did not help) because I feel like there is a black box in the way that works part of the connector.

    This is what is happening to me.

    When I request an account the IOM sends to the SOA, a SOAP message with this field:

    user < __NAME__ > < / __NAME__ >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < __PASSWORD__ > < / __PASSWORD__ >

    But SOA sends a SOAP like it even though im using the oimcp/WS_CONNECTOR_OUTBOUND to decrypt the way that the Webservices connector Guide tells me to do section 5.1

    the user < USER_ID > < / USER_ID >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI < PASSWORD > = < / PASSWORD >

    < PasswordConfirm > Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < / passwordConfirm >

    Somehow the DB records the real password not the hash, but if the size of the password in the DB field is smaller than the size of the hash I get a SQL error even if the

    password real has the right length. And change the size of the field in the DB is not always an option.

    Happents another odd thing, is that if I do not declare the passwordConfirm field in < property name = "password.field.xpath.locations" type = "xs: String" > / ns3:PASSWORD, / ns3:passwordConfirm < / property > even if the sending of SOAP by the SOA is always: "

    the user < USER_ID > < / USER_ID >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI < PASSWORD > = < / PASSWORD >

    < PasswordConfirm > Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < / passwordConfirm >

    I get the error that do not match the password and passwordConfirm.

    And to make things even more bizarre if I wire the password, lets say, e-mail and declare this field as needed the decryption of the stored value is the hash. Even if the password is the normal password.

    Also, is there a way for the SOA to send the password in plain text?

    Hello Leo,

    If you have correctly configured oimcp/WS_CONNECTOR_OUTBOUND policy, there should not be any errors and it works without problem.  Unhappiness about using policy - is that the errors you will see when it does not work are not really useful to discover the cause of the problem.  In fact, the most useful tool I found the resolution of the problems with politics is WireShark.

    I used the strategy in multi-instance test scenarios and also support for several customers who try to use the policy.  From my experience, I guess that decryption is being ignored due to an error in your code. If WireShark gives you not with sufficient detail to indicate where the error is, I would say a SR in support to solve the problem more openness.

    Hope that helps,

    Amy

    -----

    When closing a thread as answered don't forget to mark the messages correct and useful to make it easier for others to find.

  • How to connect to a Web service remote php?

    Can develop a Mobile Flex Application using a php webservice hosted remote php on a server? How?

    Thanks, I'm learning that i can deploy my php webservices, do a find & replace the local url for the url for testing remotely. I need to secure my Web services before deployment.

  • How send to an XML web service?

    I am brand new to Flex. I am writing a program that uses web services to send and receive data. I got so that he can receive the XML of the web service. However, I also need to send it, and I'm stuck.

    I tried the following code:

    < mx:WebService id = "MyService".
    "WSDL =" http://localhost/FlexTest/service1.asmx?WSDL "
    useProxy = "false".
    result = "resultHandler (Event)" >

    <!-Entry: XML Document... Output: String->
    < mx:operation name = "HelloPersonAcceptsXmlDocumentReturnsString" >
    < mx:request >
    < personXmlDoc > xmlPerson < / personXmlDoc >
    < / mx:request >
    < / mx:operation >

    <!-Entry: XML node... Output: String->
    < mx:operation name = "HelloPersonAcceptsXmlNodeReturnsString" >
    < mx:request >
    < personXmlNode >
    xmlPerson.Person
    < / personXmlNode >
    < / mx:request >
    < / mx:operation >

    <!-Entry: String (XML Format)... Output: String->
    < mx:operation name = "HelloPersonAcceptsXmlStringReturnsString" >
    < mx:request format = "xml" >
    "< personXmlString > < p1:Person xmlns:p1 =" http://impact-tech.com/schemas/FlexTest "> < p1:ID > f1bd45fc - 544 b-489 d-83cf-349d1f9740ec < / p1: I D > < p1:FirstName > Joe < / p1:FirstName > < p1:MiddleName > c. < / p1:MiddleName > < p1:LastName > kick < / p1:L astName > < p1:BirthDate > 2006-09-11 T 14: 03:04.4755443 - 04:00 < / p1:BirthDate > < p1:IsMarried > < /p1:IsMarried > false < p1" : NumChildren > 0 < / p1:NumChildren > < p1:NetWorth > 100000 < / p1: NetWorth > < / p1: Pers on > < / personXmlString >
    <!-{xmlPerson.toXmlString ()} < personXmlString > < / personXmlString >->
    <!-{txInput.text} < personXmlString > < / personXmlString >->
    < / mx:request >
    < / mx:operation >

    < / mx:WebService >

    In the first operation, 'HelloPersonAcceptsXmlDocumentReturnsString', I try to send an XML object. During the second operation, 'HelloPersonAcceptsXmlNodeReturnsString', I try to send the root node, xmlPerson.Person. In both cases, what is actually sent is literally the text that I put in the node < application >, not the object the text refers. For the first, "xmlPerson" then gets sent to the target, not the XML doc what it refers to.

    In the third operation, I tried three different things, and two are commented. I tried to refer to the XML object using the toXmlString() method, but again, it has literally sent the text "xmlPerson.toXmlString ()". I tried the brace link, but then nothing is sent to the web service. I also tried to build the XML node and with values, but I get an error from the web service saying that it cannot be analyzed because there is an illegal line 1, position 1 character. The only thing that worked was to add a text entry box, copy - paste the exact same structure XML that I tried to build manually and then use binding to the text property of the control InputText. Then it works fine. But I can't actually do, it's just to test.

    So my question is how a < application > node that is part of the web service operation that makes reference to an object and sends the value of this object to the web service, not literally all text is typed into this node. I looked at Web Services and sections of the help data binding and did not see examples on this. Everything was much more simplistic with binding to controls. Can someone help a newbie, please?

    I do not understand how this isn't a matter of Flex Builder, since it has to do with how Flex Builder interacts with web services and how objects are used in the binding in MXML.

    But anyway, I got this code for future reference of someone else to research work in this forum:

    Declare a custom in MXML class has been the key to allow the correct link:


    "WSDL =" http://66.129.123.211/FlexTest/service1.asmx?WSDL "
    useProxy = "false".
    result = "resultHandler (Event)" > "




    {testPerson.GetXmlDoc ()}

  • How to call an external web service to IOM?

    Hello

    I have a question on how to call a web service outside of the IOM to breast for example create user processes? How do we need to; With the adapter and task in the process?
    Any recommendations?

    Thanks in advance!

    Yes to the JavaTask'll tie you in this java code and java code, you can call your webservices

    Thank you

  • How do I change email Web Services to something, I remember

    When I was installing my new HP 7525 printer, it uses an e-mail address by default ending [email protected]

    I would like to change to something that I can remember. How can I do?

    SIGNATURE

    GoTo hpconnected.com, sign in (you should have a log in account already, when you first get this address to email eprint.

    After login, you can change the email address by clicking on 'settings' under the printer (in the "Device" tab).

  • LaserJet p1102w: how to access the interface web printer with new router

    I just bought a new wireless router, hoping that I'll be able to more easily print with my p1102w.

    Internet access works ok desktop and laptop (wireless).

    However, I had bookmarked the IP address of my printer, and before, I've always been able to access it by clicking on the bookmark. I checked the range of IP addresses for the router, and the IP of the printer is outside this range, so I don't know why I am no longer able to access to this. I can't access the web interface, whether they come from my laptop or desktop (wired). However, the printer is capable of printing from the desktop without problem.

    How do I enter this? I would like to restart the configuration wireless configuration, but I thought I needed the web interface for this.

    I should just insert the CD? I made a tweak or two and would prefer to keep all the settings of the printer even if I can, but I can start all over again if I have to.


    HP LaserJet p1102w

    I just deleted the printer on my laptop computer, reset the settings of the printer default and then run Setup from the wired desktop wireless utility wireless. Seems to have worked, I can now access the web interface via my laptop now.

  • How to focus on a web page with a single shortcut?

    I like to use the keyboard, scroll web pages with arrows... If the body of the page loses focus (for instance by pressing Alt + D) the only way (AFAIK) to focus the page again is by pressing Tab several times until I can continue with the scroll arrows. It would be good to focus a page with a single shortcut, is think?

    Press F6.

  • How can I create a Web site with many images of scrolling Parallax?

    I try to make a website for photography and am having trouble, when I do it makes the picture top layer takes over and does not allow for any other image as part of their point of view.

    Make sure that your images are properly stacked in the order you need them in your layers panel.

    If this solves your problem, please give a link or screenshots so that we can see your problem.

  • How can I register a web service for BSE without JDeveloper?

    We use Oracle SOA Suite 10 g (10.1.3.3). We try to find a way to register a web service for BSE without using JDeveloper. All the docs and examples using JDeveloper. Everyone was able to do it with any other IDE or manually? If so, can you point me to this process?

    Thank you
    J

    When you deploy BPEL with JDeveloper processes are automatically enroll in BSE. If you want to do this without JDeveloper, you should use ANT, or BPELC / OBANT tool. These tools compile and deploy the process for the BPEL PM and register for BSE.

    http://orasoa.blogspot.com/2008/05/build-tool-deploy-AIA-BPEL-ESB-Java.html

    Marc

  • How can I go directly to a web site with output sorted by bing or google or any search engine. I want to go directly to this address

    When I type in a web address it gets filtered by bing and the web site I want is not displayed.

    How can we the a web address with it being sorted to be a search engine

    Not sure what you mean.  If I type in a web address and press 'Go', it takes me straight to this site.  The drop-down list that appears is the most popular hits that match what you type.

  • LabVIEW Web Services 7: how to disable

    This summer, we had an external team of Cyber Security come and do an audit of security on our network.

    They found many 'open ports' on our Windows hosts, that is to say the PC was "listening on port 3085'.

    This was reported as a security flaw.

    Most of our PC is still running XP, and many have versions of Labview before Labview 8.6.

    For PCs, if, in a browser, you mention http://: 3580, you get a page that says that the service you specified does not exist.

    I would like to close this port in order to reduce our number of items with safety indicator. We do not publish the web pages of these legacy systems.

    I tried to disable the items via the tools options, but nothing helped.  How can I disable the web services in older versions of Labview?

    Thank you

    G Zimmer

    Thanks for the tip!  I did a search on this (NI Service Locator) and Yes, he has provided some good info & links.

    One document states:

    Locator Service NI Labview 2010 has benn renamed System Web Server.

    This little helps a lot.  I had been looking on "' Web Server / Services '."

    I turned off NI Service Locator by going to control panel > administrative tools > NI Service Locator.

    Now, when I try http://: 3580 in a browser, I get Oops!  Chrome could not connect to...

    Security hole went!  Hooray!

    Disadvantage: Finder example Labview and Labview help no longer have full functionality.  other programs?  I'll have to find.

    NOR does not recommend turning off OR Service Locator, cannot guarantee the functionality of the software OR if you do.

    Just thought that I would understand that.

    Once again, thank you for the tip.  That's what I needed to know.

    Gretchen

Maybe you are looking for