How to regenerate webservice definition
Hi to all,
Is there any way to regenerate webservice in order to reflect changes done in FM output and input parameters. Actually, I created WS from FM, in meanwhile the assignment of FM has been changed so I would like to use already existing webservice definition but with new assignment (output and input parameters) .
I have been looking in some posts but actually none of it explains how to make it. Even when I switch to edit mode in SE80 I can only change names of input parameters but not data types behind it.
Thanks in advance.
Aleks
Hi Aleksandar ,
Can we publish a FM ,as a webservice which has multiple export parameters.
I tried it but when java people consume it , that method(FM) shows all parameters as import parameter and return type of method is void.
Please help me.
Thanks
jitendra Soni
Similar Messages
-
Regenerate webservice from RFC
We created several webservices from RFC in SE80. The initial creation went well. However, now we want to regenerate the webservice since, after a system copy, the XSLT transformations are giving errors. These are generate per environment (local objects). Now since these copied transformation are not available (under there generated names), the web services need to be regenerated. Question is: How to do this from ABAP / SE80 / RFC.
I tried to re-create these webservices via SE80, but I get error message, that webservice already exists. Not possible to overwrite.
I actually have two questions:
1. How to regenerate the WS?
2. Is my assumption correct that by regenerating the WS, the error with the XSLT transformations will be solved, since they are regenerated together with the webservices?
Thanks in advance.Hi,
Go to Web service (SE80) -> go in change Mode -> Click on Check button -> if there are any discrepancies then you get message to adjust it. Say 'Yes' -> Save the service and activate it.
This might help.
Regards,
Priya -
Why some enterprise services in ECC don't have the webservices definition?
we have the ECC ehp 604 and PI 7.1 installed. We would like to publish the enterprise services coming with 604 to PI ESR. However, we noticed some enterprise services don't have the webservices definition .eg
[GeneralLedgerAccountMasterReplicationBulkRequest_Out|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=F7A6B6A0A70711DC2B8D000F20FCB6A9&fragID=&packageid=DE0426DD9B0249F19515001A64D3F462&iv=]
Here are my questions.
1. How can I register these services to ESR but they don't have webservices definition?
2. why they don't have the webservices definition like others?
3. How to use them via ESR?
Thanks!
Edited by: Jim Ma on Jun 16, 2009 4:15 PMHey Jim Ma,
we have got the same problem. We are using SAP TM 7.0 and all Services Interfaces (Transaction SPROXY) haven't got any WebService Definition.
Have you already found out why?
Kind regards,
Christian -
Hi
How to release webservice in wsconfig.
Thanks
RahulHI
if you are using ECC then there no need to release your webservice , as in the time of making the
webservice they is you have option call Deploy (with check box) , this would automatically
release you webservice , and you can go to se80 and in the service definition you can find you
webservce definition there .
Edited by: murali krishna reddy on Apr 24, 2009 4:21 PM -
How to regenerate a table maintenance view for a table.
A new customer defined field(y_status) was added to the table(ykxrdarea). But the field is not reflected in the view maintenance.busiess adviced me to regenerate the table view maintenance.
Can any one help me how to regenerate the table view maintenance.Go to transaction SE11.Enter the table name and choose utilities from the menu and click on table maintenence generator.You will get the table maintenance dialog.Choose generated objects from the menu and click on change.You will get the change generation elements screen.Enter the reason for regeneration.In your case it is new field/sec.table in structure.hit enter and the table maintenance will be regenerated.If you go back and see the maintenance view now you should see your field.
cheers
Nishanth -
How to Call Webservices in ABAP(Syntax) created in abap ,java etc
All Champs,
Can some one explain me(programatically) that how to access webservices in following cases.
case 1: A webservice created in ABAP (FM,BAPI,FUNCTION GROUP) by using wizard . How to call this webservice in report or in any bsp or webdynpro application.
case 2: A webservice created in JAVA,.NET or in any third party technology , how to use in abap(by considering that endpoint has been created for third party webservice)
points will be rewarded .
regards
pankyHi,
case 1: for WDP, you can create the web service model via "Import Adaptive Web Service" or "Import Web Service Model (deprecated)" by supplying wsdl URL.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
case 2: In ABAP, create a proxy object at trx code SE80.
http://help.sap.com/saphelp_nw04s/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
Both cases are wizard-based. It's pretty intuitive.
- julius -
Hello,
i am trying to call webservice.i tryed following code for calling webservices via actionscript.it is givind the response.but it is not giving correct response.
is this correct way to call webservice?is there other way to call webservice?can anybody tell me,how to call webservice?
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”vertical” width=”420″ height=”380″ xmlns:net=”flash.net.*”>
<mx:Script><![CDATA[
import mx.rpc.soap.LoadEvent;
import mx.rpc.AbstractOperation;
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.soap.Operation;
import mx.rpc.soap.WebService;
private var serviceURL:String = "http://localhost:7080/icon-ws/services";
private var wsdlURL:String = "http://localhost:7080/icon-ws/bulkUpload.wsdl";
private function callWS():void {
var service:WebService = new WebService(serviceURL, serviceURL);
service.wsdl = wsdlURL;
service.loadWSDL();
var oper:Operation = service.getOperation("BulkUpload") as Operation;
oper.addEventListener("result", resultHandler);
oper.addEventListener("fault", faultHandler);
oper.send();
public function resultHandler(event:ResultEvent):void {
Alert.show("Result returned"+ event.result.toString());
public function faultHandler(event:FaultEvent):void {
Alert.show("fault: "+ event.toString());
]]></mx:Script>
<mx:Button id=”selectBut” label=”CALL webservice” click=”callWS()”/>
</mx:Application>sorry for my english. I expect you understand me...
I do that extended sp
Code Block
use atdb_main_test
Declare @Object as Int;
Declare @ResponseText as Varchar(8000);
DECLARE @login VARCHAR(50);
DECLARE @user_passwd VARCHAR(50)
Exec master..sp_OACreate 'MSXML2.XMLHTTP', @Object OUT;
Exec master..sp_OAMethod @Object, 'open', NULL, 'get', 'http://172.xx.xx.xx:wwww/account.asmx?op=CreateEquipementMacAddress', 'false'
EXEC master..sp_OASetProperty @Object, 'user_login', @login
EXEC master..sp_OASetProperty @Object, 'user_passwd', @user_passwd
EXEC master..sp_OASetProperty @Object, 'p_nb_poste', 1
EXEC master..sp_OASetProperty @Object, 'p_id_site', 91400
EXEC master..sp_OASetProperty @Object, 'p_id_type_poste', 83
EXEC master..sp_OASetProperty @Object, 'p_adresse_mac', null
EXEC master..sp_OASetProperty @Object, 'p_num_serie', null
EXEC master..sp_OASetProperty @Object, 'login', null
EXEC master..sp_OASetProperty @Object, 'passwd', null
EXEC master..sp_OASetProperty @Object, 'default_gateway', null
EXEC master..sp_OASetProperty @Object, 'ip', null
EXEC master..sp_OASetProperty @Object, 'bCreateIPPhone', 'false'
EXEC master..sp_OASetProperty @Object, 'vlanId', 0
Exec master..sp_OAMethod @Object, 'send'
Exec master..sp_OAMethod @Object, 'responseText', @ResponseText OUTPUT
Select @ResponseText as ResponseText
Exec master..sp_OADestroy @Object
I use a SQL server 2000 and don't do anything else.
But it doesn't work
I don't know what to do ...
the message is (1 row affected) but no tupple is written in my db...
can you help me please ? -
How to call webservice using jdev9i
Hi gurus and experts,
i need to consume a webservice using oaf. with great effort finally i created stub using axis s/w.
now i dont know how to use the stub in jdev.where to write the code and what to write.iam strucked :-( .
since there were no sample tutorial about how to call webservice from jdev9i, iam struggling to make.iam jus a starter.
and while googling i came to know that stubs can be created using jdev9i .but when i see new-->webservices--web service stub it is greyed out.
i have 2 questions now:
1)if stub created using axis can it be used in jdev9i? if yes ,please tell me how? any tutorial links also helps me.
2)if the stubs should be created only by jdev9i so that webservices can be called using jdev,then please guide me how to make it.
i need some helping hands from u guys.
Thanks a lot
Edited by: 881533 on Oct 25, 2011 2:34 AM
Edited by: 881533 on Oct 25, 2011 2:37 AMHello sir,
i got following reply:
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Error_request</returnResult>
</returnRecordResponse>
but correct response is
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Success</returnResult>
</returnRecordResponse>
can you tell me correction in the code which i have put on the forum?or tell me other way to call webservice? -
How to call webservice using flex?
Hello,
i want to call webservice in flex.i tryied following code.but it is not giving correct response.what is wrong with this code?
can anybody tell me ,how to call webservice in flex?
Code:
<mx:Script>
<![CDATA[
public function button1_clickHandler(event):void
ws.returnRecord(para1,para2);//i am sending two parameter to returnRecord service here
public function remotingCFCHandler(event:ResultEvent):void
trace(event.result);
]]>
</mx:Script>
<mx:WebService
id="ws"
wsdl="http://localhost:8500/flexapp/returnusers.cfc?wsdl">
<mx:operation name="returnRecords" resultFormat="object"
fault="mx.controls.Alert.show(event.fault.faultString)"
result="remotingCFCHandler(event)"/>
<mx:Button label="Go" fontWeight="bold" click="button1_clickHandler(event)"/>Hello sir,
i got following reply:
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Error_request</returnResult>
</returnRecordResponse>
but correct response is
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Success</returnResult>
</returnRecordResponse>
can you tell me correction in the code which i have put on the forum?or tell me other way to call webservice? -
I have some problems about SSL when my host name changed.
I cannot use DemoIdentity and DemoTrust from Weblogic 8.1 server in development
environment to remote startup ManagedServer , cause of my host name changed.
How to regenerate DemoIdentity.jks file and DemoTrust.jks file , when I don't
want to reinstall WLS8.1 ?
Thank you
Regardsuse weblogic utilities utils.CertGen and utils.ImportPrivateKey
-
How to regenerate SAP Queries using SQ01
Hi Gurus
I have encoutered below error after Upgradation from ECC 5 to ECC 6.0
"LOAD_PROGRAM_NOT_FOUND"
"Program "AQQOZSEA_FI=====ZSEAPAYMENT=== " not found"
Kindly guide me how to regenerate SAP Queries
Regards
AMKHi,
If you can see the query in SQ01. Then in the main screen, select the query. From the menu select: Query -> More Functions -> Generate program.
This should bring it back.
If the query gives some other error after this, select Query -> More Functions -> Adjust.
Cheers. -
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 -
How to assosciate webservice to a WSDL file
Hi
I tried developing webservice(EJB as RPC) in weblogic server and installed and its working fine if i call it from client.
I am using java2WSDL(axis) tool to create a WSDL file and WSDL2Java to create stubs for client to call.I am struck in linking webservice to use the wsdl file which i have created.
I manually tried to add my WSDL file to the WAR file of my application and also Updated the web.xml file of the Web application adding a mime-mapping.
I am able to access the WSDL file in browser as http://bt885094:7001/webservice/user.wsdl
But my client tries to access the service "http://bt885094:7001/webservice/C2PUserService" which has an associated WSDL file defined as http://bt885094:7001/webservice/C2PUserService?WSDL which needs to be checking for http://bt885094:7001/webservice/user.wsdl
Could anyone tell me how to assosciate webservice to a WSDL file.
thanks in advanceThank you everyone for your help. As a complete newbie I found this nice walkthrough tutorial in onjava(i dont mean to spam).
1. View: Take a peek at the existing Fibonacci code.
2. Java2WSDL: Generate the WSDL file for the given Fibonacci interface.
3. WSDL2Java: Generate the server side wrapper code, and stubs for easy client access.
4. FibonacciSoapBindingImpl: Fill in wrapper to call the existing Fibonacci code.
5. Deploy: Deploy the service to Apache Axis.
6. Client: Write a client that uses the generated stubs, to easily access the Web service.
Given the webservice endpoint and the method name, I think I can now consume the web service using steps 3,4, and 6. -
How to call webservices using soap in xi
Hello
I am tring to work on webserivces,bascially i am not having any knowledge on webservices,i have seen the documentation & i know how to configure soap adapter & how to define webservice in integration directory.can any one please help me out how to work with webservices & good documentation on webservices & soap.
Thanks
RajeshHi Rajesh,
Use server(tomcat server) or plain html coding for defining webservices....
check sample webservice coding
Purchase Order Web Application
dispDate(0)
Purchase Order Input Parameters:
Document Type:
Standard PO
Vendor Number:
Purchase Order Date:
Purchasing Material:
Delivery Date:
Quantity:
NetPrice:
Unit of Measurement:
PCs
PriceUnit:
Results:
/code
And gothrough the following weblogs which will be useful...
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/thomas.jung3/blog/2005/06/05/web-services-the-case-of-the-missing-soap-action-header
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Hope u get some idea...
Regards,
Sridhar
Message was edited by: sridhar reddy kondam -
How to call webservices in as3 (flash) and get its response
Hello
I need to know how to call webservices in flash cs5 as3 and how to track its response. any example ?
Thanks
Avneethttp://www.thetechlabs.com/tech-tutorials/xml/creating-a-as3-web-service-package-base-serv ice-class-and-simple-twitter-api/
Maybe you are looking for
-
Hello, I have the following problem when I want to do the following: I have to log measurements with a logger from pico (www.picotech.co.uk). This is a windows-software. Therefor I'm using parallels desktop 5. The measurement should take about three
-
I cannot update Safari! My iMac is running Lion. I try using Software Update but it tells me everything is okay. My current version of Safari is 4.0.4 Very out of date. My problem seems to be only with Safari. Can anyone tell me how to manually
-
After I clean installed my Macbook last week with Maverick, I sync my old file with TIme Machine, and I had to reinstall the whole system due to a problem with permission in a system wide range ! After that, everything look clean, but I just realised
-
Jdev 11.1.1.4 install Problem
Hi, I have an windows XP SP3 with 2 GO RAM and 35 Go disks and Jdevelopper don't installing ? Oracle installer begin running, then i see very quickly Jdev11 screen and nothing ! I have stopped Kapersky but without succes. Is there an log install file
-
Some podcasts transferred from PC to Mac as music
Migrating from Windows to Mac, why did some of my podcasts transfer over as music? And how can I put them in with podcasts again?