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

Google WebService - Proxy Error

Hi,

I tried to get Google WebService running in the portal according to the example given in the EP 6.0 PDK...

When I run the Portal Component I get the error:

Caused by: java.lang.reflect.InvocationTargetException: javax.xml.soap.SOAPException: [PROXY Error] com.inqmy.lib.jaxm.soap.SAPSoapException: javax.xml.soap.SOAPException: Unable to internalize message (proxy host: proxy, proxy port: 81, non proxy host: localhost|mpcc06xc.*)

I am completely stuck here - any ideas what causes this error??

Michael

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2004 at 08:58 PM

    Which ServicePack of the portal do you use ?

    I had a similar error with SP1 which was related to a bug in the soap stack.

    Maybe your proxy settings in the portal are wrong ?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I also have the same problem. I get this when the method on the web service is invoked. I don't have proxies. Also I tried to connect to a URL via java.net.URL and it worked fine. I think the error is originating from com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod. Another weird thing I noticed is the line number given in the stack trace is from "}else". But the if & else looks ok.

      Appreciate any suggestions to overcome this error.

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2004 at 12:37 AM

    Michael,

    Did you get this fixed? I have EP6 SP2 and get the same error, using both SAP's example, and my own coded example.

    My network uses no proxy, so not sure why it would fail.

    I get the following in the SOAP log:

    Call failed

    javax.xml.soap.SOAPException: [PROXY Error] com.inqmy.lib.jaxm.soap.SAPSoapException: javax.xml.soap.SOAPException: Unable to internalize message (proxy host: null, proxy port: -1, non proxy host: null)

    at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:157)

    at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)

    at com.tutorial.wsdl2service.MyGoogleService.doGoogleSearch(MyGoogleService.java:194)

    at com.tutorial.wsdl2service.MyGooglePage$GoogleDynPage.onSearchButtonClicked(MyGooglePage.java:98)

    ............

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2004 at 04:21 AM

    Kiran,

    you are right. Even we are getting the same error in EP6 SP9 also.

    But the same web service (code) working in EP6 SP6 sneak preview.

    And also I identified that while starting SAML service in VA throws below exception.

    Caused by: com.sap.security.api.saml.service.exception.SAMLServiceException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl not found

    at com.sap.security.core.server.saml.service.SAMLServiceImpl.<init>(SAMLServiceImpl.java:329)

    at com.sap.security.core.server.saml.service.SAMLServiceFrame.start(SAMLServiceFrame.java:176)

    ... 6 more

    Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl not found

    at javax.xml.soap.MessageFactory.newInstance(Unknown Source)

    at com.sap.security.core.server.saml.service.SAMLServiceImpl.<init>(SAMLServiceImpl.java:288)

    I feel there is a problem with the WAS in starting SOAP related services.

    Can any one help me in this ??

    Thanks and Regards,

    SAR.

    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.