on 02-12-2004 7:23 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
............
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you checked your portal proxy settings?
You could also try to verify, if a simple portal component can access google:
- create a new portal application object (e.g. with the eclipse plugins) and add some code like:
URL url = new URL("http://www.google.com");
URLConnection urlConnection = url.openConnection();
urlConnection.connect();
Now check the portal log files to see if there occur some proxy or connection errors.
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.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.