Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    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 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
    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 comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    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 comment
    10|10000 characters needed characters exceeded