Https With WebServices In NetWeaver
hi,
how to use https instead of http with webservices.
regards
Guru
Hello:
I just wanted to find out if there is a way directly to integrate Web Services with BW's front end tools i.e. Bex/ Web, without loading the data in InfoCubes/ODS
The Requirement is to extract and display data on Bex/Web, from a legacy system using Web services.
Again we are not planning to load data in the Info cubes or ODS.
Any input will be highly appreciated.
Similar Messages
-
Jinitiator 1.3 (calling webservice on https with apache axis and jre 1.3)
I would like to run a PJC component which integrate Axis for communication with webservices located on remote server over https protocol..
I have made a backend classes with wsdl2java (axis or with SOAPUI)..
If i run a program with JDK > 1.3 all works fine... but if I run the program with JRE 1.3 (Jinitiator 1.3 PJC) I get the error:
--> javax.xml.rpc.ServiceException: java.net.MalformedURLException: unknown protocol: https
javax.xml.rpc.ServiceException: java.net.MalformedURLException: unknown protocol: https
at arhivskiSistem.InDocArchiveWebServiceLocator.getInDocArchiveWebServiceSoap(InDocArchiveWebServiceLocator.java:100)
at in2.mikrocop.Test.dokumenti(Test.java:93)
at in2.mikrocop.Test.testiranje(Test.java:73)
at in2.mikrocop.Test.main(Test.java:87)my source code is like this:
System.setProperty("java.net.debug", "all");
System.setProperty("javax.net.ssl.keyStore", direktorij + keyStore);
System.setProperty("javax.net.ssl.keyStorePassword", this.getPassword());
System.setProperty("javax.net.ssl.keyStoreType", "pkcs12");
System.setProperty("javax.net.ssl.trustStore", direktorij + trustStore);
System.setProperty("javax.net.ssl.trustStorePassword", this.getPassword());
System.setProperty("javax.net.ssl.trustStoreType", "jks");
InDocArchiveWebServiceLocator ws_locator = new InDocArchiveWebServiceLocator();
InDocArchiveWebServiceSoap_PortType pt = ws_locator.getInDocArchiveWebServiceSoap();Do you have any Idea how to solve this?First, I will start by saying that JInitiator was not intended to run on Win7, especially 64bit. So, it may be time to think about moving to the Java Plugin. Preferably one which is certified with your Forms version.
To your issue, I suspect you need to change the "Region and Language" settings on the client machine. This can be found on the Control Panel. If that doesn't help, take a look at this:
http://stackoverflow.com/questions/4850557/convert-string-from-codepage-1252-to-1250 -
Calling Webservice from Netweaver Portal to SAP XMII 12.0 using SSO
Hello,
we have a Netweaver 2004s based Portal and a Netweaver-based SAP XMII (v12.0) System providing Webservices.
What we try to do is to call a webservice out of the Portal EAR Application using SSO.
SSO-Konfiguration between Portal and XMII is done and works fine. I tested this using an URL-iView, which calls a https-URL on XMII and SSO-Authentification is done in the background.
Now I want to call a Webservice using SSO.
Without SSO (prodiving UID/PW), the webservice-call works fine.
In order to use SSO with Webservice, I created a "Deployable Webservice Proxy" with "HTTP-Authentication" and "use SAP Logon Ticket" turned on.
Then I remove Login/Password from my SOAP-Request and unfortunately it doesn't work.
What do I have to consider in addition to the topics above?
Can you provide any useful links with tutorials, hints, documentation, ...?
Thanks in advance
Andreas> Can you please list all the options that we have in order to implement SSO for EP and SAP GUI?
>
> I could not find any info in regards to the advantages and disadvantages of each SSO solution. Do you have any links that gives this information?
If you search the forum here for the terms you have used, then you will find many of them and interesting discussions about advantages and disadvantages from different views. I think that in 1 or 2 hours you will be a guru
> I am thinking more of using Kerberos authentication for SAP GUI and using OpenSSO (Sun's product)solution for EP 7.0.
>
> Do you know what SSO technologies are other companies implementing these days?
I only know which solutions I have been involved in doing the security evaluations for and implementation support.
I don't want to do any direct or indirect comparative advertizing here, but only wanted to point out to you that there is plenty of information if you use the search. What you need to understand is that other that SAP proprietary mechanisms and newer standards based initiatives (search for 'SAML'), this is often a 3rd party vendor question (and resulting discussion...).
If you find a solution and want to specifically discuss it here, then this can most of the time be done in a civilized way...
Cheers,
Julius -
Error in WebDynpro with WebServices
Hi all,
Im getting some errors using applications deployed in WEB AS SP9 that runs as a WebDynpro IView in EP.
Running the application as standalone (out of EP) this works fine.
NetWeaver Developer Studio 2.0.9
WebDynpro application using WebServices that access Oracle 8i database in the follow sequence:
WebServices -> Session Bean stateless -> Entity Bean CMP (manage connections; generate sql code, etc.)
In WebDynpro application we import WebService Model by the follow sequence:
New Model - Import Web Service Model - Local Server for WSDL Source - <WebService deployed>
In each WebServices we have created these methods:
findByID(ID);
getAll();
insert(parameters);
remove(ID);
update(parameters);
We guess that the error is generated in Entity Bean because all WebServices generate these errors.
<b>Error 1 - Application with WebServices Model</b>
Error stacktrace:
com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Repository Object br.com.xxx.fluxo.Fluxo/ComponentInterface:FluxoInterface/InterfaceViews:CadastroSituacaoFluxoInterfaceView/InboundPlugs:Default associated via relation RepositoryObjectRelation(br.com.xxx.fluxo.application.CadastroSituacaoFluxoApp, StartupPlug) does not exist.
at com.sap.tc.webdynpro.repository.RelationToOne.resolveTargets(RelationToOne.java:124)
at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:108)
at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:72)
at com.sap.tc.webdynpro.repository.RelationToOne.getTarget(RelationToOne.java:174)
at com.sap.tc.webdynpro.repository.RepositoryObject.getRelatedModelObject(RepositoryObject.java:349)
at com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo$Implementation.getStartupPlugInternal(IWDApplicationInfo.java:319)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:355)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
-- end --
<b>Error 2 - Application with WebServices Model</b>
An error has occurred:
"Failed to process the request."
Please contact your system administrator.
Hide details
Web Dynpro client:
HTML Client
Web Dynpro client capabilities:
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
Web Dynpro runtime:
Vendor: SAP, Build ID: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
Web Dynpro code generators of DC local/Apontamentos:
SapDictionaryGenerationCore: 6.4009.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:31:53[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
SapMetamodelWebDynpro: 6.4009.00.0000.20040910102423.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:36:19[UTC], changelist=280539, host=PWDFM026.wdf.sap.corp)
SapMetamodelCore: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:00[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
SapGenerationFrameworkCore: 6.4009.00.0000.20040910102127.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:25:03[UTC], changelist=280527, host=PWDFM026.wdf.sap.corp)
SapIdeWebDynproCheckLayer: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:01[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
SapMetamodelDictionary: 6.4009.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:29:01[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
SapMetamodelCommon: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:11[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationCore: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:33[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
SapDictionaryGenerationTemplates: (unknown)
Web Dynpro code generators of DC sap.com/tcwddispwda:
No information available
Web Dynpro code generators of DC sap.com/tcwdcorecomp:
No information available
J2EE Engine:
6.40 patchlevel 87037.313
Java VM:
Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
Operating system:
Windows 2000, version: 5.0, architecture: x86
Error stacktrace:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Did not find repository information for controller NotProductiveEventController
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.createCustomController(DelegatingComponent.java:55)
at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
<b>Error 3 - Application with RFC Model</b>
An error has occurred:
"Failed to process the request."
Please contact your system administrator.
Hide details
Web Dynpro client:
HTML Client
Web Dynpro client capabilities:
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
Web Dynpro runtime:
Vendor: SAP, Build ID: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
Web Dynpro code generators of DC local/Apontamentos:
SapDictionaryGenerationCore: 6.4009.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:31:53[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
SapMetamodelWebDynpro: 6.4009.00.0000.20040910102423.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:36:19[UTC], changelist=280539, host=PWDFM026.wdf.sap.corp)
SapMetamodelCore: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:00[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
SapGenerationFrameworkCore: 6.4009.00.0000.20040910102127.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:25:03[UTC], changelist=280527, host=PWDFM026.wdf.sap.corp)
SapIdeWebDynproCheckLayer: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:01[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
SapMetamodelDictionary: 6.4009.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:29:01[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
SapMetamodelCommon: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:11[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationCore: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:33[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
SapDictionaryGenerationTemplates: (unknown)
Web Dynpro code generators of DC sap.com/tcwddispwda:
No information available
Web Dynpro code generators of DC sap.com/tcwdcorecomp:
No information available
J2EE Engine:
6.40 patchlevel 87037.313
Java VM:
Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
Operating system:
Windows 2000, version: 5.0, architecture: x86
Error stacktrace:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Did not find repository information for controller ZMANPP012Controller
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.createCustomController(DelegatingComponent.java:55)
at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)Hi,
I feel this error is nothing to do with webservice model.
Please check your application properties like startupPlug,Interface View etc. Set the properties correctly and deploy once again.
Regards, VIP -
Using SAP Webservice in Netweaver Dev. Studio
How can use SAP Webservice in Netweaver Dev. Studio and using EJB?
Is there any blog, forum you know? I have lost on forum for searching because so many things related on web services..
Thanks in Advance
Best Regards
ErayEray,
Check these blogs if it helps:-
/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-i
/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-ii
Check this tutorial as well : [Using EJBs in Web Dynpro Applications|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
Chintan -
Hello , I am working on a scenario to implement Client Authentication with HTTPS , i got to a blog where its mentioed of steps of implementing HTTPS with Client auth on XI system , in order to test it i would also require a webservice client that works for this purpose. i got to SAP Soap client , but whatz the way to generate the certificate request so that i can send it to CA and get it signed any ideas pl?
Hi together,
i have the same problem? is anybody out there who could give us some hints?
many thanks
alex schramm -
Can we use HTTPS with ALE to establish a connection between the HR and ERP system? There are seperate instances for FI and HCM and we require an ALE interface between them. RFC with SNC is not an option so am wondering if there is an ALE with HTTPS route we can take? Any info will be greatly appreciated.
Hi Fahad,
As far i know there is no way to using https for ALE without PI. because ALE is base on RFC technology not http / https.
if my knowledge correct then you might need to use other middleware like SAP PI, webMethods, Tipco etc or if not you might need to do some customize scenario using webservices. but both of your ERP and HCM must be at least ECC 6.
for IDOC for example you can set the port to generate xml file. and create program to pickup and send it over soap https to HCM system.
Please correct me if i am wrong.
Regards
Fernand. -
Hi ,
Iam new to XI and had developed a http to webservice scenario.when I send the request through http adapter Ian getting the response as an error
<SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection refused: connect</SAP:AdditionalText></SAP:Error>
Could any one help me out.
Thanks & Regards,
Gangadhar.SHi Rao,
One of the solution could be restart your Java Engine in the Transaction "SMICM"...
And also test the host wether it is reachable or not in the transaction
SM49----->Ping--
>Additinal Parameters (give u r host name here and excute)
Hope this wil solve u r problem
Reward with points if helpful
Regards
Sai Ganesh -
Hello,
i have some Problems with WebServices.
When I call my function how makes the request (get_frob), it goes back to the main program and make a print! After that my request starts!
I want that the request finished first and then make a print!
I need threats for this???and how does it work?
My englisch is not so good I´m sorry for that!
Please help me
Thanks
Chris
def Button_Autorisieren:SwingButton=SwingButton{
text:"Autorisieren"
width:100
translateY:150
action:function()
var Authentication:HTTP_Authentication=new HTTP_Authentication();
Authentication.get_frob();
java.lang.System.out.println(Authentication.abfrage);
public class HTTP_Authentication {
var api_key:String="***********";
var secret_key:String="***********";
var stat:String;
var sig:String;
var frob:String;
var method:String;
var md5_String:String;
var perms:String;
var api_sig:String;
public var abfrage:Boolean;
public var link:String;
def md5:MD5=new MD5();
var parser = PullParser{
documentType: PullParser.XML;
onEvent: function(event: Event) {
if (event.type == PullParser.START_ELEMENT ) {
if(event.qname.name == "rsp" and event.level==0)
stat=event.getAttributeValue(QName{name:"stat"});
if (stat=="ok")
if(event.type==PullParser.END_ELEMENT)
if(event.qname.name == "frob")
frob=event.text;
java.lang.System.out.println("Frob: {frob}");
abfrage=true;
public function get_frob ()
method="flickr.auth.getFrob";
md5_String="{secret_key}api_key{api_key}method{method}";
java.lang.System.out.println(md5_String);
sig=md5.makeMD5(md5_String);
java.lang.System.out.println(sig);
var request = HttpRequest {
location: "http://api.flickr.com/services/rest/?method={method}&api_key={api_key}&api_sig={sig}"
method: HttpRequest.GET
onInput: function(input: java.io.InputStream)
parser.input=input;
parser.parse();
input.close();
}.enqueue();
}Hello,
thank you for your answer. It was my mistake, I discribe the problem very bad.
When i call the function get_frob(). Netbeans goes in the function and run through the end but nothing happened
onMouseClicked: function( e: MouseEvent ):Void {
test=Authentikation_Frob.get_frob();and in my if clausel there will be a wrong output! After the output my programm go back to the function get_frob() and then make the request and go back to the if clausel. Now everything ist correct. But why does my programm need 2 runs ????thats not correct!!
Thank you!!
if (test==true)
var Authentikation_Link:HTTP_Authentication_Link=new HTTP_Authentication_Link();
link=Authentikation_Link.get_link();
var uri = new java.net.URI("{link}");
var desktopClazz = java.lang.Class.forName("java.awt.Desktop");
var getDesktopMethod = desktopClazz.getMethod("getDesktop");
var desktop = getDesktopMethod.invoke(null);
var browseMethod = desktopClazz.getMethod("browse", [uri.getClass()] as java.lang.Class[]);
browseMethod.invoke(desktop, uri);
else
fehler_ausgabe.visible=true;
fehler_ausgabe.content="Fehler {Authentikation_Frob.frob_fehler} {Authentikation_Frob.frob_hilfe}";
}Edited by: Esco24 on Aug 10, 2009 1:02 AM -
JAX-WS support https enabled WebServices
Hi All,
Can anyone confirm if JAX-WS WebServices support https enabled WebServices.If it supports can a link be given to generate the WebServices and invoke the secure WebServices from soapUI client.
Thanks and RegardsYes, of course it supports https.
If the web app listener the web service is deployed in is listening on https, then a client can send the request using https, and it will be handled that way.
To learn more about it, go to [http://edocs.bea.com/wls/docs103/pdf.html] and read the books in the "Programming" section with titles starting with "WebLogic Web Services" (at the end of the Programming section). -
What's up with Webservices and BPM integration?
According to http://e-docs.bea.com/wli/docs70/design/intarch.htm, table
3-1, webservices are a key component of the Integration architecture,
which:
"Provides sample code to support WebServices integration using
WebServices technologies
such as UDDI, WebServices Description Language (WSDL), and Simple Object
Access
Protocol (SOAP). WebLogic Integration provides the ability to invoke a
WebService
from a BPM workflow, enable a BPM workflow as a WebService, and to
enable the
Application View as a WebService. For an introduction to WebLogic
WebServices,
see the WebServices and XML Tech Track in the BEA dev2dev Online at the
following
URL:
http://dev2dev.bea.com/index.jsp"
The only thing which comes close to this description is the BPM Plugin
for webservices, which is alpha code for WLI 2.1. To deploy this on 7, I
have only seen a message here describing loosely what to do.
So is this how we are expected to use webservices together with
Integration? With alpha code that requires tweaking to work with the
current version? Or am I missing something vital? The quote from the
docs suggest "sample code", however the webservices plugin is not
provided in source, so I don't see how it qualifies as sample code?
Somehow I also don't quite understand how "sample code" can be construed
as a "key component".
So what's up with webservices and Integration?
-Lasse
(only speaking for myself in news!)Your comment about the lacking of web services in WLI is correct
and a fundamental issue I have signalled to BEA already many
months ago. I even followed the BPM course to make sure I did
not miss an important point. The BPM course did not deal with
webservices because it is not available. But the fundamental remark goes further
because webservices also have a dynamic
interface WSCI to behave within a choreography of webservices
within a business process. BPM is still mainly workflow based
and intracompany. This is not what is expected as business
processes which are collaborative and a new paradigm alternative for applications
conform BPML-WSCI or BPEL4WS-ws transaction.
I still wait from BEA a confirmation that webservices and collaborative business
processes according to (at least) one of
the above standards will be included within the next version of weblogic enterprise
platform due end of March 2002.
Kind regards,
Paul Meurisse
Email : [email protected] -
Example of using session bean with webservices
Hello,
I am working with netbeans 5.5 (with JAX-WS 2.0 library) and using Tomcat.
I have created webservices and everything is working well so far. However, each webservice is making a connection to my database.
I would like to use a session bean so that I make the connection only once (at the begining of the client session for example) and store it into my session bean.
I am a newbie in those things, I search on the Web and on this forum some code examples. The only thing I have found is this article http://weblogs.java.net/blog/ramapulavarthi/archive/2006/06/maintaining_ses.html
When I tried this, the session doesn't seem to work at all : I get the same result (counter=1) twice.
Does anybody have a complete example of how to use a session with webservices please?
Thanks a lot!Sorry, I was not very clear in my last message.
I need all my webservices to share the same bean during one user session.
Then, if a page calls 2 different web services, only 1 database connection is made instead of 2. And if the user opens other pages which call other webservices, they will use the connection kept into the session bean.
Anyway, I tried to do like it is said in your website but I can not build my project. I have an error : java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/.../build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. I do not understand because I have downloaded the jax-ws 2.1.1 api and no other libraries are imported in my project. :-(
I wonder if it is not related to netbeans... -
How to use HTTPS with sender SOAP Adapter
Hi,
I am implementing a synchronous SOAP- proxy scenario and on the sender communication channel I have to use the Http Security Level as "HTTPS with client Authentication".
Where from I get the certificates to be used in sender Agreement.
Please give me a step by step approach to achieve this.
Regards,
NitinNitin,
Kindly go through the below links ...
http://help.sap.com/saphelp_nw04/helpdata/en/1f/7e2441509fa831e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
Also, make a search on the SDN as this question has been answered many a times on the forum.
Regards,
Neetesh -
Enabling HTTPS with Client Authentication for Sender SOAP Adapter on PI7.1
Hello All,
We are currently building up a HTTPS message exchange with an external client.
Our PI 7.1 recieved over HTTPS messages on an already configured Sender SOAP Adapter.
The HTTPS (SSL) connectivity works fine and was completely configured on the ABAP Stack at Trust Manager (TC=STRUSTSSO2)
Login to Message Servlet "com.sap.aii.adapter.soap.web.MessageServlet is required and works fine with user ID and password.
Now we have to configure the addtional Client Authentication.
At SOAP Adapter (Sender Communication Channel) under "HTTP Security Level"you are able to configure "HTTPS with Client Authentication".
But what are the next steps to get this scenario successfully in place?
Many thanks in advance!
JochenHi Colleagues,
following Steps still have to be done:
- Mapping public key to technical user at Java Stack
As preparation you have to activate value "ume.logon.allow.cert" with true under "com.sap.security.core.ume.service" under Config Tool. At NWA under Identity Management at for repecively technical user the public key certificate
- Be sure CA root certivicate at Database under STRUSTSSO2
- Import intermediate Certificate under Certificate List at Trast Manager for the Respecive Server Note
- use Login Module "client_cert" which you have to configure under NWA\Configuration Management\Authentication for Components "sap.com/com.sap.aii.adapter.soap.app*XISOAPAdapter".
Many thanks to all for support!
Regards,
Jochen -
HTTPS with Client Authentication not available in EHP1?
Hi Guys,
I am not seeing this option in PI 7.1 EHP1.
At SOAP Adapter (Sender Communication Channel) under "HTTP Security Level"you are able to configure "HTTPS with Client Authentication".
any help would be appreciated
Thanks,
SriniHi Srinivas,
I didnot use it personally. But when I see on SAP help I dont see that option anywhere. Please see this sap help:
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/3555240bea31c3e10000000a42189d/content.htm
But you have an option sender agreeement for security. Please see this help:
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ceb8cf18d3424be10000000a421937/content.htm
Since we have the option to skip the adapter engine they have enabled this option in http adapter. So you can directly hit to integration engine skipping the adapter framework, which will help in improving the performance. Please see this help on this:
http://help.sap.com/saphelp_nwpi711/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm
Regards,
---Satish
Maybe you are looking for
-
Adobe PDF printer freezes on my Win 7 x64 with Acrobat XI
Purchased and running Acrobat XI Standard latest update 11.0.10 on Win 7 Pro x64 (6.1.7601 Service Pack 1), a rather fresh installation (2 months). Adobe's conversion to PDF doesn't work when using the Adobe PDF printer. The printer initiates normal
-
"reconnect" old events to the Event Library
I imported a bunch of DV tapes last spring(onto HDD "iMovie VIdeos 1") and everything worked great, but I hadn't used iMovie since then, until this week. I'm now importing old VHS tapes(onto HDD "iMovie VIdeos 2"). This importing is also going well.
-
Tune up app has wrecked my iTunes collection, any ideas on how to restore my library?
Having a nightmare with itunes and an app they call Tuneup Tune up recently did an automatic update and proceeded to scan my itunes library with a thing they are calling automagic, great I thought... but what a mess it has made, Its split albums into
-
Missing data after removing formula
Hi All, iam writing formula "Missing" for one member so its showing missing for that member its gud but i remove the formula for that member still its missing its not showing the data for that member how can i get the data for that member with out re
-
i have a Z10. And i have the red light of death. Can't charge cell AT ALL. Nothing. Won't come ON at all. I have two years of history, pics, passwords, contacts, etc on this cell and i REALLY need to retrieve the info. Went to 2 different places to t