Hi,
Im trying to implement something given to me however I've come across an error
when using:
[WebMethod]
public DataSet getAll()
{
DataSet isnt recognised. Im guessing I'm missing one of the "using System..." statement from the start but I dont know what it is. I was wondering if anyone could help me out?
Im using Visual ...
I want to create some sort of method of creating a web service that will run automatically and run DB queries and some API calls which will then store data that I can use/call without taking the processing or time penalty of doing it every time a user access my web service. Is this possible? If so, point me in the right direction on how ...
I have a Java Swing application client that I want to use to consume certain webservices, but I want to make it as painless as possible to code (because really all I want is the info). I do understand that whatever solution is used will need to stub the POJO's too.
If you'd like to give a demo, that would be great, or if you can point t...
If I have my cacheduration set to some value for my Web Service, is it possible to force the function to trigger?
Thanks.
...
Functionally, the two blocks should be the same
<soapenv:Body>
<ns1:login xmlns:ns1="urn:soap.sof.com">
<userInfo>
<username>superuser</username>
<password>qapass</password>
</userInfo>
</ns1:login>
</soapenv:Body>
-----------------------
<soapenv:Body>
<ns1:login xmlns:ns1="urn:soap.sof.com">
<ns1:userIn...
Hi ihave a fault converted to something like that with jax-ws:
,
public class Ex1 extends Exception
{
public Ex1(String code)
{
}
...
}
`
and an other one called Ex2.
I would like to have somthing like this:
@WebService
public class MyWS
{
public MyWS()
{
}
public Response doSomething(String id)
{
try...
Windows-based client application and web-client application(consuming the same code which windows-client uses)
what is the preferable pattern for this scenario?
Is it ok to have the code in the common place where both the projects and refer it as dll i.e one which is a windows app and other which is going consume the same code which wind...
I am looking at an example WSDL
<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://mypackage/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="h...
Experience says that using WSDL-SOAP based webservice for internal consumption is an overkill. There are too many service-based POJO classes that when let into the system complicates it way too much. One option would be use adapter pattern, map the request/response objects to internal domain classes. But is it even required? Is there a b...
I tried the tool wsdl2java from axis2, but looks something wrong with the XML Java class binding, so when making the call, a ADBException (adb binding used) will be thrown out.
can someone kindly tell the bet tool/way to generate can-work client code from such style of wsdl file (standard .net style:document literal wrapped)?
Thanks.
...
We have 2 server clusters: the first is made up of typical web applications backed by SQL databases. The second are highly optimized multiplayer game servers which keep all data in memory. Both clusters communicate with clients via HTTP (Ajax with JSON). There are a few cases in which we need to share data between the two server type...
What is the simple way to check google username and password whether it is correct in iphone app?
...
Is there a way to implement a XML web service on .NET Compact Framework. The problem is that it doesn't support generation of XML web services using ServiceContract/OperationContract/MessageContract attributes. Managed code preferred.
...
Hey all.
I am looking for a fast and efficient protocol that can be used between different web services to send text-data (not binary data). Doesn't matter if the protocol is binary or text base.
Some conditions:
I has to be more "efficient" than normal XML which adds a lot of extra data and the tools to read/write is too heavy
It h...
Hello,
I am developing a silverlight application, where I make use of webservices. The server is responsible for processing some text, get the phoneme info, convert to visemes, generate the audio and encode to mp3. A list of visemes and a path to the create audio file is returned. Then the audio is streamed to the client.
But now, I ha...
Environment:
SharePoint 2007 (Integrated Windows
Authentication)
Silverlight 3.0
(Communicating with SharePoint via
WCF)
On the SharePoint site, we have a list that contains links to other sites throughout the SharePoint web application. The silverlight app traverses this first list via Web Service call to /_vti_bin/Lists.asmx and m...
Basically I'm trying to proxy some webservices locally (for reasons I won't go into now) and then have a Java application call it.
I'm looking at BlazeDS since it seems to do just this, mostly to avoid the crossDomain.xml file required by Flex to call webservices. However I can't seem to find any reference on how to connect through a J...
I have a webservice where I want to do something when a the application pool ends, so I thought I'd do:
Application_End()
{
// Some logic here
}
What happens is if I stop the application pool, this logic is executed.
On the other hand, if I just call iisreset, it is NOT.
So my question is: where should I put my code so that it i...
I have a web service implemented as EJB. One of its methods returns Map<String,String>. On client side I use php :
$client = new SoapClient($wsdl,array("cache_wsdl"=>WSDL_CACHE_NONE));
$result = $client->foo($params);
Everything works fine, but I would like $result->return to be an associative array. Now it looks like
array(10) { [...
SOAP is supposedly an interoperable standard for webservice so when is WSIT really needed ?
Playing the Devil's advocate:
Also as far as I can see WCF is much more than SOAP and they rather seem to target REST. Isn't rather that Microsoft and SUN are hiding the fact that they made a mistake about the huge SOAP complexity and now adopts...