Web URL with Java Dependency in Azure??
I have a website URL that requires a certain version of Java that is not supported by Windows 7. My only options are to "virtualize" the IE URL either with Citrix or MedV type of solution. Is is possible to host this URL in Azure with the Java
dependency?
Hi,
I didn't know this "website URL", but from my experience, we can build java application, and deploy it to azure, refer to
http://msdn.microsoft.com/library/azure/hh690944(VS.103).aspx for more details. If I misunderstand, please feel free to let me know.
Best Regards
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Hosting Website URL with Java dependency
I have a website URL that requires a certain version of Java that is not supported by Windows 7. My only options are to "virtualize" the IE URL either with Citrix or MedV type of solution. Is is possible to host this URL in Azure with the Java
dependency?Hi,
I didn't know this "website URL", but from my experience, we can build java application, and deploy it to azure, refer to
http://msdn.microsoft.com/library/azure/hh690944(VS.103).aspx for more details. If I misunderstand, please feel free to let me know.
Best Regards
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Web site with Java Scripts ( on iphone4)
try to open a web site with Java scripts , but it just show empty on the scripts section , anyone can help ? (on iphone 4 with iOS 4.1)
Hi, welcome to Apple Discussions.
Web pages that make use of Javascript should work just fine. Those that have embedded Java applications won't. Java & Javascript are two different animals despite the similarity in the names. Like Flash, Java is not supported on iOS.
tt2 -
Hi Guys
A situation at work has forced me to learn web dynpro with java. I already have some experience with the ABAP web dynpro . Now the question is how much "java" do i need to learn to learn sap WebDynpro based on java. Should I first try and get a fair 'hands on' on core java and then shoot for web dynpro or should I take the other approach, that is just learn as much java as is required for web dynpro . Any suggestions?
thanks
sameerHi Sameer,
I believe you need not thoroughly know Core Java to begin for Web Dynpro Java but yes, you should have a fair idea about object, class and exceptions that i believe you would already have after working in ABAP. The UI elements can be just inserted into the component by drag and drop and codes correspondly would be auto generated. Only for customization of some functionalities, you will have to write code in Java using APIs.
Just go through the following tutorials recommended by SAP to start over Web Dynpro Java on NWDS.
http://help.sap.com/saphelp_nw70/helpdata/en/16/c0d93f5e0f9015e10000000a155106/frameset.htm
Regards,
Tushar Sinha,
Infosys,
Hyderabad -
On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this ?
Thanks for posting this!
I would only mention that your definition is incomplete for this -
Contextual selector A type of Style Sheet Selector that
and that it's most often referred to now as a Descendent selector, not a contextual selector. It's basically the same as the Compound selector that you have already defined.... -
Preparations to learn Web Services with Java
I have only worked with JSP,JDBC, JavaBeans and Servlets in Tomcat using MVC architecture the past couple years. I have never used Struts framework. I am thinking about taking a Web Services with Java course and was wondering if my background will be enough to keep up with the advance topic of Java web service?
Yes, at first you should have to worry about understanding the basic concepts, WSDL, and a little bit of XML (it does not make very senso to study far too much because sometimes you won't use all the api you may study).
The focus point is understanding that you can build a web service infrastructure passing using many different approaches: starting from wsdl, starting from java, based on WSDL, based on REST and things like that.
JAX-WS is a very powerful toolkit that covers well all the possible approaches you may have.
Anyway starting from scratch is quite frustrating... it is difficult to find around a good guide that covers all the aspects and make you understand the Big Picture. That's really the focus point.
There is a very good book about written by Mark Hansen.
Check out also that there are so many franmeworks around that implements the specification: almost every Corp. implements its own stack.... Sun, Apache, Spring, IBM, JBOSS and so on.
This is quite misleading at first.
Metro is very good and very well implemented with netbeans, and it's easier to start with it. anyway it hides you sometimes what's going on underneath.
I find CXF is a very good framework, and if you love the SPring wayyou should consider give it a chance.
I have no experience of other frameworks. -
Which class, Spring Framework or Web Aervices with Java?
So, I hope it's okay to post this type of question here. I'm trying to figure out which would be better to take, a 4-day course from SpringSource on the core capabilities of the Spring Framework, or a 4-day course on building web services with Java? I'm very interested in both. Both would be equally relative to the work I do. I guess the question I have is, which would be better for a J2EE developer to take?
KeithSpring is actively used, so are web services.
But remember that "SOA" is NOT web services. Web services may be a part of it, but it's a lot more.
Web services are in flux, what you learn today may be outdated tomorrow. Better get some good books and experiment on your own rather than spend thousands of Euros on some training course written with last year's hyped tech.
Same is of course true of all specific technologies. If you take a Spring course today based on Spring 2.0 or 2.5, in a year or so it'll have been overtaken by the next version.
That said, at least the basic concepts behind Spring are unlikely to change fundamentally :) -
Weblogic - a web service with java.lang.Object parameter
hi all,
i'm creating a web service with a java.lang.Object parameter.
my question is as follows:
when a client calls the web service, how to i get the soap message object and convert it to soap message string using the parameter?
thanks,
alexHere's some code from one of the Axis samples, this shows the basic process of making a call:
package samples.message;
import org.apache.axis.client.Service;
import org.apache.axis.client.Call;
import org.apache.axis.message.SOAPBodyElement;
import org.apache.axis.utils.Options;
import org.apache.axis.utils.XMLUtils;
import org.w3c.dom.Element;
import java.net.URL;
import java.util.Vector;
public class TestMsg {
public String doit(String[] args) throws Exception {
Options opts = new Options(args);
opts.setDefaultURL("http://localhost:8080/axis/services/MessageService");
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new URL(opts.getURL()) );
SOAPBodyElement[] input = new SOAPBodyElement[2];
input[0] = new SOAPBodyElement(XMLUtils.StringToElement("urn:foo",
"e1", "Hello"));
input[1] = new SOAPBodyElement(XMLUtils.StringToElement("urn:foo",
"e1", "World"));
Vector elems = (Vector) call.invoke( input );
SOAPBodyElement elem = null ;
Element e = null ;
elem = (SOAPBodyElement) elems.get(0);
e = elem.getAsDOM();
String str = "Res elem[0]=" + XMLUtils.ElementToString(e);
elem = (SOAPBodyElement) elems.get(1);
e = elem.getAsDOM();
str = str + "Res elem[1]=" + XMLUtils.ElementToString(e);
return( str );
public static void main(String[] args) throws Exception {
String res = (new TestMsg()).doit(args);
System.out.println(res); -
Web site with java benchmarks for various cpus?
Is there a web site that shows java benchmarks run on various P4 and AMD cpus, so that it is possible to see the relatively speed at which java runs on these cpus?
You'll find a few if you search around, but none will be meaningful. The problem with Java, or any other Virtual Machine type runtime language is you can not design a benchmark that really has meaning, in any context but the benchmark itself. First off, you're not benchmarking "Java" you're benchmarking the "JVM". I try to convince people to not waste so much time on these speed issues. Your time would be better learning how to write better code, which would give a much bigger speed increase then switching from a P4 to an Athlon. Developers often make mistakes and oversites in their work that slows a program down by an order of magnitude. You're never going to see that kind of performance difference in CPUs. So get a good deal on machine, the most "bang-for-your-buck" if you will, and go to town, and stop worrying, hotspot is fast.
Sparc Chips are different story because a little thing called register coloring... but you didn't mention sparc chips, so I won't tell the story.
Spinoza -
Call ABAP Web Service with Java code only
Hi all,
First of all, I am writing script in Adobe form but am not using the one in SAP.
I am trying to call the web service and process the result with script open (i.e. no dataconnection created), because I am trying to do that in a dialog.
I can call a non-SAP web service without problem, but I am not able to call a simple web service with only a single string input, anyone have any example?
Here is the SOAP for input:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:rfc:functions">
<soapenv:Header/>
<soapenv:Body>
<urn:Z_RFC_GET_STAFF_BANK_INFO>
<A_STAFF_ID>0123456</A_STAFF_ID>
</urn:Z_RFC_GET_STAFF_BANK_INFO>
</soapenv:Body>
</soapenv:Envelope>
Here is my code to call:
var cURL = "http://some-host-name:port/sap/bc/srt/wsdl/bndg_DEDB492BB032E7F1B09F001CC4FBCEC9/wsdl11/allinone/ws_policy/document?sap-client=300";
var response = SOAP.request(
cURL: cURL,
oRequest: {
"urn:sap-com:document:sap:rfc:functions:Z_RFC_GET_STAFF_BANK_INFO": {
A_STAFF_ID: "0123456"
Regards
BillHello I have the same problem, were you able to execute the WS through the JS code now?
I would like to call an ABAP WS using JavaScript to return complex structures that I would like to manage directly with JS.
I tried with this code and I get the error "RaiseError: Acrobat Raise." when the request is executed:
var WSUrl = "http://<server>:<port>/sap/bc/srt/wsdl/bndg_4D15C75529330AF1E10000000A150429/wsdl11/allinone/ws_policy/document?sap-client=500";
var VendorNumber = xfa.form.DATA.DATAFLOW.SF_HEADER.VENDOR_NUMBER.rawValue;
try {
// Create request structure, read Input out of text field
var request = {
"urn:sap-com:document:sap:soap:functions:mc-style:ZWsTest" : {ILifnr: VendorNumber}
SOAP.wireDump = true;
// Call web service using SOAP object
var response = SOAP.request ({
cURL: WSUrl,
oRequest: request
// cAction: "urn:sap-com:document:sap:soap:functions:mc-style"
} catch (e) {
xfa.host.messageBox(e.toString()); //pop-up "TypeError:service.CelsiusToFahrenheit is not a funciton"
with this other code I get the error "SOAPError: CX_ST_MATCH_ELEMENT:XSLT exception.System expected element 'ILifnr'":
try {
var myProxy = SOAP.connect(WSUrl);
var result = myProxy.ZWsTest( { ILifnr: VendorNumber } );
xfa.form.DATA.DATAFLOW.SF_HEADER.E_DESCRIPTION.rawValue = result;
// Display the response in the console:
console.println("Result is " + result);
} catch (e) {
xfa.host.messageBox(e.toString()); //pop-up "TypeError:service.CelsiusToFahrenheit is not a funciton"
in the second option, if I make the field ILifnr optional the call is succesfully performed but the parameter is not passed to the WS. So the call is working.
Using stand-alone LiveCycle designer 8.1 and Adobe Reader 8
Any suggestions?
Many thanks,
G.
Edited by: Guillem Mateu Navalón on Jan 13, 2011 1:13 PM -
Set filter value for a web template with java
hi experts,
i need to set a variable dynamicaly depending on the Logon Name. Ok first step i did, i made a small script for the Username:
_var url = this.location.href;
_var x = url.substring(url.length-6, url.length);
_var lifnr = ("0000" + x);
_alert (LIFNR);
ok if the username i.e B200221 my variable LIFNR gets a valid value in this case 0000200221. but how can i use this variable in the bi commands ?
here my xhtml coding from my webtemplate, where i want to use my variable LIFNR as template parameter:
_var url = this.location.href;
_var x = url.substring(url.length-6, url.length);
_var lifnr = ("0000" + x);
_alert (LIFNR);
QUERY_VIEW_DATA_PROVIDER name="DP_1"
INITIAL_STATE type="CHOICE" value="QUERY"
QUERY value="VSAG_MM_VMI_KONS_US" text="VSAG_MM_VMI_KONS_US" /
INITIAL_STATE
QUERY_VIEW_DATA_PROVIDER
TEMPLATE_PARAMETERS name="TEMPLATE_PARAMETERS"
WEB_TEMPLATE_ACTIONS type="COMPOSITE"
ACTION_BEFORE_FIRST_RENDERING type="COMPOSITE" /
ACTION_BEFORE_RENDERING type="COMPOSITE"
INSTRUCTION
SET_SELECTION_STATE_SIMPLE
TARGET_DATA_PROVIDER_REF_LIST type="ORDEREDLIST"
TARGET_DATA_PROVIDER_REF index="1" value="DP_1" /
TARGET_DATA_PROVIDER_REF_LIST
CHARACTERISTIC value="0VENDOR" text="Lieferant" /
RANGE_SELECTION_OPERATOR type="CHOICE" value="EQUAL_SELECTION"
EQUAL_SELECTION type="CHOICE" value="MEMBER_NAME"
MEMBER_NAME value="0000200221" text="0000200221" /
EQUAL_SELECTION
RANGE_SELECTION_OPERATOR
SET_SELECTION_STATE_SIMPLE
INSTRUCTION
ACTION_BEFORE_RENDERING
WEB_TEMPLATE_ACTIONS
TEMPLATE_PARAMETERS
how can i use my variable LIFNR at this point : MEMBER_NAME value="0000200221" ?
thanks for any idea's.
Tonyhi experts
does no one have an idea, how i can use my own java variable at BI Filter command's in the XHTML Code ?
thx
tony -
Connecting a web script with JAVA
Hi
I am Trying to connect a php script from a java program. But I don't wan to implement a socket capability in the PHP script. My Main aim is to just measure how long it takes for the Entire PHP script to run. so my code might just look like this
var1 = System.currentTimeMillis();
connect the webserver script
var2 = System.currentTimeMillis();
response_time = var2 - var1;
Is there any way i can recognise that my script(PHP) has completed executing? so that I can goto the step var2 = ..
Basically I just want the code for "connect the webserver script". :)
cheers
ashayOpen the URL directly back to the server with;-
String host = getCodeBase().getHost().toString();
try {
URL url = new URL("http://"+host+"/cgi-bin/myStuff.php");
// then
URLConnection conn = url.openConnection();
conn.setDoOutput(true);
OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
wr.write("more stuff n nonsense");
wr.flush();
wr.close();You don't need to open a socket + u can use printWriter dataOutputStream or whatever works best for you -
I tried to deploy the Hello World JSP application to Azure from Eclipse following the instructions at http://msdn.microsoft.com/library/azure/hh690944%28VS.103%29.aspx. Got the following error when trying to import Publish Settings file downloaded from Azure
Management portal:
Importing MyMSDN.publishsettings file failed. Reason: failed to parse file. Ensure publish settings version is 1.0.
Could someone help me solve this problem? Thanks.Hi huihuang,
It seems there is some issue with your publishsettings file, could you open this file and copy the content here? Or please have a look at this article:
http://gauravmantri.com/2012/09/14/about-windows-azure-publish-settings-file-and-how-to-create-your-own-publish-settings-file/ for more information about it.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Java Web Service with Java 1.4
I had been using JAX-RPC (DII) and Dynamic Proxy to call Sharepoint web service. I can make it work with static web service but not dynamic web service.
I am just seeking for other web service technology to work on dynamic web service. Do you think Axis2 or jax-ws works with ajava 1.4?
Thanks.Cristian,
Please post the question in relevant forum
Thanks
Bala Duvvuri -
How can I create a web server with Java?
I was interested in working on a program that runs through it's own port on the server similar to webmin.. Basically I'd like a light-weight no thrills web-server for the base of my program I can tweak it later. How can I do this?
-I agree! but you dont have to re-invent the
wheel.....Sometimes it is fun to...You only say that because you are a (lovely) nerd :)I got promoted from a "geek" to a "nerd" :)
I agree that it is fun to implement application
servers etc, but you also have to think about the
cost (if some one else than you is paying for your
time)I get lots of "paid" free time occasionally. But I haven't got as far as implementing web servers (or application servers).
Maybe you are looking for
-
How do your turn off the "black and White" setting for the visually impaired?
How do you turn off the "black and White" setting for the visually impaired? Also known as the "tripple Click"
-
Report painter question FI-GL or FI-SL?
Hello I have a general question on reports created via report painter. I want to create a BS & PL report to see balances by month, and am trying to determine considerations to take into account. Creation of a report where I can see the balance of an
-
Song order in playlists makes no sense now
So when you grab songs from the purchased area of your library, it used to be that they would play in the order in which you grabbed them. Or if you resorted the library by genre, it would play those songs in order. Now I have no idea how it is cho
-
IPad3 and MacBook Pro won't pair
They connect; proper codes appear on both devices; dialogue box says pairing unsuccessful, most likely to to incorrect codes?
-
Mac book Pro running 10.8 mountain lion. My preferred editor is vim (it comes with 10.8). When I re-edit a plain ascii file, every line ends with (ctrl-v) (ctrl-m). They appear after saving the file to hard drive. It started doing this just after mov