Webservice , URL & URL Variable
hi all ,
i got a problem with my project and its regarding connectinng
to a webservice page for methods interacting with my SQL server
database and URL variable. (Front end is chinese checker Game )
Is there any related problems with sending URL variable to
another swf files and declaring a webservice address as i use the
URL variable in the methods of the webservices.
i found out that i cannot connect to the webservice page
sometimes ( random occurance) with the page being directed by new
urlrequest with the url variable attached.
However if it has successfully connected , there is no
subsequent problems anymore .
Can someone enlighten mi ?
I resolved...
Thanks
Muvva
Similar Messages
-
Button URL With Variables widget that works with HTML5
Hello,
I'm currently using the "Button URL With Variables widget 6.x" developed by CaptivateDev. com. Unfortunatley it is not compatible with HTML5 projects in Captivate 7. Do you know where I can find one?
Thanks,
StewartI don't know yet about any widget available for HTML5 output, with the exception of the interactions included with Captivate.
-
Hello,
I have developed a Webservice Client in Netbeans 5.5 It al works perfect, but how do i change the URL for the ENDpoint or the URL from the webservice?
GreetingsI recently has the same problem and needed to change the webservice endpoint URL. I tried the above solution, it has one problem.. to get the port, we need to create an instance of service object. The service class generated by jax-ws (2.1rc1) contains code that tries to access wsdl which was used during build done using wsimport. This URL gets hardcoded in class file and if this hardcoded URL is not accessible from the machine on which app is running, the app throws an Exception.
I figured a better solution is to use service constructor that accepts wsdl url as a parameter. The new URL may be loaded from a Properties file.
You may still need BindingProvider if the service location needs to be changed later and you want to reuse the same service object.
If anyone knows any better way to change webservice endpoint as the application move from dev to test to prod.. I will like to know. -
Tell Safari to open url using variables
Hi,
I need to be able to tell Safari to open a url using variables.
Example:
I type "Soul Men" (without the quotes) in MS Word Mac, then select it, then run the
script and Safari opens as if I had opened imdb.com and searched for "Soul Men".
The issue:
The format for that imdb.com search url is:
http://www.imdb.com/find?s=all&q=Soul+Men&x=12&y=12
Notice that each word in the search terms is followed by a "+", except the last.
So I would need to tell the script to create that url, and use variables for the search terms.
I would need to account for any number of words in the variable.
Hope that makes sense,
Any help appreciated,
CharlesHello
As for building imdb's query url, you may try something like the CODE1 below.
It includes code to handle characters in U+0080 and upper.
(The imdb's query looks like using iso-8859-1 encoding, not utf-8, so the code is written as such.)
--CODE1
set n to "Soul Men"
set u to imdbQueryUrl(n)
return u
on imdbQueryUrl(n)
set sh to "echo " & quoted form of n & ¬
" | iconv -f utf-8 -t iso-8859-1 " & ¬
" | perl -M-utf8 -MURI::Escape -lpe '$_ = uri_escape($_); s/(%20|%09)+/+/og;'"
return "http://www.imdb.com/find?s=all&q=" & (do shell script sh)
end imdbQueryUrl
--END OF CODE1
As for getting text in selection of Word document, you may try something like the CODE2 below. Not tested, though.
--CODE2
tell application "Word"
set t to content of selection
--set t to content of text object of selection -- if above fails
end tell
--END OF CODE2
As a whole, you may try something like this -
--SCRIPT
tell application "Word" to set n to content of selection
open location imdbQueryUrl(n)
on imdbQueryUrl(n)
set sh to "echo " & quoted form of n & ¬
" | iconv -f utf-8 -t iso-8859-1 " & ¬
" | perl -M-utf8 -MURI::Escape -lpe '$_ = uri_escape($_); s/(%20|%09)+/+/og;'"
return "http://www.imdb.com/find?s=all&q=" & (do shell script sh)
end imdbQueryUrl
--END OF SCRIPT
Good luck,
H -
IOException :server returned http response code:505 for url url
hi,
my program creates IOException server returned http response code:505 for url <some url>
I close the i/p stream.I dont know ,where is the problem.plz let me know.Thanks in advance.
Here is the code:
public class CallApplicationURL
private static final String className = "[CallApplicationURL] ";
private MailAlert ma = new MailAlert();
public String callURL(String purl, RequestObject ro, Debug log)
URL url = null;
String URLResponse = "No response from Provider";
ProxySetter ps = new ProxySetter();
try
ps.setProxy(ro, log);
url = new URL (purl);
catch (Exception e)
URLResponse = className+"Exception while URL assignment \n"+purl+"\n, Exception is "+e;
return (URLResponse);
try
HttpURLConnection h = (HttpURLConnection) url.openConnection();
h.connect();
BufferedReader br = new BufferedReader( new InputStreamReader( h.getInputStream() ) );
URLResponse = br.readLine();
br.close();
catch (Exception e)
URLResponse = className+"Exception while calling URL "+purl+", Exception is "+e;
return (URLResponse);
return (URLResponse);
}http response 505: http://libraries.ucsd.edu/about/tools/http-response-codes.html
This would indicate nothing is wrong with your applet but with your http server (not supporting http 1.1??)
A full trace might help:
To turn the full trace on (windows) you can start the java console, to be found here:
C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
In the advanced tab you can fill in something for runtime parameters fill in this:
-Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
if you cannot start the java console check here:
C:\Documents and Settings\userName\Application Data\Sun\Java\Deployment\deployment.properties
add or change the following line:
javaplugin.jre.params=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
The trace is here:
C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log
When you catch the exception you should print the stacktrace: (e.printStackTrace()). -
ShowDocument(URL URL)
Hi,
Im trying to open a webpage with my applet
public class SidebarApp extends JApplet implements ActionListener
// removed code not related
AppletContext appletContext;
public void actionPerformed(ActionEvent event)
if( event.getSource() == Hypo_one)
appletContext.showDocument("((URL to a site))!");
}What im trying to do*if it's not clear*: ( on click of this button((Hypo_one)) ... change the web page ... ))
Im really not sure what I'm doing here ....... i tried looking at the documentation. and at someone's post on the Forums
Any help is greatly appreciated ...
Edited by: Andy577 on Jul 16, 2008 7:00 PMimport java.net.*;
public class SidebarApp extends JApplet implements ActionListener
AppletContext appletContext;
URL url = new URL(www.ghpaa.org.uk/_private/Priv.htm);
JButton Hypo_one = new JButton("Link One");
public void actionPerformed(ActionEvent event)
if( event.getSource() == Hypo_one)
appletContext.showDocument(url);
}so ... String url = ("Address");
is my other code alright?
At the moment i get an error here:
appletContext.showDocument(url);
Say's "method showDocument(java.lang.String)" .. which is what i have ....
Edited by: Andy577 on Jul 16, 2008 11:06 PM
Edited by: Andy577 on Jul 16, 2008 11:12 PM -
Applet.getImage(URL url) question
Hi,
I experienced delays of up to several hundreds milliseconds for calling Applet.getImage(URL url) when accessing an image the first time.
The API states that "This method always returns immediately, whether or not the image exists." but this does not seem to be correct. In contrast, Applet.getToolkit().getImage() returns immediately.
What are the differences between these two methods?
What caching mechanisms (browser, SUN cache) are running behind the scenes?
Used environment: IE6/Java1.5, IE6/Java1.6, Firefox2/Java1.6 ...all running under WinXP.
Thank you so much!I have had exactly the same problem with Applet.getImage.
In previous JRE versions, Applet.getImage returned immediately,
but this has apparently changed (I don't know at which version).
I had to rewrite my program to use Applet.getToolkit().getImage
- then the program worked as before...
Looks like a bug to me.
H�vard Tveite -
I am using Crystal Reports for Eclipse to serve up some reports for my web application. Currently, I am using JDBC datasources in which I am changing the datasource at runtime in a CrystalReportViewer where I also set some report parameters for every report that passes thru it. However, I am now switching from JDBC datasources as my data provider to webservices. The webservices work perfectly during design time. However, in my report, I have to tell it that the webservice is located at http://localhost/. When I go to deploy these reports to production servers, I need to dynamically change the target URL to something like http://myproductionserver/ at runtime. I know this needs to take place in my CrystalReportViewer, but I can't figure out how to do it there. Can someone point me in the direction I need to be going?
Thanks in advance...Ok. I've been making a little bit of progress with this. I have added "replaceConnection" on my database controller and am changing the URLs there. However, when I do that, I get an invalid argument exception.
Here is my replaceConnection code:
private void replaceConnection(DatabaseController dbController) throws ReportSDKException
ConnectionInfos connInfos = dbController.getConnectionInfos(null);
for(IConnectionInfo connInfo : connInfos)
PropertyBag pb = connInfo.getAttributes();
String newQEServer = connInfo.getAttributes().getStringValue("PreQEServerName").replace("localhost", "BJRKQJ1-SHAW");
String newServerName = connInfo.getAttributes().getStringValue("Server Name").replace("localhost", "BJRKQJ1-SHAW");
String newHttpWebserviceUrl = connInfo.getAttributes().getStringValue("Http WebService URL").replace("localhost", "BJRKQJ1-SHAW");
pb.put("PreQEServerName", newQEServer);
pb.put("Server Name", newServerName);
pb.put("Http WebService URL", newHttpWebserviceUrl);
dbController.replaceConnection(connInfo, connInfo, null, DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB);
Here is the exception stack trace:
<<< ERROR - Unable to create parameter for type int32s >>><<< ERROR - detected an exception: Invalid argument
at com.crystaldecisions.reports.common.ExceptionFactory.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.an.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.add(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.byte(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.replaceConnection(Unknown Source)
at com.businessobjects.GenerateReport.replaceConnection(GenerateReport.java:322)
at com.businessobjects.GenerateReport.createReportViewer(GenerateReport.java:213)
at com.businessobjects.GenerateReport.generateReport(GenerateReport.java:77)
at com.businessobjects.GenerateReport.doFilter(GenerateReport.java:57)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
>>>
Sorry if the code gets displayed all out of whack. I can never get this thing to display correctly using the "code" with { } tags. -
SOAP Adapter with Webservice Provider URL
This is what I did. Configured a Receiver SOAP adapter with SOAP 1.1 Message Protocol. Target URL is the WSDL URL Binding (SOAMANAGER) with authentication.
When I test the scenario the Message is through PI and Communication Channel - No errors
However strangely I do not see anything happening in ECC. Sometimes a log shows up in SOAMANGER "SOA Runtime Log/Trace Viewer" which has SOAP Runtime Error Information. This is very inconsistent again.
I have tested SOAP with XI 3.0 Message Protocol and the messages are through in ECC. No problems there.
Also Tried with directly using "SOAP Location URL" from within the Binding WSDL URL. This also results in DUMP in ECC.
Does SOAP adapter with SOAP 1.1 Message Protocol support Webservice Provider in ECC EHP5(SOAMANAGER Binding)? Is it built to support this kind of scenario? Or only WS adapter can invoke the Binding URL?
Is there any other URL that can be invoked with SOAP -SOAP1.1?
Using PI 7.1 Service Pack 5.
Pavan.
Edited by: pavan sodani on Aug 12, 2011 4:57 AMDid you properly expose the RFC/Class in SOAMANAGER of the backend system? there is no endpoint created by default. You have to create and endpoint for a logical system (I guess). Then try calling the webservice from any 3rd party tool like Altova XML Spy. If that works then the ABAP webservice is working good and could be called from PI.
VJ -
How to mount an url with variable data?
Hello fellas, i need to use a variable url in an a tag to send emails.
Something like: <a href="exemple.com?guest=Name%20Of%20My%20Guest">
Anyone knows how i can encodeURI of an variable data in Eloqua???
Thanks for attention.
Respect!Hello fellas, i need to use a variable url in an a tag to send emails.
Something like: <a href="exemple.com?guest=Name%20Of%20My%20Guest">
Anyone knows how i can encodeURI of an variable data in Eloqua???
Thanks for attention.
Respect! -
PI as Webservice provider - URL with username and password
Dear Experts,
I need to test my webservice in PI from a SOAP client like XMLSpy or SOAPUI.
I tested the URL from the browser. It prompted for the username and password and worked.
How do I pass the username and password in the URL when I call this from the SOAP clients?
I tried the following format:
http://<server:5xxxx>/XISOAPAdapter/MessageServlet?channel=:<bs>:<soap sender channel>&sap-user=<username>&sap-password=<password>
I still got a 401 Unauthorized response back.
Any ideal please?Hi
1) testing through XML Spy
In your WSDL file provide URL in -
<soap:address location="http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
While sending request to server,it will ask XI/PI user id and password itself. The user id must have authorization to invoke web service.Better take SAP_ALL or PIAPPLUSER authorization in this id.
2) You can pass user id and password also in this URL
http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel>&sap-user=<username>&sap-password=<password>
Try both the options.
Best Regards -
hi,
I have a following scenario:
Webclient-->PI 7.0--
> SAP ECC
Using Sender Soap Adapter for connecting webclient
Between PI 7.0 & sap ecc system it is proxies.
A webclient sending a request details of customer number and Cutomer Description through PI to SAP ECC system.
In turn SAP ECC SYSTEM giving the response details to webclient through PI 7.0.
i am creating the webserivce in Integration Directory based on message interface of Customer Reponse_Outbound.
How can see the webservices by the following enpoint url
http://host:port/XISOAPAdapter/MessageServlet?channel=:sample_all:RetrievecustomerRecord_SOAP_Sender
I hope the above is the endpoint url....
What i will see in WS Navigator.
I need ur help friendsBy the URL ,data will be posted from 3rd party web client.
You just need to provide the wsdl(which you have already done), the url which I have given above and the userId/pwd(xi) for connecting to XI server.
A Guide to Using SAP XI SOAP Adapter
http://www.riyaz.net/blog/index.php/2008/03/16/xipi-a-guide-to-using-sap-xi-soap-adapter/
Invoke Webservices using SAPXI
Using the SOAP inbound channel of the Integration Engine
Debugging WebServices in a SOAP Receiver Scenario
Testing XI exposed Web-Services
How to use Client Authentication with SOAP Adapter
Walkthrough - SOAP XI RFC/BAPI
Achieving ASBO-GBO-ASBO scenario using SOAP Adapter
Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -
Hi,
I am using webservices in my flex apps.As of now I have hard
coded the URL's in the mxml code but I want to move away from hard
coding and use some property file kinda thing.I know how to pass
parameters to Flex app using flashvars but what I want to do is to
have a configuration file to specify my URL's for DEV, QA and Prod.
Any suggestions will be greatly appreciated.!
ThanksYou can use HTTPService to load a file at run-time.
But why not just have Dev,QA, and Prod versions of the HTML
wrapper?
If you have a LOT of configuration data, use the HTTPService
to load a file. Actually, I do both.
Tracy -
Hi All,
When we generate webservice in ID through Tools -->Define webservice. While giving URL when we go for propose URL and when we go for this type http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>.
What is the purpose of each option.?
Regards,
Prakash Babuhi Prakash
After configuring and activatingyour sender SOAP adapter activating the SOAP adapter channel, you need to send your SOAP messages to the
following address:
http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?
channel=<party>:<service>:<channel>
this following address tells the path through which you are going to send your soap adddress.
the Host : is your XI server address.
<party>: in case if you are using party.
<j2ee-port>: your j2ee port.
<service>: your business service name
<channel>: your sender SOAP chaanel name
rewards point if you find it needful.
regards
Kasturika -
Need to create or load a url with variables in CCX
Im trying to find a way to used the building browser for CAD. the url will goto a customer DB web portal. but the url needs to be loaded with the ani and other variables. example. will some type of scripting steps allow me to create a http url and then populate it in the cad browser. Or at least gives me a link some where in the layout to click on to get the the created/ loaded url
http://411webhost.com/customer/connect.php?cust_phone=678-900-3000.I have done something similar to this in the Desktop Admin interface. Assuming you populate the variable in the script (meaning you will have to define a custom one or use one of the CustomCallVariables), you can have an HTTP action on either ringing or answered that will display the URL in the CAD browser.
Maybe you are looking for
-
Habe mir einen neuen Laptop bestellt (Win 8.1) habe auf diesem die Installation ohne Probleme durchführen können. Der Laptop musste aber wegen technischen Defekts gegen einen neuen getauscht werden. Auf diesem funktioniert die Installation nicht mehr
-
Insert delete or update entry in Custom table from KONV entry changed
Hi All, I have custom table ZKONV with only few required columns and should have same number of records as KONV has at any point in time. KONV is a cluster table so its not readable from ORACLE level. So ZKONV is created. But I dont know how to keep
-
Cant install iOS 5.1 update on my ipod touch 4gen. The message is: "Unable to install update. An error occurred installing iOS 5.1". Please help...
-
Adobes After effects is something which has been my favourite when it comes to creating motion graphics in the process of film making. Creativity is onething which gets stucked in my mind whenever i think of graphics. Based upon my knowledge and the
-
How to zoom in and out on the effects timeline on premiere cc?
I can zoom out on the project timeline with alt+mouse wheel but I can figure out how to do it on the effects panel and the project zoom doesn't seem to effect it.