SQL Server as a Web Serivce Client
Suppose given a URL, http://test.org/service.asmx How can I use SOAP method in SQL Server to access the service? ...
Suppose given a URL, http://test.org/service.asmx How can I use SOAP method in SQL Server to access the service? ...
Edit: Obviously my first question was not really easy to understand, I hope the answer is usefull :) I have tried installing Axis2 on the Red5 server and everything went ok, I accessed the Red5 app properties from a custom Web Service using Red5's RTMPClient and exposed them through Axis2. The problem is that doing it that way I have a...
I'm not sure I'm completely happy that throwing exceptions in web services is a good idea. I wouldnt mind as much if it wasn't for the stack trace. This is not something I wan't. I have researched around several implementations and there really doesn't seem to be a consensus on this. CampaignMonitor for example does return a Result obj...
What is the best way to inspect the calls & responses from a web service in .NET? I'm interacting with a Web Service written in Perl and running into issues. How can I capture the text of the call and response? UPDATE: Based on comment to clarify: I'd like to do it via .NET so I can log it or email it when an issue arises. ...
I have a unique problem and I would like the capability to process an incoming HTTP POST request that contains arbitrary binary data. I can currently process this data using a standard ASP.NET Page handler or in an ASP web service, but I want to know if its possible to processing INCOMING binary data in a WCF service? Can I drill down ...
Hey guys, I am trying to call a java soap webservice within my ruby on rails app. Therefor I use the following code: email = "[email protected]" pw = "legendary" XSD::Charset.encoding = 'UTF8' wsdlfile = "http://134.60.60.40:8080/FuturecanteenWebservice/DatabaseWSService?wsdl" driver = SOAP::WSDLDriverFactory.new(wsdlfile).cr...
Well here is the API I'm trying to use: http://www.hotelscombined.com/api/LiveRates.asmx?op=HotelSearch Here is the code I've tried: $client = new SoapClient('http://www.hotelscombined.com/api/LiveRates.asmx?WSDL'); echo '<pre>'; var_dump($client->__getFunctions()); echo '</pre><br /><br /><br />'; //since the above line returns the ...
Hi folks, I've been given this legacy app to do some bugtesting. Joy :( It's a simple webservice written in C# -> api.asmx. Now, the trick for testing it, is that it requires some SOAP HEADER for authentication. I know I can just go to the asmx page, and it gives me all the api methods that are exposed. Clicking on those methods gives ...
Hi, i'm trying understand what are consequences of enabling compression for web service response. Web service is implemented as IIS hosted WCF service with http binding. I would like to add compression on http level, so it should be seamless for clients. Soap response size is in 100kb - 1Mb range. We do this to improve user experience ...
I have a web site with users and their data accordingly. What is the safest way to implement web services / API such that users' login credentials and in turn data are secure? oAuth isn't really an option, because usage will not necessarily be in other web apps. My concern is that having the username and password as an input is dangero...
We are interested in using one or more of the Google APIs but we are afraid (or worried) about the future implication of this path. I will like to know other people's experiences of using the 3rd party API versus building their own service, if they found legal issues or if they found limitations other than the technical limitations. ...
I am testing a server and client i made on my webspace. when i try to call a simple "testServer" function defined in a ServerMap class, I get "Looks like we got no XML document" ..? I called getFunctions on the client and testServer is a valid function. I tried catching all exceptions and then calling __getLastResponseHeaders() and __...
My flex project has the following mxml file: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:coverflow="com.dougmccune.coverflow.*" layout="vertical" horizontalAlign="center" verticalAlign="middle" viewSourceURL="srcview/index.html" xmlns:containers="com.dougmccune.containers.*" ...
I am writing a Java web service for legacy SCO machines (which only have Java 1.3 available). I have been able to get more recently-added XML parsing functions integrated by including the Xerces jar on my classpath. However Java is screaming about not being able to find javax.xml.soap, even though I've got Axis 1.3 and explicitly added a...
I have a project which relies heavily on PHP's SOAP extension. It's great, and works wonderfully. However, I have to deploy a version of the software on a server that does NOT have the extension (it is PHP5 though). At this time, changing hosts is not an option; and it looks like installing the extension is also not an option. Is there...
As a learning experience I'm developing a small Rails application that is supposed to query an existing SOAP API/web service (using the handsoap gem) and will simply present the information gathered there to a user. I like using rspec and am getting used to cucumber for testing my applications. The part that has me stumped is how to tes...
I have a soap server that is created like so: class ServerController extends Zend_Controller_Action { public function serverAction() { memcache_flush(); Zend_Registry::get('cache')->clean(Zend_Cache::CLEANING_MODE_ALL); $server = new SoapServer("http://####/services/soap-server/wsdl"); $server->setCl...
I have an environment in which I cannot add another HTTP container (whether ServiceHost, IIS, etc.) but I still need to process SOAP requests (represented as strings) with a WCF web service. I was hoping to write a simple wrapper method (C#) such as: string processSoapMessage(string req); In that method, I would manually create a Sys...
This problem has been bothering me for days. Hopefully someone has come across this before and has developed a workaround. So I've developed a middleware Java app which during its execution invokes a SOAP action. Now, the behavior of this bit of code under the 1.6 JDK is working well: // inside a try-catch block SOAPCon...
The code below correctly returns the XML from the soap sever that I'm accessing. If I echo $client->Function(); however it returns Object id #2. $client=new SoapClient("http://blackbird.integrated.local/PricingTool/WebService.asmx?WSDL", array('trace' => true)); //echo $client->__soapCall('TestSOAP', array('YesNo' => '1')); $client->...