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
Similar Messages
-
Calling webservices from ABAP via https/ssl with p12 certificates.
Hi all,
I have a problem with calling an external webservice via HTTPS.
I configured my system as indicate in the blog /people/jens.gleichmann/blog/2008/10/31/calling-webservices-from-abap-via-httpsssl-with-pfx-certificates but when I check the RFC connection the result is: ICM_HTTP_SSL_ERROR.
I check the ICM monitor and this is the result:
[Thr 11] Thu May 26 16:02:57 2011
[Thr 11] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_SSL
[Thr 11] session uses PSE file "/usr/sap/SV5/DVEBMGS10/sec/SAPSSLHTTPS1.pse"
[Thr 11] SecudeSSL_SessionStart: SSL_connect() failed
secude_error 536875072 (0x20001040) = "received a fatal SSLv3 handshake failure alert message from the peer"
[Thr 11] >> Begin of Secude-SSL Errorstack >>
[Thr 11] WARNING in ssl3_read_bytes: (536875072/0x20001040) received a fatal SSLv3 handshake failure alert message from the peer
WARNING in ssl3_output_cert_chain: (12354/0x3042) No hierarchy certificate in FCPath
WARNING in reduce_FCPath_by_Issuer: (12354/0x3042) No hierarchy certificate in FCPath
[Thr 11] << End of Secude-SSL Errorstack
[Thr 11] SSL_get_state() returned 0x000021d0 "SSLv3 read finished A"
[Thr 11] Server's List of trusted CA DNames (from cert-request message):
[Thr 11] #1 " certificate 1
[Thr 11] #2 " certificate 2
[Thr 11] SSL NI-sock: local=ip peer=ip2
[Thr 11] <<- ERROR: SapSSLSessionStart(sssl_hdl=6000000000652010)==SSSLERR_SSL_CONNECT
[Thr 11] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT [icxxconn_mt.c 2012]
SAP_ABA 700 0012 SAPKA70012 Componenti validi per tutte le applicazioni
SAP_BASIS 700 0012 SAPKB70012 Componenti di base SAP
PI_BASIS 2005_1_700 0012 SAPKIPYJ7C PI_BASIS 2005_1_700
ST-PI 2008_1_700 0001 SAPKITLRD1 SAP Solution Tools Plug-In
SAP_BW 700 0013 SAPKW70013 SAP NetWeaver BI 7.0
SAP_AP 700 0010 SAPKNA7010 Piatt. d'applicazione SAP
CCM 200_700 0010 SAPK-27010INCCM CCM 200_700 : Add-On Supplement
SRM_PLUS 550 0010 SAPKIBK010 SRM_PLUS per mySAP SRM
SRM_SERVER 550 0010 SAPKIBKT10 SRM_SERVER
BI_CONT 703 0001 SAPKIBIIP1 Contenuto Business Intelligence
ST-A/PI 01L_BCO700 0000 - Servicetools for other App./Netweaver 04
What do you think about it?
Best regards,
Norberto.Don´t forget to set your proxy settings! Be sure that the application server could establish a connection to the external server.
From the BLog.
Thr 11 WARNING in ssl3_read_bytes: (536875072/0x20001040) received a fatal SSLv3 handshake failure alert message from the peer
From the Error.
Have you looked into the above details?
Thanks
SM -
Problem accessing webservice from abstract portal component
Hi,
I have created a webservice from a portal service. So i have created one more portal application to accessing that web service. In that, i have done the following:
-> Portal Service from Wsdl file - Client Side
-> I have entered the Wsdl file name as, the location of the WebService
-> I have selected the methods what i want to use in my application
-> Finally i have given my ServiceName, Alias and Package as well.
-> I have created one application object (Abstract Portal Component) to access the Web Service.
-> Inside that AbstractPortalComponent, i have written the coding to access the methods.
-> I have created one system with System Alias, i used this Alias name in my portalapp.xml
While running it shows the error as,
<b>com.sapportals.portal.prt.service.ServiceException: Service not found: com.sap.portal.prt.soap.Alias</b>
Help me in this, Thanks in Advance.,
With Regards,
Venkatesh.K.Hi venkatesh I ahve similar problem please could you share with us how did you sort out this error?
Sreekanth -
Related documents or links on how to call webservices from WDJ
Hi all
i need documents & links on how to call webservices from Webdynpro for Java.
if anybody send the documents on sample scenarios on the same then it is the great help to me...
Thanks
SunilHi Sunil,
May these links help you.
http://help.sap.com/saphelp_nw04/helpdata/en/f7/f289c67c759a41b570890c62a03519/frameset.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/64/0e0ffd314e44a593ec8b885a753d30/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm
and the below thread to call weservices in java.
Re: How to call a web service from Java
Regards,
Supraja -
Is it possible to call Webservice from VB 6.0?
Is it possible to call Webservice from VB 6.0?
Regards,
Krishanu rayHi
Please check following links.
Calling Web Services from Visual Basic 6, the Easy Way
SAP PI integration with VB 6.0
Thanks,
Dipak Patil -
XML Error while calling webservice from oracle function.
I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00225: end-element tag "H4" does not match start-element tag "P"
Error at line 9
ORA-06512: at "SYS.XMLTYPE", line 0
ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call
-
Call webservice from PJC over https protocol
Hello!
I have problem calling webservice from PJC.
The webservice is on https server so I must declare the keystore and truststore...
I have generated java classes from wsdl file with SOPAUI and axis 1.0...
Then I have made a code which integrate axis library, jsee ...
On the client side all works fine (with jdk 1.3 compiler)
When I deploy it on oracle forms server and call it from oracle form I get the error:
java.net.MalformedURLException: unknown protocol: https
in this way I register the certificate..
private void registrirajCertifikat(String direktorij, String password,
String keyStore, String trustStore) {
System.out.println("keystore: " + direktorij + keyStore);
System.out.println("trust: " + direktorij + trustStore);
System.out.println("========================================");
System.setProperty("javax.net.ssl.keyStore", direktorij + keyStore);
System.setProperty("javax.net.ssl.keyStorePassword", password);
System.setProperty("javax.net.ssl.keyStoreType", "pkcs12");
System.setProperty("javax.net.ssl.trustStore", direktorij + trustStore);
System.setProperty("javax.net.ssl.trustStorePassword", password);
System.setProperty("javax.net.ssl.trustStoreType", "jks");
System.out.println("========================================");
System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
}I have my kestore and truststore located on http server..
Every time the bean is initializzed I download the keystore and truststore to my java.tmp.dir
The same code in Jdeveloper works fine.. also in cmd prompt.. but in oracle forms I can't get it to run..
anybody can help me?
this is my console output when running a form:
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\peterv.IN2SLO
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\peterv.IN2SLO\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://dekani:7777/forms/java/frmall_jinit.jar from JAR cache
Loading http://dekani:7777/forms/java/images.jar from JAR cache
Cached copy of http://dekani:7777/forms/java/in2kartica.jar
** DOKUMENTNI SISTEM **
** PJC bean **
zacetek
http://10.1.2.235/in2/asarh.pfx
Copying resource (type: application/octet-stream, modified on: Dec 18, 2009 12:39:35 PM)... to: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\asarh.pfx
3794 byte(s) copied
http://10.1.2.235/in2/arhaskeystore.jks
Copying resource (type: application/octet-stream, modified on: Dec 18, 2009 12:39:35 PM)... to: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\arhaskeystore.jks
3800 byte(s) copied
Registriramo nastavitve za SSL
keystore: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\asarh.pfx
trust: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\arhaskeystore.jks
========================================
po registraciji nastavitev za SSL
========================================
https://hosting.arhiviraj.si/webservice2/InDocArchiveWS.asmx
--> napaka: *java.net.MalformedURLException: unknown protocol: https*
java.net.MalformedURLException: unknown protocol: https
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at in2.mikrocop.Test.dokumenti(Test.java:94)
at in2.mikrocop.Test.testiranje(Test.java:66)
at in2.mikrocop.Test.<init>(Test.java:49)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at oracle.forms.ui.VBean.instantiateBean(Unknown Source)
at oracle.forms.ui.VBean.setProperty(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)I have tryed tu run my example with Jinitiator "java" like
c:\java -jar c:\in2kartica.jar
and all works fine..
I don't know why the same example won't run inside oracle form as javabean?!?
this is my cmd console
C:\jdk\bin>java -jar c:\in2kartica.jar
** DOKUMENTNI SISTEM **
** PJC bean **
keystore: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\asarh.pfx
trust: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\arhaskeystore.jks
========================================
po registraciji nastavitev za SSL
========================================
https://hosting.arhiviraj.si/webservice2/InDocArchiveWS.asmx
unknown attr1.3.6.1.4.1.311.17.1
Dolzina: 91 <------------ this is the result from webservice located on address above -
SAP NetWeaver Portal or SAP Enterprise Portal 7.0 ?
Hi, i am confused in the names, what is the differences.
SAP NetWeaver Portal or SAP Enterprise Portal 7.0 ?
What is final name in the Nw04s ?
Visual Composer is included in the Nw04s BI or in the Portal ?
Collaboration and Knowledge management inside Portal too ?
Thank you,Hi Victor,
What sort of information are you after?
For some sales type stuff go to http://www.sap.com/platform/netweaver/components/portal/index.epx
For more technical stuff go to
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/816f422f91c153e10000000a1550b0/frameset.htm
Cheers
Dan -
Hi
I need to create a palette in bridge which will interact with webservice and create a treeview. I do not know how to call webservice from adobe bridge. Can anybody help me?Hi
I need to create a palette in bridge which will interact with webservice and create a treeview. I do not know how to call webservice from adobe bridge. Can anybody help me? -
How to call webservices from ADF page
Hi,
I am using ADFBC.
I want to call webservices from ADF page.please give examples of sample program on how to call a web service from the ADF pages.please give examples.
please help me.
Thanks,http://marianne-horsch-adf.blogspot.com/2011/03/how-to-create-web-service-based-adf.html
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/70-dependent-listboxes-using-ws-286107.pdf
http://www.oracleimg.com/technetwork/developer-tools/jdev/adfcomplexwstypes-101013.html
http://technology.amis.nl/blog/9726/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components
http://oracamp.com/passing-parameters-between-web-services-and-jsf-pages -
Calling webservice from Flex?
Hi,
I get the error when I call webservice from Flex.Can you tell
me why this happen?
Thanks
Mark
[RPC Fault faultString="Security error accessing url"
faultCode="Channel.Security.Error" faultDetail="Destination:
DefaultHTTP"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at DirectHTTPMessageResponder/securityErrorHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/redirectEvent()I think this means that the source of the web service does
not have a crossdomain.xml file on it allowing access from your
site. Try adding one to the root of the server and see if that
fixes the problem.
hth,
matt horn
flex docs -
Is posible call WebServices from Forms???
Hi.
My cuestion is simple. I don´t found information about this.
Can I call webservices from a Forms???. If it´s possible how it is??.
I don´t find anything document.
Thanks and sorry for my english.Hi!. thnaks for response.
The version is Forms 11g.
FormsEleven thaks!! !!
The webService are in .Net C# in a IIS. There is some problem???.
Edited by: Adama on 30-ago-2010 14:33 -
Problem in calling Webservice from Webdynpro ABAP
I want to call a BAPI FM which is available in SAP ECC server when user is clicking on a button in a web dynpro application which is available in SAP Portal server.
For example,
Portal server name is DVP-EPP &
ECC server name is DVP-ECC
I have the done the following steps to achieve it,
In Server DVP ECC:
1) Created Web service from the standard BAPI FM (SE37-->Utilities-->More Utilities-->Create WebService --> From the the Func.Module)
2) Downloaded the WebService as WSDL file from SOAMANAGER
3) Tested the Web service through SE80, it is correctly calling the BAPI & creating necessary data.
In Server DVP EPP:
4) Created a Proxy class as follows,
a) SE80 --> Package --> Create --> Enterprise service
b) Selected Object type "Service Consumer"
c) Selected Service Consumer "Local File"
d) Browsed and selected WSDL file downloaded from DVP ECC
e) Selected the Package, Prefix, Request, Completed the process & Activated it.
5) Configured the Logical port as follows,
a) Selected my Proxy class through F4
b) Wrote a name for Logical port, Selected 'Default port' checkbox and selected 'Create'
c) In the next screen, in 'Call parameters' tab, selected the 'URL' radio button & mentioned the URL of the WSDL-Document created in DVP-ECC system
d) Saved the data & activated it
5) Now, tested the service through (SE80-->Package-->Enterprise Services-->Client Proxy) option.
6) When I test it, system prompts a dialog box for User-Name & Password (as available in DVP-ECC system).
After the details are given, system throws the Information message as "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/" - Exception of class CX_AI_SYSTEM_FAULT
No record is created in DVP-ECC through the WebService BAPI.
Please tell me whether the steps that I followed are correct as per my requirement and a solution for the above interruption.
Thanks in advanceGood day guys,
Somehow I managed to resolve the above error.
Now in DVP-EPP system, I am able to Test the Web service Client Proxy (through SE80) and a record is successfully created in destination system (DVP-ECC).
Now, in Webdynpro I am unable to call this webservice proxy class.
System throws the error,
Error (id=SoapFaultCode:5): Web service processing error; more details in the
web service error log on provider side (UTC timestamp 20141006045544;
Transaction ID 9A144DE49C12F1B5A6B9E41F137BE3CC)
I just created a sample WDA application and on click of a button I am calling the Webservice Proxy class as follows,
Method on_submit_click().
TRY.
CREATE OBJECT wd_assist
EXPORTING
logical_port_name = 'ZLOG_PORT'. "Logic port creatd for Proxy class (in SOAMANAGER)
CALL METHOD wd_assist->bus1240create "Method available in generated Proxy Class
EXPORTING
input = ls_inp
IMPORTING
output = ls_outp.
CATCH cx_ai_system_fault.
ENDTRY.
ENDMETHOD.
Do I have to do any thing additionally in order to call the WebService in WDA?? Because, in the same system, if I test it in SE80, record is perfectly created in destination server.
Also please suggest if I have to do any other configuration changes related to this.
Keenly awaiting your reply.
Have a nice day .
Thank you. -
Calling webservice from webdynpro thru model(webservice created from BAPI)
Hi all
i have created one webservice from Functional module in backend system(ECC) and also i released the same webservice in backend(ECC) thru the TCODE wsconfig.
my questions are
1) how to execute that created Webservice in backend system itself(ECC). can you please send the execution steps for webservice in ECC system.
2) how to call from webdynpro thru model for that created webservice from functional module. can you please send the execution steps for the same. here there are three options while model for webservice like local server,Local file system and UDDI or URL.
Regards
Sunil
[points are always rewardable]hi!
Below are good documents on Webservices
Adaptive webservice model
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e
Re Importing of Web Services in Simpler way
Re Importing of Web Services in Simpler way
Using RFC as WebService in WebDynpro
Using RFC as WebService in WebDynpro
Enterprise Applications with webservices and Web Dynpro
The specified item was not found.
Regards
vishal -
How can we call Tcode from the Portal?
Senario:
2 BAPIs are developed:
1. The information say... ABC is stored into the table from the portal using the Create BAPI.
2. The change in this ABC information is done using a particular <b>Tcode</b> say xyz. This is a report that calls the change BAPI inside.
The ABC information change will be done either through the Tcode in ECC or through the EP.
3. The Tcode has been created in ECC.
Please let me know who will be responsible to call this tcode from the Portal and how?
I am very very new to EP field so please help...Hi Jignesh,
If you have already performed these steps and are able to see the iview that you have created. Then I think your issue has been sorted out.
To explain it to you in detail.
Let us suppose, you have created a SAP Transactional iview to access the TCODE-SE38.
Now, as soon as the user clicks on the iview, it will authenticate by asking for the username and password for the backend system...if your SSO is not in place.
Now, if your asking me how to make the iview visible.
You can add assign this SAP transactional iview to a page,a workset or a role and add the corresponding page, workset or role to the user in USER ADMINISTARTION by making it an entry point.
Or to make the iview as an entry point, right click on the iview that you have created and open the properties, then for the option that says entry point choose yes.
I guess that answers your question.
Let me know if you have need any further clarifications on the same.
Regards,
Sandeep
Maybe you are looking for
-
Monitoring problem in async SOAP receiver adapter
Hi! I have a File to SOAP asynchronous scenario. I want to see in monitoring (sxi_monitor) if problem occured when calling the webservice, for example when the connection is refused, or a timeout. In Runtime Workbrench, I can see the errors in Commun
-
How do you convert the events on iCal to a word document?
I really need to convert my calendar over! Please help
-
I have several catalogs in Aperture that I would like to import to Lightroom 5 and I want to retain the original RAW files as well as the files with the edits. How can I do this?
-
i just got my E72 yesterday, and the email thing is kinda bugging me. i set up my hotmail and gmail account and it's just not working, there's this little cross symble on the top right hand side... do i need to have internet servies on my sim card or
-
Weird error when trying to empty the trash
Recently, at times when I try and empty the trash I am getting this error: The operation cannot be completed because one or more required items cannot be found. (Error code -43). It doesn't happen all the time and it isn't consistent. The only thing