I have an echo web service running on lets say http://localhost:8080/axis2/services/Service1. This service just echos back a string that is sent to it through the function echo(). Using the wsdl of the above mentioned service (Service.wsdl), I have generated (in eclipse) the ServiceStub.java and the ServiceCallbackHandler.java. With thes...
We have a SOAP web service running on ASP.NET Web Services over IIS6 that exhibits a strange behavior when it processes a request that results in long server-time processing. Essentially if a request takes more than about 5 minutes to process on the server then IIS never sends the response back to the client, even though, from ASP.NET's...
Currently, I have a servlet act as web service.
When I pass in parameters using POST, it will return me an executable binary file (application/octet-stream). However, beside binary file, I would also like to get additional information (in text format) about this binary file.
Is it possible to achieve this by using only single POST requ...
I am transferring messages to mobile devices via a web service. The data is an xml string, which I compress using GZipStream, then encode using Base64.
I am getting out-of memory exceptions in the emulator and looking to optimise the process so I have stopped passing the string around by value and removed unecessary copies of byte array...
i have a java method that is part of an web service interface and that takes a byte array parameter like this
public int computeSomeThind(byte[] data) {
if(data != null) {
// ... do what ever
} else {
return -1;
}
}
When a generate the wsdl with axis 1.3 the data parameter will appear as not nullable. Is there a way to d...
I have this web service:
using System.Web.Services;
namespace Contracts
{
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
public class Second : System.Web.Services.WebService
{
[WebMethod]
public ...
In Visual Studio I created a web service (and checked "generate asynchronous operations") on this URL:
http://www.webservicex.com/globalweather.asmx
and can get the data out synchronously but what is the syntax for getting the data out asychronously?
using System.Windows;
using TestConsume2343.ServiceReference1;
using System;
usin...
I'm trying to create a method within a web service that will terminate the application when called. The purpose of this is to end a game being played with a Windows form. Does anyone have any ideas? Thank you.
...
I'm trying to marshal an object which has a DataHandler field with JAXB (2.1.12). For streaming support, the DataHandler is annotated with @XmlAttachmentRef. Serialization and streaming over web services (Metro on JBoss) work fine, but plain marshalling with JAXB doesn't.
Here is a stripped down example:
public class DataHandlerAttachm...
In C# I have methods that use
[WebMethod(EnableSession = true)]
I consume them in C# .net by using a cookiecontainer to maintain state.
How do I do the same thing in java? I want to call a .net webservice with [WebMethod(EnableSession = true)] and have it maintain state between calls.
...
I am using Apache Axis 1.4 and Netbeans 6.5 to develop and test a SOAP Web service and client. I generated the Java classes from the WSDL (see attachment). It builds and deploys without problem, but when I try to run the client to test the WS, I get an error. The namespace looks correct, so why does it say it can't find the dispatch me...
Struggling here, many documents I find are CF 1.0 centric and talk of the 2.0 changes to allow generics and typed DS'es on CF 2.0. Well, CF 2.0 has come and gone, and MS still shows these without update.
I am not ready to jump into WCF, and my clients have a lot of older compact framework
2.0 machines. I am fortunate in that these We...
My wsdl put a wrong domain in address location, How to fix it?
- <wsdl:service name="XWebService">
- <wsdl:port name="XServiceSoap" binding="tns:XWebServiceSoap">
<soap:address location="https://machine.wrongdomain.com.br/webservices/MapleStoryWebService.asmx" />
</wsdl:port>
- <wsdl:port name="XWebServiceSoap12" binding="tns:XWebS...
A C# client application we developed calls an external SOAP web service of a third party company.
Now I want to trace the exact SOAP request envelopes that are being generated by the VS.NET-generated SOAP proxy in our application and transfered to the external SOAP web service.
The method of using a network monitor like Wireshark (as d...
I'm trying to consume a third party webservice (from the Component Interface in Peoplesoft), but in order to authenticate I have to have a header that looks like this:
<soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:Security soap:mustUnderstand="1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap...
Hi, I'm using IntelliJ IDEA 8 and Axis to set up a webservice that's deployed on Tomcat5.5. The generated wsdl looks like this: http://track.priskick.se/Tracker.wsdl
A method is declared as
public void storeImpressionReport(int siteId, int adId, int zoneId, int count,
int excludeCount) { ... }
and e...
I have a client program that consumes a web service. It works quite well in a number of installations. Now I have a situation where a new customer connects to the internet via a proxy server, and my program's attempt to access the web service gets the "HTTP status 407: Proxy authentication required" error.
I thought that all the confi...
I made a WPF example that consumes a web service (www.webservicex.com/globalweather.asmx) in two different ways:
with events like this:
public Window1()
{
InitializeComponent();
DataContext = this;
Location = "loading...";
Temperature = "loading...";
RelativeHumidity = "loading...";
client.GetWeatherCompleted ...
hi,
I have a list on SharePoint with several hundred items in it.
I also have some code which will return items from that list,
this will work perfectly fine when it is returning values that are on the first page (items 1-100) but if the item i need to get is on another page in the list then it will return nothing.
My question is h...
I am new to php so please bare with me. I have a wsdl file and i am trying to call it from a php class. I am using the following code:
<?php
include ("dbconn.php");
class dataclass
{
function getCountries()
{
$connection = new dbconn();
$sql = "SELECT * FROM tblcountries";
$dataset = $connection -> connectSql($sql);
retu...