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.

Tags: Database

Similar Questions

  • How to access AAU Web Service in Oracle.

    Hi all

    I try to call the AAU Web Service (CheckIn.wsdl) using oracle.
    But these web services are the name of user and password secure and expected.
    Someone has an idea to pass the name of user and password based on the oracle.

    My Code: -.

    CREATE OR REPLACE FUNCTION checkin (dDocName IN VARCHAR2, dDocTitle IN VARCHAR2, dDocType IN VARCHAR2,
    dDocAuthor IN VARCHAR2, dSecurityGroup IN VARCHAR2, dDocAccount IN VARCHAR2,
    primaryFile IN VARCHAR2)
    Return number
    AS
    l_service SYS. UTL_DBWS.service;
    l_call SYS. UTL_DBWS. Call;
    newurl VARCHAR2 (32767).
    l_wsdl_url VARCHAR2 (32767).
    l_namespace VARCHAR2 (32767).
    l_service_qname SYS. UTL_DBWS. QName;
    l_port_qname SYS. UTL_DBWS. QName;
    l_operation_qname SYS. UTL_DBWS. QName;
    l_xmltype_in SYS. XMLTYPE;
    l_xmltype_out SYS. XMLTYPE;
    BEGIN
    l_wsdl_url: = ' http://localhost:16200 / cs/groups/fix/wsdl/custom/CheckIn? WSDL ";
    l_namespace: = 'http://www.stellent.com/CheckIn/ ';
    l_service_qname: = SYS. UTL_DBWS.to_qname (l_namespace, ' CheckIne);
    l_port_qname: = SYS. UTL_DBWS.to_qname (l_namespace, 'CheckInSoap');
    l_operation_qname: = SYS. UTL_DBWS.to_qname (l_namespace, 'CheckInUniversal');
    l_service: = SYS. () UTL_DBWS.create_service
    wsdl_document_location = > URIFACTORY.getURI (l_wsdl_url).
    service_name = > l_service_qname);
    l_call: = SYS. () UTL_DBWS.create_call
    service_handle = > l_service,
    port_name = > l_port_qname,
    operation_name = > l_operation_qname);
    l_xmltype_in: = SYS. XMLTYPE ("<?") XML version = "1.0" encoding ="utf - 8"? >
    "< CheckInUniversal xmlns =" "|" l_namespace | "" >
    < VARCHAR2 > ' | dDocName | ' < / VARCHAR2 >
    < VARCHAR2 > ' | dDocTitle | ' < / VARCHAR2 >
    < VARCHAR2 > ' | dDocType | ' < / VARCHAR2 >
    < VARCHAR2 > ' | dDocAuthor | ' < / VARCHAR2 >
    < VARCHAR2 > ' | dSecurityGroup | ' < / VARCHAR2 >
    < VARCHAR2 > ' | dDocAccount | ' < / VARCHAR2 >
    < VARCHAR2 > ' | primaryFile | ' < / VARCHAR2 >
    (< / CheckInUniversal > ');
    l_xmltype_out: = SYS. UTL_DBWS. Invoke (call_Handle = > l_call,)
    request = > l_xmltype_in);
    SYS. UTL_DBWS.release_call (call_handle = > l_call);
    SYS. UTL_DBWS.RELEASE_SERVICE (service_handle = > l_service);
    END;

    Is compiled successfully.

    Whenever I'm running using
    SELECT the checkin ('WEBSERVICE009', 'WEBSERVICE009', 'Document','weblogic','Private','IT/EBA/Distributor_testuser','D:/ucmfiles/test_WebService_11.txt') FROM dual;

    He expects the name of user and password...

    Anyone with an idea.

    If you use apex, you have access to the wwv_flow_web_services package that has all the procs, you need to do this work. Otherwise, you can use flex_ws_api, which, although a bit outdated, should always work. This can be found at: http://jastraub.blogspot.com/2009/11/flexwsapi-no-on-samplecodeoraclecom.html

    I hope that will get you the start you need. Don't forget soapUI. This has proved to be very useful for my development just to prove that something works. It becomes a very simple way, when I often hear, "UCM does not work... '. ».

    Check-In

    -- Modify and create select that will get filename and content from a table.
    -- set serverouput on
    -- make sure flex_ws_api package is installed in same schema that you run this.
    declare
     l_filename varchar2(100);
     l_login varchar2(20);
     l_ddocname varchar2(20);
     l_BLOB BLOB;
     l_CLOB CLOB;
     l_envelope CLOB;
     l_response_msg varchar2(32767);
    begin
      select name, content, ddocname
      into l_filename, l_BLOB, l_ddocname
      from pdfs
      where id = 1;
    
      l_login := 'kalee';
      l_CLOB := flex_ws_api.blob2clobbase64(l_BLOB);
    
      l_envelope := '';
      l_envelope := l_envelope || '';
      l_envelope := l_envelope || '';
      l_envelope := l_envelope || '  ';
      l_envelope := l_envelope || '     ';
    
      if length(ltrim(rtrim(l_ddocname))) > 0 then
        l_envelope := l_envelope || '        '||l_ddocname||'';
      end if;
    
      l_envelope := l_envelope || '        '||l_filename||'';
      l_envelope := l_envelope || '        WebContent';
      l_envelope := l_envelope || '        '||l_login||'';
      l_envelope := l_envelope || '        Public';
      l_envelope := l_envelope || '        WebContent';
      l_envelope := l_envelope || '        ';
      l_envelope := l_envelope || '           ';
      l_envelope := l_envelope || '              xDCSDProfileTrigger';
      l_envelope := l_envelope || '              WebContent';
      l_envelope := l_envelope || '           ';
      l_envelope := l_envelope || '        ';
      l_envelope := l_envelope || '        ';
      l_envelope := l_envelope || '           '||l_filename||'';
      l_envelope := l_envelope || '           '||l_CLOB||'';
      l_envelope := l_envelope || '        ';
      l_envelope := l_envelope || '     ';
      l_envelope := l_envelope || '  ';
      l_envelope := l_envelope || '';
    
      l_xmltype := flex_ws_api.make_request(
        p_url               => 'https://ucmdev.dcsdk12.org/_dav/cs/idcplg',
        p_action            => 'http://www.stellent.com/Search/',
        p_envelope          => l_envelope,
        p_username          => 'admin',
        p_password          => 'password',
        p_wallet_path       => 'file:/u01/app/oracle/admin/SADD/wallet',
        p_wallet_pwd        => 'walletpassword'
      );
    
      l_response_msg := flex_ws_api.parse_response(p_collection_name=>'STELLENT_CHECKIN',p_xpath=>'//idc:CheckInUniversalResponse/idc:CheckInUniversalResult/idc:StatusInfo/idc:statusMessage/text()',p_ns=>'xmlns:idc="http://www.stellent.com/CheckIn/"');
    
      dbms_output.put_line(l_response_msg);
    exception
      when others then
        dbms_output.put_line(l_response_msg);
        raise;
    end;
    /
    

    Search

    declare
      l_envelope CLOB;
      l_xmltype XMLTYPE;
      l_response varchar2(100);
      ecode NUMBER;
      emesg VARCHAR2(200);
      cursor searchresults_cur(p_xmltype xmltype) is
        SELECT
          extractvalue(column_value, '/idc:SearchResults/idc:dDocName','xmlns:idc="http://www.stellent.com/Search/"') DOCNAME,
          extractvalue(column_value, '/idc:SearchResults/idc:dDocTitle','xmlns:idc="http://www.stellent.com/Search/"') DOCTITLE
        FROM TABLE(XMLSequence(p_xmltype.extract('//idc:QuickSearchResponse/idc:QuickSearchResult/idc:SearchResults','xmlns:idc="http://www.stellent.com/Search/"')));
      searchresults_rec searchresults_cur%ROWTYPE;
    
    begin
      l_envelope := '';
      l_envelope := l_envelope || '';
      l_envelope := l_envelope || ' ';
      l_envelope := l_envelope || ' ';
      l_envelope := l_envelope || '  ';
      l_envelope := l_envelope || '   dDocAuthor <matches> `kalee`';
      l_envelope := l_envelope || '  ';
      l_envelope := l_envelope || ' ';
      l_envelope := l_envelope || '';
    
      -- dbms_output.put_line('(soapenv)='||l_envelope);
    
      l_xmltype := flex_ws_api.make_request(
        p_url               => 'https://ucm.yourdomain/_dav/cs/idcplg',
        p_action            => 'http://www.stellent.com/Search/',
        p_envelope          => l_envelope,
        p_username          => 'admin',
        p_password          => 'password',
        p_wallet_path       => 'file:/u01/app/oracle/admin/DATABASESID/wallet',
        p_wallet_pwd        => 'walletpassword'
      );
    
      -- dbms_output.put_line('(xml)='||substr(l_xmltype.GetClobVal(),1,2000));
    
      open searchresults_cur(l_xmltype);
      loop
        fetch searchresults_cur into searchresults_rec;
        exit when searchresults_cur%NOTFOUND;
        dbms_output.put_line('(dDocName)='||searchresults_rec.DOCNAME||' (dDocTitle)='||searchresults_rec.DOCTITLE);
      end loop;
      if searchresults_cur%ROWCOUNT = 0 then
        dbms_output.put_line('No records found!');
      end if;
      close searchresults_cur;
    
    exception
      when others then
        ecode := SQLCODE;
        emesg := SQLERRM;
        --insert into log_table (code,message,info) values (0,TO_CHAR(ecode) || '-' || emesg,'.CheckinDocument emesg');
        --commit;
        raise;
    end;
    /
    
  • How to call the web service?

    Hello

    I want to know how to call the web service from my application HTML5 & javascript.

    Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.

    I just want that when you call a web service method, I will return the result.

    Please try this out for a WebService call

    var xmlhttp;
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("get","your url",true);
    xmlhttp.setRequestHeader("Accept","application/json");
    xmlhttp.setRequestHeader("Content-type", "application/json");
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4) {
      if (xmlhttp.status == 200) {
        console.log(xmlhttp.responseText);
      }
     }
    }
    xmlhttp.send();
    

    This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.

  • How to add THE web service to the ACL?

    I want to access a web service from a PL/SQL procedure (using UTL_HTTP) since a 11g R2 database. However, before you do anything, I need to give access to the web service by adding the web service to the access control list (ACL).

    I want to test the web service is full here: http://www.service-repository.com/service/overview/-1789095104

    This is a free WS, you can use to test the code WS.  The endpoint is http://www.w3schools.com/webservices/tempconvert.asmx

    Therefore, adding www.w3schools.com to list ACL will be fine, I think? Am I wrong?

    I tried the method below but I get this error and the user guide is not clear what to do.

    SQL > exec dbms_network_acl_admin.assign_acl (LCD = > 'temp_ws1.xml', host = > 'www.w3schools.com');

    BEGIN dbms_network_acl_admin.assign_acl (LCD = > 'temp_ws1.xml', host = > 'www.w3schools.com'); END;

    *

    ERROR on line 1:

    ORA-31001: handle or path of the invalid resource name ' / sys/acls/temp_ws1.xml '.

    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 86

    ORA-06512: at "SYS." DBMS_NETWORK_ACL_ADMIN', line 94

    ORA-06512: at "SYS." DBMS_NETWORK_ACL_ADMIN', line 479

    ORA-06512: at line 1

    Any help would be greatly appreciated.

    This,

    host-online "www.w3shools.com."

    is not the same thing as this,

    host-online "www.w3schools.com".

  • How to consume the web service using PLSQL in 11g

    Hello

    I created a site using jDeveloper, web services which when I put in the web browser and press enter, it will display the settings screen and when I pass the value for the parameter, and then it displays the output of the XML returned by the PL/SQL (called in the Web Service) package. Now, I want to call this webservice in PL/SQL and read XML data and fill in the staging table. Can anyone suggest me how to achieve this functionality by using Oracle PL/SQL

    I use the database 11g and jDeveloper Version :-Studio Edition version 10.1.3.0

    Thank you very much in advance.

    Vijay

    The WSDL file describes the web service.

    To obtain the WSDL, you enter the URL of the web service and add some ? WSDL to the URL. This indicates the web service to return to its definition.

    For example

    URL of the Web Service: http://wsf.cdyne.com/WeatherWS/Weather.asmx

    WSDL URL: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL

    When you read (using 'web browser' UTL_HTTPpackage) the XML response from the web service, read as strings (PL/SQL varchar2, size 32 K max).

    You should read the answer as the strings, then writing/writeappend these channels in a CLOB (using the DBMS_LOB package). If you are VERY sure that the web service call ALWAYS returns an XML of less than 32 k, you can skip using a CLOB.

    Whatever it is, read you the response from the web service in the form of text (such as plain text, it is what is sent). The next step on your part is to parse text into an XML DOM (document object model) - and storing the DOM in an Oracle XmlType variable.

    When in a DOM, you can use Oracle XML functions to extract the attributes and values of the key element of the response from the web service.

  • Unable to connect to vSphere Web Client after you restart the web service from client vSphere in vCenter

    I tried my code change and restarted the service WebClient vSphere. The first time it worked but the second time I restarted the service, he stoped working: when I try to set up the web client from a browser, a pop error message appeared: "Could not connect to vSphere client to web. Contact your administrator to resolve this problem. Then the page is reloaded, but showing the same error over and over again. We run vCenter 6 with web client sdk6.

    logon.JPG

    In the journal of the Virgin, I found this:

    [2015 04-21 T 09: 36:00.361Z] [ERROR] http-bio-9443-exec-4 o.a.c.c.C. [.] [localhost]. [/ vsphere client]. [springServlet]         Servlet.Service () for servlet [springServlet] in the context of path [/ vsphere client] threw exception [processing request failed, the nested exception is java.lang.NullPointerException] with root cause java.lang.NullPointerException: null

    at flex.messaging.io.SerializationContext.clearThreadLocalObjects(SerializationContext.java:249)

    at org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerAdapter.java:121)

    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)

    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)

    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)

    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:330)

    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at com.vmware.vise.security.websso.SecurityRequestWrapperFilter.doFilterInternal(SecurityRequestWrapperFilter.java:47)

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

    to org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:342)

    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at com.vmware.vise.security.SessionManagementFilter.doFilterInternal(SessionManagementFilter.java:82)

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at com.vmware.vsphere.client.logging.MDCLogFilter.doFilterInternal(MDCLogFilter.java:41)

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at com.vmware.vise.extensionfw.DeploymentFilter.doFilter(DeploymentFilter.java:35)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at com.vmware.vise.util.jsp.JspFilter.doFilterInternal(JspFilter.java:54)

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

    at org.eclipse.virgo.web.tomcat.support.ApplicationNameTrackingValve.invoke(ApplicationNameTrackingValve.java:33)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:607)

    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:313)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)

    at java.lang.Thread.run(Thread.java:745)

    Your first mistake is:

    > [2015 04-21 T 20: 46:29.308Z] [ERROR] start-signs-2 org.springframework.flex.core.MessageBrokerFactoryBean error thrown during initialization flex.messaging.MessageException MessageBroker: cannot create class of type 'com.vmware.vise.messaging.endpoints.SecureAMFEndpoint '.

    It must be because your UI package is CLEAR. MF does not import the com.vmware.vise.messaging.endpoints package

    If that isn't it, check what is different between your plugin and a similar SDK sample

  • SX10 - how to access the web interface behind a firewall

    Howdy

    I have a very simple configuration, router and behind her SX10. I can't access the web interface of the remote unit. Is there a port that I need to activate or something?

    When the device was connected directly to the modem, with the public IP address, I was able to connect to the web interface.

    any suggestions here?

    I enter anything in the field AllowRemote.

    Thanks in advance!

    Web interface can be accessed using HTTP ether (80) or HTTPS (443).  To you how you want to deploy, but you can use NAT on the router, port forwarding, or even put the SX10 in DMZ on the router.

  • 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.

  • 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

  • How to publish a Web service from a bpel project

    Hello

    I use version 10.1.3.4.

    I create a Java Web service and I deployed properly.
    I have test it with the browser and works.
    I try to call the web service with my bpel process but don't work the bpel can not find the webService when I use the icon of discover and doesn´t recognize the URL where the WSDL for the web service is allocated.
    I use the Soap service activity in an ESB and the stream works very well.
    Anyone know why I can't call my webservice from my bpel process, but I can call from my BSE?

    Thanks and greetings

    Make sure you have the wsdl that is deployed to the server, and then use the PL service Explorer icon to choose the wsdl file in the BPEL process PL.

  • How to change the Web server from one server to another server

    Hi all

    Can you please provide the document to change the location of the web server from one server to another server?

    Thanks in advance.

    Thank you and best regards,
    Siva Prasad B

    Siva Prasad says:
    Hi Michel,.

    Coping PS_HOME just move the web server?

    And Michel and I said earlier that you need to reinstall your Web server... and to redeploy the PIA, which is not clear?

    Nicolas.

  • How to access the ESX service console

    Hi all.

    I'm a TV engineer trying to solve a problem of network with our equipment. I'm not a network engineer.

    I'm trying to follow the VMWareKB: "Troubleshooting connection problems network using the Protocol ARP (Address Resolution)" I'm just trying to check the ARP table exists on our ESX Server and has some entries.

    KB said running 'arp - a' for a list of the ARP table.

    To do this, I need to open a service console. I have now read articles 3 or 4 on the use of the Service Console but I am still unable to open it to run the command. I do not understand what I am doing wrong, I am incredibly stupid or miss me something completely.

    An article said, press 'Alt F1"exactly where I am doing this? A virtual machine is connected to the ESX? An article said "to VIM summary screen' I tried logging on the virtual machine and point a web browser on the server, I get a screen of welcome of ESX with link"Connecting to Web Access", when I click on it I get"Internet Explorer Can t Open The Web page.

    I had a look at VIM, I can see the details of the Vswitch network on the configuration page, including the IP address of the console service. Can't see how to open a service console. VIM of pointing at the address for service console is unable to do anything.

    I just need to know how to open the Service console and check the tables of ARP based on the KB.

    Please dumb down of your responses to me!

    The fundamental problem is about some units of electric distribution that we use to power the equipment in the racks. They have a network connection which we track using Virtual Machines to the report of a third person of monitoring and control software. The virtual machines are running alarm software driver used to report to the third party. The virtual machine is on a blade server.

    We have a problem where a unit of the IML has been replaced but configured with incorrect default gateway address. In the hours to do so, the monitoring and control software lost connection to ILM and one by one, all units of the IML began to send the ARP requests - "who has 10.172.248.254'.

    Finally, the MDU constantly send ARP requests and the MDU have lost connectivity to the virtual computer. If we open the VM machine, follow up and a MUD, the ping command ping fails, if we put a laptop in place an ILM and ping the machine VM, the ping works fine.

    If power us off/on the ILM voltage they are good, but we are a 24/7 operation and power cycling the MDU is considered risky.

    We have had this problem before and the only solution was to rebuild the virtual machine and assign all MDU to a new network address.

    All switches ILM is connected (foundry Falstron GS) have been verified by the support of our network guys and we are told are all good. The blade server hosts about 20 VM and they work just fine from other systems SNMP traffic monitoring.

    If anyone has any ideas I'm all ears.

    Hello

    As stated, the console is the administration interface that you can use directly on the hardware. It is not a VM (as such) that connect you with the standard management GUI. You can SSH in the network or you can be "physically connected" as you say (I would use HP SIM or the ILO to connect directly to the blade). Once you have that screen upward, press 'Alt + F1' and you connect. Then you should be able to follow the KB to check the ARP table.

    See you soon,.

  • How to deploy the web service PAPI

    I am new to OBPM.
    I use BPM studio 10.3 to create processes.
    I set the preferences of the engine "from PAPI web services." This works.
    But I do not know how to deploy them to web services PAPI since the BPM web service console shows that no service is deployed.

    Please tell me how to deploy BPM processes.

    Thank you very much

    Published by: YE on March 27, 2009 09:58

    To expose processes that Webservice, please follow the steps below.
    Just click on process--> select process Webservice then it will open a new window, and then specify the name of the corresponding input parameter Web service method.

    Then build the application and test the service by clicking on the icon LaunchDeployedWebServiceswebapp in Eclipse, it will open the new window, it contains information about Web service, URL endpoint to access the WSDL Style HTTP WS, WS-Security authentication basic authentication.

    Thank you best regards &,.
    M.Kumaraswamy.

  • access the web service WSDL (https) - ORA-29273: HTTP request failed

    I use 11g (11.2.0.1.0)

    I've already implemented a function that access a WSDL service, sending a XML request with answer. It is an HTTPS service and I had successfully setup the configuration of the ACL.
    Wallets and certificates were also imported according to the needs.
    However, it has stopped working and I get the following errors, which I can't find out why?

    ORA-29273: HTTP request failed
    ORA-06512: at "SYS." UTL_HTTP", line 1130
    ORA-12545: Connect failed because target host or object does not exist

    The same service works perfectly for an another database 11g...

    Any ideas?

    AndreasCon wrote:

    ORA-12545: Connect failed because target host or object does not exist

    This error means generally that the socket connect command failed, because the host name has not be resolved to an IP or IP connection failed.

    What is the URL that you use? It contains a host name? If so, how PL/SQL solves that one IP (use utl_inaddr.get_host_address () to determine that)?

    What is a valid IP address for the host? Connectivity to this IP address works of your Oracle (test using telnet on port https to IP) Server?

    Looks like on this server host name resolution is not working / configured correctly (saw that the code works on other servers).

  • I bought jointly, Priemer elements and Photoshop elements. I downloaded photoshop successfully. How to access the Web page download for elements of Prime Minister?

    I bought jointly, Priemer elements and Photoshop elements. I downloaded photoshop successfully. How can I get access to the

    Download the Web page for the elements of Prime Minister?

    Garyl21385743 what version of Premiere Elements you are wanting to download?  You can download the latest versions of Premiere Elements to products download Premiere Elements | 10, 11, 12, 13.  You can also find links to the installation files for most retail securities of Adobe Creative Software to to other downloads.

Maybe you are looking for

  • Installed the latest upgrades and advertising-block modules are working now is no longer

    I have installed the latest updates for Firefox and every night, but now my add blocking ad - ons are blocking is no longer ads. I ran Malwarebytes and software Adware of malware detection and also do not work Hitman in safe mode and my Ghostery and

  • Black dust coming out of air vent

    I had my hard drive changed under warranty last year due to the failure and loads of carbon black and dust coming out of the ventilation duct. I just noticed on start up there is more of this dust that comes out of the machine. I did a test of hardwa

  • Boot Camp and select the operating system

    I installed Windows 7 and can not see where boot camp is installed. Windows is the default system, but I want to return to the ability to choose what system I use at startup.  Which key I want when starting to give me the disks/partitions to start fo

  • Satellite L - How to install the latest Intel graphics drivers?

    Tired of waiting for Toshiba releasing the latest Intel graphics drivers (have problem with Aero if want to install the latest drivers). Intel Installer recognizes that it is a Toshiba and bombs out telling me that I have to get the drivers of Toshib

  • Acer iconia w1 - 810 DVD img restore?

    Acer iconia w1 - 810 DVD img restore? Thank you [edited to conform to the guidelines]