on 12-03-2007 9:20 AM
Hi experts,
I was refferring to this url:
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/43/037446dcc721ace10000000a1553f6/content.htm">http://help.sap.com/saphelp_nw70/helpdata/en/43/037446dcc721ace10000000a1553f6/content.htm</a>
How can i create Development Component (DC) project for the Web service?
I m unable to do that.
Please help me out.
Hi Pankaj,
Link you have given is for converting portal service to web service. Do you want to add this converted Web Service to DC?
If you want to create a new Web service into a DC, it is straight forward , select DC component project ,select the type "web services" choose standalone or deployable based on your need.
Thanks,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vijaya,
I did following to create a web service out of portal service:
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.
I got 3 WSDLs as a result included in my project.
Now i m unable to expose my Web Service in to the WSNavigator????
How to do that???
Hi Pankaj,
Steps you have fallowed is correct, it should have created 3 files with the .wsdl in the same project.Portalapp.xml will also be updated by the studio. Now you need to deploy this project (normal procedure).
you can see the wsdl file using this url..
http://<server>/irj/servlet/prt/soap/<proj name>
you can also see in the system configuration-SOAP-Web services.
Hope it helps!
Thanks,
Vijay
Hi Vijaya,
On using this url
http://<server>/irj/servlet/prt/soap/<proj name>
i m getting the following error on my browser page
-
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Access denied (Object(s): com.sap.portal.system/security/sap.com/NetWeaver.Portal/high_safety/com.sap.portal.runtime.system.console/components/default).
Exception id: 04:46_03/12/07_0128_14261850
See the details for the exception ID in the log file
-
Hi Vijay,
Thanks for ur replies,
Folllowing link is working:
<a href="http://ps3075:50100/irj/servlet/prt/soap/com.sap.portal.prt.soap.myService">http://ps3075:50100/irj/servlet/prt/soap/com.sap.portal.prt.soap.myService</a>
But how do i use this webservice in my j2ee application?
Can u give me an example for how to access the function of a web service from any java program?
Hi Pankaj,
Have you considered creating the Web Dynpro application to access the web service? It does have a wonderful wizard and it is also quite simple to create an appliation. Here is also an example with wizard on
Creating a web service with attachments
http://help.sap.com/saphelp_nw04/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm
Regards,
Dharmi
Message was edited by:
Dharmi Tanna
null
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.