How to use Webservices in SAP 7.0 SP 17
Hi,
I am having issues calling the webservices in SAP 7.0 SP 17.
I am following the below mentioned tutorial to call a webservice from a portal project (PAR).
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b449e790-0201-0010-1188-ff17840712d3
I have been successful to a point where my websevice needs authentication. I am not sure how to do this.
Here is the code of doContent()
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
try
logger.infoT("Inside doConent()...");
UserProfile up = pushUserProfileAttributes();
logger.infoT("After pushUserProfileAttributes()...");
ILDAPOperationsService port=(ILDAPOperationsService) PortalRuntime.getRuntimeResources ().getService (ILDAPOperationsService.KEY);
logger.infoT("After port()...");
RegisterUserResponse res = port.CreateExternalUserProfile(up);
logger.infoT("After res ..user created." + res.getEmailAddress());
} catch (UserRegistationFailed e){logger.errorT("Error in calling webservice...."+ e.getLocalizedMessage());}
catch (Exception e1){logger.errorT("Error in calling webservice...."+ e1.getLocalizedMessage());
Its failing at RegisterUserResponse res = port.CreateExternalUserProfile(up);
and the error I am getting is
Error : Error in calling webservice....com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: [Unauthorized].
Any help with this will be highly appreciated.
Also , if any documentation could be shared.
Looking forward to hear something soon on this.
Thanks,
Shiv
Hi Sumit,
you may move your question to the ABAP for SAP HANA community (http://scn.sap.com/community/abap/hana).
Are you asking about the SAP_BASIS version, or which version do you refer to?
Best,
Jasmin
Similar Messages
-
Hi there,
I am new to Web Dynpro, I want to know how I can use webservice using web dynpro development components. could anybody provide me with the steps.
Thanks in advanceHi Antesar,
Chk this links,..
Webservices
http://www.webservicex.net/WeatherForecast.asmx?wsdl
Configuring Webservices
http://edocs.beasys.com/wls/docs81//ConsoleHelp/webservices.html
Creating Simple Webservices
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
Webservices weblog
/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
Example
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf
Hope this will be useful for u..
GS -
How to use Webservice in Visual composer
Hi,
We have developed a RFC in R3 and converted it into Webservice. We want to use this in the Visual composer. Can anyone suggest some steps how to use this RFC in Visual composer?
I tried the option in Tools--> Define webservice System and gave the following parameters:
new system name = WDP (system name which we use)
new system alias = WDP_VC (system alias which we created)
webservice url = URL of the webservice which we have created and got in WSDL
when we create it gives an error the URL is incorrect.
Kindly let me know if these values are correct and suggest the steps to be followed. Also, if there are any prerequiste steps to be done before using this webservice.
Thanks and Kind regards,
Rajbarath.Hi,
The option you described refers to defining a new web service system in the portal system landscape. So if you already have it defined - you don't have to define it again.
As for the actual error you're getting, check that:
1. The url is indeed accessible, and points to a wsdl. You can do this by simply inserting it in the browser's address bar and making sure you get a wsdl file in the response.
2. Make sure that you don't need to authenticate, i.e. provide a user and password. Maybe you just forgot to provide these arguments.
Lastly, keep in mind that this 'Define Web Service System' option is just a shortcut. Generally, you would define a web service system in the portal, like any other system, using the web service connector.
Hope this helps,
Lior -
How to use Webservice in Webdynpro ABAP?
I tried searching option for importing WSDL file in WebDynpro ABAP. But I am unable to upload it in my component. In service call wizard I can see only one option i.e. to import Function module.
We cant use Webservice in ABAP webdynpro?
Thanks
Nitesh ShelarThanks Rich for quick answer.
But my problem is, I have a stand alone WAS without any RFC Function modules and dictionary structures, of backend R/3, on WAS which I wanted to map in my component.
I strongly believe that in case of stand alone WAS I need to have at least backend dictionary structures to begin with my design. I cant use wizard, as I dont have function modules on this system. I have to code for that manually..
So that is why, I was looking for Webservice option..
Thanks,
Nitesh Shelar. -
How to use cartography with SAP BI, SAPBWKEY
Hi experts,
if found many documents about SAP BI and displaying the data on a map. I would wonder if someone could explain me step by step how to create a connection between the ArcGIS map *.shp / *.dbf and the SAP BI data table.
I have following topic. We have a data table with DE / 94447 (Country / postal code) and need to map it to the exact polygon from the .shp file using SAPBWKEY in .dbf
But if it is a compounded characteristics, what to type into the SAPBWKEY field in order to address the correct position on the map? Otherwise the data are displayed on the wrong coordinates.
Can you help?
Regards
StanJennifer,
There is no product called virsa control by SAP. Virsa was a small company which made different solution for SOX compliance. It was acquired by SAP. If you are talking about SAP BusinessObjects Access Control 5.3 then see the links below to understand the integration between SAP IdM and SAP AC 5.3.
https://www.sdn.sap.com//irj/sdn/go/portal/prtroot/docs/library/uuid/b0aafd33-e662-2a10-a197-dd3137f7f7e0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0da2dba-0480-2b10-a7ae-f055ab6e9355
Regards,
Alpesh -
How to use webservice using Jdev
Hi All,
Could some one please point me to a tutorial and let me know how to consume a webservice using Jdev.
Scenario is, I want to extract data from Webserice which will be given by other department using Jdev.
This will have basic authentication as well.
I have created a Webservice client and Proxy and provided the WS URL, it is creating several files using Jax-WS Style.
Now I want to test this webservice client, if its working fine and able to send us the data.
ThanksHi,
see:
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/73-handson-wsdc-321927.pdf
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/72-wsprxyclient-pojodc-hands-on-321228.pdf
Frank -
How to use Variable in SAP HANA Information Modeller?
Hello Folks,
I have created a variable in Information modeller of SAP HANA Studio on top of an Analytical view (Regional Sales). This variable is SingleValue (Multiple Value Selections). This variable should prompt me the name of Country/Regions but somehow this is not working when I am using data preview and Analysis tab of data preview.
Could you please enlight me where I am going wrong? or Let me know if is there any other forum for this.
P.S : I am using SAP HANA studio on Cloud.
Regards
Muffazzal FaniHi,
After you created that variable as mentioned above, did you apply this variable on your LAND1 attribute.
How: Open Analytic View --> on right-side you see the attributes,measures etc. >right click on 'LAND1' and select>
'Apply Filter'--> In the drop-down select your created variable and activate.
I assume the above should resolve your issue. Please let me know if it helps.
Revision: I mean the HANA version you are using.
Regards, Rahul -
How to use enterprise service (sap esoa)
After some basic acknowledge of SAP ESOA, I have the following puzzles need to be clarified:
1, Whatu2019s the relation of ES with the traditional functions? For example, there are standard ES for sales order processing, ATP check, etc. Can we use traditional function (i.e., t-code: VA01), while using the enterprise service or service operation to do the ATP check, and in SAP GUI environment?
2, How to activate or use a service? It that a must or prerequisite to install enhancement package? What is the least SAP ERP version required, ECC or ECC6.0?
3, As to the vision, can we say the traditional way of SAP module function will as a whole be replaced by enterprise service?
4, Traditionally, we have IMG to configure the sales order type and properties of that. For enterprise service, where can we do the same?
The questions above may be somewhat funny, but really confused me a lot. Please kindly help. Thanks.have u installed discovery system ..
it will start by itself in a browser ..
it has browser based and gui based and ides based...
it depend how u start -
How to use the theme[sap tradeshow] in sap portal ?
Hi guys,
I have a question about the theme [Sap Tradeshow] in EP.
When I choose this theme , its preview shows
But when I tried to use this theme, it shows
I tried the other themes and they all work normally
Does anyone can help me ?
Thanks!Hello Saurabh,
For the cretaion of discussion forum kindly access my Article that i have published in SDN the link of it is .
[Creation of Discussion Forum.|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20562528-a246-2b10-2988-f9b554a925ce]
Here u will get Step by Step Solution for creation of Discussion forum.
Now to change look and feel of ur Forum or say discaussion Iview Template u have to open template Par File in NWDS and can play with it (Codeing) to get desired output.
I will sugest u to not to go with Discusasion Forum if u r haveing EP Ver7.0 then u can go for Installation of Forums on ur Portal.
If want any other information i will be glad to help u .
Hope this help's
Regards.
Soni Vinit -
How to use Virsa with SAP Identity Management?
I have been assigned to handle my company's SAP Identity Management and
I am asked to use Virsa control.
I am not quite clear about the relationship between the 2 SAP products.
Would you please help? Thanks!Jennifer,
There is no product called virsa control by SAP. Virsa was a small company which made different solution for SOX compliance. It was acquired by SAP. If you are talking about SAP BusinessObjects Access Control 5.3 then see the links below to understand the integration between SAP IdM and SAP AC 5.3.
https://www.sdn.sap.com//irj/sdn/go/portal/prtroot/docs/library/uuid/b0aafd33-e662-2a10-a197-dd3137f7f7e0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0da2dba-0480-2b10-a7ae-f055ab6e9355
Regards,
Alpesh -
Would you please help? I am curious why use JCL but NOT sm36/sm37? Thanks!
Linda,
Could you perhaps elaborate a little please?
There are many cases where something must run on the database server itself, and since by definition that is z/OS for DB2 z/OS, JCL is submitted for those tasks. Several tasks such as "Update data for transaction DB02" in the DBA calendar will schedule an SAP batch job (which can be viewed in SM37). The SAP batch jobs in turn use the JCL submission service to perform a task on z/OS.
Brian -
How to use webservices in blackberry 8800 device using jde4.2.1
Hi All,
I develop mobile webservice applications in Java ME. Nowadays i am working on porting of an Application named "Newstouch". I am having problem in running it on JDE version 4.2.1.
I successfully installed the JDE 4.2.1 with JDK 1.5. When I build project, there is no error then I go for Run the project on JDE's default simulator.
As I started application from simulator, JDE shows me error,
Starting WebServicesExample
VM:LINK WebServicesExample
VM:UNDF com.sun.midp.io.Base64
Module 'WebServicesExample' has verification error 1317 at offset 0508
Linker error: 'VerifyError' for WebServicesExample
CMM: set CRCNVS: delete 2
NVS: write 2
NVS: commit 152
Error starting WebServicesExample: Module 'WebServicesExample' has verification error 1317 at offset 0508
please give me a solution for solving this issues
thanks in advance
renuChiThere are demos on the SCM area on OTN. http://www.oracle.com/technology/products/repository/demos.html
Regards
Sue -
hi,
In every view, the "com.sap.tc.webdynpro.progmodel.api.IWDView view" is the parameter of the mothed wdDoModifyView(). I wonder, if we can make type com.sap.tc.webdynpro.progmodel.api.IWDView parameter in other methods which are designed by ourself. Thank you!Hi Daniel,
This method wdDoModifyView will be raised every time the view is changed or refreshed (i.e. button pressed, drop down selected). This should cover all cases where you need IWDView, personally I can't think of another case where you need this parameter.
As far as I know it is not possible but even if it is it's not recommended.
But perhaps I'm wrong, I'll be happy to hear more opinions from more experienced SDNers...
Roy -
How to use query in sap tm?
I have tried to call the query method using service manager instance as shown below
CALL METHOD lr_srv_mgr->query
EXPORTING
iv_query_key = zif_viv_trq_c=>sc_query-root-test_query
* it_filter_key = lt_filter
it_selection_parameters = lt_filter
* is_query_options =
* iv_fill_data = ABAP_FALSE
* it_requested_attributes =
IMPORTING
* eo_message =
* es_query_info =
* et_data =
et_key = lt_trq_key.
but lt_trq_key is not getting filled .It seems that there is nobody meeting the same problem.
I solved it by myself.
An thanks. -
How to use Partitioning in SAP BW 7.0 on infocubes
Hi ,
I want to do partioning on my infocube but i have already loaded a data incube
So is it possible to perform partioning on that cube?
Is it mandatory to have infoobject as time dependent to perform partioning?
Thanks
AjitHi Ajit:
Take a look at the PowerPoint Presentation and Transcript by Ron Silberstein.
"Partitioning and Multi-Cubes in BW 2.0B"
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a22eb490-0201-0010-3eb4-8ed350347cbb
Regards,
Francisco Milán.
Maybe you are looking for
-
I cannot open project; do I start all over, or is there hope?
So I have started doing video podcasts and am using iMovie '11 for editing the footage. I exported my first episode which turned out to be around 18 min total. When I watched it to verify, the audio started becoming out of sync with the video. It got
-
My ipad 3 is disabled and check ur itune u
what shall i do my ipad 3 is now disabled and asks me to check itune u and i don't have any accounts on itune u or icloud
-
How do i permanently delete advertisements on my email screen?
the right hand side of my email inbox has advertisement and i want to delete it. i can block it temporarily but every time i go back to the inbox the ad comes back. can something be done to eliminate it completely?
-
I really do not have a lot more details to add to the question; in opening more than one tab; system is very, very slow either from trying to open when on-line or trying to open a link embedded in an email. Did not have an issue before the upgrade.
-
Problem install Maverick on Air mid 2013
At pure installation on MacBook Air mid. 2013 13'' at completion of installation on the screen there is an inscription - remained 1 sec., thus the flash card blinks but occurs nothing. Compulsory reset shows that the system isn't found on a disk.