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;
/

Similar Messages

  • 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 deploy a web service on Oracle Application Server 10.1.2.0.2?

    Hi everyone,
    I followed the instructions of the following link to create a web service using jDeveloper 10.1.3.1.0 on Oracle Application Server 10.1.2.0.2. [http://st-curriculum.oracle.com/obe/jdev/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm#t1]
    The web service created was deployed & used with no errors on the standalone OC4J instance.
    But my goal is to deploy my web service on Oracle Application Server 10.1.2.0.2.
    So after several attempts, I was able to deploy it on the Oracle Application Server 10.1.2.0.2 but unfortunately I didn't know the URL needed to use the web service.
    I tried the following link (http://192.168.0.91:18100/JavaWebService-GetDates-context-root/GetDatesWSSoapHttpPort) but also didn't work :(
    I also tried converting to J2EE 1.3 and still not knowing how to access the web service.
    Please advice with a solution.
    Thanks in advance.
    Lana

    Thanks everyone for your help :)
    The problem turned out to be that Oracle application server 10.1.2 is unlike the others servers, it uses 2 ports:
    - port (19100) is dedicated for the console.
    - port (7779) is to view your applications.
    So the URL needed turned out to be "http://acteos-109.beirut.acteos:7779/beanTest" instead of "http://acteos-109.beirut.acteos:18100/beanTest"
    Hope this info is useful
    Lana

  • 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 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 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 Can I install Web Service on Oracle 11g r1?

    How Can I install Web Service on Oracle 11g r1?

    Hi,
    Is necesary install XDB?
    Because i have executed;
    select * from dba_registry
    where COMP_ID = 'XDB'
    Oracle XML Database
    Regards

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

  • How to call a web Service from Oracle Applications?

    Hi friends,
    I've posted this question on OA Framework forum , but may be it's more appropiated put it here. Sorry for do it again:
    It's about how to call a web service from a Form or a .sql (via Request) in Oracle Applications:
    Could you please explain here the detailed steps (with code example if it's possible) to invoke a webservice from Oracle Applications?.. how did yo do it...?
    I've read differents posts here and the 33097.1 metalink note (by the way, the first recommended link in this note is broken...), but there are lots of theorical concepts and no real examples to see how/from where invoke the WS
    I'll have to call one webservice (I suppose the customer will give me the interface implementation)...but I've never did it with Applications so that's why I ask you for all the detailed steps...
    I work with Forms 6i, Apps 11.5.10.2 and DB 9.2.0.7.
    Thanks a lot.
    Jose.

    Hello Jose,
    I did using java program to call BPEL web services in 11.5.10.
    I pasted below the metalink note for your reference (Note:250964.1)
    The idea is first write a java program to call the webservice (in my case it is calling an BPEL web service, so this may not help directly), test it.
    Then port the java program as specified in the note, so that you could call your web service through concurrent manager scheduler.
    Is this ok?
    Thanks
    Arun.
    ======================================================
    Checked for relevance on 25-Apr-2007
    Application Install - Version: 11.5.8 to 11.5.10
    Goal
    ====
    How to register and create a Java concurrent program for Oracle Applications
    Release 11i
    Solution
    ========
    1. Create your Java Concurrent Program (JCP) , using a text editor.
    /*===========================================================================+
    | Concurrent Processing Sample Code |
    | |
    | FILENAME |
    | Hello.java |
    | |
    | DESCRIPTION |
    | Sample Java concurrent program |
    | About the simplest possible program, just writes a message to the |
    | logfile and output file. |
    | |
    | HISTORY |
    | $Log$ |
    | |
    +===========================================================================*/
    package oracle.apps.fnd.cp.sample;
    import oracle.apps.fnd.cp.request.*;
    public class Hello implements JavaConcurrentProgram {
    public static final String RCS_ID = "$Header$";
    public void runProgram(CpContext ctx) {
    ctx.getLogFile().writeln("-- Hello World! --", 0);
    ctx.getOutFile().writeln("-- Hello World! --");
    ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
    =======================================
    End Sample
    =======================================
    2. Create a sample directory under $JAVA_TOP:
    $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
    3. Copy Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample:
    $ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
    4. Compile your java program:
    javac $JAVA_TOP/oracle/apps/fnd/cp/sample/Hello.java
    5. Test at the command line with following syntax:
    jre -Ddbcfile=$FND_TOP/secure/your_dbc_file.dbc \
    -Drequest.outfile=./outfile \
    oracle.apps.fnd.cp.request.Run \
    oracle.apps.fnd.cp.sample.Hello
    6. Register your custom java concurrent program with Oracle Applications.
    a. Navigate: Concurrent > Program > Executable
    b. Enter details into the form
    Executable: JCPHELLO
    Shortname: JCPHELLO
    Application: Application Object Library
    Execution Method: Java Concurrent Program
    Execution File Name: Hello (Insert a name that does not contain space or period)
    Execution File Path: oracle.apps.fnd.cp.sample
    c. Save the details
    d. Navigate: Concurrent > Program > Define
    e. Enter details into the form
    Program Name: JCPHELLO
    Program Shortname: JCPHELLO
    Application: Application Object Library
    Executable: Choose JCPHELLO from LOV
    Executable Options :
    f. Save the details
    7. Add this new concurrent request to your responsibility request group.
    a. Navigate > Security > Responsiblity > Request
    b. Query System Administrator
    c. Add new row and choose TestJava
    d. Save the changes.
    8. Run your new Hello Java Concurrent Program
    Navigate: Request > Run
    References
    ~~~~~~~~~~~
    Oracle Applications Developers Manual for Release 11i A75545-01
    ====================================================

  • 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/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?

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

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

Maybe you are looking for

  • Can't convert  NEF to RAW

    I am trying to convert my NEF files using the DNG converter. When I open the converter and select the folder an error box comes up with: 'The sorce folder does not contain any supported camera raw files' The files are indeed there, I have used the co

  • Receiver FILE communation channel error.

    Hi Experts, I am getinng below error in receiver communication channel what is the problem plz let me know. Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The Adapter Message Property 'FileName' was configured as man

  • Planning function in layout excel

    Hi, i have attached a planning function to a layout excel with standard functionaly.  If i use this layout in a planning folder doesn't work. If i use layout from bps0 it's everything ok. Is there any reason ? Thanks in advance

  • Need some sample data for obiee practice

    Hi All, I installed OBIEE 11.1.1.5 using SQL SERVER 2005. Can someone help me out some sample data for practise purpose other than sampleapplite Thanks, SatyaB

  • Restart my Forms and Report Services

    Hello and thanks in advance I can restart my HTTP_Server or OC4J_BI_Forms(process-type ) opmnctl restartproc process-type= But how can i restart my Forms and Report Services from command line. my reports server is: rep_tethis_ora_midtier thanks