webservice-client

Connecting to a localhost Webservice via kSOAP2

What steps will reproduce the problem? 1. Staring the Application, since it's quite small I think that should do it here. What is the expected output? What do you see instead? Well actually I'm not quite sure what should be the output in the end, but while debugging the app I noticed that it won't execute the line: aht.call(SOAP_ACTIO...

NoSuchMethodError: com/sun/istack/logging/Logger.getLogger

I developed a webservice and deployed it to websphere 7.0 and developed a dynamic dispatch client using JAX-WS APIs which also runs on same application server. I get error at the following line: Dispatch dispatch = service.createDispatch(portName, SOAPMessage.class, Service.Mode.MESSAGE); Error: Caused by: java.lang.NoSuchMethodError: c...

XSLT Transfomation from Jaxrpc Handler not working

Hi, I am trying the Transform Response XML using the Handler, following is the code import java.io.File; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import javax.xml.rpc.handler.*; import javax.xml.namespace.QName; import javax.xml.rpc.handler.soap.SOAPMessageContext; import javax.xml.rpc.JAXRPCExc...

Reusing existing types in classic XML Web Services

How can I reuse existing class library types in a generated web service proxy, in Visual Studio 2008 "old-school" XML Web Service reference? Thx ...

Debug C# webservice client

I ran into a strange problem using a C# webservice client to call a ASP.NET 2.0 webservice. The service is a simple product search and returns an array of products matching a search term - see the relevant part of the WSDL file below. My C# client is simply generated by adding a web reference in VS2010 (non-WCF) and for comparison I'm us...

generate WSDL from java WS

Given a public SOAP web service and no WSDL, I need to build a .NET client that can communicate with this service. I'm a .NET dev looking for a simple way to generate a WSDL file given this url? I'd prefer to do this with some tool directly from my windows development machine but the only thing I've found is the javatowsdl tool in Ap...

Problem with running WebService in separate thread in Delphi

I have never asked questions in any community as I always solved problems by myself or could find them online. But with this one I came to dead end and need Help! To make it very clear – I converted a simple app, found elsewhere to make it use a Tthread object. The idea is simple – the app checks online using webservice, through THTTPRIO...

Using a C# Service Reference SOAP Client with different Endpoint URIs

I have a SOAP Webservice that is available on multiple servers, thus having multiple endpoints. I want to avoid adding multiple Service References (C# SOAP Port Clients) with different names just to talk to this services, since the API is exactly the same. Is there a way to configure the Endpoint URI at runtime? ...

Calling .net Webservice from Java using WSDL

Hi I am trying to call webservice in .net using it's wsdl from Java. I am trying to create Client stub using Apache Axis 2 in eclipse Galileo SR2. Same exception with Netbean 6.9. I have "AddOrgService" method overloaded in webservice. Looks like it is creating a problem. What could be the solution? But I am getting following excepti...

Dynamically call SOAP service from own scripting language

My application has its own scripting language of which I cannot get rid of (lots of customer-specific scripts written). Now my customers are asking if it would be possible to call a SOAP service from within that scripting language. Of course, the SOAP service that needs to be called will be different for every customer. This leaves me...

jsonp memory leak

Possible Duplicate: jsonp memory leak So I've recently setup a chrome extension to refresh a page and call a jsonp web service I've written but there is a memory leak. I've searched all of the internet to find solutions and nothing seems to work. I've used the plain jQuery .ajax() call specifying "jsonp", I've used jquery-json...

jsonp memory leak

So I've recently setup a chrome extension to refresh a page and call a jsonp web service I've written but there is a memory leak. I've searched all of the internet to find solutions and nothing seems to work. I've used the plain jQuery .ajax() call specifying "jsonp", I've used jquery-jsonp found at http://code.google.com/p/jquery-jsonp/...

Deploying FLEX3 Application in tomcat

I have a FLEX3 application - I have created a release for it and saved it in my tomcat webapps folder. This Flex3 application consumes the Web-Services hosted on the same tomcat [axis web services]. This is how I have defined them in Flex code: <mx:WebService id="abc" wsdl="http://localhost:8080/axis2/services/ABC?wsdl...

accessing a web service using axis and maven

Im trying to figure out how to access Web Services in Java using Axis. As far as I understand, Here's what I need to do : Use WSDL File + Axis tools to generate Java files. Compile and package generated Java files and then consume those objects by using connection methods on these. In trying to do this, here's where I'm stuck: I pi...

.NET Web Services - managing web requests

Hello I have a .NET WeBService project and a reference to it from another project. Visual Studio generates a proxy class (SoapHttpClient) with all methods of my Web Service. The project that I use the WebService from is a .NET CF mobile application. This means that Internet access and WebService is not always available. What I need to d...

What's this web service protocol? Unfamiliar XML Format

I'm following a document to send a request to a web service, but I'm confused about it's protocol. It's based on HTTP, but it's not in SOAP format nor XML-RPC. Is it in an standard protocol format or they just implement their custom protocol? Here is a sample request: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:WebSt...

Webservice with Python client

I have a application wrote in Python. Now I must run many instances of this application, but it is one problem. Many instances have one device and access to this device must be synchronised. I think that the best way to synchronise these instances is to build webservice. In which language you suggest to write webservice. Python/Django ...

Configure Glassfish v3 with pac file?

Hi, I have web service client deployed on Glassfish v3. It needs to access a server that requires proxy access. I have a pac file (proxy auto config) but I don't if/how I can use this to configure my Glassfish instance so the my client can access the service. If it's not doable, is there another way to set up access to a proxied serv...

Adding child elements with diffrent namespace to SOAPHeader - apache axis webservice client

I am developing a client to a webservice using apache axis 1.5 I am trying add 2 child elements to SOAP header with different namespaces for example <soapenv:Header> <wsse:Security soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/...

ASP.net Web Services issue

Hello, I have a single WebMethod which will return List object as shown below [WebMethod] public List<ContactMaster> GetContacts() { //ContactMaster contact = new ContactMaster(); List<ContactMaster> contacts=new List<ContactMaster>(); IQueryable<ContactMaster> contact = from c in ...