How to implement the odata model with web service
hi dear all,
i am trying to expose the web service as odata service in gwpa (not the NW Gateway) and i want to deploy it into smp 3.0
but cannot find any helpful materials on it.
could you give me some guide?
thank you very much
best regards
lawrence
Hi Lawrence,
There are plenty blogs available. You can check either
Marvin Hoffmann
How to use Integration Gateway with SMP 3.0 (Part 1)
Let me know if you face any issues.
Rgrds,
Jitendra
Similar Messages
-
How can I authenticate and authorize with Web Service on ESB ?
Hello,
I want to authenticate and authorize client with Web Service published
by HTTP/SOAP BC.
Simply if it is an Web Service as J2EE application, I will use
Basic Authentication with JAX-RPC and Realm.
But I think that Web Service published by HTTP/SOAP BC is not belong
to J2EE Application. Threre is no place to describe security role mapping
(like web.xml).
JBI 1.0 the section "5.5.1.1.3 Normalized Message Properties" comments
JAAS Subject is given in the NM Properties. Really in this package
com.sun.jbi.internal.security.*
implements JAAS autentication and authorization (at JaasAuthenticator).
But I can't see how to configure my Service to use this.
How can I authenticate and authorize with Web Service on ESB ?
I referred to the resources.
Mutual Authentication for Web Services: A Live Example
http://developers.sun.com/prodtech/appserver/reference/techart/mutual_auth.html
XML and Web Services Security
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security7.html
JAAS Authentication Tutorial
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
Thanks,
Takurou
- environment ---------------------------------------------
OpenESB : Project Open ESB Starter Kit
AppServer : Sun Java Systems Application Server 9.0 PE
OS : Windows XP
I don't assume to use SSL (if It's necessary I will try).
User information is stored in a LDAP Server.
-----------------------------------------------------------Hello,
I read this resource.
SecurityDesign
http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=SecurityDesign
Then I think [non-ssl and ssl/tls and so on] securing by basic authentication is ongoing feature at this time.
But I can't see well why this page comments 'HTTP over SSL, TLS'.
HTTP/SOAP Binding Component Overview
http://download.java.net/general/open-esb/docs/jbi-components/httpsoap-bc.html
Does BC support only "SSL server authentication" ?
Doesn't BC support "SSL client authentication" by username/password ?
Thanks,
Takurou -
How can I create a query with web service data control?
I need to create a query with web service data control, in WSDL, it's query operation, there is a parameter message with the possible query criteria and a return message contains the results. I googled, but cannot find anything on the query with web service. I cannot find a "Named Criteria" in web service data control like normal data control. In Shay's blog, I saw the topics on update with web service data control. How can I create a query with web service data control? Thanks.
Hi,
This might help
*054. Search form using ADF WS Data Control and Complex input types*
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html -
How to implement the schema validation with XSD in adapter module
Dear All,
I am trying to develop a EJB as the file adapter mudule.
Please guide me how to implement the schema validation of the source message with XSD.
Or provide me the relative resources about this task.
Thanks & Regards,
Red
Edited by: Grace Chien on Nov 19, 2008 8:23 AMHi Grace,
You can do the xml scema validation in PI7.1 version directly.
To develop the adapter module for xml schema validation
Validating messages in XI using XML Schema
Schema Validation of Incoming Message
Regards
Goli Sridhar -
How to implement the input help at web for the input ready query?
Dear all,
As you konw when we create the input ready query for Planning, we can insert the new record for plan with Analyzer tool. We also can use input help(double clike the space) for input the master data.
I want to konw when I use Web Appliaction Designer to run the query at the web, How can I use the input help for planning data.
My customer request me must implement the input help function at web.
Thanks a lot
best regards,
Leon
Message was edited by: Leon Wang
Message was edited by: Leon WangHello,
It seems Input Help is not possible with WEB.
Check out the link below -
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm">Input Help - with Web application designer</a>
<b>Bex Analyzer -</b> You access input help for a cell by double clicking on it or choosing the F4 button.
<b>Web Appln Designer</b> - Input help is not available
Hope it Helps
Chetan
@CP.. -
How to get the cookie from a web service using Axis
I used the AXIS wizard to consume a WSDL and create a bunch of boiler plate code. It works great in that I can talk to the web service and submit requests.
The problem is that I need to retrieve the cookie from the login request and use it when making subsequent requests. I have been unable to find the cookie and would appreciate a point in the right direction.
Currently I'm trying something like this
String cookie = (String)((Stub)service)._getCall().getMessageContext().getProperty(HTTPConstants.HEADER_COOKIE);
Thanks in advance.Answered on my own:
Just have to use
x_result = http_client->response->get_data( ).
instead of
x_result = http_client->response->to_xstring( ).
Just don't knwo why the filesize is wrong also - but I can work with this image! -
How to delete the Webservice entry from Web service navigator?
Hi,
My current issue is that, developers have created many webserivces and these web services are visible in web service navigator that i access by following link
http://<host>:<port>/wsnavigator
But now we have to remove the unwanted webservices i.e. i want that unwanted webservices should not be visible to anyone when we access WSNAVIGATOR.
How should i go about it?
Am i required to undeploy the web services that is deployed from SDM GUI?
Please pour in your valuable inputs.
Any help would be highly appreciated.
Regards,
AmeyaI had to revove the entry from VA. Removing this entry also removes the web service from ws navigator.
-
How to retrieve the HttpSession from Axis Web Service
hello,
How can I get the HttpSession in Web Service ???
EricHi,
I have generated the java classes from a WSDL using WSDL2Java using the following command line options.
java -classpath .;%AXISCLASSPATH%;%CLASSPATH% org.apache.axis.wsdl.WSDL2Java -s -S true -d Session -Nhttp://localhost:
7001/axis=samples.grapha -a samples\grapha\grapha.wsdl
I need to retrieve HTTPSession in the generated GraphASOAPBindingImpl class. Can you help me?
Thanks,
vc -
How to find the URL of deployed Web services?
Hi,guys. I have created a Web service, and deployed to WAS.But where is the accessing URL? WAS has created several WSDLs for the serviece, but I can not find the URL in the files.
I think that the URL looks like "http://localhost:50000/XISOAPAdapter/MessageServlet?channel=:WAS2:CC_GIS_Equipment_Create_SOAPOUT&version=3.0&Sender.Service=WAS2&Interface=urn%3Azpepc%3Agis%3Aequipment%3Amaintenance%5EMI_GIS_Equipment_Create"my accessing code is:
public class VacationClient {
public static void main(String[] args) throws Exception {
System.out.println("SOAP call start");
VacationClient helloSOAPClient = new VacationClient();
String resultValue = helloSOAPClient.doSOAPRequest(
"VacationCheckerService", "getVacationDays",
"employed_years", 20);
public String doSOAPRequest(String _strURI, String _strMethodName,
String _strName, int _strValue) throws Exception {
Call call = new Call();
call.setTargetObjectURI("urn:" + _strURI);
call.setMethodName(_strMethodName);
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
Vector params = new Vector();
params.addElement(new Parameter(_strName, Integer.class, new Integer(
_strValue), null));
call.setParams(params);
System.out.println("开始");
Response resp = call
.invoke(
new URL(
"http://10.136.31.121:50000/TestWeb_Config1_SoapServlet"),
if (resp.generatedFault()) {
Fault fault = resp.getFault();
System.out.println("failed!");
return "failed!";
} else {
Parameter result = resp.getReturnValue();
System.out.println("sucessful!"+result.getValue().toString());
return result.getValue().toString();
But the URL is not correct ,and an exception is throwed:
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=Software caused connection abort: recv failed; targetException=java.net.SocketException: Software caused connection abort: recv failed]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:358)
at org.apache.soap.rpc.Call.invoke(Call.java:248)
at test.VacationClient.doSOAPRequest(VacationClient.java:44)
at test.VacationClient.main(VacationClient.java:18) -
How to Convert the adobe form to web services
Hi Experts ,
Can you please help me i need to Connect Adobe form to WEB Services .
what Function Module DO i need to use to Convert or to create ADOBE Forms.
once after Createing i need to connect to web service through SAP>
Regd's
Raj/people/r.eijpe/blog/2007/01/08/performing-sap-interactive-forms-by-adobe
Expert Forums » SAP NetWeaver » SAP Interactive Forms by Adobe
https://www.sdn.sap.com/irj/sdn/interactiveforms
/people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
http://help.sap.com/saphelp_nw2004s/helpdata/en/18/ecb69017ad4765855425b97f666470/frameset.htm
Regards -
How to get the disco model with all tables and fields ?
Hello !
I have to make a document showing all the tables and fields I have in my EUL ... This would be a good documentation for our company and our clients too !
I haven't find any ways to perform this directly from disco admin and I can't make a query using the EUL tables ...
Please Help ...Hi,
I am assuming you are using Discoverer 4.1/4i. In the Oracle Home\Discvr4 directory contains an EUL4.eex file. Import this in Admin edition, and it will create a business area on your EUL. Then you can get details on the Folders and Items and use it to create reports....
Cheers
Deepak -
How to pass the dynamic URL of web services in JAVASCRIPT in ADOBE
Hi,
In the below scenario how do i pass the URL dynamically from context's importing parameters instead of hard coding.
var cURL = "http://................" ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
B'coz the URL is going to be different in Dev, Test, Prod system. In this case i can't hardcode the URL as explained in previous treads. Or please provide the possible alternatives.
Any help is highly appreciated.
Regards,
SathishHi,
Got the solution for
var cURL = "http://................" ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
I tried with
var cURL = xfa.form.data.PAGE2.SubFormPage.IM_URL.rawValue ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
xfa - Root Node
form - Model
data - Form Design Root Node
PAGE2 - Page Name
SubFormPage - Sub Form inside the page
IM_URL.rawValue - Importing field to Adobe{ which i dragged from Data view into sub form(SubFormPage) & set the field as invisible so that it won't be available to user}
Working as expected.
Thanks,
Sathish -
How i map the caf data with data of UWL in web dynpro
Hi Experts,
i created a bpm project with nwce 7.1.1 and it have a independent caf to keep it's data and status.
now i have to create a view(use web dynpro) such like UWL,
my question is
how i map the caf data with UWL, and let the view can open the task(popup a window, just like UWL do) for user to finish their job?
thanks.Hi Vic
Your requirement is exect functionality of UWL based on WEBDYNPRO, CAF and BPM for automation? ,and question is How to use CAF with WD or CAF with UWL API's ?. please clarify it.
Please fo through from given doc misght give u some idea
1. [How to develop Web Dynpro UI for your CAF project |http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0722080650DB02400261803144436507End?blog=/pub/wlg/5414]
Best Regards
Satish Kumar -
How to implement the pessimistic locking using toplink with sybase
we want to allocate the unique primary key to each row when many user try to insert the records concurrently..So what we are trying to do is we calculate the maximum of Primary Key and incremented it by 1. Now we want to Apply the locking concept on the so that unique key will be allocated to each newly inserted row
Can you please tell me
1. how we can genrate unique primary key in toplink using sybase?
2.how to implement the pessimistic or optimistic locking ?which one will be preferable?Hi brother
I think that this link can help you
http://download-east.oracle.com/docs/cd/A97688_16/toplink.903/b10064/database.htm#1007986
Good luck -
How to implements the single thread modal?
how to implement the singlethread modal in servler/jsp?
Do you mean 'model?' and 'servlet?' and are you referring to the interface with that name? which your servlet class just has to declare that it implements?
Maybe you are looking for
-
Is there a way to prevent iTunes from deleting TV shows and leaving them in the cloud.
I understand the benefits of the cloud. I'm fully on board. I however have to travel often for work and I am often far away from the luxury of wifi. I understand why it does what it does (removing tv shows and movies I haven't seen a while). Is there
-
Hi, I have this following code; which I think there is a problem with the Joins. It is working fine when commenting the following fields: T4.ocrCode as 'Profit Centre', T4.U_eEmpID as 'Employee ID',T4.Freetxt as 'Free Text'; but when I include these
-
What is Tcode to create a single delivery documents for all line itemsinPO?
Hi all, Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery d
-
ARD 3.3 slow screen redraw - are there special router settings ?
Hello all ! I think I read somewhere on previous Google searches about special router settings to help ARD run as quickly as possible. I connect to an external site via an intermediate machine in a DMZ area for security (Network Group stipulation) an
-
Adding budget Facts at higher levels to other Facts
Hi, Hoping someone can advise. I have a table of budget figures at the week and vessel level and I need to incorporate them into my business model but not sure how to do it. I have a time dimension year - period - week - day and a corridor dimension