How to publish and consume web services in WAS 620?
It appears that Web Service Creation Wizard is only available in WAS 640. We only have WAS 620 installed. Do any of you know what are the steps to publish ABAP function modules as web services, as well as to consume web services?
Thanks,
Angela
Hi Angela,
If you want to expose function modules as web service, you can generate WSDL by running BSP application 'webservicebrowser'. If you want to consume a web service then it is a bit difficult but possible. Look at sample programs (rsvsoap*).
Also look at help document http://help.sap.com/saphelp_47x200/helpdata/en/94/f8c8a2e68811d6b2dc00508b5d5211/frameset.htm
Regards,
Sanjeev
Similar Messages
-
How to reference complex data type when consuming web services in WAS 620?
In WAS 620, I tried to consume a web service in ABAP. I was successful when the web service returned one or more simple data type. But when the web service is changed to return a complex data type (eg. a structure with 3 elements), the call to the web service did not return anything.
Do any of you know how to reference the individual element in the structure of an output parameter in a web service? I use the add_parameter method of the CSoapDocument class to identify the output parameters.
Here is part of the WSDL file:
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:sap-com:document:sap:rfc:functions">
- <types>
- <xsd:schema targetNamespace="urn:sap-com:document:sap:rfc:functions">
- <xsd:element name="Z_SRM_SOAP_TEST_COMPLEX">
- <xsd:complexType>
- <xsd:all>
- <xsd:element name="INTEXT">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
- <xsd:element name="Z_SRM_SOAP_TEST_COMPLEX.Response">
- <xsd:complexType>
- <xsd:all>
<xsd:element name="OUTTEXT" type="s0:ZSRM_TEST_STRUCT" />
</xsd:all>
</xsd:complexType>
</xsd:element>
- <xsd:complexType name="ZSRM_TEST_STRUCT">
- <xsd:sequence>
- <xsd:element name="ELEMENT1" minOccurs="0">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ELEMENT2" minOccurs="0">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ELEMENT3" minOccurs="0">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>Hi,
[email protected] is my id and one more thing u by looking at the wsdl file u can know what al the parameters we have to give to the webservice so try it out also.
Regards,
Sirisha. -
How to Create and Deploy Web Services Using Oracle 9i JDeveloper
Hi,
My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
Hopr to Hear From you,
Regards,
G SreekumarYou could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections. -
Consuming a web service in WAS 620
Hi ,
Experts ...
Im trying to consume a java web service in WAS 620 ...
there are no proxy facilities available in WAS 620 ..
let me know the alternet way ...
i need to tranfer ...5 table data to the Java WAS server ...
ThanksHi ,
I had the same issue when i was trying to consume a webservice in WAS 620
wat altenate way i have done it ... triggered the Web Service using SOAP object from R3 ...
then using Java connection i have called an RFC in the R3 which displays all the data to the web service
and then the web service picks up all the available data ..
u definetly need to know Jco for this ...
Regards
Renu -
Creating and consuming web service
Hello Everyone,
Please help me in creating a webservice which can be consumed in a button in Excel sheet i.e. I have to create a button in Excel sheet and on click of that button i have to consume a web service deployed in AS. Also I have to pass the data in Excel sheet to that web service.
PS: This is just a business logic no other view or UI is required here.
Thanks in advance.
Regards
PranavHi Pranav
>2. I know I can download WSDL files from server using the test page. Downloaded zip file has these three wsdl files Config1_document.wsdl, Config1_TestVi_document.wsdl and main.wsdl. But which wsdl to use while consuming.
Actually all the .wsdl files are part of single WSDL document which describes your Web service. Starting/root point here is main.wsdl which references two other .wsdl. You can access any time the root WSDL part by URL like
"http://<host>:<port>/BcfRemoteCheck/Config1?wsdl&style=document&mode=standard".
Hope you know where to see the WSDL URL (in Webservice Navigator or in Single Service Administration where you downloaded the ZIP).
When you are consuming web-service you need all the parts. Usually when a Web-service is consumed the remote WSDL is used for generation of WS Client Proxy. But, the WSDL files can be also downloaded and used locally for generation of the WS Client Proxy.
Sometimes the WSDL is not necessary at all for WS consuming on run-time. In the case it's used only on design-time just to know WS names, ports, operations, etc, for writing the code of WS Client.
BR, Sergei -
How to publish a SAP Web Service in SAP XI/PI 7.0
Hi,
First I've to say that I'n new in this deals with SAP Web Services and SAP XI/PI.
I've created a Web Service with TX SE80 using a standard BAPI.
I've created the Client Proxy with TX SE80.
I've created a Logical Port wiht TX LPCONFIG.
I've tried this is SOAMANAGER but I have this error...
"SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
I would like to publish this service in my SAP XI/PI 7.0
How can I solve the error in SOAMANAGER?
How can I publish de SAP WS that I've created in SAP XI/PI?
Thanks a lot.
Waiting for your news.
Fernando.Hi Dimitri,
I had the same problem:
"SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
And by following Nags hints I got solution:
1, On the system where is your service provider, run transaction SICF
2, Execute this transaction
3, Go to node: default_host/sap/bc/srt/wsil
4, Right click on "wsil" -> choose "Test service" - web browser should open with XML definition of service
5, Find your service provider. In my case it looks like this:
<service>
<name>ZTEST_WS</name>
u2212
<wsdlNamespace>
urn:sap-com:document:sap:soap:functions:mc-style/service
</wsdlNamespace>
<wsdlName>service</wsdlName>
u2212
<wsdl>
http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
</wsdl>
</service>
5, Look for WSDL link -> in my case:
http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
I dont know why, but this link is different like WSDL link in service definition which I can see in SE80:
http://xxx.yyy.com:8000/sap/bc/srt/wsdl/sdef_ZTEST_WS/wsdl11/ws_policy/document?sap-client=800
6, Use this link (from "wsil") instead of link from SE80 in SOAMANAGER to create logical port
7, Yours logicall port should be created without errors.
My question - have anybody idea, why this links are different and why only that second one works?
Peter -
Exposing and Consuming web service using NWDS
Hi all,
I want to expose and consume a webservice using NWDS.
My java application will interact with the SAP web service to create materials in r3.
I just want to know how to create a EJB project that contains the Web service and deploy on the SAP WAS.
and from the java application how would I access the same.
do I need to AXIS jar ?
How would get The WSDL corrosponding java files ?
I will be very thank ful if you can provide me with the some study materials also.
Warm regardsHi
Refer these links
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/60dbd7ac-4788-2910-539b-b3599c64be12
http://help.sap.com/saphelp_nw04s/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm
Regards
Abhishek -
B1if and Consuming Web Services by PHP
Hi Experts,
We are in the process of integrating a custom made ecommerce application with SAP B1. We had gone through the SDN Blog and found a Topic viz, Creating Web Services with B1if and Consuming by DotNet
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28162]
We would like to get the same with that of PHP. Say, while pressing a button in PHP webpage, I would have to add an Item master in SAP B1 by using B1if
Please help.
Thanks in advance
ArunHi Cezary,
How to consume a web service from php?
I have a web service hosted on this route:
http://<my-ip>:8080/B1iXcellerator/exec/soap/vP.0010000101.in_WCSX/com.sap.b1i.vplatform.runtime/INB_WS_CALL_SYNC_…
I got it from, Scenario-control-trigger in B1if.
I want to consume this service from php, is it possible?
Jerry -
Where can I find an article on how to publish CI as Web Services in PT 8.46
We have PeopleTools 8.46, and we want to integrate it to a customized application that we are building using ADF, we are considering the option the above option, of publishing the needed components interfaces to web services and consuming them from the ADF.
I did some research and I could find 8.48 materials in OTN, but not 8.46.
Help is appreciated
Regards
MohamedWe have PeopleTools 8.46, and we want to integrate it
to a customized application that we are building
using ADF, we are considering the option the above
option, of publishing the needed components
interfaces to web services and consuming them from
the ADF.
I did some research and I could find 8.48 materials
in OTN, but not 8.46.If you read the release notes for PT 8.46, 8.47 and 8.48 you might find some clues to that.
Afair the SOAPtoCI should be present since PT 8.47 at least, but I might be wrong.
ExceltoCI is there for a long time and that uses SOAPtoCI afaik.
So you might be on the wrong Tools for what you want, at least if it comes to OOTB WebServices using CIs.
Cheers & HTH
Peter -
How to use and configure web services in sap
Hi,
Experts,
could you please tell me, how to configure web services in sap.
As one of my client using handheld software for inventory, where in whatever tansaction happens in the depot it has to update in sap.through non sap software please help me out with necessary configuration.
Thanks
Edited by: Ahmed quadry on Jun 9, 2009 2:25 PMHi Ahmed,
Kindly find the below link will helps you to create web service in SAP
http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
Also find the below documents will helps you to create web services in SAP
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/06adbf03-0a01-0010-f386-d8e45561a3c4
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3004a2d2-0653-2a10-779c-f5562b3fac39
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bb0764f2-0b01-0010-bd85-c7849b40561e
Regards
Venkata Rao .G -
How use a proxy consumer web service in ABAP Program with local interface
I generate a proxy class based on a WSDL file.
I want to use this class in an abap programm without a connection but using XML files in local.
I see with the class CL_PROXY_LOCAL_ADAPTER that it is possible to execute without connection but for use this, it's necessary to use the method REGISTER.
This method have two parameters : Class Name and Interface Name.
Class name is the name of my proxy class, but I don't know how to find the interface name.
I think that a local interface is needed to generate but I don't know how to generate in interface with entries in SPROXSIG table ?
Could you help me ?Check out the following links to see if it meets your needs.. Has examples to call a ABAP proxy (that consumes a webservice) from ABAP program...
http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm (webservices ->webservices toolset -> examples)
http://help.sap.com/saphelp_dm40/helpdata/en/1a/b69d427cab0831e10000000a1550b0/frameset.htm -
How to call an ebs web service using the soa gateway
Hi All,
I installed Oracle E-Business Suite Release 12.1.1 Media Pack v4 (32bit) and now I wanna use the soa gateway to develop and integration and consume web services. I found the soa gateway/irep and I can browse through the existing services. But how can I call one e. g. using .NET?
For .NET, I need an valid address (URL) to the services. How can I get such an URL.
Example:
I opened the integration repository, browsed to:
Order Management Suite - Order Management - Sales Order - INBOUND: Change Purchase Order XML Transaction.
I cannot find an address at this page which can be used in MS Dev Studio to call the service.
If I click on "Generate WSDL" or try to open the WSDL under the "Web Service - Web Service Provider" section, I get an error message:
Error
SOA Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: SystemError: Error while sending message to server. Server returned HTTP response code: 500 for URL: http://ebs1.tesis.de:8000/webservices/SOAProvider/EbizAuth?Generate=4283&soa_ticket=HKGsq9YYnoswMKFsHijTPQ..' when attempting to perform 'GENERATE'. Please contact your System Administrator
What exactly does this error mean?
Many thanks,
KonradYou have to make sure every step in MOS Document ID 726414.1 that is applicable to your E-Business Suite 12.1.x release is performed. Enabling ASADMIN is just one of the steps. In spite of following all the steps in this Document you continue to get the error when clicking "Generate WSDL", please log a Service Request with Oracle Support.I will check all steps again. Maybe I missed one... Thanks!
-
How to install and consume GroupWise Web Service (SOAP)
Hello! I'm Razvan, programmer from Romnia, and I am new to GroupWise development.
I am asking if anyone could help me with a C# Visual Studio 2010 example of how to install and consume GroupWise Web Service (SOAP).
The documentation from novell site didn't help me, i didn't understant much of it.
All I need is either a link to a documented GroupWise C# developer step-by-step tutorial, or some code examples.
Can you please show me some code examples in C# with:
1)loging in using a username and a password,
2)retrieving contact list,
3)retrieving appointment list,
4)sending a mail,
5)setting an appointment
I don't know how to use "groupwise.wsdl" and customise it so that it points to our GroupWise server.
Please, I really need this because I am working at a project right now which involves GroupWise integration.
I hope I haven't disturbed anyone with my simple question.
I know this might be a very simple question given the complexity of the other posts here, but that's why I really hope I will get an answer soon.
Thank you very much!
Signature:
How old is the Orthodox faith?
How old is the orthodox faith?Just a comment.
The value for the version element should be "1.02"
not "1.2".
Preston
>>> On Tuesday, March 01, 2011 at 8:06 AM,
TheRomanian<[email protected]> wrote:
> I have great news! After strong documentation yesterday and today, I've
> just made a successfull example that actually connects to our GroupWise
> server.
>
> I made it in PHP.
>
> I need an ASP.NET + C# application, but now is very simple to convert
> it. I post the PHP code here for other people who in future might be
> interested in finding out.
>
> So a simple PHP GroupWise Login code using "groupwise.wsdl" web
> service:
>
>
> require_once('./GWService/GroupwiseService.php');
> require_once('FB.class.php');
>
> $classmap = array(
> 'Authenication' => 'Authenication',
> 'PlainText' => 'PlainText',
> 'loginRequest' => 'loginRequest',
> 'loginResponse' => 'loginResponse',
> 'logoutRequest' => 'logoutRequest',
> 'logoutResponse' => 'logoutResponse',
> 'UserInfo' => 'UserInfo',
> );
>
> $gwservice = new GroupwiseService(
> "./WSDL/groupwise.wsdl",
> array(
> "location" => "http://11.150.40.78:8756/soap",
> *Your GroupWise server IP:
> and PORT*
> "classmap" => $classmap,
> "trace" => true)
> );
>
> // do login
> $pt = new PlainText();
> $pt‑>username = *"YOUR GROUPWISE USERNAME"*;
> $pt‑>password = *"YOUR GROUPWISE PASSWORD"*;
>
> $lr = new loginRequest();
> $lr‑>auth = $pt;
> $lr‑>language = "en";
> $lr‑>version = "1.2";
> $lr‑>application = "phpClient";
>
> $lres = $gwservice‑>loginRequest($lr);
> //print_r($lres);
>
>
> I Hope this will help others.
>
> ‑‑
> Signature:
>
> How old is the Orthodox Faith?
> 'How old is the orthodox faith?'
> (http://www.orthodoxphotos.com/history.shtml) -
How to consume web service in jdev 10.1.3 and OAF 12.1.3
I have a question regarding consuming web service in jdev 10.1.3. I have a WSDL url and want to generate java stub files from the wsdl. How do I do this using jdev?
This is now contained in the PageDefinition file.
1. Right-click on the Data Action, and then select Go to Page Definition
2. Add an attribute to the <pageDefinition> tag called ControllerClass="MyPackage.ShowInfoAction"
If you have more than 1 Data Action linked to a PageDefinition, then there is more work required.
Hope this helps -
How to consume Web Services form ABAP ?
Hi,
Please advise how to consume web services from ABAP Code ? is there any automatic generating proxy class in order to consume web services ?
I am using NW 7.0 SP15
Thank You and Best Regards
Fernand LesmanaHi Fernand,
chk out for this link
Consume an ABAP Webservice (WAS 620) from .Net
Send SMS to India from ABAP
working web service from ABAP
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a4433436-0301-0010-f2a9-9281ad574054
Regards
Sampath
Maybe you are looking for
-
Unable to burn AUDIO to DVD or Disk image, video is fine
As many other posts have stated; I am unable to burn the Audio portion of an iDVD nor does "save as disk image" transfer the audio of my iDVD. Transferred an iMovie, (an iPhoto set of photos with iTunes audio imported into iMovie) to iDVD. Audio play
-
My iPhone was connected to my computer and to itunes. I deleted apps from my iPhone directly, when it was connected. Now I am unable to sync my iPhone. When I try and sync, it goes through the process then a message appears: " iTunes cannot sync apps
-
To upgrade or not to upgrade....that is the question.
So my original iPhone is just starting to end its lifespan. I have had it since the phone first came out (so for about 2.5 years). I am having problems with battery life, freezing, and the sleep button keeps getting stuck. I brought it to the genius
-
I modified my web site and I am trying to publish it but it will not publish any change. I am not using mobile me but ftp publishing
-
Question about my Creative Xtra 40GB Please HELP!!!! Anybody!
Please, I need help with a problem I'm having with my Xtra 40GB. I'm having trouble transfering my songs over to my player. It says that "the player is either not connected or busy, try again later?". What is up with that? The cords are plugged in, i