How to access the Web Service Browser

Hi,
I need to access the Web Service Browser to generate a Web Service Description.
How can I do it?
I use the follow url:
http://<host_name>:<port_number>/sap/bc/bsp/sap/WebServiceBrowser/search.html?sap-client=<relevant_client>
but I can't say how to determine values for the three placeholders.
Help me please.
THANKS

Hi Andrea,
you can access the web services in sap transaction SICF. Then right click on the
service and choose "test". The hostname is the host on where the sap system
runs.
The port ´number can be seen in transaction SMICM -> shift + F1. Here you can see
the portnumer assigned to the HTTP protocol.
And the client is the sap client (standard client) for which the service is configured.
Hope this helps.
KR,
Andreas

Similar Messages

  • How to access .asmx Web Service using JAVA? Newbie

    Hello Experts,
    Currently, I have a project where in I have to access a ,NET web service. It is made of C#. I just want to ask how will I start the accessing process? I made this simple equation on how my project is.
    Java Project + C#.Net Web Service = Integration
    1. Do i need to create a Web Service too for the Java Project? If yes, What are the necessary tools needed for the creation of this Java Web Service?
    2. The .NET Web Service is available online. (It is made by other people).
    3. Based on the equation, what is the equivalent technology for the + sign?
    4. Can you site a concrete example for accessing a web service?
    5. I'm new here. Totally I have no idea where to start.
    6. Thank you experts.
    Edited by: Benedict.Aluan on 05 30, 08 1:38 PM
    Edited by: Benedict.Aluan on 05 30, 08 1:39 PM

    Hello
    Thanks a lot for your help ...
    I am developing simple J2EE based web service client using IBM WSAD 5.1. I have used the following code to call .asmx web service in Java
    String url = "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl";
         String namespace = "http://tempuri.org/";
         name = request.getParameter("txtName");
         try
              System.out.println("In Internet Service");
              ServiceFactory factory = ServiceFactory.newInstance();
              Service serv = factory.createService(new URL(url),new QName(namespace,"TempConvert"));
              System.out.println("Got Service......");
              Call obj = (Call)serv.createCall();
              System.out.println("Got Call......");
              obj.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY,"");
              obj.setProperty(Call.OPERATION_STYLE_PROPERTY,"wrapped");
              obj.setTargetEndpointAddress(url);
              obj.setPortTypeName(new QName(namespace,"TempConvertSoap"));
              obj.setOperationName(new QName(namespace,"FahrenheitToCelsius"));
              obj.addParameter("param1",XMLType.XSD_STRING,String.class,ParameterMode.IN);
              obj.setReturnType(XMLType.XSD_STRING);
              System.out.println("Parameters Set.....");
              Object[] params = new Object[]{name};
              k = (String)obj.invoke(params);
              System.out.println("Result: "+k);
         catch(Exception e)
            System.out.println("Exception is : "+e);
        }But this code is throwing exception that
    Invalid Address "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl"I have also tried this URL with Java Proxy. But it showing the same error.
    Plz can u tell me how to access .asmx web service ?
    Waiting 4 reply.

  • How to access existing Web Service

    I want to access the web service (SOAP) from java classes.
    Can Any body help me by sending sample code providing that how to send my XML content to the existing web service and get the response from that.
    I want to further analyse that it is succedded or not from the response of web service (the response is also in XML).
    Thanks,
    Dipen.

    You are in the wrong forum - web services are not available with Sun webserver. Speaking of examples to check out, I would recommend you to install Sun appserver 8.1 or 8.2 and check examples that come with it, specifically in "samples/webservices" and "samples/xml" directories.

  • How to access a  web service(.wsdl) from portal component.

    Hi ,
    Is there any document/tutorial available on how to access a webservice from portal component ?
    I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
    but the urls in the link are not working...
    i want  to know the steps to access webs service and sample code if some body has already done that..
    Thanks for the help.
    Lakshmi

    Hi Lakshmi,
    See the links below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
    Hope this helps.
    Regards,
    Pooja.

  • How To Access HTTPS Web Service  in Application Module

    I need to know how to access HTTPS web service in application module.
    If you can provide the tutorial or guidance to achieve this really appreciate.
    Thanks
    Sameera

    Use the Web Service Proxy wizard in JDeveloper to create a class that calls your Web service, and then call this class from code in your AM.
    http://docs.oracle.com/cd/E16340_01/web.1111/b31974/web_services.htm#CJAHGIEF

  • How to access a web service from a XLet

    Hello,
    I am new in software development to ITV and I dint find too many usefull information teaching how to access a web service from a XLet running in a STB. Are there anybody who can give me some help, maybe sample or tutorial?
    Gratefull
    David

    hi,
    you can "borrow" the source code from [Yambo a free soft open source presentation engine (AKA XML microbrowser Xlet )|http://www.cineca.tv/labs/mhplab/index-en.html] both local and on a http remote connection.
    hope it helps..
    bye
    andrea

  • How to access/invoke Web Service from BPM Process

    The following steps required to attach and invoke web service method from process:
    1) Add a module in the catalog for ex WebServiceMO
    2) Add WebService Catalog component demoWebService in WebServiceMO
    3) Put ur WSDL address in WSDL address field like "http://localhost:8080/test/test?wsdl"
    4) Click next to introspect the web service it will import required files and setting from the url to your project
    5) Now for invoking webservice just call the method for ex.
    @return as String[]
    getTestStringList(TestInterfaceService, out @return : @return)
    logMessage "web service calll result >>"+length(@return)+">>>"+@return[0]
    Here @ return is the return from webservice call.
    this way u can access web service from BPM process.
    Edited by: Anurag Yadav on Jul 17, 2009 2:19 PM

    I have a web service which does not return any value but when I introspect the web service, I have an out parameter to it.. Not sure why?
    For e.g.
    TestServiceListener.addTestNotes(TestNotes : testNotes, out TestNoteResponse : testNoteResponse);
    So here I see an out parameter, but my web-service has no out parameter...
    Any idea why is this happening?

  • How to Authenticate the Web Service from my Java Client?

    Hi All,
    I am a newbie. I am working in Microsoft Technology. But due to a critical requirement, I am suppose to write a Java Web Service Client application. I some how managed to create the Client Application. The application works fine if the Authentication is turned off in the web service level itself. I am unable to or unaware of authentication in Java World. I have written a .NET Client application where I am able to set the Credentials but in Java world no property or method allows me to set it.
    Anybody knows how to solve this problem?
    My configuration is,
    JDK - JDK 1.5.0.16
    IDE - Netbeans 6.1
    Web Server - Tomcat 6.0
    SOAP - Native C++ SOAP
    How do I did?
    - Created a Java Web Service Client Application.
    - Added the Web Reference to the SOAP WSDL url.
    - Initialized the class object using the WSDL generated SOAP classes (Reference classes)
    My code look like,
    String result = "";
                try {
                    QName name = new QName("http://eaglesuite20/eaglesoap.wsdl", "eaglesoap");
                    eaglesuite20.eaglesoap.Eaglesoap service = new eaglesuite20.eaglesoap.Eaglesoap(new URL("http://phobos:1011/?wsdl"), name);
                    eaglesuite20.eaglesoap.EaglesoapPortType port = service.getEaglesoap();               
                    // TODO initialize WS operation arguments here
                    eagle.Request submitRequest = new eagle.Request();
                    submitRequest.setRequestType(eagle.RequestType.E_B_SCHEDULE_DEF);
                    submitRequest.setOperation(eagle.Operation.READ);
                    eagle.FilterDefinition filter = new eagle.FilterDefinition();
                    filter.setField(new JAXBElement<String>(new QName("urn:eagle", "Field"), String.class, "SHOW_SCHEDULED"));
                    filter.setValue(new JAXBElement<String>(new QName("urn:eagle", "Value"), String.class, "SHOW_SCHEDULED"));
                    filter.setOperator(eagle.EOperators.EQUAL);
                    eagle.FilterDefinitions filDefs = new eagle.FilterDefinitions();
                    filDefs.getFilterDefinition().add(filter);
                    submitRequest.setFilterDefinitions(new JAXBElement<eagle.FilterDefinitions>(new QName("urn:eagle", "FilterDefinitions"), eagle.FilterDefinitions.class, filDefs));
                    // TODO process result here
                    result = port.submitData(submitRequest);
                //out.println("Result = " + result);
                } catch (Exception ex) {
                    // TODO handle custom exceptions here
                    out.println(ex.getMessage());
                }Thanks in Advance.

    Hi
    Did you get your problem solved? Can you please help as I am getting null pointer exception when I invoke a call to web service which is secured/
    Please help!!!!!!!!! this is urgent.

  • How to change the web service address of NetBeans generated WS client

    I am currently experimenting with web services using netbeans and Sun Application Server.
    Basically I am creating simple web services using net beans and then deploy them on the app server and then create another pfoject with web service reference to that web service to invoke the service.
    My problem is when a project is deliverd to the production site the the client applications web service reference will need to be configured to refer to the production web service address. But when I looked at the generated web service client code the address is hard coded.
    How can I change the address to the web service of a web service reference created in net beans either using some configuration file (without having to recompile the client) or at runtime.
    Thanks in advance

    bump...

  • How to access SOAP web service with authentication, HTTP basic Authentication

    Dear All
    i use Flash Builder 4.5, flex 4..1, i am developing a flex client to soap webservices hosted over Glassfish 2 Java server, the web services is protected by HTTP Basic Authentication, everythime i run my code , the prombt for username and password show up, i need to pass user name and password through action script, i followed the flollowing (but was for http web service, not soap) but really did not work.
    http://stackoverflow.com/questions/490806/http-basic-authentication-wi th-httpservice-objects-in-adobe-flex-air
    http://forums.adobe.com/message/4262868
    private function authAndSend(service:HTTPService):void
            var encoder:Base64Encoder = new Base64Encoder();
            encoder.insertNewLines = false; // see below for why you need to do this
            encoder.encode("someusername:somepassword");
            service.headers = {Authorization:"Basic " +encoder.toString()};                                               
            service.send();
    Also i noticed in debug mode, always that WARNNING raised up
    Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The 'secure' attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.
    any idea ?

    Hello,
    I don't know if this could help.
    Another way to connect to a web service by SOAP and WSDL is to click on the Data/Services panel, then click on "Connect to Data/Services" and then select the "Web Service" (WSDL) icon. This could help as well.

  • Problem in accessing the Web Service using standalone Java Client

    Dear Friends,
    Hi,
    I have an active web service and I have tested the same with XML Spy and Apache Axis and is giving me the output perfectly. For the same, I have developed a standalone Java client but getting problem in fetching the output.
    The Exception is :
    <Jan 4, 2006 5:54:16 PM GMT+05:30> <Info> <WebService> <BEA-220025> <Handler weblogic.webservice.core.handler.ClientHandler threw
    an exception from its handleResponse method.
    The exception was:
    javax.xml.rpc.JAXRPCException: java.io.IOException: Received a response from url: http://10.20.15.59:18004/amountToWords which did
    not have a valid SOAP content-type: text/html;charset=ISO-8859-1. .>
    SOAP Fault **************** Exception during processing: java.io.IOException: Received a response from url: http://10.20.15.59:18
    004/amountToWords which did not have a valid SOAP content-type: text/html;charset=ISO-8859-1.
    (see Fault Detail for stacktrace)
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing: java.io.IOException: Received a response from url: http://10.2
    0.15.59:18004/amountToWords which did not have a valid SOAP content-type: text/html;charset=ISO-8859-1.
    (see Fault Detail for sta
    cktrace)
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:566)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
    at HelloClient.main(HelloClient.java:100)
    I have tried some ways to set the content type explicitly but the results are same(throwing an exception).
    I appreciate you all for helping me out of this.
    Thanks
    VR

    Hi Amit
    We also have this issue with weblogic webservices. Did you get any resolution for this issue.
    When the service is executed for lesser number of hits, all the responses are processed properly. But as load (Number of hits for the same service) increases, few responses are failed to be parsed in the web service client. We could confirm that the producer responds with proper content type (text/xml)
    Any help or pointers will be greatly appreciated.
    Thanks,
    Finny

  • [help] how to access SAP web services by NetBeans

    i have created a "web application" project. and i have created a "web service client" file by WSDL file.
    but when i test after i inserted web service operate codes into index.jsp, the tomcat print a error means "HTTP 401 - Unauthorized".
    if i access the ws url by browser, it will popup a dialog for username and password. but NetBeans not.
    i installed NetBeans full version, include tomcat. and the WSDL file is generated by SAP.
    need help.

    Exception printStackTrace
    com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized
    com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:232)
    com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:151)
    com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:88)
    com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
    com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
    com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
    com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
    com.sun.xml.ws.client.Stub.process(Stub.java:248)
    com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:134)
    com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:244)
    com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
    com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
    $Proxy27.zbjdaFmMd0H(Unknown Source)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:94)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:619)
    Wed Oct 15 14:26:54 CST 2008
    com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized

  • How to access PI Web Service in Different network

    Hi Friends,
    I am working on SOAP-PI- ECC (Sync) scenario, I have completed development and published service in SR, tested successfully using WS Navigator.
    I have shared  web service url and wsdl with Third party team, they are not in my client network, when they are trying to use /implement my Service, it is now working, when I open WSDL url in my network I am able to do that, but third party people getting error page cannot be displayed.
    There is nothing wrong in WSDL URL, so I am thinking that it may be security issues  like that.,
    Is it possible to access PI services in other network??
    Put some light on this,
    Regards,
    raj

    Is it possible to access PI services in other network??
    No....we can access the services when we are in same landscape. The Third party should be first able to connect to your environment/ network....if they are able to do it then the WS can be accessed.
    Similar would be the case if you try opening a WS provided by third-party....you will get a Page cannot be displayed error.
    Regards,
    Abhishek.

  • How to access UCM Web Service in Oracle.

    Hi All,
    I am trying to call UCM Web Service (CheckIn.wsdl) using oracle.
    But these web services are secured and expecting username/password.
    Any one have any idea to pass username/password in oracle function.
    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/secure/wsdl/custom/CheckIn?wsdl';
    l_namespace := 'http://www.stellent.com/CheckIn/';
    l_service_qname := SYS.UTL_DBWS.to_qname(l_namespace, 'CheckIn');
    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;
    It's compiling successfully.
    When ever i am trying to run using
    SELECT checkin ('WEBSERVICE009','WEBSERVICE009', 'Document','weblogic','Private','IT/EBA/Distributor_testuser','D:/ucmfiles/test_WebService_11.txt') FROM dual;
    It's expecting username/password...
    Any body have any idea.

    If you are using apex, you have access to the wwv_flow_web_services package that has all the procs you need to made this work. If not, you can use flex_ws_api, which, although a bit out of date, should still work. This can be found at: http://jastraub.blogspot.com/2009/11/flexwsapi-no-on-samplecodeoraclecom.html
    Hopefully this will get you the start you need. Don't forget soapUI. This has proved to be invaluable in my development just to prove something works. It becomes a very easy way when I keep hearing, "UCM doesn't 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 := '<?xml version=''''1.0'''' encoding=''''UTF-8''''?>';
      l_envelope := l_envelope || '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:chec="http://www.stellent.com/CheckIn/">';
      l_envelope := l_envelope || '<soapenv:Header/>';
      l_envelope := l_envelope || '  <soapenv:Body>';
      l_envelope := l_envelope || '     <chec:CheckInUniversal>';
      if length(ltrim(rtrim(l_ddocname))) > 0 then
        l_envelope := l_envelope || '        <chec:dDocName>'||l_ddocname||'</chec:dDocName>';
      end if;
      l_envelope := l_envelope || '        <chec:dDocTitle>'||l_filename||'</chec:dDocTitle>';
      l_envelope := l_envelope || '        <chec:dDocType>WebContent</chec:dDocType>';
      l_envelope := l_envelope || '        <chec:dDocAuthor>'||l_login||'</chec:dDocAuthor>';
      l_envelope := l_envelope || '        <chec:dSecurityGroup>Public</chec:dSecurityGroup>';
      l_envelope := l_envelope || '        <chec:dDocAccount>WebContent</chec:dDocAccount>';
      l_envelope := l_envelope || '        <chec:CustomDocMetaData>';
      l_envelope := l_envelope || '           <chec:property>';
      l_envelope := l_envelope || '              <chec:name>xDCSDProfileTrigger</chec:name>';
      l_envelope := l_envelope || '              <chec:value>WebContent</chec:value>';
      l_envelope := l_envelope || '           </chec:property>';
      l_envelope := l_envelope || '        </chec:CustomDocMetaData>';
      l_envelope := l_envelope || '        <chec:primaryFile>';
      l_envelope := l_envelope || '           <chec:fileName>'||l_filename||'</chec:fileName>';
      l_envelope := l_envelope || '           <chec:fileContent>'||l_CLOB||'</chec:fileContent>';
      l_envelope := l_envelope || '        </chec:primaryFile>';
      l_envelope := l_envelope || '     </chec:CheckInUniversal>';
      l_envelope := l_envelope || '  </soapenv:Body>';
      l_envelope := l_envelope || '</soapenv: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 := '<?xml version=''''1.0'''' encoding=''''UTF-8''''?>';
      l_envelope := l_envelope || '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sear="http://www.stellent.com/Search/">';
      l_envelope := l_envelope || ' <soapenv:Header/>';
      l_envelope := l_envelope || ' <soapenv:Body>';
      l_envelope := l_envelope || '  <sear:QuickSearch>';
      l_envelope := l_envelope || '   <sear:queryText>dDocAuthor &lt;matches&gt; `kalee`</sear:queryText>';
      l_envelope := l_envelope || '  </sear:QuickSearch>';
      l_envelope := l_envelope || ' </soapenv:Body>';
      l_envelope := l_envelope || '</soapenv: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 access remote web service?

    I try the demo in get start document(chapter 18).but I can
    not get any data.
    Do I have to change settings?Do I have to use FDS?
    Thanks
    Mark

    You are in the wrong forum - web services are not available with Sun webserver. Speaking of examples to check out, I would recommend you to install Sun appserver 8.1 or 8.2 and check examples that come with it, specifically in "samples/webservices" and "samples/xml" directories.

Maybe you are looking for

  • Iphoto 09 wont even open!

    I've updated iphoto 08 to iphoto 09...... I haven't even been able to open it once. When I open the app from my application folder the icon appears on the dock for only a short moment before it disappears and an error message appears: "The applicatio

  • List Error

    Why do i get UnSupported operation Exception for this code import java.util.*; public class ListDemo      public static void main(String[] args)           String[] st = {"a","b","c","d","b","b","f","g","h","rt","jk"};           List list = Arrays.asL

  • Scrollbar error

    Hi, I'm getting this error whenever I add scrollbar to a dynamic text box TypeError: Error #1009: Cannot access a property or method of a null object reference.           at test_fla::MainTimeline/__setProp___id0__Biography_Layer1_0()           at te

  • Feedback App Not Working and Some Bug Reports

    Tecnical Preview Build 9840 =Upgrade to==>9860==>9879 >Hi. when i try to open this app, its opening black and then freeze. I was going to report a bug with this app but its not working. So i ill use here. Here visual bug :

  • Licensing\HA question

    Good Morning Everyone! I was just wondering if anyone knows from experience what the best method would be for the following? We have 2 WLC-5508 running code 7.4.100.0. We have just purchased a 50-AP Adder license for the primary WLC. We are looking t