Expose Portal Service as Web Service
Hi,
How to expose a portal service in CE as a web service? My development need to be a portal service as I need the service profile for storing data.
Thanks
Sathish
Hi
Follow this
1. [How to expose/convert my Portal Service as/to a Web Service?? |/thread/655157 [original link is broken];
2.[Creating an Integration Process and expose it as a web service |Creating an Integration Process and expose it as a web service;
BR
'Satish Kumar
Similar Messages
-
IWAB0014E Unexpected exception - Exposing Portal Services as Web Services
Hi!
I try to expose a Portal Service as a Web Service:
[Exposing Portal Services as Web Services |http://help.sap.com/saphelp_nw72/helpdata/en/49/e44e702784751be10000000a42189b/frameset.htm]
While using the wizard the following exception is rising:
IWAB0014E Unexpected exception occurred.
java.lang.IllegalArgumentException
at org.eclipse.wst.server.core.internal.facets.FacetUtil.getRuntime(FacetUtil.java:89)
at org.eclipse.jst.server.core.FacetUtil.getRuntime(FacetUtil.java:59)
at org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand.setFacetRuntime(CreateFacetedProjectCommand.java:283)
at org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand.getFacetsToAdd(CreateFacetedProjectCommand.java:219)
at org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand.execute(CreateFacetedProjectCommand.java:115)
at org.eclipse.jst.ws.internal.creation.ui.extension.PreServiceDevelopCommand.execute(PreServiceDevelopCommand.java:191)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:359)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:254)
at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6.run(SimpleCommandEngineManager.java:294)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:264)
at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:91)
at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:154)
at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Has anybody an idea, or can tell me another way to do for NW 7.2?
Thanks DanielHi Ankur,
Please go through the below link please. It may be helpful.
Eclipse WTP Tutorials - Creating Bottom Up Web Service via Apache Axis2
Thanks,
Hamendra -
How to Expose CAF services as web services?
Hi friends,
I want to expose my CAF entity services and application services as web services.
Can I do that, if yes How?
In NWDS While designing the application service I have found two options in the <b>General</b> tab:
1) Remote Enabled Service [I am able to select it]
2) Web Service Enabled [I am not able to select it]
What is the significance of each
Also I am able to check first option but second option is disabled in my NWDS,
Can you guide me how can do that?
Thanks in advance for your time,
DeepakHi Deepak,
Please have a look at this tutorial written by Austin:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd
in there is a kind of step by step solution how to enable your application service as web service.
I am not sure if you can expose a entity service as a ws. The only way i know is mapping to an application service.
I hope this helps..
best regards,
rene -
Publishing portal service as Web Service !!
Environment : EP 6.0 Sp2 on J2EE 6.20.
Is there a way to publish web service for existing portal services ??I have upgraded to EP 6.0 SP4. Is there a way to expose portal services as web service since the Netweaver Studio does not have the same wizards as that of SP2 ??
The tutorial for EP 6.0 SP4 shows how to expose EJB's using the new wizard but if I want to expose an existing portal service, how would I do it ?? -
Convert portal service to web service option in NWDS
Hi all,
I am using SAP NetWeaver Developer Studio (Version: 7.0.14), in this I couldn't find option to convert portal service to web service.
Please help me out, how to convert portal service to web service through NWDS or any other way to do it.
Helpful answer will appreciate.
Thanks,
Regards,
Kathiresan RHi
In NWDS go to New ->other -> portal application -> portal application object -> portal web services -> portal web services from portal services and select ur portal service.
Generate portal web service with PDK wizard by choosing Portal web service from portal service
Select the interfaces by clicking the browser button.
select the methods to be exposed to web service.
Now WSDL files are generated for portal services.
You can view the WSDL by going to
System administration->support->portal runtime -> soap admin -> web services.
Hope this works for you. Please excuse any small mistakes if I have made.
Regards,
Shitij -
Hello All,
I am working on a SOAP to SOAP (Backend as ECC where I am exposing an RFC as Web Service). Once the Web service is generated for RFC and the WSDL is imported in PI, I can see that all the fields in different nodes become mandatory.
Is it how normally Web Service for BAPI works or can this behaviour (mandatory / optional) be controlled ?
Also when I execute the end to end scenario via SOAP UI, I don't get any error back but also neither get the Return table nor the Sales Order NO. I am using the BAPI BAPI_SALESORDER_CREATEFROMDAT2.
Can it be because of no COMMIT (The BAPI uses external commit although this reason seems less likely as executing a RFC wo any commit atleast gives me a Sales Order no) ?
How can this call be analysed in backend ECC system ? (As I assume that messages will not be visible in SXMB_MONI as explained by the Harald's thread below. I am currently in process of getting authorization of SOAMANAGER logs but wondering how it'll help?
Thanking you in advance.
SOAP to SOAP scenario: XML messages not visible in SXMB_MONI
Cheers
KanesIHi,
Please see the SOAP ststud..
http://<host>:5<sys#>00/mdt/amtServlet
also you might check any error logs.
The error is because of invalid xml document. So check the validity of the xml message ie. after first mapping i.e Req mapping.
For this you can refer this -
http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
See the below links
Also this blog may help you-/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
Could not post a SOAP request to the interface
Message Servlet is in Status ERROR
Error while posting messages to SOAP sender adapter SP 13
http://localhost:50000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=PartyA:SOAPService:soapchannel
SOAP Adapter in PCK
Regards
Chilla.. -
Exposing legacy-system's service using web services
Hi everybody,
I have questions about how web services can be used with legacy system.
Let�s say I have a server serving stock data. The server is just POJO, it isn�t web module, doesn�t run on any J2EE container and client will request for data using my proprietary API which run over TCP/IP. My question is that what is the best practice or widely used pattern for exposing my stock service through web services.
I�m not a web service expert so I think the easiest patter may be using web services as an adapter for my API. I�ll use jax-rpc to create web services StockWS.war and deploy it on a web server running on the same machine with my stock server. The web services will, in turn, internally use my proprietary API to request data.
I can see 2 problems in the above approach.
1. The need of web server. Administrator needs to start 2 processes; stock server and the web server containing StockWS.war. It would be great if I can get everything work in one process. Is there any framework or API that my stock server can internally use to intercept soap request over HTTP so that I don�t need a web server and everything is encapsulated in one process?
2. Performance. There will be my API sit between web services runtime layer and my stock server which may cause performance issue. If I can find a framework I�ve mentioned in problem1 then I can get rid of the API layer.
Please ignore my grammar mistakes.
Any suggestion is welcome, and if you have experiences integrating web services with your legacy system, feel free to share it here.
Thanks in advance.Hi,
With regards to your statemetn "SDN downloaded document says to Generate Webservice URL through ABAP" <- can you tell me more please? references/links/attachment?
As far as I am aware, that the type of web service required for integration it a 'normal' Netweaver Web app server web service.
There are limitations about the complexity of the WSDL - see Notes:
1653655 - Limitations in Web Service WSDL URL usage in Xcelsius 4.0
1703839 - Limitations of Web service usage in Xcelsius / Dashboard Design
also , changes between SAP versions requires reworking the WSDL
Note 1625091 - The WSDL URL for web service which generated in SAP Enterprise Central Component cannot be loaded into Xcelsius
regards,
H -
Calling portal service from web service
Hello,
I'm trying to call portal service from web service. Is this possible? I'm getting an error.
For example, code:
IJCOClientService clientService = (IJCOClientService) PortalRuntime.getRuntimeResources().getService(IJCOClientService.KEY);
.. is generating exception:
java.lang.LinkageError: Class com/sapportals/portal/prt/runtime/IPortalRuntimeResources violates loader constraints
Do anybody knows what's wrong?
Best regards,
Josef MotlHi Josef,
Is the IJCOClientService located on the producer side or on the consumer side?
Amit -
Benefits of exposing function module as web services
Hi All,
We are developing a case study about exposing function modules as web services.
Those web services would be later used for integration to SAP box with a Java application.
Kindly help me with the pros and cons of exposing function modules as web services when compared to SAP PI. Also please do quote some examples, wherever possible.
Thanks,
VarunHi Varun,
Pros--->
1)Exposing FM as Web Services is indeed a good choice when you want service consumer to be platform and language independent.
i.e it can be consumed by .Net, java or any other language.
2) You are moving towards SOA
3) Composing Business Process by concatenating different functional modules is easy.
4) Complexity is less while consuming services Java, CAF etc.
Cons----> Performance for Web Services is comparatively less than JCo .
If you are bringing PI in between landscape, you are increasing one more layer of middleware which would also hit performance.
The benefit which PI can give is monitoring your company wide integrations at one central point when you have huge systems.
Hope this helps.
Piyush -
Exposing Inbound Interfaces as Web Service
Hi,
when it comes to expose XI interfaces as web services, the XI documentation quotes:
"Sie können sowohl von Outbound- als auch von Inbound-Message-Interfaces WSDL-Beschreibungen erzeugen."
-> i.e. Inbound interfaces can be exposed as web services.
But the web service definition wizard expects the quotation of an outbound interface. So am I right when I say that I always need an outbound interface? If yes, why is it possible to expose inbound interfaces???
Cheers,
HeikoHi,
no, inbound interfaces can only call web services
that are exposed on some other web servers
only outobund XI interfaces can be exposed as web services
(in this case XI acts as a web server)
and other applicaitons can call this outbound interface
Regards,
michal -
Custom Portal Services and Web services
Can you please tell me what exactly are "custom portal services" and "web services" with a business like/ real life example?
How do you go about developing deploying and utilizing these services in Portal?
Thanks.Hi navin,
Thanks for the par file.
Duly awarded points.
I need your help again.
I wish to use the method
public String getWelcomeString(String name)
in my own portal application to test usage of portal services.
So I uploaded your par file on my server.
Then I added the api and core jar files which came along with your par in my project as external jar files.
I imported com.wickes.WickesService.*;
Next, to use the service I coded:
IPortalRuntimeResources rs =
PortalRuntime.getRuntimeResources();
IWickesService ws = (IWickesService) rs.getService(IWickesService.KEY);
But now I am stuck and I dont know how to proceed.
Please help. -
How to expose a application service as web service?
<UL>Hi Experts,
<LI>I have created a business component and application service. i have also built and deployed it,
<LI>Now I want to expose the application service operation as web service so that I can call the application service from XI or any webservice testing tool like SOAPUI or SOAPSONAR?
<LI>What are the steps involved in doing this?
<LI>I have selected application service then right clicked and selected "Expose service as web service".
<LI>This has generated the WSDL file. After this I don't know what to do.
<LI>In the WSDL file the soap address location is pointing to a default link (<soap:address location="http://www.example.org/"/>).
<LI>What will be the actual location look like?
<LI>For example: http://<CE server>:<Port>/? <--- what will I have to put here so as to give the exact location?
<LI>Thanks & Regards
<LI>Gopal
</UL>Hi Gopal,
If I am not wrong, you need not do anything to the WSDL.
If you carefully look at your WSDL in your NWDS, the soap:address attribute will point to the default location. However, the 'location' attribute will be 'Empty'. When you Deploy the Composite Application on the server, the location attribute value will be replaced by http://<server host name>:<port>/<WebService Name>/<Application Service Name> in the WSDL on the server. The WSDL URL is generated using the same format, and that is how it recognizes the service.
You can deploy your application on the server and go to the Web Service Navigator and check the WDSL.
Regards,
Ajay -
Binding RESTful web service / being exposed to a RESTful web service
Hi , I have two quick questions
1. can ORACLE BPEL bind a RESTful web service?
2. can a BPEL process be exposed to a RESTful web service?
ThanksBumping back to the top of the list.
Has anyone got any experience with RESTful web services saving to an item vs. a collection? Any pointers are greatly appreciated.
Earl -
Expose Business rules as Web Service
Hi,
I'm quite new to business rules, and I haven't found any definite information about can I and how expose business rules application as Web Service? In Decision Functions I can check "Will be invoked as webservice", but how can I deploy it on server and so on?
Thanks in advance.Hi PK,
Sorry What i meant was composite service, not web service
Used wrong wording
In your composite if you have only businessrules as a component and if you are exposing your BR as service, and if u deploy that process it will give you a wsdl for that composite, which means for BR. Because the client is calling BR it self.
Regards
PavanKumar.M -
Exposing backend data as Web Service
I have an RFC which takes in employee name as input and supervisor name as output.
I want to expose this functionality as Web Service using NWDS. What should I do? Any good tutorial?Hi,
Check this weblog, which mentions how to convert RFCs as Webservices
Using RFC as WebService in WebDynpro
Regards,
Ganesh N
Maybe you are looking for
-
Trouble with slow Macbook Air. I have first generation MacBook Air and have a hard time keeping hard drive from being full. After trashing many docs, I have almost 5 gigs available, but mac is slow and I keep getting color wheel when I use Mail. I'd
-
How do I recover answers to my security questions?
forgot the answers to my security questions for iTunes (Windows) and can't figure out how to locate or re-set them.
-
Attributes of private static class - private or package private?
Consider the following code: public class Outer { // Remainder omitted private static class Nested { int someInt = 10; String someString = "abc"; }The nested class Nested is declared private, as it is only used by th
-
Automatic clearing of GR-IR/SR-IR
Hi Gurus My Client wants the potential of automatically clearing GR-IR and SR-IR balances less than a certain amount (example $25). This automatic clearing will eliminate the need to manually clear these balances. Please any one suggest me how to do
-
HT204387 Is there a Bluetooth mouse that works with ipad3?
Is there a bluetooth mouse that works with ipad3??