Google WebService SOAP Help

Hello,
has anybody been able to get the Google WebService example working (access to external services) in EP6?
I get weird errors from PROXY settings or XML response format exceptions depending on proxy settings.
I have no need for proxy but direct connection and can perfectly read a Google URL from within my component.
Environment is EP6 SP2 Patch 3 + Eclipse 2.1.3.
I am also facing a problem with NetWeaver Developer Studio 2.0.5 not generating soap proxies correctly (it adds method calls to retrieve cookies from the soap response; these methods are not implemented in the interface).
I have developed my own soap service on an EP6 and a client running on another EP6 and this works perfectly. Still no way to access Google.
Obviously I have my own account key in google to access the api and I can make it work outside EP6.
Something to do with http chunking?
PLEASE HELP !

Exception
com.inqmy.lib.xml.parser.ParserException: XMLParser: No data allowed here:51a (:main:, row:1, col:3)
        at com.inqmy.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2467)
        at com.inqmy.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2505)
        at com.inqmy.lib.xml.parser.XMLParser.parse0(XMLParser.java:151)
        at com.inqmy.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:110)
        at com.inqmy.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:127)
        at com.inqmy.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:195)
        at com.inqmy.lib.xml.parser.DOMParser.parse(DOMParser.java:90)
        at com.inqmy.lib.xml.parser.DOMParser.parse(DOMParser.java:142)
        at com.inqmy.lib.jaxm.soap.SOAPPartImpl.parseDocument(SOAPPartImpl.java:60)
        at com.inqmy.lib.jaxm.soap.SOAPPartImpl.setContent(SOAPPartImpl.java:220)
        at com.inqmy.lib.jaxm.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:76)
        at com.inqmy.lib.jaxm.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:40)
        at com.inqmy.lib.jaxm.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:160)
        at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:149)
        at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
        at com.whr.google.client.GoogleSearch.doGoogleSearch(GoogleSearch.java:321)
        at com.whr.google.client.Google.doContent(Google.java:49)
        at .............

Similar Messages

  • 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

  • File(PDF as attachment)-- XI-- WebService(SOAP with attachment)

    Hi i have following Scenerio in my hand,
    File>XI>WebService(SOAP)
    Kindly help me in implementing the Following Scenerio;
    I need to attach PDF to File Adapter as PayLoad or give it to File Adapter as Attachment which in turn send this data to XI and then XI wud generate WebService having this PDF as attachment.
    Kindly Walk me thru all the steps during Configuration and design and do guide me how to test wether this scenerio works or not.
    Also tell me abt the WebService i need to use to test the Scenerio.
    Thanks.

    Hi Jeet,
    If you want your file adapter to read contents from a PDF file, check out the folloing blog,
    <a href="/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter">Sender File Adapter with PDF</a>
    If you want your file adapter to generate its output into a PDF file, then check the following blog,
    <a href="/people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter">Receiver File Adapter With PDF</a>
    Sriram's blog on FILE to HTTP scenario might of be help to you too. It also deals with Syn / Async Bridge which can be ignored.
    <a href="/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi">File to HTTP</a>
    Do let us know if you need any further help,
    regards,
    Bhavesh

  • R3 (rfc-sender) - XI - Webservice ( soap-recever) Synch : error handlng

    R3 (rfc-sender) <-> XI <-> Webservice ( soap-receiver) Synch
    User will enter the request data in R3 and waiting for the response, but webservice is down(i.e not available)
    Request is reached to XI box and XI is trying to send data when webservice is down( i,e not available),  RFC is waiting for the response from XI box.
    how we will handle this kind of situation,how should i give response back to RFC( because RFC sent the request and waiting for the response,  XI could not send any response back as Webservce is down, Please advice me how should XI inform to the end user r R3 abt webservice down.
    Pleae help me out on this.
    Thanks,
    Dhanush.

    Hi,
    Normally, the Web service should provide a fault message back to XI and the RFC should also have an exception defined that will trigger a fault message mapping and that way the application error is sent back to R3.
    But if the web service does not provide u with a fault message then XI will trigger the System Error back to R3.
    The functionality of checking the DB status and propagating meaningful errors to XI as fault messages should lie with the web service.
    Thanks
    Vikranth

  • After installing CC, The font on some websites has changed in my browser Google Chrome. Help!

    After installing CC, The font on some websites has changed in my browser Google Chrome. Help!
    take for example facebook & ebay, the fonts have changed to a distorted block type font, very un-readable, Only after I installed adobe CC, this took place...
    I am using google chrome
    Can any one help me?
    I have tried to fix it by tinkering with some settings in google chrome but had no luck!
    here is a screenshot of the problem:

    Unless a web page uses a “web font” that it supplies itself, web pages typically provide a list of fonts, in priority order, of fonts to be used to render text. Typically, this list of fonts represents “system fonts” of MacOS, Windows, iOS, and Android - fonts that can be counted on being installed. Helvetica Neue is a MacOS system font that is not typically found on Windows systems. And even if a user licenses recent versions of Helvetica Neue OpenType fonts and installs same on Windows systems, they are in the “Helvetica Neue Std” family which would not match “Helvetica Neue” which is native to MacOS. Thus, I suspect that the Helvetica Neue you have installed on Windows is an older font offering.
    There are three issues here:
    The first is that web pages provide a priority list for font usage. I suspect that the web pages you are seeing Helvetica Neue actually used on your system are requesting fonts in the order of Helvetica Neue and then Arial. The typical MacOS system would display the content with Helvetica Neue and the typical Windows system would display the content with Arial. Since you have Helvetica Neue on your system, you are getting rendering similar to what a MacOS system would have.
    The second issue is that there is no way to force a web page to reverse the order of priority of the fonts it lists.
    And finally, the third issue is that there is no way to hide a font selectively by application.
    The only way you can avoid Helvetica Neue being used on web pages preferring Helvetica Neue to let's say Arial or any other font on its list for particular text rendering is to uninstall Helvetica Neue.
    That having been said, other than perhaps personal type design preferences, are there any other issues with regards to use of Helvetica Neue for display of these web pages?
            - Dov

  • R3 (rfc-sender) - XI - Webservice ( soap-receiver)

    Hi,
    I am getting below error whenever webservice(target system) is unavailable.
    HTTP 404 Not Found
    Then RFC got failed in R3, due to this error in XI
    R3 (rfc-sender) <-> XI <-> Webservice ( soap-receiver) Synch
    User will enter the request data in R3 and waiting for the response, but webservice is down(i.e not available)
    Request is reached to XI box and XI is trying to send data when webservice is down( i,e not available), RFC is waiting for the response from XI box.
    how we will handle this kind of situation,how should i give response back to RFC( because RFC sent the request and waiting for the response, XI could not send any response back as Webservce is down, Please advice me how should XI inform to the end user r R3 abt webservice.
    I am getting this error to my mail box as i have configured ALERTS. i do not want to change existing RFC.
    is there any chance to send response to R3 even webservice is down, please can any one suggest.
    Thanks,
    SIva
    Edited by: Siva Grandhi on Jun 18, 2008 1:12 PM

    Hi siva,
    check this blog on HTTP errors.
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    May be the URL you have given in SOAP at receiver adapter is wrong.Check that once.
    Error: 404 Not Found
    Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404
    u2022 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
    u2022 Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
    u2022 If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
    u2022 If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
    Thanks,
    Vijaya.

  • Problem when trying to use Google WebService with abap

    Hello,
    I want to call a Google webservice from abap but I can't create the proxy class.
    The WSDL of this webservice is located at   
    [<a href="http://api.google.com/GoogleSearch.wsdl">http://api.google.com/GoogleSearch.wsdl</a>
    When I try to create the proxy class with transaction SE80, I have the following error message (SPRX046) : <i>Proxy generation terminated: Message must have exactly one part     
    </i>     
    Does anyone have an idea to solve this problem  (We are in ECC 6.0 NW 2004S) ?
    How can we do if <message> has multiple <part> entries ?
    Thanks
    JLG

    hi,
    you can't create a proxy for the google API because Google's webservices are <b>RPC style</b> and the proxy wizard of WAS ABAP on NW2004s supports <b>document style</b> webservices only.
    Search Google for the keywords mentioned and you'll find a lot of discussions and explanations of the difference of these two styles.
    regards,
    anton

  • When i type a search term in the URL box, the result is returned on an AOL Search page; I want a Google search page - help....

    When i type a search term in the URL box, the result is returned on an AOL Search page; I want a Google search page - help....

    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • Every time i open up a window another window opens with 8 tabs & it states Index of file:///C:/Program Files (x86)/Mozilla Firefox/.. They open constantly I searched on google but no help.. What should i do

    every time i open up a tab with fire fox other window open with 8 tabs each & y=they all state ::
    Index of file:///C:/Program Files (x86)/Mozilla Firefox/
    I tried searching on google but no help.. what do i do??

    Hello Susanne.
    You may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

  • WebService SOAP vs J2EE

    Hi,
    late but hopefully not to late i do my first steps into the world of webservices.
    Since we use JDEV 9.0.4 in prodution i started with this version of JDEV.
    There it is possible to generate two kind of Webservices, soap and j2ee.
    In version 10.1.3 there is only one left.
    May someone could explain the reason to me please (and perhaps the differences)?
    Thanks and regards,
    Chris

    In 10.1.3 we use the standard J2EE way of working with Web Services (JAX-RPC) in older versions of JDeveloper we also supported an Oracle specific way - which was there before the industry standard appeared.

  • WebServices-SOAP interoperability

    Hello All,
    I need to develop a Java-system (client-side) that communicates over WebServices/SOAP with SAP (server-side).
    Therefore, I am looking for using either Apache-Axis of Metro-WebServices to access the SAP system.
    Therefore, I would like to know if there is somewhere an interoperability matrix identifying the frameworks that could function as WebServices clients or with which frameworks others have been successful?
    regards, Harrie

    Hi,
    Thanks for the answer.
    While using Axis1 I had problems with the namespace that SAP generates for its generated WSDL.
    Axis 2 I tried, but failed on the client interface somewhere (not a SAP interoperability issue).
    In the end I took Apache CXF and that works for me now.
    Harrie

  • Parental Controls & Google Drive Icon Helper

    I have allowed Google Drive in Parental Controls, but the popup saying I haven't allowed access to Google Drive Icon Helper pops up every minute or so. I've clicked 'always allow' and entered my password, but it still pops up. I went to system preferences and tried to add it, but the Google Drive Icon Helper isn't in the list of approved apps. HELP!

    https://discussions.apple.com/thread/4334030?tstart=0

  • What is "Toast"? Google Doesn't Help

    Hello,
    I have heard many times of people using a program called "Toast" to burn DVDs. I have looked everywhere for this, but can't find it! Google is not helping, either. What is Toast, and what does it do? And can someone please give me a link to the site, I can't find it for the life of me! (Yes, iDVD is driving me nuts!)
    Thanks.
    C h r i s t o p h

    Hello Christoph,
    Toast is a software package from Roxio for creating & burning CDs & DVDs, cataloging disks, trimming video, cleaning audio and a bunch of other stuff including some basic DVD Authoring ... kind of an all around utility. It has quite a following. I'm a bit surprised you couldn't find anything. I just Googled 'Toast' and the very first entry returned was Roxio Toast. Anyway, click the link and you can get all the info you could want about the program.

  • How to use a WSDL file to call webservice? Help!

    Hi Experts,
         I have exposed a SAP function module as webservice using the
         Utilities -> More Utilities -> Create Web Service -> From Function module
         What does this step actually does? Does it create some kind of web application like BSP for the function module in the background?
         After creating the web service I have released the service definition for the SOAP runtime using the transaction WSCONFIG.
        Finally I have generated the WDSL file ofr the webservice using WSADMIN transaction.
        After this how will my third party application like Java will use the WSDL? Will I need any connector software to be installed in Java side.
        How exactly will java call my webservice using WSDL?
        What actually happens or what is the message flow when java application calls by webservice?
        Kindly help.
    Thanks
    Gopal

    Hi, Your solution should be correct and it's a quite common approach for Login authentication.Informatica's webservice provider also need 2 steps for calling its webservice1. Getting the session ID using username and password 2. Use the session ID to call any active operation 3. Use the session ID to log out if webservice do not have any time out settings for each session. SOAP standard is listed in the WSDL of saleforce webservice. It affects if you cannot find/call any operation in PowerCenter level. My lastest information is for PWC 9.1 version only, I don't know if they have enhanced this function in 9.5. If you can call the operation, you can just put it (SOAP standard) way first. Regards,Felix

Maybe you are looking for

  • GR/IR clearing value

    Hi all There is a SA with many times GR and IR now i want to know the GR/IR clearing value about this SA. Which T-code can display this? I tried manys but all under vendor,account number.which can under a SA? Thanks a lot

  • Aple tv no longer showing up in iTunes

    Anyone know why my 1st generation AppleTV's (2) are no longer showing up in itunes?  I used to be able to see them and could tell when they are syncing.  Now they no longer dowload content either. Thanks!

  • Moving Average Price for Non-Valuated Material

    Hello Experts The question may seem to be quirky but need your advice for the below. My client is buying non-valuated material against a cost center, they do not want to keep the stocks valuated. No value update only quantity update. The accounting d

  • My internet is not connecting with my iphone 4, help me please?

    I click on the wifi network, then it loads, it loads but does not connect since yesterday. HELP ME?

  • IFRS as a Leading ledger

    Hi All We want to  implement for an Indian retail company having H.O in Italy. THe client wants to use  leading ledger as IFRS and non leading ledger for Indian GAAP. For leading ledger we are planning to use fiscal year from Jan_ Dec and for Indian