Consuming utl_dbws webservice via proxy gives error (sometimes)

Hi all,
We provide a webservice for our clients, and some of them have reported they have issues calling a specific operation. Only clients who connect through a proxy have this problem. Others can call the service without issues.
When I browse to the wsdl (both from my local machine, and via an RDP-session to our customer's network) I get result, so I know the service itself works and that we can connect to it.
The service has 4 operations, each returning an xmltype.
When I call the first operation (from my machine aswell as the customer's machine), I get the correct result.
When I call the second operation from my machine, I get the expected result, but hen I call it from the customer's machine however (which connects via a proxy), the service errors out with following message:
ORA-29532: Java call terminated by uncaught Java exception: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>
<STYLE>A:link {
     FONT: 8pt/11pt verdana; COLOR: #ff0000
A:visited {
     FONT: 8pt/11pt verdana; COLOR: #4e4e4e
</STYLE>
<META content=NOINDEX name=ROBOTS>
<META http-equiv=Content-Type coI've written the entire SQLERRM to a table to be sure, but that's all there is in it.
The operation requires no parameters, so there isn't something wrong with my input.
The code i use to call the service is as follows:
      -- service en call aanmaken
      v_service := create_service(service_name => to_qname(i_name_space => NULL,
                                                           i_name       => get_ws_param_val(i_ws_code    => i_ws_code,
                                                                                            i_param_code => 'SERVICE_NAME')));
      v_call    := create_call(service_handle => v_service);
      -- proxy instellen indien nodig
      v_proxy := get_ws_param_val(i_ws_code => i_ws_code, i_param_code => 'HTTP_PROXY');
      IF v_proxy IS NOT NULL THEN
         set_http_proxy(httpproxy => v_proxy);
      END IF;
      -- endpoint instellen
      v_endpoint := get_ws_param_val(i_ws_code => i_ws_code, i_param_code => 'ENDPOINT');
      IF instr(lower(v_endpoint), '?wsdl') > 0 THEN
         v_endpoint := substr(v_endpoint, 1, length(v_endpoint) - 5);
      END IF;
      set_target_endpoint_address(call_handle => v_call, endpoint => v_endpoint);
      set_property(call_handle => v_call,
                   key         => 'SOAPACTION_USE',
                   VALUE       => get_operation_param_val(i_ws_code        => i_ws_code,
                                                          i_operation_code => i_ws_operation,
                                                          i_param_code     => 'SOAP_ACTION_USE'));
      set_property(call_handle => v_call,
                   key         => 'SOAPACTION_URI',
                   VALUE       => get_operation_param_val(i_ws_code        => i_ws_code,
                                                          i_operation_code => i_ws_operation,
                                                          i_param_code     => 'SOAP_ACTION_URI'));
      set_property(call_handle => v_call,
                   key         => 'OPERATION_STYLE',
                   VALUE       => get_ws_param_val(i_ws_code    => i_ws_code,
                                                   i_param_code => 'OPERATION_STYLE'));
      set_property(call_handle => v_call,
                   key         => 'ENCODINGSTYLE_URI',
                   VALUE       => get_ws_param_val(i_ws_code    => i_ws_code,
                                                   i_param_code => 'ENCODING_STYLE_URI'));
      -- eventueel username instellen
      v_username := get_ws_param_val(i_ws_code => i_ws_code, i_param_code => 'USERNAME');
      IF v_username IS NOT NULL THEN
         set_property(call_handle => v_call, key => 'USERNAME', VALUE => v_username);
         set_property(call_handle => v_call,
                      key         => 'PASSWORD',
                      VALUE       => get_ws_param_val(i_ws_code    => i_ws_code,
                                                      i_param_code => 'PASSWORD'));
      END IF;
      -- request opbouwen met parameters
      v_target_ns := get_ws_param_val(i_ws_code => i_ws_code, i_param_code => 'TARGET_NAMESPACE');
      v_req_root  := get_operation_param_val(i_ws_code        => i_ws_code,
                                             i_operation_code => i_ws_operation,
                                             i_param_code     => 'REQUEST_ROOT');
      v_request   := xmltype('<' || v_req_root || ' xmlns="' || v_target_ns || '"/>');
      v_request   := v_request.appendchildxml(xpath      => '/' || v_req_root,
                                              value_expr => i_parameters.extract('/parameters/*'),
                                              namespace  => 'xmlns="' || v_target_ns || '"');
      -- web service oproepen
      v_response := invoke(call_handle => v_call, request => v_request);
      -- vernietigen van gemaakte objecten
      release_call(call_handle => v_call);
      release_service(service_handle => v_service);
      RETURN v_response;The invoke procedure:
   -- Invokes a Document-style webservices in a synchronous
   -- request-response interaction mode.
   --   callHandle - the instance of the call
   --   request - a SOAPElement request
   --   Returns a SOAPElement response
   FUNCTION invoke(call_handle CALL,
                   request     sys.xmltype) RETURN sys.xmltype IS
   BEGIN
      set_call(call_handle);
      RETURN invoke_proxy(request);
   END invoke;
   FUNCTION invoke_proxy(request sys.xmltype) RETURN sys.xmltype AS
      LANGUAGE JAVA NAME 'oracle.jpub.runtime.dbws.DbwsProxy.invokeProxy(oracle.xdb.XMLType) return oracle.xdb.XMLType';I've been searching the web for half a day now and havn't found anything helpful. I'm actually considering rewriting my code to use utl_http (as I've done before) but that would be my last resort.
Anyone have any ideas as to why this sometimes fails?
TIA!
ps: Moderators, if this is in the wrong forum, feel free to move it.
Edited by: Jo on Jul 16, 2012 3:20 AM -> fixed the code blocks

Some extra info: the webservice is hosted in an OC4J container on a 10g application server (judging from the Help pages I'm guessing the full version number is 10.1.3).
I can access the Enterprise Manager and I found a Logs section in there.
The "Last modified" column for the webservices' Audit and Trace logs show June 30, with a size of 0B (even though I tried again a couple of times today).
The diagnostic logs (found in the Components -> OC4J -> webservices (this is the container's name) -> Diagnostic Logs section) show a couple of warnings in there on July 16, at about the same time I tried executing the webservice, with a Message Text saying "Unable to determine operation id from SOAP Message.", but there's no log for today, so not really sure if that's the correct file.
The server.log (Components -> OC4J -> webservices -> server.log) keeps updating, but shows only "oracle.ons.Notification@1b4fd6a" messages, so that's probably not it either.
I can also see the response/load graph updating as I execute the webservice, so I'm pretty sure connectivity is not the issue here.
Any advice as to which log file I'm looking for?

Similar Messages

  • Files generated by Web Service Proxy give errors for complex input types

    Hi ,
    I generated a Java Web Service Proxy using a WSDL file.
    The input params are of this fashion -
    1) Object 1 have 3 attributes
    2) Object 2 having nested Object 2 (yes , again) which has a nested attribute which needs to be passed say Param 1.
    When I generate the proxy classes ... Param 1 is referred to as private Object2.Object2 param1 which gives error for the data types.
    How can we resolve this .. what should be the correct data type representation for param 1 ?
    Thanks

    Issue was resolved . Details here - 11g PS2 - WebServiceProxy Class give errors for complex input types

  • Reactivating users via pwpolicy gives error "User does not have a shadowhash account"

    Hi All,
    I've got a OS X (10.8) server running Open Directory and File Sharing. We deal with a lot of free lance people so accounts are often being deactivated and reactived.
    A user is first created by submitting to an internal form that starts an applescript that creates the user account, password, and sets a hardExpireDateGMT that disables the account on the individual's out date. It also adds them to specific file sharing groups etc. This works perfectly for us.
    Our problem stems from when we "re-hire" people. Again an internal form is used to start an applescript. This script searchs the OD for the user to make sure they actually have been in the system. If it finds the user it sets a new temp passoword, updates any contact info, and then uses "pwpolicy -enableuser" to reenable the user. Our error occurs at the last step during the "enableuser". We get the error "User <username> does not have a shadowhash account>"> However, we can manually enable the user through Workgroup Manager.
    Is there a way to create the shadowhash account via the command line? Or is there a better way then pwpolicy to reenable the user?
    Thanks!

    Hi,
    Here are a few Microsoft articles that provide the suggestions to troubleshoot this issue below:
    Error: The security database on the server does not have a computer account for this workstation trust relationship
    http://technet.microsoft.com/en-us/library/ee849847(WS.10).aspx
    Domain Controller does not allow interactive logon, shows error “The security database on the server does not have a computer account for this
    workstation trust relationship"
    http://support.microsoft.com/kb/2015518
    But if you cannot log onto the Windows Small Business Server with administrator permissions, it is hard for us to troubleshoot this issue. You may need
    to restore the system from backup. For the detailed steps, you may refer to the following Microsoft TechNet article:
    Recover the Operating System or the Full Server
    http://technet.microsoft.com/en-us/library/cc794282(v=WS.10).aspx
    Regards,
    Arthur Li
     TechNet Subscriber Support 
    in forum
    If you have any feedback on our support, please contact
    [email protected] . 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Consume SAP webservices wsdl from Delphi 2007

    am trying to consume SAP webservices from Delphi 2007, but, i was some problems with this task. I used WSDL definition to make the Delphi interface and i´m working with THTTPRIO component to try consume SAP Webservices, but , occurs this error:
    Conexaosoasap
    Service Unavailable (503) - 'http://sapdev:50000/NovaCalculadora/ConfNovaCalc?style=document'
    OK  
    </b>
    What are the problem?
    Thanks.

    have you check the web service is activated?. Have a look to the SICF to see if the service is running.
    Eduardo.

  • Error while consuming a webservice in nwds

    Dear Users,
      I m facing an error while consuming a wsdl webservice in webdynpro java error................
    Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[ModalContext,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor Services
       Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
       Method     : doImportWebServiceModel
       Message    : Web Service model import failed
       Exception  : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
    com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    -- caused by --
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many  times (20) -> java.net.ProtocolException: Server redirected too many  times (20)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 8 more
    Caused by: java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)
         at java.net.URL.openStream(URL.java:913)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)
         ... 10 more
    Please help me in solving his issue.
    regards,
    Sathya

    I have the same issue attempting to connect my application to this WSDL:
    http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl
    I can load the WSDL fine as an XML file. I can also load the WSDL fine if I connect via Firefox or a browser. I can open it fine in SoapUI. I just can't access it from my Java application.
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext] Loading of definition failed for [http://uid:password-erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl]; java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.SoapUI] An error occured [Server redirected too many  times (20)], see error log for details
    2009-10-26 18:11:45,943 ERROR [soapui.errorlog] java.net.ProtocolException: Server redirected too many  times (20)
    java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
         at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
         at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
         at java.lang.Thread.run(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR] java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.net.URL.openStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.lang.Thread.run(Unknown Source)
    Any ideas?
    Edited by: tburke on Oct 27, 2009 2:26 AM

  • Error Consuming a webservice from ABAP

    Hi all,
      I am consuming an external webservice from abap. I created teh proxy using WSDl file. While testing teh service its giving an exception like this-
    "JAXB unmarshalling exception: Unable to create an instance of de.*******v2.MeldungType; nested exception is javax.xml.bind.UnmarshalExcept
    ion: Unable to create an instance of de.****.MeldungType# - with linked exception:#[java.lang.InstantiationException]"
    With a soapfaultcode: 1..
    can any one help out in arriving at teh reason for this..
    Regards
    Sandeep

    I've seen lots of unmarshalling errors whilst trying to consume web services via Web Dynpro Java...  Usually, it was due to an inconsistency between the WSDL file being used and the underlying web service definition.  It might be worth checking the WSDL you are using is correct and up to date, in case the underlying service interface has changed.
    Also worth checking if you have any simple boolean type parameters defined as part of the service interface - they have to have a value assigned when you call the service and cannot be null.
    HTH.

  • Error While Consuming the webservice in ABAP

    Hi,
      I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xstream found: ("HTTP Code 400  : Bad Request")"
       Any help is appreciated.
    Thanks
    Raghavendra Kuamr

    Hi,
    Check ST11 to find detailed log of issue, most likely you are passing "WS-A" message id along with request (check settings in SOAMANAGER Logical Port).
    Try calling service after suppressing "Message Id transfer". See SAP Note: 1361688 and related notes in 0001292171
    Regards,
    Gourav
    PS: please search forum before posting questions.

  • While Consuming a WebService in JSP Dyn Page - There is an Error

    Hi Friends,
    I have a web service created in ASP.NET web Service.
    And I have Consumed the Web Service using WSDL URL.
    I need to write a code to refer that class in the JSP DynPage
    I have created like this in DoIntialization
    MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
    int a = 10;
    int b = 20;
    obj.Add1(a,b);
    but it shows an error
    "The method Add1 Method(Add1 Method) is the type. MySErviceName is not Applicable for the arguements(int,int)"
    Please Help me in this regard.
    Thanks in Advance
    Thanks & Regards,
    Palani

    Hi Andy,
    I will let u know the sequence which i followed to consume the Webservice.
    NWDS --> File --> New --> Project --> Portal Application --> Create New Portal App Project.
    The Project is created.....
    After that i want to consume the Webservice for the same project...
    for that...
    NWDS --> File --> New --> Other --> Portal Application --> Create New Portal Application Object --> Selecting My Project?(intended prjct) --> Portal Webservice --> Portal Service from WSDL file - Client Side --> My WSDL URL --> Selecting the methods which i need to expose from the Webservice --> I gave unique name for my 1) Service 2) Alias 3) Package....and that was done....(other way is to add from portalapp.xml ??)
    After that i created a new JSPDyn page for my application in DoInitialization() method i tried to access the method from that webservice using the following code...
    MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
    I am successfully able to access the method from the webservice using the object which i have created but i am not able to pass arguments to that method...???
    I tried consuming same webservice created in .NET in .NET itself and i am able to pass arguments successfully.
    I tried to consume webservice created in ABAP in .NET and able to implement successfully...
    but the same ABAP webservice when  i tried to consume its not working with this NWDS.
    Is there any thing else i need to follow while consuming a webservice in the EP Perspectice of NWDS ???
    Deployable Proxy is required for that ?? if required how to create and use that ??
    Thanks in Advance,
    Palani

  • Error in Importing webservice via ActionScript

    Hi All
    This is regarding the Webservice via ActionScript (Import->Web Service) for Flex 3
    I am using the same method to import the webservice. The proxy classes are getting generated. I am using the following code for accessing the method:
       var myVar:Welcome = new Welcome();
       myVar.name = "shilpa";
        var myService:WelcomeNoteService = new WelcomeNoteService();
        myService.addwelcomeEventListener(handleResult);
        myServ.addWelcomeNoteServiceFaultEventListener(handleFault);
        myService.welcome(myVar);
    Here Welcome is the function name in webservice (for which proxy class is generated) and WelcomeNoteService is the webservice name (for which proxy classes is also generated).
    When I try to access 
    public function handleResult(event:WelcomeResultEvent):void{
    Alert.show(event.result.toString());
    event.result is coming as null.
    I have tried to debug also , but not able to find the error.

    Hi,
    <i>My dev is on SP 15 and Cons on SP 10..While transporting SLD product using file system i got following error:
    </i>
    See SAP Note 832142 for known restrictions about transporting objects between
    different XI 3.0 support packages And See SAP Note 834507 for known restrictions about cross-release transports.
    Also see the CMS Guide at market place, how to guide,
    https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003090422005E
    Also refer 780297 for continiuosly updated errors.
    May be all this will help you to analyse if not directly arrive at the solution.
    All the best,
    Anirban.

  • Getting error while consuming google webservice in jspDynpage

    Hi All,
    I am consuming google webservices in my JspDyn page
    i am getting following error
    An exception occurred while processing a request for :
    iView : GoogleSer.google
    Component Name : GoogleSer.google
    Could not find portal application <b>com.company.global.enterprise.portal.wsdl.webservices.service.</b>
    Please help me to resolve this issue
    code ::
    MyGoogle googleService =
    (MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
    GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
    Thanks & Regards
    Rudra

    Hi,
    I am still having the same problem, however the scenario in which I am getting varies.
    I am getting this exception:
    "com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
    Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
    When I view the logs I am seeing the Nested Soap Exception.
    Any Ideas??? Starting the J2EE engine also did'nt help.
    Thanks in advance.
    Madhavi

  • Getting error in consuming google webservices from JspDynPage

    Hi All,
    Getting following error while consuming google webservices from JspDynPage
    An exception occurred while processing a request for :
    iView : GoogleSer.google
    Component Name : GoogleSer.google
    Could not find portal application com.company.global.enterprise.portal.wsdl.webservices.service.
    Code :
    MyGoogle googleService =
    (MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
    GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
    ResultElement[] results = result.getResultElements();          
    if(results != null) {
    response.write("<br> Search Result Size " +results.length );
    for (int i = 0; i < results.length; i++) {
    response.write((i + 1) + ": " + results);
    Thanks
    Rudra

    Hi,
    I am still having the same problem, however the scenario in which I am getting varies.
    I am getting this exception:
    "com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
    Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
    When I view the logs I am seeing the Nested Soap Exception.
    Any Ideas??? Starting the J2EE engine also did'nt help.
    Thanks in advance.
    Madhavi

  • Error in consuming RFC Webservice in webdynpro

    Hi,
         I am trying to consume RFC Webservices in webdynpro.For that i created Z- functional module for availability check.But once i am deploying this application ,all the input fields of the corresponding application are disabled.
    The error is like
    Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST' for operation 'ZwrMaterialAvailability' in interface 'ZWebService'
    Can someone help me to resolve this error?
    Thanks,
    Kundan

    Hi Saravanan ,
                             Thanks for your replay.
    Once i am testing the WSDL URL in netweaver webservice navigator,it showing an error like like
    Cannot download WSDL from http://host name.sap.com:8000/sap/bc/srt/wsdl/sdef_ZWEBSERVICE/wsdl11/ws_policy/document?sap-client=800: It is not allowed to access this service.
    But same URL is working fine in browser.It's displaying the XML file.
    Can you provide the solution to resolve this error?
    Thanks,
    Kundan

  • Error in Consuming Portal Webservice

    Hi ,
    I created a portal web service(RetrieveAndValidateUserService) and then consumed this portal service in an AbstractPortal Component application(RetrieveValidateUserComp).
    On deploying that application on portal I get the following error -
    #1.5#001372247F6F00640000001C000011600004542B1E4EA3FD#1218444075594#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Administrator#34878##PUNITP84649D.ad_SYN_3160950#Administrator#2b7b0eb0678111ddb00a001372247f6f#SAPEngine_Application_Thread[impl:3]_4##0#0#Error#1#/System/Server#Java###Exception ID:02:11_11/08/08_0002_3160950
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : RetrieveAndVAlidateUser.RetrieveValidateUserComp
          at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
          at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
          at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
          at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
          at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
          at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
          at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
          at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
          at java.security.AccessController.doPrivileged(Native Method)
          at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
          at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
          at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
          at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
          at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
          at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
          at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
          at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
          at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
          at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
          at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
          at java.security.AccessController.doPrivileged(Native Method)
          at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
          at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.pseg.test.webservice.RetrieveValidateUserComp of Portal Component RetrieveAndVAlidateUser.RetrieveValidateUserComp because: Could not instantiate implementation class
          at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:269)
          at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
          at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
          at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
          at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
          ... 26 more
    Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application RetrieveAndValidateUserService
          at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:415)
          at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:387)
          at com.sapportals.portal.prt.core.broker.PortalApplicationItem._refresh(PortalApplicationItem.java:507)
          at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:1360)
          at com.sapportals.portal.prt.core.broker.PortalComponentItem.getClassLoader(PortalComponentItem.java:569)
          at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getClassLoader(PortalComponentItemFacade.java:102)
          at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
          ... 30 more
    1. I added a Private Sharing Reference Property in portalapps.xml of the application -
    <application-config>
        <property name="PrivateSharingReference" value="com.pseg.webservice.RetrieveAndValidateUser"/>
      </application-config>
    2. I modified the Java-Build Path to include the Portal Service Application.
    3. I deployed the Webservice par on the portal. I can see the service listed under Applications in
    System Administration->System configuration->Service Configuration.
    Is there anything i am missing or doing incorrectly?
    Points will be promptly awarded for helpful answers.

    Hi Lokesh
    I created a Portal Service consuming a webservice.
    It turns out the Private Sharing Reference that i gave had some fault. That's corrected now.
    Now on deploying the Portal Application I created for accessing the service, i am getting the following error -
    java.lang.Exception: The parameter Accounts is null before the serialization but in WSDL definition this field cannot be null
    Here, we need to pass this parameter "Accounts" as NULL only, for test purpose.
    Points will be awarded generously in case of helpful answer.

  • Need to consume Beehive webservices but can't figure out the best way

    Hi
    I'm completely new to the Beehive scene and I've been commissioned to write a sample application that consumes Beehive Webservices, just add a File to a certain workspace and be able to authenticate users via SSO and basic Authentication to a local DB. Initially I was told that Beehive had only support for REST webservices, so I thought it might be just easier to just go with REST, do a simple POST/GET request and get results, however I'm having a hard time running the sample code as a class is missing.
    However I just found that Beehive also has support for SOAP webservices (I somehow like them more as I'm more used to them) but same problem, I don't know how would I authenticate, I found were the WDSL are stored and everything but I just don't understand how would I make a user authenticate with SSO or any other method
    Finalyl there's this BPEL workflow for jDeveloper and JCR API.
    I just don't know where or how to start, tutorials are oracle.com assume too many things, I was thinking in creating proxy classes using the Beehive WSDL's and consume the services this way, however I still don't understand how to authenticate.
    Can anyone give me directions on this? How to use Beehive's SSO and Basic Authentication? thanks in advance

    Hi,
    Regarding the basic http authentication, an answer was provided in your other post:
    Authentication with SOAP API
    And regarding the missing class in the Rest sample code. I'm currently taking a look at it and, hopefully, I will get you an update on this in the following post:
    Failure Class not bundled with BDK Samples
    Regards,
    Ward

  • Consuming MII WebService in Java WebDynpro

    Hello,
    We are facing a strange situation...
    We define a transaction in MII to be consumed as WebService in Java WebDynpro. This transaction is a simple query on a DB returning 4 fields :
    Shift code : SHIFT
    Shift description : DESCRIPTION
    Start time : START_TIME
    End time : END_TIME
    It works fine, we use the import adaptative web service wizzard in netweaver developper studio to use this WS...
    But if we to an update on the webservice, changing a field name for example (SHIFT -> SHIFTCODE), we start to have trouble...
    We got then the very helpful error message :
    Exception on execution of web service with WSDL URL '<sever>/WebServices/GetShift' with operation 'Xacute' in interface 'XacuteWSSoap'
    If I display the model info using wdContext.currentRequest_XacuteElement().modelObject().associatedModelClassInfo().getModelInfo().toString()
    I got the following (extract) :
    <ModelClassPropertyInfo name="SHIFT" dataType="com.sap.tc.webdynpro.model.webservice.types.string(java.lang.String)" readOnly="false" qName="SHIFT" required="true" backendType="null"/>
    As you can see, the model definition is NOT updated and we still have SHIFT as name instead of SHIFTCODE...
    If someboby has an idea, it will save us our life ;o)
    Thank you
    PS:it the same behaviour if we add a field...

    Oliver -
    Did you try to reimport the WS model ..? If yes and still doesn't work...Try  to delete the old proxy in webdynpro ( adoptive ws) and import again.
    To avoid code changes,you can give same old name while fresh import.
    Adoptive WS in webdynpro  is not really like Adoptive RFC .It has some limitations.
    Thanks
    Hari

Maybe you are looking for

  • Updating Purchase Order

    Hello everyone, I have a business requirement to add a new custom field, at item level, in the Purchase Order transaction (ME21N/ME22N/ME23N). It is a char10 field. I have already created this new field, which is correctly updating the EKPO table. Bu

  • How do I switch from external datasource to LS datasource and keep the same data entities? Need to edit design.

    Hi all, I have a LightSwitch desk top application that I wrote back in 2011 right after LightSwitch was available using VS2010 and the necessary extensions.  I am now in the process of trying to upgrade that application using Visual Studio 2013 Versi

  • Default email address in Ical alarm

    Hi all. I am having problems setting the default address in alarms in Ical. The situation is like this: -I had 2 emails, "a" and "b", setup in my address book, both in my account (word "me" overlay on my picture). -When I wanted to configure an email

  • Compliance Settings - compliance counts inaccurate (roughly double the number they should be)

    I'm deploying some fairly simple configuration baselines - most with a single CI in it; some remediate, some do not. In all cases, the Compliance count (as found on the Assets and Compliance/Compliance Settings/Configuration Baselines page in the SCC

  • Exchange option in Account setup missing?

    I had Mail hooked up to an Exchange server for my work email. That stopped working for some weird reason so I thought about re-creating the account and I don't see the Exchange option in the account setup anymore. Where'd it go?