Update the password for the Web service fails

Hello

OIM 11 g R2 (11.1.2.2) does not update the user password using the web services (version 11.1) connector.

Following Oracle instructions described in http://docs.oracle.com/cd/E22999_01/doc.111/e38352/extnd_func.htm#CIHHJCHA

In fact, it works in a test environment.

Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: org.identityconnectors.framework.common.exceptions.ConnectorException: java.lang.IllegalArgumentException: invalid combination of offset/length

at org.identityconnectors.genericws.utils.EncryptionUtil.encrypt(EncryptionUtil.java:81)

at org.identityconnectors.genericws.utils.ConversionUtil.typeCast(ConversionUtil.java:247)

at org.identityconnectors.genericws.GenericWSConnector.update(GenericWSConnector.java:387)

... more than 224

Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: java.lang.IllegalArgumentException: invalid offset/length combination

at org.identityconnectors.genericws.utils.EncryptionUtil.deriveKey(EncryptionUtil.java:100)

at org.identityconnectors.genericws.utils.EncryptionUtil.initializeCipher(EncryptionUtil.java:108)

at org.identityconnectors.genericws.utils.EncryptionUtil.encrypt(EncryptionUtil.java:59)

... more than 226

Caused by: java.lang.IllegalArgumentException: invalid offset/length combination

to javax.crypto.spec.SecretKeySpec. < init > (SecretKeySpec.java:148)

at org.identityconnectors.genericws.utils.EncryptionUtil.deriveKey(EncryptionUtil.java:98)

... more than 228

Enjoy your valuable advice!

Best regards

JD

Resolved:

Problem solved in reconfiguring connector WS with files bundle good connector - apparently, jars of installation used was not the last!

Tags: Fusion Middleware

Similar Questions

  • How to use the web service to update the data?

    Hi team,

    Need help in establishing a procedure for updating data using the web service, in the first instance, I think that it's the same reading webservice but I will produce an error:

    29273 00000 - "the HTTP request failed.

    * Cause: The UTL_HTTP package cannot run the HTTP request.

    * Action: Use get_detailed_sqlerrm to check the detailed error message.

    Correct the error and restart the HTTP request.

    using this tag soap_request.

    < ns1:Request >

    < ns1:header >

    < ns1:InterfaceName > OSMMVNECreateOrder < / ns1:InterfaceName >

    < ns1:InterfaceId > OSM - XXX < / ns1:InterfaceId >

    < ns1:CorrelationId > TEST-06262015 < / ns1:CorrelationId >

    < / ns1:header >

    < ns1:Mvno > MTI < / ns1:Mvno >

    < ns1:orderId > < / ns1:orderId >

    < ns1:orderType > CHANGE_STATUS < / ns1:orderType >

    < ns1:orderDetails >

    < ns1:subscriberId > 9469273 < / ns1:subscriberId >

    < ns1:newStatusId > 2 < / ns1:newStatusId >

    < / ns1:orderDetails >

    < / ns1:Request >

    the < ns1:subscriberId > 9469273 < / ns1:subscriberId > the Subscriber must search and

    < ns1:newStatusId > 2 < / ns1:newStatusId > will replace the current state.



    any suggestion on how to do it?



    Best regards

    Nelz Ki

    There is no difference between calling a web service to write data, against the appellant for reading data. SOAP is SOAP. He cares not.

    Example to interact with a web service is in Re: PLSQL webservice call

    Regarding your error - stack display Tower full of error to see what said the trace of the error. The data you've posted unfortunately no sense to isolate the error.

  • Change the password using API web services?

    I can create and update users using Adobe Connect API web services, but how do I change the password of a user?

    I use the API "principal-update" that has a setting of password, but according to the documentation, it is only used for new users... not the users.

    So exactly how to change user password using the web services?

    Hello

    There is an API that can be used to change the password: user-update - pwd

    Format of the API :

     

    http://server_name/API/XML?action=user-update-pwd&user-ID=integer&password-old=string&pass = word string - string verify password = & session = BreezeSeesionCookieValue.


    Hope this helps!

    Thank you

    Nikhil

  • change the frequency for the web service

    I'm under LabVIEW Web Service with an application following the method shown in the example of weather monitor. But my problem here is that I have to keep clicking the Refresh button, then the Web Service can only update the latest data for me. Can someone help me to set an example on how to let the page Web of the Web Service automatically update the value without pressing the Refresh button. Thank you

    First of all your customer needs to support it. If you use the HTTP Client in LabVIEW (GET.vi and so on) you cannot use this method. A normal browser should.

    Take a look at the address book example FindContacts.vi.

    The help topic linked in the previous post, you should get on the way as well. The news are scattered throughout the help file, but it should be possible to understand.

    Basically, there are two output options for a web service VI: Terminal mode as used in the example weather and fashion such Stream used in the example address book VI.

    Use stream mode and build the HTML page yourself, then sends it to the browser with Response.vi write. Somewhere in the top of the HTML page, you need to insert

    
    

    If you need to return a string like

    
    my title
    
    
    
    

    If your browser supports Refresh, this page refreshes in 5 seconds. And add some real contents here

    See also W3C .

    Good luck

  • Problem of DH handshake with the web service using ColdFusion 7 and 8 after java update 8

    ColdFusion 7 and 8 are provided with a variant of JRE1.6.

    I have a script that has consumed a web service for years with success.  Last week, the web service provider updated their version of Apache and Java on the server java 1.8 (or java-8).

    I could no longer consume the web service once the web service provider updated to Apache and Java and would be the following error DH keypair every time that I try to consume the service:

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

    AxisFault

    faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException

    faultSubcode:

    faultString: javax.net.ssl.SSLException: java.lang.RuntimeException: could not generate keypairs DH

    faultActor:

    faultNode:

    faultDetail:

    {}http://xml.apache.org/axis/} stackTrace:javax .net .ssl .SSLException: java.lang.RuntimeException: could not generate keypairs DH

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1554)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1537)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1130)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)

    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)

    to org.apache.axis.transport.http.HTTPSender.getSocket (HTT... ''

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

    I asked the service provider web, why it would stop working and how we can solve this problem.  They suggested that upgrade to the latest version of Java on my server running ColdFusion.  I did some research and found the problem to be with the amount of memory allocated to the variable containing the encryption key.

    The big problem is when I tried to update java on this particular server (Windows Server 2003), the installation has returned a messaged stating that he could not run on the older operating system and I need to update my OS to install java.

    Does anyone have a workaround in ColdFusion 7 or 8 that you can establish the DH handshake using Java 1.6 on your local server while consuming a web service on a server using Java 1.8?

    Hi, frank000000,

    I know that we had a serious problem with any Java 7 after update 25.  They are off a lot of network permissions and other things, for safety, that used to be available in versions prior to the update 25.  But it's while we were in CF Server 9.

    Since we switched to CF Server 10 (making sure that we got the CF Installer provided with Java 8), we had very few issues related to Java.

    It seems strange to me that the upgrade to 1.8 host while your server is 1.6 would cause problems.  It could very well be something else.  I would like to ask the host for documentation describing exactly how/why their 1.8 may cause interference with your 1.6.

    HTH,

    ^_^

  • Fail to create the web service with the type of data defined by the user using the jwsc Ant task!

    Hello everyone!

    I used JAXWS to create WSDL from a file of Jehovah's witnesses.

    It's my TJ:
    -----------------------------------------------------------------------------------
    package ws;

    Import javax.jws.WebService;
    Import javax.jws.WebMethod;
    ws import. MyDataType;

    *@WebService*
    * public class MyWebService {*}
    public MyWebService()
    *{*
    *}*
    *@WebMethod*
    public MyDataType MyWebMethod (MyDataType mdt)
    *{*
    * / / mdt.setS ("I got it!"); *
    return mdt;
    *}*
    *}*
    -----------------------------------------------------------------------------------


    and this is my type of data:
    -----------------------------------------------------------------------------------
    package ws;

    * public class MyDataType {*}


    String ^ s;
    public MyDataType()
    *{*

    *}*
    * public String getS() {*}
    return s;
    *}*

    * Sets public Sub (String s) {*}
    This.s = s;
    *}*
    *}*
    -----------------------------------------------------------------------------------



    and that's my Ant build.xml
    -----------------------------------------------------------------------------------
    * < by default of the project = "all" > *.
    * < property name = "weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/ > * "
    * < taskdef name = "jwsc" classname = "weblogic.wsee.tools.anttasks.JwscTask" > *.
    * < classpath > *.
    * < path id = "weblogic.classpath" > * "
    * < pathelement path = "WEBLOGIC_HOME" / >. *
    * < fileset dir = "${weblogic.jar.classpath}" > *.
    * < include name = "weblogic.jar" / > *.
    * < / fileset > *.
    * < / path > *.
    * < / classpath > *.
    * < / taskdef > *.
    * < target name = "all" depends = "clean, build-service" / > *.
    * < name target 'clean' = > *.
    * < delete dir = "output" / > *.
    * < / target > *.
    * < name target = 'build-service' > *.
    * <!-add jwsc and related tasks here - > *.
    * < jwsc srcdir = "" destdir = "wsoutput" > * "
    * < jws file = "MyWebService.java" type = "JAXWS" / > * "
    * < / jwsc > *.
    * < / target > *.
    * <!-< target name = "deploy" > - > <! - add wldeploy task here - > <!-< / target >-> *.
    * < / project > *.
    -----------------------------------------------------------------------------------

    I have run the Ant task, but I get this error:
    -----------------------------------------------------------------------------------
    BuildFile: build.xml

    clean:

    build service:
    [jwsc] TJ: processing module /MyWebService
    [jwsc] The analysis of source files
    [jwsc] The analysis of source files
    [jwsc] 1 TJS files processing for the module /MyWebService
    * [jwsc] [JAM] WARNING: could not resolve class MyDataType *.
    [jwsc] TJ: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java valid.
    [jwsc] Treatment of the web services JAX - WS 1...
    * [jwsc] error: couldn't get TypeDeclaration for: MyDataType apt tour: 1 *...
    ...................
    BUILD FAILED
    C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
    19: weblogic.wsee.tools.WsBuildException: JAX - WS web services processing error
    -----------------------------------------------------------------------------------

    Please help me solve this problem.
    Thank you
    Mojir

    I tried to compile your source code and received the same exception.
    However after compiling the MyDataType.java before running the jwsc task, I was successfully able to build the service.

    Please try the ant script below and let me know the result:

    **
    *     *
    *
    *



    <>
    srcdir = "${source.dir}" "

    DESTDIR = "${Build.dir} '"
    keepGenerated = 'true '.
    classpath = "${Class.Path} '"
    Debug = 'true '.
    verbose = "false" >

         


              

    Thank you
    Sandeep

  • Hello how do I configure Firefox 8.0 so that he asks me if I want to save a password for a Web site. At the present time I don't get not an option whenever I go into a site I know is safe, I have to enter user name and password. I've been good tools etc.

    Hello how do I configure Firefox 8.0 so that he asks me if I want to save a password for a Web site. At the present time I don't get not an option whenever I go into a site I know is safe, I have to enter user name and password. I've been good tools etc.

    Thank you, any help would be help full like whenever I connect to Face Book for example I have to provide all the information and it's a pain

    Soon Alex

    See:

  • I try to install the update update of security for SQL 2005 service pake 3. I have vista 2 this update applies to my computer I get an error code ff or c0000005

    I try to install the update update of security for SQL 2005 service pake 3.  I have vista 2 this update applies to my computer I get an error code ff or c0000005

    1. navigate to the following registry key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup)

    2. find the "Summary" (REG_DWORD), and then change its decimal value from 1 to 0

    3. restart the computer

    4. install the same update.  It should work.

  • Data for the Web service control

    Hello

    I have jdeveloepr User 12.1.3, I WSDL soap, I create the data control for the web service from the WSDL, the problem is when creating data controls the separate parameter that the method, for example, below it is the method that I call the setNotificationAction name and the parameter IN (P_ACTION, P_NOT_ID, P_PASSWORD_ERP, P_TOKEN (, P_USER_ID P_USER_ID_ERP), as below, why the separate parameter that the method?

    Note that I try the binding WSDL SOAP UI and its ok and works as expected.

    1.png

    Resolved by changing the typesList.add (Object.class) at typesList.add (GenericType.class)

  • Data control for the Web Service based filter table adf only appear not

    I have a SOAP web service I'm consumption as a web service data control.

    When I use one of the results of the web service through data to the web service in the form of a table control in the user interface with the filter and sort, I don't see the filters on the top of the table.

    It comes to JDeveloper version 11.1.1.7.

    Please let me know if anyone has an idea on this issue.

    TIA

    ABS

    You need connect your own logic on the filtering table.

    The table doesn't actually do the filter - it does, is the data control to filter the info - for a Web service we do not know how it will actually make a sort-, so you'll need to add a filterListener on the table and call a WS that will be returned the filtered data method.

  • Matter of business for OSB 10.3.1 when to call the web service from SAP ECC 710

    Hello

    1. I was a unit test for a business service that calls a web service from SAP ECC 710 (this service is published directly to a RFC function via SOA Manager module);

    2. the problem is when I use the OSB test console, which generates the request below message:

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    * < soap: Header xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > *.
    * < / soap: Header > *.
    < soapenv:Body >
    < xmlns:urn urn: Zmmjf503 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    string of < ContractInfo > < / ContractInfo >
    < / urn: Zmmjf503 >
    < / soapenv:Body >
    < / soapenv:Envelope >

    the response message is:
    < SOAP - env:Envelope xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" >
    < SOAP - env:Header >
    < n0:MessageID = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:n0 >
    UUID:4cbe5b84 - 474 c-9abe-e100-00000ad00164
    < / n0:MessageID >
    < n1:Action SOAP - env:mustUnderstand = "1" xmlns:n1 = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope" / >
    < / soap - env:Header >
    < SOAP - env:Body / >
    < / soap - env:Envelope >


    Above the response indicates that the BS called SAP Web server successfully, but seems that the service did not get the request message.

    3. the Web service can be called successfully through SoapUI. and I checked the soapUI request message; and it can work if I just change the request:

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    * < soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap > < / soap: Header > *.
    < soapenv:Body >
    < xmlns:urn urn: Zmmjf503 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    string of < ContractInfo > < / ContractInfo >
    < / urn: Zmmjf503 >
    < / soapenv:Body >
    < / soapenv:Envelope >

    and I got the right answer:
    < SOAP - env:Envelope xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" >
    < SOAP - env:Header / >
    < SOAP - env:Body >
    < n0:Zmmjf503Response xmlns:n0 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    < Recmsg > <! [CDATA [<? xml version = "1.0" encoding = "utf-8"? > < DocumentResponse > < CONDITION > 0 < / STATE > < HTBH > < / HTBH > < MESSAGE > < / MESSAGE > < / DocumentResponse >]] > < / Recmsg >
    < / n0:Zmmjf503Response >
    < / soap - env:Body >
    < / soap - env:Envelope >

    4 it bother me, because the only difference between the above two request messages is the header (one contains a "newline"):
    ------------------------------------------------------------------------------------------------------------------------------
    * < soap: Header xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > *.
    * < / soap: Header > *.
    -------------------------------------------------------------------------------------------------------------------------------
    VS
    --------------------------------------------------------------------------------------------------------------------------------------
    * < soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap > < / soap: Header > *.
    ----------------------------------------------------------------------------------------------------------------------------------------

    5 I thought that the SOAP engine should ignore "carriage returns", seems this is a problem of SAP ECC710.

    Do you have someone having this problem? Thank you


    Concerning
    Wen

    Hello Wen,

    I tried to use exactly the same request (carriage return) to call the service through soapUI, and it does not work... just like BS OSB
    should I assume that it is a matter of SAP ECC?

    That same demand also doesn't SOAPUI so certainly it's an issue with SAP ECC. I doubt that SAP ECC is the treatment the carriage return as an end of file marker. Check with support.

    Kind regards
    Anuj

  • Need assistance for consumption by the Web Service

    I'm dipping my toe in the world of the web service and I have Oracle web service I'm trying to eat. It does not work as I thought, so pointers are appreciated.

    Here is the cfinvoke code...

    < cfinvoke
    " webservice =" http://erpintsrv1-dc-aus:7777/arWs/arWsSoapHttpPort? WSDL" «
    method = "customerXML".
    returnvariable = "a_customerXMLResponseElement" >
    < name cfinvokeargument = 'settings' value = "123456" / >
    < / cfinvoke >

    < cfdump var = "#a_customerXMLResponseElement #" >

    Here's the result...

    dump.jpg

    Here is the result of the Oracle interface...

    < env:Envelope
    xmlns:env="""" "http://schemas.xmlsoap.org/soap/envelope/"
    containing="""" "http://www.w3.org/2001/XMLSchema"
    xmlns: xsi=""http://www.w3.org/2001/XMLSchema-instance"" " "
    xmlns:ns0="""http://xxas/integration/arws/ArWs.wsdl/types/""">
    < env:Body >
    < ns0:customerXMLResponseElement >
    < result >
    < rowset >
    < LINE
    num="1">
    < CUSTOMER_NUMBER > 123456 < / CUSTOMER_NUMBER >
    < CUSTOMER > MOUNTAIN BUILDING SUPPLY, INC. #8228< / CUSTOMER >
    < Platform >500< / platform >
    < / ROW >
    < / LINES >
    < / result >
    < / ns0:customerXMLResponseElement >
    < / env:Body >
    < / env:Envelope >

    My thought was once I called the web service and it thrown into the page, I see the above information (customer name, platform, etc.).  Instead, I seem to get the names of classes in java, methods, etc. Thoughts?

    I would use Xpath function XMLSearch CF to search for in the outcome document and pull for the data you need.  See an example of a base below.  If this example does not take your needs please let me know.

    For an overview of Xpath, see http://msdn.microsoft.com/en-us/library/ms256115.aspx



       
            
                 
                       019889

                       MOUNTAIN BUILDING SUPPLY, INC. #8228
                       500
                 
            
       



       
       
       


       
       
    Client found
       
    Customer not found
       

  • Unable to connect to the Web Services Proxy/unused (a HP 7500 JO)

    Hello

    Here's the situation:

    Previous installer:

    .  I have connected my 7500 for the corporate network (IP = 172... series)

    .  registered the product with ePrintCenter

    .  used a PC under Windows to print (and scan) with the printer

    .  web proxy entry "webproxy.phila.gov".

    .  However, because homeland security rules, I could never work, so I just let it go

    Current situation

    .  has taken the home printer and set up on my home network, i.e.,.

    -using the 192.168.xx.xx series

    -Router broadband Netgear ' G' (1 years) set up at the 192.168.xx.254

    -SSID & encryption assigned

    -printer, the value 192.168.xx.155 (static IP address, the subnet and the gateway assigned as well)

    -My DNS is identical to the bridge and it works fine for all the internet access to this day

    -with the help of a PC and a Macbook Air to print and scan and everything works fine

    .  HOWEVER,.

    -Initially, 'web services' were active (carried over from when I was on the company neetwork?)

    ..  Are looking for, found and downloaded updates

    -When I went to hp.com ePrintCenter he showed the product as 'registered '.

    ..  He would'nt I would like to connect (with a name and a password I had used previously), or create a new account

    ..  I never remember getting an email address of the printer

    ..  and I had never been able to send anything to the printer to print because of my problem of network security

    -Yes, after trying all sorts of things, I:

    ..  I tried to get another email without success

    ..  tried to re - enable web services, but he said I need to 'proxy', and I discovered that he had always "webproxy.phila.gov."

    ..  I have reset the values by default web services and network values

    ..  I put the static IP address return address in (i.e., printer, subnet and gateway (it has nowhere to put in a DNS one))

    ..  printing and scanning to 192.168.xx.155 works fine

    ..  From my iPad AirPrint works very well

    .  BUT, I still can not online and therefore web server, web services are not enabled, therefore not ePrint

    -everytime I try, it says it needs a proxy

    - but I don't have a proxy installed on my internal home network bit

    -Comcast/Xfinity, my ISP, do not use a proxy

    So, I'm dead in the water.  I can't figure out how to get the web services enabled; I do not use a proxy, so I don't know how to go beyond this issue. How to regenerate address of the printer; and so, how do I connect an account on the ePrintCenter (or get them to send me my old account information).  I'm dead in the water and cannot use a feature most of my printer that I desperately want to be put in place and functional.

    Any help would be greatly appreciated!

    Tommy

    Problem solved, but I don't know exactly how I did it. However, I went back in and let the printer assign the IP address. Then I turned the printer off and on again. Last I kept pressing the button "Printer e-mail address", who has repeatedly failed, but then finally went through and print the 'printer' page, I quickly used to connect to the ePrintCenter and put everything in place.

    Now it's working.

  • How to access the web service from Oracle?

    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0

    I'm making a call to a web service through a procedure/function...

    I tried to use
    CREATE OR REPLACE PROCEDURE Call_Rest_Webservice
    
     AS
    
      t_Http_Req Utl_Http.Req;
    
      t_Http_Resp Utl_Http.Resp;
    
      t_Request_Body VARCHAR2(30000);
    
      t_Respond VARCHAR2(30000);
    
      t_Start_Pos INTEGER := 1;
    
      t_Output VARCHAR2(2000);
    
    BEGIN
    
      /*Construct the information you want to send to the webservice.
      
      Normally this would be in a xml structure. But for a REST-
      
      webservice this is not mandatory. The webservice i needed to
      
      call excepts plain test.*/
    
      t_Request_Body := 'the data you want to send to the webservice';
    
      /*Telling Oracle where the webservice can be found, what kind of request is made
      
      and the version of the HTTP*/
    
      t_Http_Req := Utl_Http.Begin_Request('**webservice address**',
                                           'GET',
                                           'HTTP/1.1');
    
      /*In my case the webservice used authentication with a username an password
      
      that was provided to me. You can skip this line if it's a public webservice.*/
    
      --Utl_Http.Set_Authentication(t_Http_Req, 'username', 'password');
    
      /*Describe in the request-header what kind of data is send*/
    
      Utl_Http.Set_Header(t_Http_Req, 'Content-Type', 'text/xml charset=UTF-8');
    
      /*Describe in the request-header the lengt of the data*/
    
      Utl_Http.Set_Header(t_Http_Req, 'Content-Length', Length(t_Request_Body));
    
      /*Put the data in de body of the request*/
    
      Utl_Http.Write_Text(t_Http_Req, t_Request_Body);
    
      /*make the actual request to the webservice en catch the responce in a
      
      variable*/
    
      t_Http_Resp := Utl_Http.Get_Response(t_Http_Req);
    
      /*Read the body of the response, so you can find out if the information was
      
        received ok by the webservice.
      
        Go to the documentation of the webservice for what kind of responce you
      
        should expect. In my case it was:
      
        <responce>
      
          <status>ok</status>
      
        </responce>
      
      */
    
      Utl_Http.Read_Text(t_Http_Resp, t_Respond);
    
      /*Some closing?1 Releasing some memory, i think....*/
    
      Utl_Http.End_Response(t_Http_Resp);
    
    END;
    But it's me ORA-29272: HTTP request failed
    ORA-06512: at "SYS." UTL_HTTP", line 1029
    ORA-12545: Connect failed because target host or object does not exist

    But I can connect to the web server by going on * webservice address * through my browser.

    Is there an ACL must be open in order to have this capacity? I asked my s/n, but she asked me that I will need to give its name to username/password / ip in order to open an ACL...
    However there is no name to username/password required during a tour of the web service...

    Any help would be much appreciated...

    Thank you

    Published by: 986006 on March 4, 2013 08:38

    Y.L wrote:

    This is because the database could not connect to the specified server. Bad host name or IP address specified. Inability to resolve the hostname to an IP address. Firewall blocking. Etc.

    The host name, I put here can be visit through my browser. I think that it is not question of the host server... So, it could be a firewall on my side of the database which must be opened in order to visit the host?

    The "web browser" (your PL/SQL using UTL_HTTP code) code is running on the Oracle database server. He needs the same type of network access that has your browser on your PC. (firewalls open, authentication of the proxy if necessary, etc.).

    On 11g. Not on 10g.

    I saw the code example you post from the link you provided... those who only works on 11 g?
    If we can work on 10g, which package or what are the steps I need to follow in order to have that works on me?

    The code I posted works on both versions. My comment was regards the ACLs. No ACLs exist on 10g. If you only need to execute privs on the affected packages (e.g., UTL_HTTP, etc.).

    ACL were introduced with 11g - 11g, you also need the ADMINISTRATOR to create an ACL for you which will allow access to the UTL_HTTP network so now.

  • Update password user via Web Services

    Hello. I'm trying to update the password for a user via the web services of management of rights, https://{mydomain} / SOAP/services/RightsManagementService? wsdl & lc_version = 9.0.1, using .NET 4.0 (c#).

    Here's the function I wrote. When I run the code it always returns false. I have searched the documentation and the forumns but found nothing. Can anyone provide any ideas on how I can update a user password in LiveCycle via exposed web services?

    public bool UpdateUserPassword (string userName, string password)

    {

    Boolean result = false;

    WebServices.RightsManagement. user UserImpl = new WebServices.RightsManagement. UserImpl ();

    User.UserID = username;

    user.canonicalName = username;

    user.domainName = DefaultPolicySets. DefaultDomain;

    user.principalType = 'USER';

    User.local = true;

    User.Locked = false;

    User.Disabled = false;

    User.System = false;

    Console. WriteLine (this. rmSvc.resetExternalUserPassword (user, password));

    returns the results;

    }

    The answer to this question was to use another function exposed by Web services of management directory, {domain} / SOAP/services/DirectoryManagerService? WSDL & lc_version = 9.0.1.

    The function in question is called updateLocalUser().

    You can find more information here http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/com/adobe/idp/um/api/Directory Manager.html#updateLocalUser%28com.adobe.idp.um.api.infomodel.User,%20java.lang.String%29.

Maybe you are looking for