Skip to Content
author's profile photo Former Member
Former Member

Exception while consuming Google web service

Hi,

I m new to netweaver.I was trying to consume the google webservice by using standalone proxy. And i got an exception like below..

Error Message is :com.sap.security.core.client.ws.SecurityProtocol

java.lang.NoClassDefFoundError: com/sap/engine/lib/util/HashMapIntObject

at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.<init>(InstanceBuilder.java:87)

at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.getInstanceBuilder(InstanceBuilder.java:108)

at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1620)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.lpapi.LogicalPortFactory.loadLogicalPorts(LogicalPortFactory.java:72)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ServiceBase.init(ServiceBase.java:66)

at com.sap.tc.test.GoogleSearchServiceImpl.<init>(GoogleSearchServiceImpl.java:10)

at com.sap.tc.test.Testconn.main(Testconn.java:45)

Exception in thread "main"

I m using NWD studio ver 2.0.3.

Can any one help.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Feb 23, 2005 at 07:57 PM

    I tried to reproduce it on an SP6 IDE, but with SP6 the problem did not occur. I was able to call the Google API from a standalone project.

    You can get the project the next 21 days from here: http://sapmats-de.sap-ag.de/download/download.cgi?id=8GOFWPHD8CDO1KMOXI5LJD1QIBFMQ6LGMJKZ76JSMBCBWCUTTA

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.