NoSuchMethodError when trying to invoke web Service in Clustered Environmen

I have a Weblogic Web Service that calls another Weblogic Web Service through the use of a Web Service Control.
(Both the services are deployed in Weblogic 10.0)
My Web Serivce works fine when deployed on Admin Server, but when it is deployed in managed server, it throws a NoSuchMethodError when i try to call this Service. (Through weblogic test client or any other web service testing tool).
I have verified that it is because of the presence of web service control, but i dont have any resolution for that.
Here below is the stack trace of the error that i am getting.
java.lang.NoSuchMethodError: com.bea.wlw.util.internal.WlwLogger.debug(Ljava/lang/Object;)V
at weblogic.controls.jws.ControlListener.onCreate(ControlListener.java:84)
at weblogic.wsee.jws.container.CompositeListener.onCreate(CompositeListener.java:55)
at weblogic.wsee.jws.container.Container.init(Container.java:123)
at weblogic.wsee.jws.container.Container.<init>(Container.java:79)
at weblogic.wsee.jws.container.ContainerFactory.createContainer(ContainerFactory.java:51)
at weblogic.wsee.jws.container.ContainerFactory.getContainer(ContainerFactory.java:31)
at weblogic.wsee.jws.container.ContainerHandler.getContainer(ContainerHandler.java:40)
at weblogic.wsee.jws.container.ContainerHandler.handleRequest(ContainerHandler.java:27)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Please help..
Ashwini

I would ask this in the workshop newsgroup.
Ashwini Sharma wrote:
I have a Weblogic Web Service that calls another Weblogic Web Service through the use of a Web Service Control.
(Both the services are deployed in Weblogic 10.0)
My Web Serivce works fine when deployed on Admin Server, but when it is deployed in managed server, it throws a NoSuchMethodError when i try to call this Service. (Through weblogic test client or any other web service testing tool).
I have verified that it is because of the presence of web service control, but i dont have any resolution for that.
Here below is the stack trace of the error that i am getting.
java.lang.NoSuchMethodError: com.bea.wlw.util.internal.WlwLogger.debug(Ljava/lang/Object;)V
at weblogic.controls.jws.ControlListener.onCreate(ControlListener.java:84)
at weblogic.wsee.jws.container.CompositeListener.onCreate(CompositeListener.java:55)
at weblogic.wsee.jws.container.Container.init(Container.java:123)
at weblogic.wsee.jws.container.Container.<init>(Container.java:79)
at weblogic.wsee.jws.container.ContainerFactory.createContainer(ContainerFactory.java:51)
at weblogic.wsee.jws.container.ContainerFactory.getContainer(ContainerFactory.java:31)
at weblogic.wsee.jws.container.ContainerHandler.getContainer(ContainerHandler.java:40)
at weblogic.wsee.jws.container.ContainerHandler.handleRequest(ContainerHandler.java:27)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Please help..
Ashwini

Similar Messages

  • Getting error when trying to invoke web service - disable SSL

    Hi
    Please advise me how to disable the SSL for bpel.
    The problem which am facing is as below
    I am trying to invoke web service in another site, its showing me error as
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExpiredException:
    Now i would like to disable the SSL for this handshake, so that it wont look for certificates and invokes the web service directly, right.
    So please advise how to disable to SSL in bpel (10.1.2) now.
    Thanks
    Suneel Jakka

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • A failure was reported when trying to invoke a service application: EndpointFailure

    Event logs getting spammed with this - can't find anything specific on the internet:
    A failure was reported when trying to invoke a service application: EndpointFailure
    Process Name: OWSTIMER
    Process ID: 6316
    AppDomain Name: DefaultDomain
    AppDomain ID: 1
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:ba2301f4153b44a584c0065555ff67b5#authority=urn:uuid:02089d3f1be64db184670ab3f4060abc&authority=https://rsacdfsp02:32844/Topology/topology.svc
    Active Endpoints: 3
    Failed Endpoints:1
    Affected Endpoint: http://<server>:32843/ba2301f4153b44a584c0065555ff67b5/SearchService.svc
    When I browse to the Affected Endpoint (SearchService.svc) I get the below:
    This is a Windows© Communication Foundation service.
    Metadata publishing for this service is currently disabled
    If you have access to the service, you can enable metadata publishing by completing the following steps to modify your web or application configuration file:
    1. Create the following service behavior configuration, or add the <serviceMetadata> element to an existing service behavior configuration:

    Hi,
    refer the below article
     although articled focused on the App Management service application, endpoint failures can occur for just about any SharePoint service application and these steps should be applicable for those as well.
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/01/29/troubleshooting-app-management-wcf-end-point-failures.aspx
    Regards
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • GenericServiceFactory initialization problem when trying to load Web servic

    Hi,
    I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
    GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
    Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
    Can anyone help ?
    Thanks in advance

    Hi Hans,
    Have you verified if you can call any external web service calls from your J2EE engine?  Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
    Look at your proxy settings and set them like your web browser that enables external calls.  For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
    Proxy host:  proxy
    Proxy port: 8080
    Exclude list:  *.sap.corp
    Does that make sense - have you verified if your settings are correct for your company?
    Regards
    Ginger

  • "Connection error. Check Internet connection." when trying to Enable Web Services on HP 1606dn

    Error message "Connection error. Check Internet connection." when trying to Enable Web Services on HP Laserjet 1606dn.
    Operating system: Windows 7
    Thanks for helping,
    Howard
    UPDATE 21-7-13: After upgrading the firmware to the lastest version, I could enable web services. Big help was this video: http://www.youtube.com/watch?v=Q5gpIGZXDXw
    This question was solved.
    View Solution.

    Hi,
    Please try the following.
    1. Open an internet browser type printer's IP address.
    2. Should bring you to the printer's status page.
    3. Select the networking tab at the top.
    4. Left hand side select IPv4 under wireless.
    5. Under DNS address Configuration select Manual DNS Server.
    6. For Preferred enter 8.8.8.8
    7. For Alternate enter 8.8.4.4
    8. Select apply. You might get a warning saying this could interrupt connection that's fine.
    9. Turn printer off for about 30 seconds then try again.
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Error on page when trying to test web service in EM

    Hi,
    I've developed a couple of web services in JDeveloper and tested them through Enterprise Manager. But the latest service won't work as expected. When I press "Test Web Service" for this particular port I get the message "Error on page" and
    "Line: 94
    Char: 1
    Error: Object expected
    Code: 0"
    For the other web services the possible input parameters are shown as an HTML form and you can also choose to use an XML source. But this won't work in this case. No input parameters are shown and you can't choose XML source.
    My question is of course the reason for this behaviour. And secondly; are the possible input parameters retrieved from the xsd file or from somewhere else? Could there be an error in it causing the problem? I'd be happy to provide some code, although right now I'm not sure which code snippet is appropriate.
    Thanks in advance!
    Kerstin

    Update:
    Now I see that there are in fact two error messages. The second one is the one presented above. But the first one says:
    Line: 145
    Char: 97
    Error: Expected ';'
    Code: 0
    My question now is to what file it is referring?? Is it to ProjectAccountingPort.js that is automatically created? THen why is it not properly created??
    Please, please help me with this! The deadline is in a few days...

  • Getting "Origin is not allowed" When Trying to Invoke RESTful Service from Another Domain

    I am having problems trying to invoke my RESTful web service from a different domain. I'm well aware of the normal restrictions of cross-site / cross-domain scripting but in Oracle documentation it says that all origins are allowed by default when creating a RESTful service without using authentication.
    I have created a very simple service and am trying to invoke it using jQuery.Ajax calls from a different domain and I am getting XMLHttpRequest cannot load http://address_to_my_web_service. Origin http://calling_from_address is not allowed by Access-Control-Allow-Origin.
    I understand that using JSONP instead of JSON is actually the best practice around cross-site scripting but it appears as though APEX does not support JSONP because with JSONP, there are URI parameters added to the base request (callback).
    I am stuck and would greatly appreciate any help.
    I'm starting to wonder if this could be a bug because Oracle documentation says all origins should be allowed when using a service that does not require authentication. I also tried to force the origin to be allowed by typing it in and also using the wildcard '*' and it still did not work.
    Thanks,
    Mark Williamson
    EDIT: It is now working after adding a URI prefix to my web service module.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • Errors trying to Invoke web service using BES and SIF

    Moved this up from the Integration Forum to see if I can get some visibility on it.
    Description : When an invoice get's approved we need to pass on the details of the invoice and approval to the 3rd party customer.
    So far I have been able to test the business event which calls the web service that writes the information to a file. However, although the file is created there is no content in the file.
    So the steps up to this point
    1. Create a simple web service that takes a string as an input parameter and writes this out to a file.
    2. Locate the Approve Invoice event [oracle.apps.ap.event.invoice.approval] and add a new subscription that will invoke my web service.
    I have a number of issues at the moment.
    From the business event page I can test the event which writes a record to the wf_java_deferred queue. I have been able to call the service and create a file however that seems to have stopped working. Where do I look to see what's going wrong? Is the diagnostics the best place to start
    If I go into Status Monitoring I can see the last Business Event test I did is now having errors when it tries to invoke the web service. The error I get is
    Error Activity ID          
    Error Activity Label          
    Error Assigned User          
    Error Item Type          
    Error Item Key          
    Error User Key          
    Error Message          oracle.apps.fnd.wf.bes.InvokerException: Event payload is not available
    Error Name          
    Error Notification ID          
    Error Result Code          
    Error Stack          oracle.apps.fnd.wf.bes.InvokerException: Event payload is not available at oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription.onBusinessEvent(WebServiceInvokerSubscription.java:236) at
    oracle.apps.fnd.wf.bes.EventDispatcher.executeSubscription(EventDispatcher.java:870) at oracle.apps.fnd.wf.bes.EventDispatcher.processSubscription(EventDispatcher.java:556) at
    oracle.apps.fnd.wf.bes.EventDispatcher.dispatch(EventDispatcher.java:335) at oracle.apps.fnd.wf.bes.AgentListenerProcessorNew.processMessage(AgentListenerProcessorNew.java:373) at
    oracle.apps.fnd.cp.gsc.SvcComponentProcessor.process(SvcComponentProcessor.java:659) at oracle.apps.fnd.cp.gsc.Processor.run(Processor.java:283) at java.lang.Thread.run(Thread.java:619)
    Error Monitor URL          
    Timeout Value          0
    Event Name          oracle.apps.ap.event.invoice.approval
    Event Details          PLSQL:WF_STANDARD.EVENTDETAILS/WFERROR:332124
    Event Message          View Event Message
    Event Key          3134525_1
    Event Data URL     http://hostname.co.nz:8000/OA_HTML/RF.jsp?function_id=18157&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US&
    params=.tut9vCLHp8BRzYkdaLWV3ekOnBGTRSUSr1RYBqw0ISKruqT5nAzoOSzIkWSQrzWO8z23dyX31GlRw75r21ich1KC4hE2KL.ZedjIDcPalm8f.akDClydWkRR3w2eGuk
    Event Subscription http://hostname:8000/OA_HTML/RF.jsp?function_id=26058&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US&
    params=fR9VOZbtfJEdYQNb645CRU3kD39os3CZwt7XUpbOYb1RImgFkWaeDFEV0SCaVn1M
    Error Type          UNEXPECTED
    Error Details          PLSQL:WF_STANDARD.ErrorDetails/WFERROR:332124
    Administrator Role          SYSADMIN
    Subscription Details          PLSQL:WF_STANDARD.SubscriptionDetails/WFERROR:332124
    Error Person ID          
    Error Person Username          
    How do I get access to the payload? I only really need 2 or 3 items at this time. Do I need to extend a seeded java function? For example in my initial tests I only want to pass across the Invoice Id so how do I get the value of this attribute out of the wf_event_t (Is this the correct object name) and into the payload that is being passed across to the service call.
    Cheers
    Owen

    Hello Owen
    I am experiencing the exact same issue as you are (missing payload) when invoking a web service and was wondering if you have resolved this issue or gotten any new useful information?
    Regards,
    Magnus

  • Error from JNI.ADD_OBJECT_ARG when trying to access web service

    Hi,
    I'm hoping someone can help me with this. I am very new to Java and my lack of experience is probably killing me...
    Trying to be very explicit probably caused me to create a very lengthy post..my apologies...
    My issue:
    I've created a post_database_commit trigger to access my web service (written in C# .NET). I used JDeveloper 10.3.3.1 to create the wrapper code using my WSDL file. I am receiving an error message "Unable to call out to Java, invalid object type for argument 1" when the code line 'rv := UIDItemSvcSoap12Client.addUidItem(my_object, a0);' is executed in the trigger. I do not see the reason for the error.
    Here are code excerpts:
    (Post_database_commit trigger)
    rv varchar2(1000);
    ex ora_java.jobject;
    a0 ora_java.jobject;
    my_object ORA_JAVA.jOBJECT;
    BEGIN
    my_object := UIDItemSvcSoap12Client.new() ;
    ---create args list (Varchar2 in, jobject out)
    a0 := Exception_.new(:uid_table.uid_no);
    UIDItemSvcSoap12Client.main(a0);
    rv := UIDItemSvcSoap12Client.addUidItem(my_object, a0);
    (Package spec)
    -- Method: addUidItem (Luidwebsvcproject/proxy/UIDItem;)Ljava/lang/String;
    FUNCTION addUidItem(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JOBJECT) RETURN VARCHAR2;
    (Entire Package body created by Jdeveloper)
    PACKAGE BODY UIDItemSvcSoap12Client IS
    -- DO NOT EDIT THIS FILE - it is machine generated!
    args JNI.ARGLIST;
    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := NULL;
    RETURN (JNI.NEW_OBJECT('uidwebsvcproject/proxy/UIDItemSvcSoap12Client', '()V', args));
    END;
    -- Method: main ([Ljava/lang/String;)V
    PROCEDURE main(
    a0 ORA_JAVA.JARRAY) IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
    JNI.CALL_VOID_METHOD(TRUE, NULL, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'main', '([Ljava/lang/String;)V', args);
      END;
      -- Method: getPort ()Luidwebsvcproject/proxy/UIDItemSvcSoap;
      FUNCTION getPort(
        obj   ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getPort', '()Luidwebsvcproject/proxy/UIDItemSvcSoap;', args);
      END;
      -- Method: getClientTransport ()Loracle/webservices/transport/ClientTransport;
      FUNCTION getClientTransport(
        obj   ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getClientTransport', '()Loracle/webservices/transport/ClientTransport;', args);
      END;
      -- Method: addUidItem (Luidwebsvcproject/proxy/UIDItem;)Ljava/lang/String;
      FUNCTION addUidItem(
        obj   ORA_JAVA.JOBJECT,
        a0    ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(1);
        JNI.ADD_OBJECT_ARG(args, a0, 'uidwebsvcproject/proxy/UIDItem');
        RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'addUidItem', '(Luidwebsvcproject/proxy/UIDItem;)Ljava/lang/String;', args);
      END;
      -- Method: getEndpoint ()Ljava/lang/String;
      FUNCTION getEndpoint(
        obj   ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getEndpoint', '()Ljava/lang/String;', args);
      END;
      -- Method: getMaintainSession ()Z
      FUNCTION getMaintainSession(
        obj   ORA_JAVA.JOBJECT) RETURN BOOLEAN IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_BOOLEAN_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getMaintainSession', '()Z', args);
      END;
      -- Method: setMaintainSession (Z)V
      PROCEDURE setMaintainSession(
        obj   ORA_JAVA.JOBJECT,
        a0    BOOLEAN) IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(1);
        JNI.ADD_BOOLEAN_ARG(args, a0);
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'setMaintainSession', '(Z)V', args);
      END;
      -- Method: setUsername (Ljava/lang/String;)V
      PROCEDURE setUsername(
        obj   ORA_JAVA.JOBJECT,
        a0    VARCHAR2) IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(1);
        JNI.ADD_STRING_ARG(args, a0);
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'setUsername', '(Ljava/lang/String;)V', args);
      END;
      -- Method: getUsername ()Ljava/lang/String;
      FUNCTION getUsername(
        obj   ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getUsername', '()Ljava/lang/String;', args);
      END;
      -- Method: setPassword (Ljava/lang/String;)V
      PROCEDURE setPassword(
        obj   ORA_JAVA.JOBJECT,
        a0    VARCHAR2) IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(1);
        JNI.ADD_STRING_ARG(args, a0);
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'setPassword', '(Ljava/lang/String;)V', args);
      END;
      -- Method: getPassword ()Ljava/lang/String;
      FUNCTION getPassword(
        obj   ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getPassword', '()Ljava/lang/String;', args);
      END;
      -- Method: setEndpoint (Ljava/lang/String;)V
      PROCEDURE setEndpoint(
        obj   ORA_JAVA.JOBJECT,
        a0    VARCHAR2) IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(1);
        JNI.ADD_STRING_ARG(args, a0);
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'setEndpoint', '(Ljava/lang/String;)V', args);
      END;
      -- Method: hashCode ()I
      FUNCTION hashCode(
        obj   ORA_JAVA.JOBJECT) RETURN NUMBER IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_INT_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'hashCode', '()I', args);
      END;
      -- Method: getClass ()Ljava/lang/Class;
      FUNCTION getClass(
        obj   ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getClass', '()Ljava/lang/Class;', args);
      END;
      -- Method: wait (JI)V
      PROCEDURE wait(
        obj   ORA_JAVA.JOBJECT,
        a0    NUMBER,
        a1    NUMBER) IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(2);
        JNI.ADD_LONG_ARG(args, a0);
        JNI.ADD_INT_ARG(args, a1);
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'wait', '(JI)V', args);
      END;
      -- Method: wait ()V
      PROCEDURE wait(
        obj   ORA_JAVA.JOBJECT) IS
      BEGIN
        args := NULL;
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'wait', '()V', args);
      END;
      -- Method: wait (J)V
      PROCEDURE wait(
        obj   ORA_JAVA.JOBJECT,
        a0    NUMBER) IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(1);
        JNI.ADD_LONG_ARG(args, a0);
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'wait', '(J)V', args);
      END;
      -- Method: equals (Ljava/lang/Object;)Z
      FUNCTION equals(
        obj   ORA_JAVA.JOBJECT,
        a0    ORA_JAVA.JOBJECT) RETURN BOOLEAN IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(1);
        JNI.ADD_OBJECT_ARG(args, a0, 'java/lang/Object');
        RETURN JNI.CALL_BOOLEAN_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'equals', '(Ljava/lang/Object;)Z', args);
      END;
      -- Method: notify ()V
      PROCEDURE notify(
        obj   ORA_JAVA.JOBJECT) IS
      BEGIN
        args := NULL;
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'notify', '()V', args);
      END;
      -- Method: notifyAll ()V
      PROCEDURE notifyAll(
        obj   ORA_JAVA.JOBJECT) IS
      BEGIN
        args := NULL;
        JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'notifyAll', '()V', args);
      END;
      -- Method: toString ()Ljava/lang/String;
      FUNCTION toString(
        obj   ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
      BEGIN
        args := NULL;
        RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'toString', '()Ljava/lang/String;', args);
      END;
    BEGIN
      NULL;
    END;
    (Code from JDeveloper)
        public String addUidItem(UIDItem UIDItem) throws java.rmi.RemoteException {
            return _port.addUidItem(UIDItem);
        }

    That's a network or server issue, not a problem with your Mac.

  • Security Error when trying to access web service

    I have an app that connects over HTTPS to a web service on
    our internal network. The interface to the web service was created
    by using the WSDL Import function of the Flex IDE.
    I can run the app and retrieve data without a problem when I
    run from the debug-bin folder that the Flex IDE compiles to.
    However, I cannot connect to the web service from anywhere else,
    such as a different location on my own local drives, a network
    drive, or another persons machine.
    I've setup a local instance of Apache with mod_ssl so I could
    host the app under an HTTPS connection itself, which the
    documentation seemed to imply that would work. However, when I run
    the app, I get:
    [FaultEvent fault=[RPC Fault faultString="Security error
    accessing url" faultCode="Channel.Security.Error"
    faultDetail="Destination: DefaultHTTPS"] messageId=null
    type="fault" bubbles=true cancelable=true eventPhase=2]
    I am accessing the app by going to
    https://mymachine.companydomain.com/myapp.html, and the web service
    is being accessed through https://webservice.companydomain.com/.
    Anybody have any thoughts on what I should be looking at?
    I've been searching and trying things for a few days with no luck.
    Any help would be appreciated. Thanks.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • Fix for "Not Connected" Error Messages When Trying to Access Web Services

    If you run across an error message on your printer stating that it is "Not Connected" when trying to access ePrint or your Apps, but you know it is connected to the internet, it probably just means that the printer is not connecting to the server properly.
    Here is the first set of steps I would try, since they seem to resolve this issue half of the time.
    The first thing I would try in this situation is a network reboot.
    First, disconnect the power cord from the back of your router. 
    Next disconnect the power cord from either the back of the printer or the wall, without powering it off first. 
    Wait about 30 seconds and reconnect the power cord to your router.
    Wait about another 30 seconds and plug the printer back in. It should boot back up automatically, but if it doesn't go ahead and press the power button.
    Once everything is back up and running, try to access ePrint or your Apps.
    If those steps don't work for you, the next thing would be setting a Static IP & DNS for the printer. Before doing this, you want to print off a network configuration page. It varies from model to model, but it is usually found under the Wireless Settings or under Reports in the Setup menu. After you have that page, follow these steps.
    Before we start, we need a network configuration page with your current connection settings. To get this, press the wireless button on the front of your printer and then press "Print Info" or "Print Report". This will print off a network configuration page, which has information on it that we need to complete the next few steps.
    After you have that, we will need to access the printers Embedded Web Server (EWS). You can do so by entering the printers IP address (from the network configuration page) into your browsers address bar and pressing enter.
    Once there, press the "Network" tab at the top of the page. From there you will want to click the "IPv4" button, located on the lef-hand side of the page. It will be there for WIreless and Wired, so make sure to click the one for you however you are connected. If you do not see "IPv4", you should see "Networking", press that and then press "Network Address(IP)".
    Next, you will want to click the small round button next to "Manual IP Address" and then fill in the boxes for IP Address, Subnet Mask, and Default Gateway, using the information found on the network configuration page.  
    For the Primary or Preffered DNS Server, you will want to enter 8.8.8.8.
    For the Secondary or Alternate DNS Server, you will want to enter 8.8.4.4.
    Click apply and when the message pops up saying that the changes have been applied, press "OK". 
    Press the power button on your printer, wait for it to fully power off and then press it again to power it back on.
    After doing this, go ahead and try to enable ePrint again.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    This question was solved.
    View Solution.

    The reason we recommend using 8.8.8.8 and 8.8.4.4 for the DNS server is because they work when ISP assigned DNS servers do not. The DNS server assigned to you by your ISP is not able to resolve the domain for web services, therefore not allowing the printer to connect. 
    I assure you that it is with your ISP's DNS server and not the printer. If you were to take the printer back to the store and get a replacement, you would have the same issue, unless you changed the DNS. Same goes for any of our web service enabled printers. 
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Unsupported Version error when trying to run Web Services Tutorial example

    Hi there,
    I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
    Buildfile: build.xml
    BUILD FAILED
    java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
    ed major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
    C:\jwstutorial20\examples\jaxws\helloservice>java -version
    java version "1.5.0_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
    Could you please help me with this problem?
    Thanks in advance.
    Azeem.

    Hi Azeem.
    Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
    BTW.
    You don't have to uninstall jdk1.4.
    Cheers!!!

  • Exception when trying to use web service login method

    Hi all,
    we've installed Discoverer, upgraded OAS to version 10.1.2 and installed the web service patch successfully. I can get the list of web service methods through
    http://app1.localdomain:7778/discoverer/wsi
    We've also created a bipublisher user in oiddas, and got it's guid. When I try to use the login method of the web services I get this exception:
    <?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:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>oracle.discoverer.applications.ws.util.DiscovererWSException: An error occurred during SSOUsername/GUID lookup.</faultstring>
    <faultactor>/discoverer/wsi</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>Does anyone have a clue what the problem is? I should also mention that after my DBA's advice we didn't upgrade the infrastructure instance, only the middle tier discoverer installation and then installed the repository upgrade.
    A few months back on a test installation I had tried to switch to SSO and then reverted back and managed to connect without SSO enabled.
    Edited by: dvm on Nov 11, 2008 7:22 AM

    Well... this is definitelly not a requirement.
    The code snippet came from the test (junit) for something which is much bigger. And of course the 1-char long table name has nothing to do with desing. At all.
    We have a system where a user defines (named) xml structures, so to say. The structures are then "translated" into DB entities. So the result DB schema is fully auto-generated. The system supports 4 different SQL dialects. Oracle is just one of them.
    Having restrictions like "name of a structure must be at least two characters" is no problem. But I still can`t believe Oracle has such a limitation. It does not sound logical (to me at least). And I had a hope may be someone has an explanation for that thing.
    The code above works just fine if I do not request certain columns back after the statement is executed. (e.g. without the second parameter).
    But anyway... I would post a bug for this, if I knew where to post it to :)
    Thanks.

  • When trying to initiate Web Services getting server connection error

    HP PhotoSmart 5510, 6510 and 7510 all get Server Connection Error when trying to do the initial Web Services setup.  I connected with no problem to my wireless router and have received an ip address but all three printer give me the same error when trying to set up web services.  Any insight would be appreciated.

    Hello cdecicco,
    I answered a post with similar issues where someone was unable to connect to Web Services on their printer. Here is the link:
    http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile/ePrint-3070A/m-p/1250295#M15308
    Let me know if this helps or you need more assistance.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Ora31011,ora19202,lpx00104 when trying to create web service

    I'm stepping through Oracle htmldbDB 2 day How to create a Web Service http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b16376/web_serv.htm#sthref155
    To create a Web service reference by searching for a business name:
    Navigate to the Application Builder home page.
    Click Shared Components.ok
    Under Logic, select Web Service References.
    The Web Service References page appears.
    Click Create.ok
    When prompted whether to search a UDDI registry to find a WSDL, select Yes okand click Next.ok
    For UDDI Location, select IBM UDDI okand click Next.ok
    On Search:
    For Search Type, select Business Name.ok
    In Name, enter:
    %xMethods%ok
    Click Search.ok
    At this point (Search), page returned is:
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00104: Warning: element "html" is not declared in the DTD Error at line 2
    I don't know how to resolve this.
    Thank you.
    Albert.

    Hello Marco,
    Ok on IBM. Thank you for pointing out the link on IBM shutting service.
    But..., in an effort to complete the tutorial and confirm I have a working web service solution (anyone's implementation), I tried the alternatives as you suggested.
    When I chose
    Oracle (http://otn.oracle.com/uddiapi/inquiry) and search for %xMethod%
    I get
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00104: Warning: element "HTML" is not declared in the DTD Error at line 2
    When I choose XMethods http://uddi.xmethods.net/inquire and search for %xMethod% or %stock% or stock (no percents)
    I get
    No service found
    When I choose Microsoft, http://uddi.microsoft.com/inquire and search for %xMethod%
    I get
    No service found
    I tried using an example from Microsoft site, (hoping they have a working solutionn) at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpwst/html/odc_ofwstrex.asp, setting the uddi location to http://www.themindelectric.com/wsdl/net.xmethods.services.stockquote.StockQuote/ and the Business Name to getQuoteRequest1
    didn't work, got:
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00104: Warning: element "HTML" is not declared in the DTD Error at line 2
    changed to Service Name to getQuoteRequest1
    didn't work, got same error message
    So, if you (or someone) has a working solution, please post at your convenience.
    Thank you.
    Albert.

Maybe you are looking for