Web Services and Portal v1
Can 9iAS Portal v1 support Webservices just like Portal v2 can?
Yes ... I doubt the PDK samples built in V1 are backwards compatible because V1 used Apache JServ and V2 uses OC4J. I did build a demo for Oracle OpenWorld 2001 that showed this by building a stub in JDeveloper consuming the Web service and then building a portlet using the JPDK that used that Java stub to call a Web service. I did it on 9iAS Portal 1.0.2.2 and it worked fine. Not sure if that's all you're looking for ... I could send you the basic stuff offline but it is a little old and folks familiar with it are probably not so many now. So bear that in mind - [email protected]
Mike.
Similar Messages
-
Recently added to DCI's Corporate and e-Business Portals
Conference:
Databases, Portals, Web Services, and XML Integration Magic
When: July 29, 2001, 9:00 AM - 5:00 PM
Where: Hynes Convention Center, Boston
http://www.dci.com/brochure/porbos/seminars.aspRecently added to DCI's Corporate and e-Business Portals
Conference:
Databases, Portals, Web Services, and XML Integration Magic
When: July 29, 2001, 9:00 AM - 5:00 PM
Where: Hynes Convention Center, Boston
http://www.dci.com/brochure/porbos/seminars.asp -
Are there any versions of the portal that have native support for communications to Web Services? Is it going to be eventually possible to dynamically discover channels via a discovery method like UDDI?
Currently no, in the next release we have preliminary support for web services and there might be web services provider but eventually no time frame yet we do plan to support UDDI ..
-
Error while consuming web service in portal component
Hi All,
I am working on a portal application which uses web services in portal component via web service.
I have tested the web service and then creted a relevant portal service to it .When using this portal service in the portal component and running it Im getting the following run time error
Portal Runtime Error
An exception occurred while processing a request for :
iView : Test_portal_service_app.Test_portal_service_app
Component Name : Test_portal_service_app.Test_portal_service_app
com.sap.portal.ivs.global.ume.UMECLient.
Exception id: 11:17_03/07/08_0028_2739150
See the details for the exception ID in the log file
I did not use any ume attributes or ume api methods in the portal component .
I have also added sharingreference= portalserviceapplication name in deploymentdescriptor of the portal application which has the portal component.
Please provide any suggestion for the possible cause of error .
Urgent!!!!
Thanks.Hi all,
Please throw some light into this issue i am getting the following exception.
com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: Proxy Authentication Required.
I have given the proxy settings in the com.sap.portal.ivs.httpservice in the portal and also
defined a proxy server in the Visual Administrator under Services -> Webservice Container -> HTTP Proxy Server
I am calling service in the following manner.
IPortalRuntimeResources runtime = PortalRuntime.getRuntimeResources();
IService service = runtime.getService(IWS_P_Service.KEY);
IWS_P_Service ws_service = (IWS_P_Service)service;
Volumes from = new Volumes(Volumes.VOLUMES_KILOLITER_VALUE);
Volumes to = new Volumes(Volumes.VOLUMES_LITER_VALUE);
ChangeVolumeUnit cvu = new ChangeVolumeUnit(1200,from,to);
// working upto here
response.write("working");
ChangeVolumeUnitResponse cvu_res = ws_service.ChangeVolumeUnit(cvu);
double result = cvu_res.getChangeVolumeUnitResult();
response.write(result+"");
It is working upto "working".
If any body has any solutions please post.
Thanks -
Consuming web service in portal
Hi all,
I had a web service now i want to use it in my portal.
Can anyone help me in this regard.Hi Lokesh,
To consume a Web service, you can create a deployable or a standalone proxy for the Web service in the SAP NetWeaver Developer Studio using a WSDL document as a basis. This can be done with just a few mouse clicks.
The difference between a deployable and a standalone proxy is that, for a deployable proxy, the application of the Web service client must be deployed on the J2EE engine. A standalone proxy can be executed without the J2EE engine.
The role of the Web service client developer has been created so that Web services can be consumed.
The Web service client developer has the task of integrating a Web service in an application. He or she knows the specific requirements for the Web service and creates the Web service client proxy definition. Afterwards, the developer programs the client application using the service endpoint interface.
Please read through this Step by Step approach for same:-
[Consume WebServices in Portal|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2188ae5-0601-0010-dd93-c23e381ef41e]
Hope this helps,
Regards,
Shailesh -
Calling web service from portal
Hi
I have created a webservice to RFC scenario in XI. Now I need to access this webservice from enterprise portal. how do i inlcude this web service in the portal. I want to use ABAP web dynpro.
thanks
sankarHi,
Refer these links:
Re: WebService Creation
http://www.riyaz.net/blog/index.php/2007/12/10/xipi-consuming-xi-web-services-using-web-dynpro-part-i/
How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
Check this thread also.
Implementing Webservices Doubt
Invoke Webservices using SAPXI
Invoke Webservices using SAPXI
Testing XI exposed Web-Services
Testing XI exposed Web-Services
RFC as Web Service step by step approach in XI
Exposing Remote Function Module as Web Service in XI - Step By Step
Using RFC as WebService in WebDynpro
Creating and Exposing BAPI as Web Service and using it in Web Dynpro
RFC calls from Adapter modules...the Web Service Way!
How Web services play a key role on the SAP NetWeaver
http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-500244687cbd30ffd
How to develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
How To... Set Up a Web-Service Related Scenario with SAP xi
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
Enhancing Your Web Services with SAP Exchange Infrastructure
http://www.sappro.com/downloads/SAPXI.pdf
Regards,
Nithiyanandam
Edited by: Nithiyanandam A.U. on Aug 12, 2008 11:06 AM -
Load balancing SMA web service and SMA end point URL
Hi,
We have set up the recommended 3 servers with Azure Pack, SMA Web Service and Runbook Worker. We are now wanting to configure the Azure pack portal to setup the SMA endpoint url for the web service. Before we do that, we are assuming we should
load balance the web services to answer on 1 url (ie, smaws.domainname.com).
1. Is there any guidance or things to consider when load balancing the 3 web services to answer to 1 url. We will probably use f5 since that is what we use.
2. The end point url that we configure for Azure Pack automation should be this load balanced URL correct?
3. Should we have the Azure pack installed on just one of the servers or all 3. We did all 3 but it seems like server2 and 3 just redirect to 1 anyway so I am assuming the URL for Azure pack is stored in a db somewhere.
4. Are there any other components of SMA/Azure Pack that should also be load balanced?
Thanks
Thanks LanceSo in this case you need to register the SMA Runbook Workers (do this on machine 1):
$webService
= "https://localhost"
$workers
= (Get-SmaRunbookWorkerDeployment
-WebServiceEndpoint
$webService).ComputerName
if($workers
-isnot [system.array]) {$workers
= @($workers)}
$workers
+= "MachineName2"
$workers += "MachineName3"
New-SmaRunbookWorkerDeployment
-WebServiceEndpoint
$webService -ComputerName
$workers -
Difference between a WEB service and a Enterprise Service?
Can Anybody explain me the difference between a WEB service and a Enterprise Service?
Hi Anilkumar K Naidu ,
Web service
A Web service is a self-contained, modularized functionality, which can be published, discovered, and accessed across a network using open standards and which is supported by SAP NetWeaver. Web services cover services provision for integration within an enterprise as well as cross enterprises on top of any communication technology stack, whether asynchronous or synchronous, in any format.
Web Services in the NetWeaver framework play an important role in facilitating the integration of disparate applications from various departments or trading partners and thus increasing business productivity. This benefit allows small and medium businesses also to integrate their business applications with larger trading partners. The benefit derived from this seamless integration introduces security concerns when all the business logic is now being exposed through a standard interface that is a catalyst for security vulnerabilities. SAP Security Managers must use automated diagnostics tools to ensure that the security vulnerabilities are caught in pre-production and in post-production phase.
Web Services Testing: SAP Netweaver Platform
http://www.crosschecknet.com/web_services_testing_SAP.php
How Web services play a key role on the SAP NetWeaver
http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-500244687cbd30ffd
How to develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
How To... Set Up a Web-Service Related Scenario with SAP xi
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
Enhancing Your Web Services with SAP Exchange Infrastructure
http://www.sappro.com/downloads/SAPXI.pdf
Web Services, Part XI: Consuming Multiple Web Services
http://www.webreference.com/js/column106/
Vulneribility assesment of SAP Web Services
http://www.crosschecknet.com/resources/white_papers/sap_va.pdf
Enterprise Service
Enterprise Service-Oriented Architecture (Enterprise SOA)
Enterprise SOA is a blueprint for an adaptable, flexible, and open IT architecture for developing services-based, enterprise-scale business solutions. With SAP NetWeaver as a technical foundation, enterprise SOA moves IT architectures to higher levels of adaptability and moves companies closer to the vision of real-time enterprises by elevating Web services to an enterprise level.
An enterprise service is typically a series of Web services combined with business logic that can be accessed and used repeatedly to support a particular business process. Aggregating Web services into business-level enterprise services provides a more meaningful foundation for the task of automating enterprise-scale business scenarios.
SAP Enterprise Services Architecture
http://en.wikipedia.org/wiki/SAP_Enterprise_Services_Architecture
ENTERPRISE SERVICEORIENTED ARCHITECTURE DESIGN, EVELOPMENT,AND DEPLOYMENT
http://download.sap.com/platform/esoa/brochures/download.epd?context=FB8D5E235B637255604CD1EDB755014400C523BC4E4632245A59C838A212B5F04C71A43F8B38FC591628F4C698D8CAA859405AA974284758
Enabling Enterprise Services
http://help.sap.com/saphelp_nw04s/helpdata/en/80/be7042f1e6d242e10000000a1550b0/content.htm
Enterprise Service-Oriented Architecture
https://www.sdn.sap.com/irj/sdn/enterprisesoa
Define Enterprise Services using the Enterprise Services Community
https://www.sdn.sap.com/irj/sdn/define-es
Enterprise service bus
http://en.wikipedia.org/wiki/Enterprise_service_bus
Enterprise Services Workplace
http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/flddisplay.asp
cheers!
gyanaraj
****Pls reward points if u find this helpful -
NLB for Two FIM Service and portal servers in single domain
Hi,
I am currently working in a FIM Project in which i need to install two FIM service and Portal Servers in single Domain.
Customer wants to open the FIM Portal with common URL of both the Servers.
I have only knowledge that we need to do NLB between IIS of both the servers. anyone can provide help that how can we achieve this.
Any help would be really appriciated.
Thanks,Actually - just configure NLB and make sure that your Sharpoint site collection handles access mapping for this common name. Best would be to create it with this name as a site name from the start.
Same for service - configure all nodes to use same service name and configure NLB.
Here is some blog post which should help on details:
http://blogs.msdn.com/b/agileer/archive/2011/06/28/setting-up-an-nlb-cluster-for-a-fim-portal-web-service.aspx
Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl -
Problem with MDM web services and webdynpro
Hi MDMguru,
I have created web services from SDN example: it reads the MDM version.
If I use J2ee Navigator Web Services and I try mywebservices, it works very well.
I have created a webdynpro (from this SDN Example https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf).
I have followed step by step the example.
But when run webdynpro and it calls my webservices it not works because it throws this exception:
javax.xml.rpc.soap.SOAPFaultException: Exception in method getVersion. , Debug , , com.enel.sap.ws.component.WSComponent.VersionMDM , sap.com/tcwddispwda , J2EE_GUEST
Can someone help me?It appears that %ROWTPYE is not supported directly, and that we need to create a TYPE to wrap the return data
Thanks to Marc Thompson for the details (http://marc-on-oracle.blogspot.co.uk/2007/12/11g-database-installation-and-native.html)
PD -
New Web Services and UDDI Sample
New Web Services and UDDI sample has been hosted on OTN site.
In this sample learn how to invoke web services dynamically. You will also learn how to publish and look up Web Services registered in Oracle UDDI registry. This sample application implements an insurance portal where the user can look out for the best insurance deals.
http://otn.oracle.com/sample_code/tech/java/web_services/content.html
Regards
-- Abhijeetbump
-
Diff b/w Web service and window service
What is the difference between web service and window service, whether the both are same or not, Give some explain about that each one and give some examples also.
An XML Web service is a component that implements program
logic and provides functionality for diseparate
applications. These applications use standard protocols,
such as HTTP, XML, and SOAP, to access the functionality.
XML Web services use XML-based messaging to send and
receive data, which enables heterogeneous applications to
interoperate with each other. You can use XML Web services
to integrate applications that are written in different
programming languages and deployed on different platforms.
In addition, you can deploy XML Web services within an
intranet as well as on the Internet. While the Internet
brings users closer to organizations, XML Web services
allow organizations to integrate their applications.
A Windows service starts much before any user logs in to
the system (if it has been setup to start at boot up
process). A Windows service can also be setup in such a way
that it requires a user to start it manually ? the ultimate
customization!
Windows services run as background processes. These
applications do not have a user interface, which makes them
ideal for tasks that do not require any user interaction.
You can install a Windows service on any server or computer
that is running Windows 2000, Windows XP, or Windows NT.
You can also specify a Windows service to run in the
security context of a specific user account that is
different from the logged on user account or the default
computer account. For example, you can create a Windows
service to monitor performance counter data and react to
threshold values in a database. -
SSO to a Web Service from Portal
Hi All,
I have EP deployed on machine A, and my web application deployed on machine B, and I need to get SSO enabled between EP and the web application. Machine B is a Windows 2003 Server, and has the ISAPI filter installed to get at the HTTP_REMOTE_USER from the server variables, when I come from the EP. The web application on machine B is able to get the HTTP_REMOTE_USER server variable. This web application is an ASP.Net application, which calls web services in order to do any processing, including logging in a user. The flow looks like this:
EP -> web app page -> redirect to login page -> check if HTTP_REMOTE_USER is present, if so, call web service to login user.
The problem is this: when in the login page, I get at the HTTP_REMOTE_USER, which only gives me a user name. In order to actually log the user in, I need to call a web method, passing in a user name and a password. However, I don't have a password, and if I put a web method to login the user without the password check, it becomes a security hole. I hence need to check for the HTTP_REMOTE_USER in my web service layer as well, but I don't seem to be able to get at the HTTP_REMOTE_USER in the web service. At present, both web service and web application are on the same machine, but I still don't get the server variable. Isn't the web service (yet another) HTTP-based application, which should be able to get at the server variables? How do I get at the server variables to flow to the web service as well?
In addition, I need to also do the following: I need to create an iView, which will call web methods on the web service. The web service uses WSE 1.0, and validates to check that there is a UsernameToken present. So, I need something similar to the above, wherein the web service can "figure out" that it is being called from the iView, and can skip the validation.
Regards,
Vivek
PS - Points will be definitely rewardedHi,
Can anyone pls help me with this.
Any ideas are most welcome.
Regards,
Vivek -
Pl/Sql web service and collections not working
Hello
I'm trying to create a web service from a function in a package which returns a collection. The creation of the web service and its deployment seem to work correctly. I do get the following warning :
WARNING: OWS-00077 The Value Type class: pxWsLang.PamLanguagerecordBase does not have a valid JAVA Bean pattern
but I don't think this is the source of the problem.
When I try to test the web service using the endpoint in the wsdl I get the following answer in the browser:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>Error creating target: pxWsLang.WsLangUser</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
In the DOS window for the OC4J I get the following error :
2006-11-15 09:21:25.852 ERROR OWS-04005 An error occurred for port: {http://pxWs
Lang/WsLang.wsdl}wsLangSoapHttpPort: javax.xml.rpc.JAXRPCException: Error creati
ng target: pxWsLang.WsLangUser.
The PL/SQL code is as follows :
Object:
CREATE OR REPLACE TYPE PAM_LanguageRecord as OBJECT
NR NUMBER(3),
SYMBOL VARCHAR2(2)
Collection:
CREATE OR REPLACE Type PAM_LanguageTable as Table of PAM_LanguageRecord;
Package body :
create or replace package body PAM_TEST is
function CursorTest return Pam_LanguageTable is
Res_LangTable PAM_LanguageTable;
cursor cur is select * from stc_languages;
begin
Res_LangTable := new PAM_LanguageTable();
for Rec in cur loop
Res_LangTable.Extend(1);
Res_LangTable(cur%ROWCOUNT) := new PAM_LanguageRecord
(Rec.NR,
Rec.SYMBOL
end loop;
Return Res_LangTable;
end;
end;
I'm using JDeveloper version 10.1.3.1.0.3984
How can I get this to work ? (without using Apache Axis or other tools :-)
Is it supposed to work ?
Many Thanks
PaulHi,
for the "error creating target" problem I found the solution here:
[WS from a PL/SQL package]: Error creating target
Hope this helps.
Regards,
Patrik -
Web service and servlets in the same project...web.xml?
Hello, I have a problem with my web service.
I have a server, which displays a web service. I programmed this service with JAXRPC.
I have a client, in another directory. I succeded in compiling, deploying and running the web service.
The problem is that after I tried to integrate this service in an existing project. This project contains servlets. In these servlets, I'm using sessions.
These servlets are on the same side as the server of the web service. Because of the implementation of my code, I'd like to use in the class that represents the server of the service, the same session as the one I'm using in the servlets.
But of course, it's not working by itself. I know there's something to do with the web.xml files.
The thing is that I created a web.xml file for the service, and another for the servlets.
I was thinking of joining both of them in one xml file, but everything crashes then...
Could someone tell me how to create a project with a web service and servlets, and mostly how to configure the xml file??
Thanks for any help
PhilippeHello, I have a problem with my web service.
I have a server, which displays a web service. I programmed this service with JAXRPC.
I have a client, in another directory. I succeded in compiling, deploying and running the web service.
The problem is that after I tried to integrate this service in an existing project. This project contains servlets. In these servlets, I'm using sessions.
These servlets are on the same side as the server of the web service. Because of the implementation of my code, I'd like to use in the class that represents the server of the service, the same session as the one I'm using in the servlets.
But of course, it's not working by itself. I know there's something to do with the web.xml files.
The thing is that I created a web.xml file for the service, and another for the servlets.
I was thinking of joining both of them in one xml file, but everything crashes then...
Could someone tell me how to create a project with a web service and servlets, and mostly how to configure the xml file??
Thanks for any help
Philippe
Maybe you are looking for
-
Powerbook problems after upgrade to 10.4.3
I recently upgraded to 10.4.3 on my 12" Powerbook. Since the upgrade many applications crash immediately after being started including Finder. If I log into a separate profile (eg 'root') the same thing happens however on different applications. For
-
Macbook Pro WiFi connectivity issues
Hi there - planning on contacting Apple directly tomorrow but thought I'd put this question to the community before I run up my phone bill! For the past few days I've seen my WiFi connectivity go severely downhill, I've had my new Macbook Pro 2012 (n
-
Win7 Upgrade Success... Almost
Well, after my initial attempts to install all of the HP Win 7 updates and having numerous problems that many have posted I decided to restore my system to the point just after the upgrade. I then went in and uninstalled all of the HP software that
-
How to blink the tab of a minimized JFrame?
Hi, I am creating a chat software. When a message comes for a specific jframe, how can we start that minimized jframe to blink. In this way, the user knows that message has arrived. Thanks Karar Haider
-
"Code Redemption is Unavailable" Mac App Store
Yosemite doesn't work with some of my music software so I bought Lion to use instead on my Mac (I didn't time machine, so couldn't get back). Got the code, but Mac App Store says "Code Redemption is Unavailable. Try again Later" when I try to redeem