Getting error when trying to invoke web service - disable SSL
Hi
Please advise me how to disable the SSL for bpel.
The problem which am facing is as below
I am trying to invoke web service in another site, its showing me error as
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExpiredException:
Now i would like to disable the SSL for this handshake, so that it wont look for certificates and invokes the web service directly, right.
So please advise how to disable to SSL in bpel (10.1.2) now.
Thanks
Suneel Jakka
The SSL handshake works differently to a browser as it is making the connections automatically.
The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
cheers
James
Similar Messages
-
Security Error when trying to access web service
I have an app that connects over HTTPS to a web service on
our internal network. The interface to the web service was created
by using the WSDL Import function of the Flex IDE.
I can run the app and retrieve data without a problem when I
run from the debug-bin folder that the Flex IDE compiles to.
However, I cannot connect to the web service from anywhere else,
such as a different location on my own local drives, a network
drive, or another persons machine.
I've setup a local instance of Apache with mod_ssl so I could
host the app under an HTTPS connection itself, which the
documentation seemed to imply that would work. However, when I run
the app, I get:
[FaultEvent fault=[RPC Fault faultString="Security error
accessing url" faultCode="Channel.Security.Error"
faultDetail="Destination: DefaultHTTPS"] messageId=null
type="fault" bubbles=true cancelable=true eventPhase=2]
I am accessing the app by going to
https://mymachine.companydomain.com/myapp.html, and the web service
is being accessed through https://webservice.companydomain.com/.
Anybody have any thoughts on what I should be looking at?
I've been searching and trying things for a few days with no luck.
Any help would be appreciated. Thanks.The SSL handshake works differently to a browser as it is making the connections automatically.
The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
cheers
James -
Unsupported Version error when trying to run Web Services Tutorial example
Hi there,
I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
Buildfile: build.xml
BUILD FAILED
java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
ed major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
assLoader2.java:76)
When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
C:\jwstutorial20\examples\jaxws\helloservice>java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
Could you please help me with this problem?
Thanks in advance.
Azeem.Hi Azeem.
Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
BTW.
You don't have to uninstall jdk1.4.
Cheers!!! -
NoSuchMethodError when trying to invoke web Service in Clustered Environmen
I have a Weblogic Web Service that calls another Weblogic Web Service through the use of a Web Service Control.
(Both the services are deployed in Weblogic 10.0)
My Web Serivce works fine when deployed on Admin Server, but when it is deployed in managed server, it throws a NoSuchMethodError when i try to call this Service. (Through weblogic test client or any other web service testing tool).
I have verified that it is because of the presence of web service control, but i dont have any resolution for that.
Here below is the stack trace of the error that i am getting.
java.lang.NoSuchMethodError: com.bea.wlw.util.internal.WlwLogger.debug(Ljava/lang/Object;)V
at weblogic.controls.jws.ControlListener.onCreate(ControlListener.java:84)
at weblogic.wsee.jws.container.CompositeListener.onCreate(CompositeListener.java:55)
at weblogic.wsee.jws.container.Container.init(Container.java:123)
at weblogic.wsee.jws.container.Container.<init>(Container.java:79)
at weblogic.wsee.jws.container.ContainerFactory.createContainer(ContainerFactory.java:51)
at weblogic.wsee.jws.container.ContainerFactory.getContainer(ContainerFactory.java:31)
at weblogic.wsee.jws.container.ContainerHandler.getContainer(ContainerHandler.java:40)
at weblogic.wsee.jws.container.ContainerHandler.handleRequest(ContainerHandler.java:27)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Please help..
AshwiniI would ask this in the workshop newsgroup.
Ashwini Sharma wrote:
I have a Weblogic Web Service that calls another Weblogic Web Service through the use of a Web Service Control.
(Both the services are deployed in Weblogic 10.0)
My Web Serivce works fine when deployed on Admin Server, but when it is deployed in managed server, it throws a NoSuchMethodError when i try to call this Service. (Through weblogic test client or any other web service testing tool).
I have verified that it is because of the presence of web service control, but i dont have any resolution for that.
Here below is the stack trace of the error that i am getting.
java.lang.NoSuchMethodError: com.bea.wlw.util.internal.WlwLogger.debug(Ljava/lang/Object;)V
at weblogic.controls.jws.ControlListener.onCreate(ControlListener.java:84)
at weblogic.wsee.jws.container.CompositeListener.onCreate(CompositeListener.java:55)
at weblogic.wsee.jws.container.Container.init(Container.java:123)
at weblogic.wsee.jws.container.Container.<init>(Container.java:79)
at weblogic.wsee.jws.container.ContainerFactory.createContainer(ContainerFactory.java:51)
at weblogic.wsee.jws.container.ContainerFactory.getContainer(ContainerFactory.java:31)
at weblogic.wsee.jws.container.ContainerHandler.getContainer(ContainerHandler.java:40)
at weblogic.wsee.jws.container.ContainerHandler.handleRequest(ContainerHandler.java:27)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Please help..
Ashwini -
Errors when trying to activate web service
Has anybody encountered an HTTP 500 error while trying to activate a webservice based on a business object from one of the SAP namespaces?
The error that I am getting is: HTTP 500 (InternalServerError) - Dump or unhandled exception in backend.Yes we have the same Problem. Are you using Association in your BO?
The Problem is known
This was defect in the code while trying to include
Cross Bo associations in Read Operation.
This was fixed in FP26 with Hotfix HZEK001337.
This is not yet imported into VQ3.
Solution: Wait till VQ3 is supplied with this week's hotfixes
or try to generate service without Cross BO associations till hotfix
is imported into VQ3. -
Error message "Connection error. Check Internet connection." when trying to Enable Web Services on HP Laserjet 1606dn.
Operating system: Windows 7
Thanks for helping,
Howard
UPDATE 21-7-13: After upgrading the firmware to the lastest version, I could enable web services. Big help was this video: http://www.youtube.com/watch?v=Q5gpIGZXDXw
This question was solved.
View Solution.Hi,
Please try the following.
1. Open an internet browser type printer's IP address.
2. Should bring you to the printer's status page.
3. Select the networking tab at the top.
4. Left hand side select IPv4 under wireless.
5. Under DNS address Configuration select Manual DNS Server.
6. For Preferred enter 8.8.8.8
7. For Alternate enter 8.8.4.4
8. Select apply. You might get a warning saying this could interrupt connection that's fine.
9. Turn printer off for about 30 seconds then try again.
Although I am an HP employee, I am speaking for myself and not for HP.
--Say "Thanks" by clicking the Kudos Star in the post that helped you.
--Please mark the post that solves your problem as "Accepted Solution" -
Getting error when trying to create Exchange Connector in System Center Service Manager 2012
Getting error when trying to create Exchange Connector in System Center Service Manager 2012
The connection to the server was unsuccessful. Please check the server name and/or credentials entered.
Additional Information: The server URL is not accessible or the user does not have permission to access it (message: The request failed. The remote server returned an error: (401) Unauthorized.
Warm Regards, Pramod Kumar Singh Manager-ITSomeone sorted out this issue by installing API 1.2 and copying the dll files to the service manager server ,service folder and replacing it with API 2.0 dll files.
Also, your question is related to SCSM, please post at SCSM forum if you have further question.
Juke Chou
TechNet Community Support -
GenericServiceFactory initialization problem when trying to load Web servic
Hi,
I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
Can anyone help ?
Thanks in advanceHi Hans,
Have you verified if you can call any external web service calls from your J2EE engine? Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
Look at your proxy settings and set them like your web browser that enables external calls. For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
Proxy host: proxy
Proxy port: 8080
Exclude list: *.sap.corp
Does that make sense - have you verified if your settings are correct for your company?
Regards
Ginger -
A failure was reported when trying to invoke a service application: EndpointFailure
Event logs getting spammed with this - can't find anything specific on the internet:
A failure was reported when trying to invoke a service application: EndpointFailure
Process Name: OWSTIMER
Process ID: 6316
AppDomain Name: DefaultDomain
AppDomain ID: 1
Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:ba2301f4153b44a584c0065555ff67b5#authority=urn:uuid:02089d3f1be64db184670ab3f4060abc&authority=https://rsacdfsp02:32844/Topology/topology.svc
Active Endpoints: 3
Failed Endpoints:1
Affected Endpoint: http://<server>:32843/ba2301f4153b44a584c0065555ff67b5/SearchService.svc
When I browse to the Affected Endpoint (SearchService.svc) I get the below:
This is a Windows© Communication Foundation service.
Metadata publishing for this service is currently disabled
If you have access to the service, you can enable metadata publishing by completing the following steps to modify your web or application configuration file:
1. Create the following service behavior configuration, or add the <serviceMetadata> element to an existing service behavior configuration:Hi,
refer the below article
although articled focused on the App Management service application, endpoint failures can occur for just about any SharePoint service application and these steps should be applicable for those as well.
http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/01/29/troubleshooting-app-management-wcf-end-point-failures.aspx
Regards
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
FireFox keep saying "unexpected error" when trying to print web pages.
FireFox keep saying "unexpected error" when trying to print web pages. The print preview works OK, but when you try to print that "unexpected error" jumps up.
Please email me on what to do to get FireFox to work.
I don't see anything in the FAQ that might help me.Hi,
Please also try this setting: Windows start menu or Control Panel > '''Devices and Printers''', right-click the printer > '''Printer properties''' > '''Advanced''', and select '''Start printing after the last page is spooled'''. In this case you can also close Firefox after spooling is over (usually much faster than direct printing), and printing will continue.
Also as a general case, if you have security software (antivirus, firewall etc.) installed, you can try deleting all existing instances of Firefox and its related processes/files in all the different configuration modules/areas of the security software like process monitoring, sub/spawned process control, virtualization, HIPS etc., in addition to the security software's main configuration panel. Instead create new fully allowed/trusted rules for Firefox + its related processes in all the different modules/panels - a genuine/original Firefox installer as well as all the installed EXEs (Application) and DLLs (Application extension) are digitally signed by Mozilla Corporation (right-click > Properties > Digital Signatures). Even otherwise, some security software may also ask again when Firefox and/or its sub processes are started, and you may be able to allow/trust at that time. Please see [https://support.mozilla.org/en-US/kb/Firewalls this].
[http://kb.mozillazine.org/Firewalls AV/Firewalls Configuration] -
Currently using Flash Pro CS5, getting error when trying to open CS4 file. Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version. Has there been a fix or patch to this issue or do I have to convert back to CS4 to open the file?
Having the same problem in CS6. I can tell you that converting back to CS4 will NOT solve the problem. It seems when support for backward compatibility is discontinued, there's just no way to get
any help at all? Absolute failure to provide any user support so far... -
When trying to initiate Web Services getting server connection error
HP PhotoSmart 5510, 6510 and 7510 all get Server Connection Error when trying to do the initial Web Services setup. I connected with no problem to my wireless router and have received an ip address but all three printer give me the same error when trying to set up web services. Any insight would be appreciated.
Hello cdecicco,
I answered a post with similar issues where someone was unable to connect to Web Services on their printer. Here is the link:
http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile/ePrint-3070A/m-p/1250295#M15308
Let me know if this helps or you need more assistance.
If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
Although I work for HP, my posts and replies are my own opinion and not those of HP. -
Error on page when trying to test web service in EM
Hi,
I've developed a couple of web services in JDeveloper and tested them through Enterprise Manager. But the latest service won't work as expected. When I press "Test Web Service" for this particular port I get the message "Error on page" and
"Line: 94
Char: 1
Error: Object expected
Code: 0"
For the other web services the possible input parameters are shown as an HTML form and you can also choose to use an XML source. But this won't work in this case. No input parameters are shown and you can't choose XML source.
My question is of course the reason for this behaviour. And secondly; are the possible input parameters retrieved from the xsd file or from somewhere else? Could there be an error in it causing the problem? I'd be happy to provide some code, although right now I'm not sure which code snippet is appropriate.
Thanks in advance!
KerstinUpdate:
Now I see that there are in fact two error messages. The second one is the one presented above. But the first one says:
Line: 145
Char: 97
Error: Expected ';'
Code: 0
My question now is to what file it is referring?? Is it to ProjectAccountingPort.js that is automatically created? THen why is it not properly created??
Please, please help me with this! The deadline is in a few days... -
I get scrip error when trying to print web pages.
I get a scrip error message when trying to print web pages and it will not print.
FreddieP,
You may want to download and run the HP Print and Scan Doctor. It helps diagnose and resolve printing issues. You can click on the link below to go right to it.
Let us know if this works for your issue or not.
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=oj-106151-2&cc=us&dlc=en&lc=en...
If I helped you at all it would be great if you clicked the blue kudos star!
If I solved your post please mark it as solved to help others.
I'm a printer tech with HP. -
Getting Error when trying to connect to the Primavera database. PPM V7 SP3
Hi Guys,
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailService' defined in class path resource [com/primavera/bre//com/primavera/bre/integration/intgconf.xml]: Invalid destruction signature; nested exception is org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find a destroy method named 'destroy' on bean with name 'mailService'
I have looked into the intgserver.jar under P6IntegrationAPI/lib and looked the com.primavera.infr.srvcs.MailServiceImpl.java and can see that there is no destroy method whereas it is defined in the com.primavera.bre.intergration.intgconf.xml as below
<!-- provides mail services -->
<bean id="mailService" class="com.primavera.infr.srvcs.MailServiceImpl" init-method="init" scope="singleton" destroy-method="destroy"*+>
<property name="adminManager"><ref bean="adminManager"/></property>
<property name="threadPool"><ref bean="threadPool"/></property>
<property name="settingsManager"><ref bean="settingsManager"/></property>
</bean>
I get the above error when trying to connect to the Primavera database. I use PPMV7 SP3 and I have installed the Integration API from EPPMV7 bundle.
My demo's are working fine.
Any help would be appreciated.
Thanks,
Kajal.Hi Marc,
I am using a userid (is an admin)
Using global login method and provided userid & password in integration settings.
In the machine profiles, provided userid, password and domin.
Not providing domain in weblogin.
With all the above I am still getting error "Could not authenticate the specified user. %0" for HFM application
And with the same settings I am not getting any error to connect to essbase cube.
Any suggestions?
Thanks
Krishna
Maybe you are looking for
-
I know apple or the tech support doesn't read this but come on tell them to fix the wifi problem that started from ios 6 and still continuing to ios 6.0.1. I already gave them another feedback like 5 days ago. I really don't want to reconnect to my w
-
help.
-
E75: Sorting text messages
There is the option to sort messages in inbox/sent folders by date/sender etc. I want to sort messages by date so most recently received is always at the top. However, My text display shows sender, part of subject, and time of message no the the da
-
Differentiate oracle 9i & 10g block size/structure
Is there any difference between block structure of oracle 9i & 10g?
-
Messed up initial screen for CUP after 5.3 SP8
We are upgrading from 5.2 to 5.3 and have just install SP8 and have come across the little issue. In CUP when a user has their IE screen set at a small view area their initial screen is messed up where the login part is partially hidden behind the c