Access web service from tool area

Hi,
I want to edit the tool Area iView to invoke an external web services.
I created a tool Area iView to be customized by importing “com.sap.portal.navigation.toolarea.par.bak” file from the NW2004s and create new portal project.
I know how to edit add or remove any part from the tool area iview
But how I can access the web service proxy? or what is the best way to implement that.

Stumbled into a small problem:
I have this method in my web service:
@WebMethod(operationName = "test")
    public Integer test(@WebParam(name = "number")
    int number) {
    return number;
}My client looks like this
public static void main(String[] args) {
    try {
         String BODY_NAMESPACE_VALUE = /*namespace url*/;
         QName port = new QName(/*Service name*/);
         ServiceFactory factory = ServiceFactory.newInstance();
         Service service = factory.createService(new QName(/*Service name*/));
         Call call = service.createCall(port);
         call.setTargetEndpointAddress(/*WSDL location*/);
         call.setReturnType(XMLType.XSD_INT);
         call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "test"));
         call.addParameter("number", XMLType.XSD_INT, ParameterMode.IN);
         Integer[] i = new Integer[1];
         i[0] = new Integer(20);
         System.out.println("test :"+call.invoke(i));
    } catch (Exception ex) {
        ex.printStackTrace();
} I get return values ok from the web service in my java client since I tried getting a constant from the web service. However, in the case above I am trying to send 20 from the client to the web service and receive it back. However I am receiving 0. Does anyone know why sending parameters from client to web service is not working?
Thanks and regards,
Krt_Malta

Similar Messages

  • Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

  • Problem in accessing Web Service from Excel

    Hi All,
    I have faced a new problem when calling WS from Excel.
    I have created a WS from CAF which has one method and the method takes a list (a table) of structure as an input and returns a string as output. The structure contains three fields
    such as
    medPlace -- String
    publictn - String
    amount - long
    This WS is working fine when I am testing from WS Nevigator.
    Now I have imported the WS in Excel and now the data types are like
    medPlace -- String
    publictn - String
    amount - double
    My requirement is to send the multiple row of the Excel to the WS at a time( I mean as a List). So when I have executed it first time I got error like “deserialisation error”. But I got an article (SAP Web Services and Microsoft Office: How to Create Simple Composite Applications ) by Marcus Schiffer and that problem is resolved.
    But Now I am getting the error like ......Client:Type conversion failure for element eXLSTRUCT0 HRESULT=0x80020005: Type mismatch. - Client:Unspecified client error. HRESULT=0x80020005: Type mismatch.
    eXLSTRUCT0 - This is my structure name in input.
    Can you please help me to solve this issue.
    Thanks in advance
    Chandan

    "vikceo" <[email protected]> wrote in
    message
    news:gm1pl9$s5h$[email protected]..
    > hie
    >
    > here is the code:
    >
    > <mx:HTTPService id="headCountService"
    > resultFormat="e4x"
    > fault="headCountService_fault(event);"
    > result="headCountService_result(event);"
    >
    > url="
    http://localhost:8988/HeadCount-HeadCountService-context-root/headcountwsso
    > aphttpport"/>
    >
    >
    > private function
    headCountService_fault(evt:FaultEvent):void {
    > var title:String = evt.type + " (" + evt.fault.faultCode
    + ")";
    > var text:String = evt.fault.faultString;
    > alert = Alert.show(text, title);
    > }
    >
    > private function
    headCountService_result(evt:ResultEvent):void {
    > var statListAll:XMLList = new XMLList(evt.result.stat);
    > }
    >
    > I am calling the service in the main mxml file as
    > <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > showFlexChrome="false"
    > layout="vertical"
    > preinitialize="headCountService.send();">
    >
    > And error is coming from the method
    headCountService_fault
    Is it possible that your web service is receiving something
    with an ill
    formed tag. I'd second bitwyse's suggestion.

  • How to access web service from Oracle ?

    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    I am trying to make 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 gave 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 link to the web server by going to **webservice address** through my browser.
    Is there any ACL should be open in order to have this capability? I asked my DBA but she asked me I will need to give her username/password/ip in order to open an ACL...
    however there is no username/password required while visiting the web service...
    Any help would be highly appreciated..
    Thanks,
    Edited by: 986006 on Mar 4, 2013 8:38 AM

    Y.L wrote:
    That is because the database was unable to connect to the specified server. Wrong hostname or IP specified. Failure to resolve the hostname into an IP. Firewall blocking. Etc.The hostname I put there can be visit through my browser. I think it should not be the host server's issue... So it could be a firewall on my database side that needs to be open in order to visit the hostserver?The "web browser" code (your PL/SQL code using UTL_HTTP) runs on the Oracle database server. It needs the same type of network access that your browser on your PC enjoys. (firewalls opened, proxy authentication if required, etc).
    On 11g. Not on 10g.I saw the example code you post through the link you provided... will those only work on 11g?
    If it can work on 10g, what package or what steps I need to follow in order to have that working on me?The code I've posted will work on both versions. My comment was regards to ACLs. No ACLs existed on 10g. So you only need execute privs on the relevant packages (e.g. UTL_HTTP, etc).
    ACLs were introduced with 11g - so on 11g you also need the DBA to create an ACL for you that will allow UTL_HTTP access to the network.

  • NullPointerException in WebLogic while accessing web service from client

    Hi all,
    I have an SPML Web Service developed. The java class from WSDL was generated using wsdlc
    <wsdlc srcWsdl="schema/oracle_ws_spmlv2.wsdl" destJwsDir="${classes.dir}" type="JAXWS" explode="true"/>
    and then
    <jwsc classpath="..." classpathref="wls.jars" srcdir="src/main" destdir="${classes.dir}" keepGenerated="yes">
    <jws file="com/oracle/xmlns/idm/identity/webservice/spmlservice/SPMLService_SPMLServiceProviderSoapImpl.java" compiledWsdl="target/oracle_ws_spmlv2_wsdl.jar" type="JAXWS">
    <WLHttpTransport contextPath="OIMSPMLWebService" serviceUri="${ear.deployed.name}" portName="SPMLServiceProviderSoap"/>
    </jws>
    </jwsc>
    I have deployed the ear in WLS and generated the client classes.
    <clientgen wsdl="http://${weblogic.host}:${weblogic.port}/OIMSPMLWebService/OIMspmlxsd?WSDL" destDir="${classes.dir}" type="JAXWS"/>
    I run the client using java command from the terminal. First time, it runs fine. I get a valid response. But often, when I run it a second time, I get the following exception ... I need to undeploy and deploy the ear again. Any help will be appreciated!
    Following error appears.
    Error 500--Internal Server Error
    java.lang.NullPointerException
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:49)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
    at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:452)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:232)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    As a workaround I can start the application in debug mode, log into the Weblogic console and stop then restart the deployment and this issue goes away, sort of a pain but it does work.

  • Problems accessing Web service from registry server

    "Hi,
    While trying to develop a dynamic webservice, I encounter some problems.
    The details are as follows:
    I develop a webservice with following interfaces and implementation
    classes:
    Interface : pricequote.IPriceQuote
    Implementation : pricequote.PriceQuoteImpl
    The service does get registered on the XINDICE registry server. ( I am
    using JWSDP to develop the above), and also is deployed on the tomcat
    server.
    I have specified the following path for the service end point:
    http://localhost:8080/PriceQuoteService/pricequote/IPriceQuote
    But when I call the sayHello(String strName) method, I get the following
    error:
    [java] java.rmi.RemoteException: cannot connect to server: /PriceQuoteServi
    ce/pricequote/IPriceQuote; nested exception is:
    [java] cannot connect to server: /PriceQuoteService/pricequote/IPriceQu
    ote
    [java] at pricequote.IPriceQuote_Stub.sayHello(IPriceQuote_Stub.java:76
    [java] at pricequote.PriceQuoteClient.getData(Unknown Source)
    [java] at pricequote.PriceQuoteClient.main(Unknown Source)
    [java] Caused by: cannot connect to server: /PriceQuoteService/pricequote/I
    PriceQuote
    [java] at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpCl
    ientTransport.java:119)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
    java:73)
    [java] at pricequote.IPriceQuote_Stub.sayHello(IPriceQuote_Stub.java:59
    [java] ... 2 more
    BUILD SUCCESSFUL
    Total time: 3 seconds

    No..
    Not able to to open the WSDL either..Getting HTTP status 404..
    The location http://localhost:8080/PriceQuoteService does open, though it doesnt't have any web pages. The organization data is accessible from registry-server also.
    ---Original Message----
    are you able to access this endpoint through a browser
    what happens when you do
    http://localhost:8080/PriceQuoteService/pricequote/IPri
    eQuote?WSDL
    using IE ? do you see the WSDL in your IE window ?
    Do you see the port info getting populate under the
    service section at the base of the WSDL ?

  • Security Error in accessing Web service from Flex.Where to put crossdomain.xml in axis container?

    Hi guys.
    Typically webservices are invoked across domains. Flash has defined certain policies which prevent crossdomain access. The only way to bypass this security feature is to put a crossdomain.xml file within the server root of the webservice provider i.e. in our case at http://abc.com. A sample example of crossdomain.xml is as below:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
         <site-control permitted-cross-domain-policies="all" />
         <allow-access-from domain="*" secure="false"/>
         <allow-http-request-headers-from domain="*" headers="*" secure="false" />
    </cross-domain-policy>
    If the crossdomain.xml is not added the developer will get “Security Error accessing URL” type of messages.
    The above mentioned information should be enough for you to get your flex based WebService client up and running.
    We are using axis2 to build webservices. We deployed the webservices under axis2 container under repository/srvices folder . But in Flex when we try to call the webservices we were getting the exception saying security error in accessing url. The solution is we need to put the crossdomain.xml o that it is loaded at runtime and allow us to access. In tomcat if we put the file under ROOT directory we could accss the file and we were able to access the webservices deployed under Tomcat. But I googled for Axis2 container and couldnt find any solution.
    Please post the reply if anyone knows the solution to it.
    Thanks
    Raja

    Hi. So, I did take a quick look at the Axis2 standalone server and didn't see any way to server up a file such as crossdomain.xml. It seems like it might be a useful enhancement to have the ability to serve up files even if this functionality was very simple/limited and nothing like a full blown http server.
    I'd log an enhancement request against axis2 if this is something you'd like to have.
    http://issues.apache.org/jira/browse/AXIS2
    -Alex

  • Access web service from Message Driven bean

    Can anybody give code to to access webservice from Message Driven Bean

    Can anybody give code to to access webservice from Message Driven Bean

  • How to access web-service from Forms 9i

    Hi
    I have a form running on 9i server.How do I access a webservice when im using iDS 9i.
    please let me know
    siri

    hi
    I found this site from one of your replies.
    http://www.oracle.com/technology/obe/obe_as_10g/deploy/callws_fromforms/forms_webservice.htm
    I feel this helps. WHen i try to use it with my iDS 9i , the jdeveloper is not recognising the wsdl . It is giving error.
    What can be the reason ?

  • 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 access (any) soap / rest web services from widget

    Hi all,
    Is there an API, javascript library etc, which allows accessing (any) soap / rest webservices from widgets?
    I know I can access web services from sap j2ee with widget foundation, but I'm still not sure how to access "outside"
    web services.
    A blog entry about this topic would be greatly appreciated I think, not only by me.
    Regards,
    Ladislav

    As promised, below is the js lib source code. I did not see the attachement option, so you can just create a text file and save it with .js extension.
              function getHdrData( FuncName ) {
                return '<?xml version="1.0" encoding="UTF-8" ?>' +
                          '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" ' +
                                             'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ' +
                                             'xmlns:xs="http://www.w3.org/2001/XMLSchema">' +
                          '<SOAP-ENV:Header><sapsess:Session ' +
                                    'xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">' +
                                    '<enableSession>true</enableSession></sapsess:Session>'+
                          '</SOAP-ENV:Header><SOAP-ENV:Body><ns1:' +
                          FuncName +
                          ' xmlns:ns1=\'urn:sap-com:document:sap:soap:functions:mc-style\'>';
              function addVar ( VarName, VarValue ) {
                return '<' + VarName + '>' + VarValue  + '</' + VarName + '>';
              function getFtrData( FuncName ) {
              return '</ns1:' + FuncName + '></SOAP-ENV:Body></SOAP-ENV:Envelope>';
              function setTable ( TblName, TblType) {
                   return '<' + TblName + ' xsi:type=\'ns1:' + TblType + '\'>';
              function closeTable ( TblName) {
                   return '</' + TblName + '>';
              function startEntry( ) {
                   return '<item>';
              function endEntry( ) {
                   return '</item>';
    So the following is the basic on how to use this library:
    * Set up SOAP envelope
    * Get the header data
    getHdrData( SOAP operation name )
    * If the web service set up the table and record start tags
    setTable( variable name, table type ) - Optional
    Set new record tag: startEntry() ? Optional
    * Set up the fieldname or variable name
    addVar( variable name, variable value )
    * Set up the table and record end tags
    endEntry() ? Optional
    closeTable( variable name ) ? Optional
    * Set up the footer SOAP envelope
    Set footer data: getFtrData(SOAP operation name )
    So hopefully that will help you consume SAP Published web services.

  • 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

  • Unable to access end point while invoking web service from bpel

    We are trying to Consume Web Service in our SOA Application and we are getting the following error:-
    "java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyy.svc ".
    Scenario*:-
    1.The Web Service that we are trying to consume is built on Microsoft Dynamics AX Framework and is using Windows Authentication and we are using Oracle Soa Suite 11g(11.1.1.5) to access it.
    2.The Web Serice is Hosted on IIS server 7.0 . The Soa server and IIS server both are on the same domain(Also need to confirm that is there any need to pass credentials while consuming Web Services when both the servers are on same domain??).
    3.We have tested the Web Service in SOAP UI and is working fine only when we pass the Username,Password and Domain.And if we do not pass the User Credentials then we get the following error:-
    " 401 - Unauthorized: Access is denied due to invalid credentials.
    You do not have permission to view this directory or page using the credentials that you supplied."
    4.We can even access the WSDL from the browser.
    Plz help me out to resolve this issue.Will be really greatfull
    Edited by: 937798 on May 31, 2012 2:36 AM

    910764
    1:- I have not begged or requested for marking all answers as helpful. If answers are helpful then post author can do that.
    2:- I also follow same practice. I dont blindly mark all answers correct or helpful. It can waste other's time. Correct marking is very important. Hence my all question are not having close end.Few are still open for correct answers. I will happily mark them correct if you can help me in that.
    In the end , I will say Kindly refrain yourself using this platform as facebook or other social networking websites.
    I hope you will understand seriousness of this forum and utilize its member's posts at the most.
    Thanks,
    Ashu

  • Sample code to access BAPI Web services from JAVA required

    Hi All,
    I am a java developer. I am new to SAP. I just want to know how to use the web services from ABAP
    I got the WSDL, and able to convert the WSDL into java classes using java2wsdl command.
    Now i want to know how to use these classes, in my java class.  i want to know two things
    1) How to get authentication or session  or token to use the service
    2) How to consume BAPI services by using above session or token.
    Any help, really appreciated. Plz help me if any one knows.
    Thanks alot,
    Mohan

    Triplehhh wrote:
    Hi,
    I have a web application developed with java,jsp and javascript and server used is weblogic.
    Now this application is running fine on my PC. I assume from this that there is no client side Java. Is this right?
    So what steps are required so that I can access the application from other PCs also.If there is no client side Java then you have to do nothing other than make sure your PC can be reached from the other PCs. i.e. no firewalls blocking the access and routing available between the client PC and the server PC.
    I don't see what this has to do with JNLP. Am I missing something?

  • Error when trying to access a secured web service from Forms 10g 10.1.2.3

    Hello,
    I'm trying to access a secured web service from Forms10g 10.1.2.3 but i'm getting the next error when pressing the button the first time:
    java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException:
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 UnauthorizeWhen i press the button a second time i got this error:
    javax.xml.rpc.soap.SOAPFaultException: The SOAP request is invalid. The required node 'Envelope' is missingThis is the code i have in my button:
    DECLARE
    jo ora_java.jobject;
    pdfObject ora_java.jobject;
    pdf     varchar2(900);
    rv varchar2(100);
    ex ora_java.jobject;
    BEGIN
    JO := SEARCHSOAPCLIENT.new;
    SEARCHSOAPCLIENT.setUsername(JO,'weblogic');
    SEARCHSOAPCLIENT.setPassword(JO,'welcome1');
    pdfObject := SEARCHSOAPCLIENT.quicksearch(JO,'1234',NULL);
    pdf := SEARCHSOAPCLIENT.tostring(pdfObject);
    message(pdf);
    message(' ');
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    :error := Exception_.toString(ex);
    END;When i run it from JDeveloper it works, this is a portion of java code the proxy web service has:
    import oracle.webservices.transport.ClientTransport;
    import oracle.webservices.OracleStub;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Stub;
    public class SearchSoapClient {
        private webservicesproxywebcontent.proxy.SearchSoap _port;
        public SearchSoapClient() throws Exception {
            ServiceFactory factory = ServiceFactory.newInstance();
            _port = ((webservicesproxywebcontent.proxy.Search)factory.loadService(webservicesproxywebcontent.proxy.Search.class)).getSearchSoap();
            this.setUsername("weblogic");
            this.setPassword("welcome1");
            System.out.println("callling from _port "+ _port.quickSearch("1234234", null));
         * @param args
        public static void main(String[] args) {
            try {
                webservicesproxywebcontent.proxy.SearchSoapClient myPort = new webservicesproxywebcontent.proxy.SearchSoapClient();
                System.out.println("calling " + myPort.getEndpoint());
            } catch (Exception ex) {
                ex.printStackTrace();
         * delegate all operations to the underlying implementation class.
        public QuickSearchResult quickSearch(String queryText, IdcPropertyList extraProps) throws java.rmi.RemoteException {
            return _port.quickSearch(queryText, extraProps);
        }Also the secured web service was generated from Webcenter Content 11.1.1.6 that is why it's a secured web service.
    Kind Regards
    Carlos

    Without going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.

Maybe you are looking for

  • Remote and Wireless Router

    Hello All, I installed remote on my iPhone yesterday, and today my wireless router doesn't work, it just seems not to work @ all. Probably just one those things but just want to throw it out there.

  • Using Oracle Sequence

    I am using sequence to generate Id in table. I need the generated value in program to inster that value in another table. right now i am selecting value from "select <seq>.nextval from dual" is this right way or there is other better way of doing thi

  • Our apologies for today's outage

    Hi Community Users, We experienced an outage for about 4-5 hours ago at 3:30pm (GMT-7 Pacific time) . Unfortunately, due to data corruption, we had to roll back to the forum as it was Sunday, 8/4/13.  Messages posted after that time were lost. Please

  • How to avoid DISTINCT in OBIEE SQL

    Hi... For question i posted previously... Problem with LONG datatype in Answers I run the query in TOAD, and i was identified the error because of what this error is coming... because of DISTINCT... I have taken care of avoiding that column in ORDER

  • Blackmail and Threatening via Skype

    There's a girl added me in Facebook on Monday (26/5) and then we started skype and she was naked. She ask me to take off my shirt ans go naked so i blindly followed what she says without thinking of the consequences. I am very regret now as the short