webservice-client

Output large dataset from web service

Hi, I wonder if anyone experienced with returning large dataset from webservice. The dataset is around 10,000 x 60 floats. I will be using http wcf for my webservice. Any ideas to approach it are welcome :) Thanks. ...

Error while calling webservice (Server was unable to process request. ---> PARAMETER_NAME)

I get this error while calling the web service hosted on the server. The service has one web method with as string input and returns string (will be in XML format). The service is working fine but once in a while I get this error and can't predict. Can someone help me to get through this error. Attached the screen shot of the error. ...

SSL Connection problem to web service from Java bean

Hi, I have written an application that connects to a SSL web service (including client certificate) through jaxws. For this to work I have a wstrust.jks that contains trusted root certificate for ws, and client.p12 that is the client certificate to use when connecting to ws. I have then created a custom SSLSocketFactory to be able to us...

HTTP Basic Authentication for WEBService call

Hello, I trying to invoke a web service, which has an Basic HTTP Authentication. I generated the client code using the WSDL2JAVA tool from AXIS. But I am not able to set the username and password to the webservice call. I tried to have them in the endpoint url as http://username:password@somwserver/wsdl But I am getting the un...

Java Webservice Client (Best way)

I have a third party WSDL, I need to write code in JAVA for a web service client to invoke the operations in the third party WSDL. Right now, I have generated the client stub using the WSDL2JAVA tool from Axis and used the XMLbeans for data binding. What is the best approach to do this JAVA? I read about SAAJ, looks like that will be ...

How to expose async method's event?

I have a webservice method getContactsAsync. I've understood that when it's completed it's supposed to raise an event. How can I (still asynchronously) find out when the method is done and use the result? public void GetContacts() { webService.getContactsAsync() } public void GetContactsCompleted(object sender, getContactsAsyncComp...

GWT and WebServices (wsdl)

Hello, Can anyone point me a way to access WSDL webservices from a GWT client? Is that even possible? Thanks! ...

How to log webservice requests from ASP.Net-MVC application to external webservice?

Hello everybody, I have a webapplication which uses an external webservice to send files and messages. The IIS runs on a Windows2003 Server. I now need to log somehow the requests which are send by the ASP.NET-MVC application to the external service. In Fiddler2 I just can see the incoming answers from the webservice, but I cannot see ...

Getting error while accessing web method.

Hi all, While I am accessing GP webservice method in .net application. I am getting the following exception. Could anybody pls help me out to trace the error. SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ...

java.lang.NoClassDefFoundError when running webservice client

Hi, I'm getting the following error when I run a webservice client I've created using: eclipse, j2sdk1.4.2_13, axis1.0 and a WSDL file. java.lang.NoClassDefFoundError: javax/servlet/ServletContext at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:1655) at java.la...

Web Service/Web Config Issues

So I get thrown an exception right when I try to create a new instance of my Web Service that says: "Could not find default endpoint element that references contract 'KBBVehicleService.IVehicleInformationService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application,...

In winforms, how do I dynamically change the url of my web reference?

I have 2 web sites with the identical web service. For web service "SampleService", I would like to know how to choose which web server to choose from. Web service: "SampleService" Web reference "SampleWebReference" Web service url: site 1: http://www.samplesite.com Site 2: http://www2.samplesite.com Need: Through code, how do I chan...

Problem using Webservice in BLL assembly

Hello All I had create business library and add reference of web service in that because i am calling a webmethod in business layer.Now my problem is when i deploy this application on server then it's giving me error 403,its working fine on local host. My Project hierarchy Main Project BLL(Assembly) DAL (Assembly) BLL and DAL refe...

Notify server to client via Web service

I made a WebService chat. At the client side I am running a thread to check periodically if there any new messages available. I want to know is there are any way to notify clients via Web Service. I found something call 'Solicit Response' related to web service. But I am not aware how it works. Any help is appreciated. Thank you ...

calling a webservice from jquery-put the result in a variable

Hello guys, i have a webservice checking if a user is connected: [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public bool IsConnected(BasePage basePage) { bool IsConnected = basePage.User.UserId != 0; return IsConnected; } BasePage is the parent of all my asp.net pages: public class BasePage : System.Web.UI.Page and ...

How do I get a fault-tolerant web service client?

Is there any framework, which generates fault-tolerant web service clients? That means I don't have to regenerate the classes because of minor changes. Any programming language would be fine as a source of inspiration. Following changes of the web service shouldn't need a regeneration of the client: New optional method parameters. Man...

How to make my ListBox not to call SelectionChanged event, when I assign ItemSource of my list

I have a combobox, that I populate from a web service: public Configure() { InitializeComponent(); WebServiceSoapClient ws = new WebServiceSoapClient(); ws.GetTypesCompleted += new EventHandler<GetTypesCompletedEventArgs>(OnGetTypeCompleted); ws.GetTypesAsync(); } void OnGetTypeCompleted(obj...

Looking for a tool to flatten WSDL and its XSD

I have a web service exposed by an external entity that is developed in java. My client is a .Net client. I am unable to create the proxy class for this webservice using WSDL tool it errors out when it tries to read the schema file referenced in the WSDL file as <wsdl:types> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...

XML reader error: unexpected character content exception while invoking webservice

Am trying to invoke a public web-service using a java client but am getting the following exception: deserialization error: XML reader error: unexpected character content: "<?xml version="1.0" ?> <rankedTermCandidates xmlns="http://www.nactem.ac.uk/xsd/termine" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoc...

C# webservice call web method

i have webservice with one method which recieves xml as string: [WebMethod] public int Catch_string(string str) { } how can i send xml file to this method from win forms? why doesn't it work^ HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://localhost/test/service.asmx"); req.ContentType = "text/xml;charset=\"...