web-services

A JavaScript client for consuming Axis2 sevice

Hi, I have written a service using Axis2. Now I wish to consume it using a browser based client written in JavaScript. Would appreciate if some one could give any pointers on this. Thanks ...

Is it possible to manage the top navigation bar using SharePoint web services?

I am trying to remotely add links to the site top navigation bar. It is necessary for me to use SharePoint web services. I was able to create a sub site using the websvcMeetings, but there are no links in the top navigation bar. It should inherit parent's top nav bar and the parent's top nav bar should have the link to that newly created...

Best way to create a TOKEN system to authenticate web service calls?

I'd like to create a web service architecture that can be called by various platforms such as mobile devices, winforms applications, iphone, blackberry, you name it. So going with something like WCF and wsHttp binding probably kills this and I would need to downgrade to a basicHttp binding for compatibility. With that said, I need a sy...

Post data in asp vb.net webservice

I have created a web service in visual studio. How do I read the HTTP post data when someone sends a request to one of my methods. The message they are sending me is a soap wrapped xml file. ...

Unit Testing Some Web Service Methods

My boss wants me to create an .aspx page, textboxes for simplicity for entering credit card information so we can test out some methods in our CreditCard service. Thats fine but I would think we could do a Unit test for this. The only thing is, instead of typing the stuff into a web form, we'd just change the variable values passed int...

PHP: Can we build a web application to send email from localhost, like ThunderBirds, OutLook.?

Hi All I don't know whether or not it's a good question :( But my intention is to know if it is possible to to build an email client application like Thunderbird or OutLook . And can we able to configure/create a Web Application in PHP? Please let me know your thoughts! Thanks in advance!!! ...

What will the class be for a Web Service method result?

Hello everyone, I have been given by a partner a WSDL for their Web Services. I'm not too experienced with Web Services, so I'm a bit skeptical about something with the WSDL. One particular method allows us to get some information, but we can only use it once (or face a penalty.) The problem is that it is returned as "raw XML" inside th...

Creating a SOAP Envelope programatically and including it in the HttpWebRequest in .NET

Hi all, I'm involved in a project that would call a webservice dynamically. I have figured out a way to call a webservice method that has no method parameters on it, but now what I need is for me to call web methods that have parameters on it. Was wondering if there are good examples on how I could create a soap envelope and how I c...

Web Service Interface

I'm looking to add a web services interface to an existing server application. The set of services to expose is not known at compile time and can change over the runtime life of the server. From a tech standpoint all the server/web services endpoints will be on Windows. In our server app a user will have the option to register workflo...

How can I get the client's IP address in a PHP webservice?

I have developed a PHP webservice. I would like to log all incoming connections of the WS clients, which are consuming this web service. How can I obtain the client's IP address? The value of $_SERVER['HTTP_CLIENT_IP'] seems to be always empty. ...

seambay webservice example unable to deploy on weblogic10.0MP1

I need to develop jax ws webservice using seam and deploy the same on weblogic.Tried few things but nothing worked. So was trying seambay example, while deploying the ear on weblogic I am getting following error. Unable to deploy EJB: AuctionService from ../jboss-seam-bay.jar: Unable to deploy EJB: ../jboss-seam-bay.jar from...

Queueing SOAP operation

I'm having a strange problem invoking a WCF service from flex. When I'm testing from Eclipse (Run as or Debug) and the url in the browser points to C:..., the service call is successfull: 16:17:31.008 [DEBUG] mx.rpc.soap.Operation Invoking SOAP operation ValidateAccessCode 16:17:31.009 [DEBUG] mx.rpc.soap.SOAPEncoder Encoding SOAP reque...

Unable to cast object of type MyObject to type MyObject

I have this scenario where a webservice method I'm consuming in C# returns a Business object, when calling the webservice method with the following code I get the exception "Unable to cast object of type ContactInfo to type ContactInfo" in the reference.cs class of the web reference Code: ContactInfo contactInfo = new ContactInfo(); Co...

C# class referenced from web service not deserializing properly

I have a web service that's serializing a class (class is from the web service) into an MSMQ, then a windows service is checking the queue and deserializing. The windows service has a web reference to get the class. If I deserialize inside the web service, everything comes out fine. However, when I deserialize from the windows service...

Parsing through XML returned by web service with jQuery

I'm trying to parse an XML file returned by a webservice with jQuery. Here is the code I have set up, but nothing seems to happen. $.ajax({ type: 'GET', url: 'http://www.sample.com/webservice', dataType: 'xml', success: function(xml){ console.log(xml); $(xml).find('movies').each(function(){ $(this).find('movie').each(function...

JAX-WS: stateful WS fails in a standalone process

I have a stateful web service deployed onto Tomcat. It consists of factory service and main API service, and works just fine. Factory service returns a W3CEndpointReference to main API instance, and client uses the session. Now, I'm trying to run the very same service as a standalone application. In this case, the W3CEndpointReference r...

Consuming custom objects between webservices

I have a webservice that is designed to accept performance data via a custom object. The custom object contains a Collection (Generic List) of performance measures among other data. The performance measure consists of simple data types (strings, ints, and a datetime). The only method exposed by the webservice requires this custom object ...

Consuming Java Webservice TimeStamp from .net and WCF

We are trying to talk to a (possible)Java WebService from .NET 3.5 using WCF. The WebService defines a Timestamp object which seems to be a datetime without the decimal milliseconds. WCF decided .NET would use a datatime as the object backing in the proxy class. When sending objects with the timestamp to the Java WebServer the datetim...

Webservice SocketException - Only Breaks On One Application

I have a few applications which use a single Web Service which resides on the same server as the applications. Why would only one of the applications have a problem connecting to a web service? And is there a way I can better diagnose exactly what the problem is with the connection? It won't even connect to a web service the applicatio...

Programming against WSDL without access to actual webservice

I'm going to use C# to read data from a few webservices. I've done that many times before, but those times I've had direct access to the webservices from my development machine. In this project I've just been sent a .wsdl file, and a couple of .xsd files for the webservice they have in their local intranet. I've seen that I can use "Ad...