Need versions of web service standards supported by SAP WAS
Hello Friends,
I need to know web service standards supported by SAP WAS with their versions.
List of Web service specification needed is:
Basic Profile
Attachments Profile
Simple SOAP Binding Profile
WS-Addressing , SOAP Binding, WSDL Binding
Simple Object Access Protocol (SOAP)
Web Services Description Language (WSDL)
JAX-WS
JAX-R (For Registry integration)
Can anyone please provide me with these details?
Thanks and regards,
Mayuresh
I think you have to add the destination in Windows-Preferences-Destination Configuration-Web Service Configuration.
Then you can search it when selecting "web services" as provider
Edited by: Jan Nyfeler on Jun 11, 2010 8:52 AM
Similar Messages
-
What is needed to develop web services with DI Server using C #?
Hi,
What is needed to develop web service using DI Service ad C#?
Does anyone have any examples?
thanks,
WillianLogin C# sample
u2018 Create Service WebReference
LoginWebRef.LoginService loginService = new LoginWebRef.LoginService();
// service command login call
string sessionID = login.Login(
"localhost",
"COM_OBS_AUT_TEST",
LoginWebRef.LoginDatabaseType.dst_MSSQL2005, true,
"sa", "xx",
"manager", "manager",
LoginWebRef.LoginLanguage.ln_English, true,
"localhost:30000");
Business Partners add C# sample.
// Create Service WebReference
BPWebRef.BusinessPartnersService bpsService = new
BPWebRef.BusinessPartnersService();
// MsgHeader class
BPWebRef.MsgHeader msgheader = new BPWebRef.MsgHeader();
msgheader.SessionID = DIServerSessionID;
msgheader.ServiceName = MsgHeaderServiceName.BusinessPartnersService;
msgheader.ServiceNameSpecified = true;
bpsService.MsgHeaderValue = msgHeader;
// fill business partner class
BPWebRef.BusinessPartner bp = new BPWebRef.BusinessPartner();
bp.CardCode = "MyBPCardCode";
u2026
// service command call
BPWebRef.BusinessPartnerParams bpParams = bpsService.Add(bp); -
How to call COPY web service from sharepoint in SAP
Hello Experts,
I want to call COPY web service from SharePoint in SAP web dynpro / JAVA application.
However, when I try to connect to web service and download wsdl using http:// <hostname:port>/_vti_bin/copy.asmx?wsdl
it results in Unauthorized error and doesnt complete the setup. Detail error is :
Error occurred while downloading WSIL file. Error message: Deserializing xml stream http:// <hostname:port>/_vti_bin/copy.asmx?wsdl
failed.com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (401) Unauthorized. The requested URL was:"Connect to
http:// <hostname:port>/_vti_bin/copy.asmx?wsdl , used user to connect: userid"
I am trying to connect with server user account. Any idea on what authorizations might be required or any help on the scenario .
-AbhijeetHere's an example on how to delete a list item, hopefully this helps
package com.jw.sharepoint.examples;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Properties;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import com.microsoft.sharepoint.webservices.CopySoap;
import com.microsoft.sharepoint.webservices.GetListItems;
import com.microsoft.sharepoint.webservices.GetListItemsResponse;
import com.microsoft.sharepoint.webservices.ListsSoap;
import com.microsoft.sharepoint.webservices.UpdateListItems.Updates;
import com.microsoft.sharepoint.webservices.UpdateListItemsResponse.UpdateListItemsResult;
public class SharePointDeleteListItemExample extends SharePointBaseExample {
private String delete = null;
private String deleteListItemQuery = null;
private String queryOptions = null;
private static final Log logger = LogFactory.getLog(SharePointUploadDocumentExample.class);
private static Properties properties = new Properties();
public Properties getProperties() {
return properties;
* @param args
public static void main(String[] args) {
logger.debug("main...");
SharePointDeleteListItemExample example = new SharePointDeleteListItemExample();
try {
example.initialize();
CopySoap cp = example.getCopySoap();
example.uploadDocument(cp, properties.getProperty("copy.sourceFile"));
ListsSoap ls = example.getListsSoap();
example.executeQueryAndDelete(ls);
} catch (Exception ex) {
logger.error("Error caught in main: ", ex);
public void executeQueryAndDelete(ListsSoap ls) throws Exception {
Date today = Calendar.getInstance().getTime();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
String formattedDate = simpleDateFormat.format(today);
String queryFormatted = String.format(deleteListItemQuery,formattedDate);
GetListItems.QueryOptions msQueryOptions = new GetListItems.QueryOptions();
GetListItems.Query msQuery = new GetListItems.Query();
msQuery.getContent().add(createSharePointCAMLNode(queryFormatted));
msQueryOptions.getContent().add(createSharePointCAMLNode(this.queryOptions));
GetListItemsResponse.GetListItemsResult result = ls.getListItems(
properties.getProperty("folder"), "", msQuery, null, "",
msQueryOptions, "");
writeResult(result.getContent().get(0), System.out);
Element element = (Element) result.getContent().get(0);
NodeList nl = element.getElementsByTagName("z:row");
for (int i = 0; i < nl.getLength(); i++) {
Node node = nl.item(i);
String id = node.getAttributes().getNamedItem("ows_ID").getNodeValue();
String fileRefRelativePath = node.getAttributes().getNamedItem("ows_FileRef").getNodeValue();
logger.debug("id: " + id);
logger.debug("fileRefRelativePath: " + fileRefRelativePath);
String fileRef = properties.getProperty("delete.FileRef.base") + fileRefRelativePath.split("#")[1];
logger.debug("fileRef: " + fileRef);
deleteListItem(ls, properties.getProperty("folder"), id, fileRef);
public void deleteListItem(ListsSoap ls, String listName, String listId, String fileRef) throws Exception {
String deleteFormatted = String.format(delete, listId, fileRef);
Updates u = new Updates();
u.getContent().add(createSharePointCAMLNode(deleteFormatted));
UpdateListItemsResult ret = ls.updateListItems(listName, u);
writeResult(ret.getContent().get(0), System.out);
public void initialize() throws Exception {
logger.info("initialize()...");
properties.load(getClass().getResourceAsStream("/SharePointDeleteListItemExample.properties"));
super.initialize();
this.delete = new String(readAll(new File(this.getClass().getResource("/Delete.xml").toURI())));
this.deleteListItemQuery = new String(readAll(new File(this.getClass().getResource("/DeleteListItemQuery.xml").toURI())));
this.queryOptions = new String(readAll(new File(this.getClass().getResource("/QueryOptions.xml").toURI())));
Brandon James SharePoint Developer/Administrator -
Web services call directly from SAP ?
Hi ESA Experts,
Is it possible to make a web service call directly from a SRM or SAP R3 system without using SAP XI ?. If so, have you some code samples ?
Thanks a lot for your response.
Best regards
EtienneHi, Etienne.
There are two things to do.
1. Prepare Service Provider
For providing services, there are many tools to publish as web services
from BAPI, RFC and Enterprise Services.
Please look at here.
help.sap.com - Web Service Toolset
http://help.sap.com/saphelp_nw04s/helpdata/en/db/99c04ba22fe64f96a8651df68eab92/frameset.htm
i recommend Web Service Creation Wizard as first step.
2. Prepare Service Consumer
Also has many tools. What i like is WS Navigator for basic test of web services.
help.sap.com - Web Service Homepage
http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/frameset.htm
Best Regards. -
Down-/Upload files via Web Services using a NON-SAP system!?
Hello,
is it possible to down-/upload files via web services using a NON-SAP system!?
Regards,
JensHi Jens,
I am not sure about your requirement here. What i could understand is that you want to check whether service could handle file processing?
1) Uploading file - You can build a Webservice which has import/export parameters as the file structures and implement the proxy class in such a way that the passed data is written to application server.
2) Downloading file - Same as uploading file, but the proxy class would have the code to extract data from the application server and pass them as output parameter.
Functionality of Non SAP system: The system which calls these services should be able to convert the output of proxy data into file in case of downloading the file and it should be able to convert the file data into export parameters in case of uploading file.
Hope this helps.
Regards,
Prasanna -
Help need in Java Web Service method receiving object values as null
Below is my web method and Package is the object received from dotnet client as a consumer. I have also defined the Package object structure. Now when I receive the data from dotnet I get only identifier value, but I get ownerid and price as null, even both values are sent by Dotnet client. I want to know whether only primitive datatype in java web service works or I need to do some configuration changes in order to have build in Wrapper class datatypes? It would be a great help if somebody explains.
@WebMethod
@WebResult(name = "PackageId")
public long createNewPackage(@WebParam(name = "Package") com.db.radar.wl.data.Package data1,@WebParam(name = "PackageDetail") PackageDetail data2,@WebParam(name = "PackageTrade") PackageTrade data3);
public class Package {
Long ownerid;
Double price;
long identifier;
}Hi ,
I am getting the same error. I am running my application on jboss-4.0.4.GA. Please let me know the version of jboss that you to got it working.
Thanks
Viv -
Need advice about web services and Java beans
Hi
I am very new to web services and to Java beans as well.
I am trying to understand if and how a web service can use functionality I have in a Java bean. I couldn't find any documentation I can use.
For example:
InitialContext ic = new InitialContext();
Adder adder = (Adder) ic.lookup("ejb/AdderJNDI");In a EJB client project (I'm working with Eclipse) if I add the EJB project to the build path, the Adder interface is recognized.
Theoritacally I thought I can do the same in a web service server project, but the Adder interface is not recognized.
Is there something I can read to understand how I need to use the EJB or implement the web service?
Many thanks
SigalOkay....I think I made some errors with the original scenario:
It basically comes down to this....I think. OCS Calendar has a set of Java classes and methods that provide an abstraction for their web services interface. I know how to create something to use these classes using an IDE like JDeveloper, but I'm not sure how that would work with HTML DB.
I've noticed that the SQL Workshop has a place for Java sources and classes, and I've heard mentions of PL/SQL wrapping. Is there a way to import classes into an HTML DB workspace, wrap 'em up, and access them via PL/SQL?
Thanks again,
Jonathan -
ColdFusion Developer version and web services
Hi,
Does anyone know if there is a known issue about Web Services
not running on
ColdFusion developer version?
I have been testing the most simple web services on 3
different live servers
and 3 different localhost servers with the same files and got
successful
results on all the live servers, but the same errors on all
the local
servers running on ColdFusion latest developer version. All 6
servers are
running on IIS either on Windows XP or 2000. Below is the
error I get when
I tested it locally:
Could not generate stub objects for web service invocation.
Name:
http://tutorial/ColdFusion/template/webservices/helloworld/helloworld.cfc?wsdl.
WSDL:
http://tutorial/ColdFusion/template/webservices/helloworld/helloworld.cfc?wsdl.
java.net.UnknownHostException: tutorial: tutorial It is
recommended that you
use a web browser to retrieve and examine the requested WSDL
document for
correctness. If the requested WSDL document can't be
retrieved or it is
dynamically generated, it is likely that the target web
service has
programming errors. The error occurred in
D:\tutorial\ColdFusion\template\webservices\helloworld\helloworld.cfm:
line
6
4 : method="getMessage"
5 : returnvariable="aString">
6 : <cfinvokeargument name="name" value="Rob"/>
7 : </cfinvoke>
8 :
Please let me know if you know anything about this.YCIf your developer edition is on your own machine you might be
having proxy server issues.
Find out what your proxy server is and enter it using the
proxyserver="" attribute in cfinvoke -
Help Needed compile, deploy Web Service with Annotations on Web Logic 9.2
Hi,
I am new web logic and need some help in compiling, creating deployment file i.e. war, ear on Web Logic 9.2. I have the following sample web service with annotations code code but need help in compiling, creating deployment file (war,ear), creating proxy for testing etc. How to compile and create deployment files in WebLogic 9.2. Any help is really appreciated.
package sample_ws;
import java.rmi.RemoteException;
import javax.jws.*;
import javax.jws.soap.SOAPBinding;
import org.w3c.dom.Document;
@WebService
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL,
parameterStyle = SOAPBinding.ParameterStyle.BARE)
public class EchoService {
public EchoService() {
@WebMethod(action="echo")
@WebResult(targetNamespace="http://exa.org", name="echoResult")
public Document echo(@WebParam(targetNamespace = "http://exa.org",
name = "echoMsg")
Document doc) throws RemoteException{
return doc;
}ThanksI am using Oracle Jdeveloper as an IDE and created a war file and deployed on Oracle App. Server it works fine. Now if I deploy the same war on Web Logic it gives me the following error:
java.lang.IllegalStateException: could not find schema type named {{http}//exa.org}>>echoResult
Errors were encountered while performing this operation. Here is the code I have:
package webservice2 ;
import java.rmi.RemoteException;
import javax.jws.*;
import javax.jws.soap.SOAPBinding;
import org.w3c.dom.Document;
@WebService
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT,
use = SOAPBinding.Use.LITERAL,
parameterStyle = SOAPBinding.ParameterStyle.BARE)
public class EchoService {
public EchoService() {
@WebMethod(action="echo")
@WebResult(targetNamespace="http://exa.org", name="echoResult")
public Document echo(@WebParam(targetNamespace = "http://exa.org",
name = "echoMsg")
Document doc) throws RemoteException{
return doc;
}And here is the wsdl file I have:
<definitions
name="EchoServiceService"
targetNamespace="http://webservice2/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://webservice2/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ns1="http://exa.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://exa.org" elementFormDefault="qualified"
xmlns:tns="http://exa.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
<element name="echoMsg" nillable="true">
<complexType>
<sequence>
<any/>
</sequence>
</complexType>
</element>
<element name="echoResult" nillable="true">
<complexType>
<sequence>
<any/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="EchoServicePortType_echo">
<part name="echoMsg" element="ns1:echoMsg"/>
</message>
<message name="EchoServicePortType_echoResponse">
<part name="echoResult" element="ns1:echoResult"/>
</message>
<portType name="EchoService">
<operation name="echo">
<input message="tns:EchoServicePortType_echo"/>
<output message="tns:EchoServicePortType_echoResponse"/>
</operation>
</portType>
<binding name="EchoServiceSoapHttp" type="tns:EchoService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="echo">
<soap:operation soapAction="echo"/>
<input>
<soap:body use="literal" parts="echoMsg"/>
</input>
<output>
<soap:body use="literal" parts="echoResult"/>
</output>
</operation>
</binding>
<service name="EchoServiceService">
<port name="EchoServiceSoapHttpPort" binding="tns:EchoServiceSoapHttp">
<soap:address location="http://localhost:8888/EnableSrc-WebService2-context-root/EchoServiceSoapHttpPort"/>
</port>
</service>
</definitions>Any ideas what might be wrong. -
Need & architecture of web services
I wat to know in detail about the need of web services & architecture
Hi,
have you read the documentation on
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.htm ?
You should try the quickstart guide and the tutorial for the BPEL PM.
For webservices read
http://download-uk.oracle.com/docs/cd/B31017_01/web.1013/b28974/toc.htm -
Versioning of Web Services prior to EHP1
Hi!
Right now we are working on PI 7.1 and we wish to have some version control on our web services. I cannot find any explicit versioning system for services in the Service Registry.
Basically I would like to be able to set a Web Service as "deprecated" or similar, if I develop non-backwards-compatible changes.
In EHP1 there are introduced some functionality for versioning of WebServices, but my question is how has this be done prior to EHP1? Anyone experienced this, and is there maybe some other way to solve this?
Thanks!
regards OleHi Ole!
This is the essence of versioning. For a new version you always create a new object (version) keeping the old version. But you do not have to copy all objects from one SWCV to a new one.
You might just copy the ones you want to change and leave the others in the old SWCV. This keeps thing less complex concerning the number of objects in your ESR. On the other hand you always have to take in mind several SWCV when changes have to be done.
You may also say and decide (for yourself) that every time a new SWCV is created ALL objects move to the new SWCV regardless of they are to be changed or not. Doing it this way of course creates a lot of objects in the ESR but you always only have to deal with ONE SWCV knowing the others are completely depreciated. I think this makes thing easier to handle. And who cares about all these "dead" objects in the ESR. They just "eat" a little piece of space in the database and not more.
Regards,
Volker -
Help needed: ViewObjectImpl and web service
Hi!
I'm trying to make a view object (to be used in a web application) which gets its data from a web service. As the data returned from the web service might be very large, i decided to limit it with start row (number) and range size (number). The idea is to store only the needed data in the memory and when other data is needed to get it from the web service. For example, if the view is used to show rowsets with ranges of 10, there will only be 10 records in the memory. When a request is created to visualize the next 10 records, then only rows from 10 to 20 will be in the memory.
However, I am unable to figure out which method(s) in the ViewObjectImpl class to override. I'm able to get the first range, but when the scrollRange(int) is invoked, I cannot propagate the new rows.
So anyone been able to help? Any ideas are welcome!
Thanks in advance!Hi there,
Entity objects can be based on web services, have you tried this way. Then, you can create you VO on top of this entity having perhaps a more declarative approach. If you still want to follow the programmatic VO approach, overriding hasNextForCollection or getQueryHitCount could be my initial 2 methods to look for.
- Juan Camilo -
Help needed with VirsaCCRiskAnalysisService Web Service
Need either documentation or specific parameters that need to be passed between GRC RAR and Web Services. Would like a data file layout that maps these fields.
Hi there,
Entity objects can be based on web services, have you tried this way. Then, you can create you VO on top of this entity having perhaps a more declarative approach. If you still want to follow the programmatic VO approach, overriding hasNextForCollection or getQueryHitCount could be my initial 2 methods to look for.
- Juan Camilo -
Is crossdomain.xml Needed for SOAP Web Services?
A Flash developer who is attempting to use Flash to access a
SOAP web service provided on one of our servers says we need to add
a crossdomain.xml file to our server listing their domain as an
acceptable source. The SOAP service simply accepts some data and
returns a status. It doesn't make sense to me that we would need to
provide a crossdomain.xml file. If we did, all web services all
over the Internet would have to do the same to allow Flash to call
them.
If I am correct and the file is not necessary, then what else
in FlashPlayer might be blocking their attempts to access our
server? I don't know much about Flash, but I do know some sort of
security configuration files are necessary to allow SWF files to
access the Internet. Could this be what they are missing?low_right wrote:
> A Flash developer who is attempting to use Flash to
access a SOAP web service
> provided on one of our servers says we need to add a
crossdomain.xml file to
> our server listing their domain as an acceptable source.
The SOAP service
> simply accepts some data and returns a status. It
doesn't make sense to me
> that we would need to provide a crossdomain.xml file. If
we did, all web
> services all over the Internet would have to do the same
to allow Flash to call
> them.
>
> If I am correct and the file is not necessary, then what
else in FlashPlayer
> might be blocking their attempts to access our server? I
don't know much about
> Flash, but I do know some sort of security configuration
files are necessary to
> allow SWF files to access the Internet. Could this be
what they are missing?
>
>
Yes, you need a crossdomain.xml file in place. When I do SOAP
calls to
a service not under my control I just write a proxy for it,
then I don't
need to have anyone add the crossdomain policy file. -
Need help with Web Services SDK.
I am new to Web Services SDK can I get documentation on same.
For documentation about the BOE XI R2 SP2 Web services go to our DevLibrary: http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
then locate the Web Services topic under which, you will find the necessary info to help you deal with BOE Web Services.
Cheers
Alphonse
Maybe you are looking for
-
XML Publisher Template Selection Dynamically
Hi All, I am new in XML Publisher domain and currently working on a report and I am able to generate EXCEL and PDF output using following steps. STEPS 1. Create RDF Report 2. Register as Executable and Created Concurrent Program WITH XML Outp
-
How do I submit a private CD track listing so that other family members can get it?
I have created a CD of family recordings to destribute to different family members. I want to upload the track listing so that they can get the info for their uploaded CD from Apple. The drop down Submit CD Track Listing is inoperative with either th
-
Opening a web page in a new tab appear web page from the history
When I like to open a web page in a new tab, is opening a BLANK page and in the new tab's address bar appear a random web page address from history .
-
In March of this year I signed up for 3 new lines and was assured by the sales representative Mr. Christopher (removed) that each line would receive a $100 credit. Over the past 5 months each time I contacted customer service about the credits, I wa
-
Contacts are not loaded thru bluetooh
My car (Peugeot 307) has its built-in bluetooth kit. but my 2 phones 6680 or 9300i are not displaying any of the contact names. although i have not experienced this problem with my old 6310i. Any suggestions ?Message Edited by fonoo on 17-Mar-2007 03