web-services

WebServices .Net returning data

Hello.. I have a service method <WebMethod()> _ Public Function placeOrder(ByVal name As String, ByVal surname As String, ByVal phone As String, ByVal address As String, ByVal pid As Integer, ByVal items As Integer) As String which places the order and assigns it an ID... If the order fails for some reason (no availability,etc,...

What should be the role of web services in a web site?

I'm building a web site which includes a control that will use a LOT of data. So I thought of doing that through web-service, in order to improve scalabality- that way I'll be able to use a different server for this purpose. Is this a good idea? If so, where does it stops? Why not have web-services all around, and a very "thin" web site?...

Windows Phone 7: web service problem

From a WindowsPhone7 application I need to query a web service by sending a "category" string parameter an expecting to get a string in return. I tried to follow identically the "Weather Forecast" sample from the MSDN, but I always get en empty string. If I add some Debug.WriteLine commands I can see that the callback executes AFTER the ...

How to create SOAP messages ? How to convert a soap message to an object?

1- How do i create soap messages to communicate with a web service? Let's say my client needs to send a request to a web service, Do i generate the FULL soap string and then send it to the web service, including header, body, envelop etc? 2- Let's say the web service sends me back a SOAP response, the response contains information about...

Where can I find a brief description of the various types of web services?

SOAP, ASMX, WCF, REST, others... where can I find a reference for the various web service types and the situations they are best suited? Any diagrams that show show all the components are related? ...

GP Webservices and Adding Notes to Invoice

We use webservices to integrate our Dynamics CRM 4.0 with GP 10.0. We do alot of integration using GP webservices like creating invoices, customers and vendors. However, we just faced a problem. We need to use the web services to add some notes to the invoice. I have searched a lot but couldn't find a way to do so. Can anybody guide me ...

web services between rails and j2se

I developed a web site using rails 2.3.8, and a IM server using openfire(java). I want to share some data between them, or exactly rails as provider, openfire as consumer. A possible way is using web service. But it seems that rails 2.x has deprecated the default SOAP support, I installed the gem activewebservice, but there is lack of do...

Web service and creating a temporary output file.

I want an axis web service to receive requests, write the response to a file and send the address or URL of this file back to the web service client. Then, the client can stream the file as bytes from the URL it received. Now, where should the web service write this file? The web service is packaged as a war. I understand that anything...

python script to Post a file from local

Can u please help me in python snippet to send a file over http using POST method. My file is in local drive. Thanks Anand ...

Sharepoint webservices add task through CAML

Hi all, I am having a problem with getting the right userinfo from the usergroup.asmx webservice. I am sending the username to the webservice and I get the userinfo as a response. In the response I see that the userid = 87 and username = john smith. Than I call the updatelistitems webservice to add a task and the value of assignedTo fi...

Web-service with attachment failed on 2-ways SSL connection

Hello, I have two applications, one that provides a Web-service (let's call it ws-provider), the other one that is the client of this Web-Service (call it ws-client). This communication is protected through a 2-ways SSL. Both servers have been correctly configured regarding this confidentiality restrictions (certificates installation, S...

Calling simple web service (.asmx file) from AJAX and JQuery using JSON - parse error

Hi all, Making my first steps in trying to use all these technologies together.. I'm having some toubles.. Here is my Server side: [WebMethod(EnableSession = true)] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string simplestMethod() { return "Simplest method returned"; } And here is my client side: $(document).rea...

WSO2 WSF/PHP - Soap fault: XML builder done with pulling. Pull parser cannot pull any more

Hi I use WSO2 WSF/PHP. I have the WSF extension compiled and enabled in PHP. But I receive this Soap fault response when sending a request to the webservice: soapenv:Client XML builder done with pulling. Pull parser cannot pull any more The last lines from the wsf_php_server.log is: [Mon Sep 6 11:54:04 2010] [debug] /root/download/w...

Why is it more secure to prohibit the DTD when consuming web services with things like .Net WCF?

In the documentation for securely consuming web services with WCF they state that it is recommended that you prohibit the DTD when consuming the metadata. Why is the DTD a security risk? http://msdn.microsoft.com/en-us/library/ms734741.aspx ...

How to pass Authentication headers using Flex HTTP service?

I am trying to access a .Net service which requires an authentication header. If WebService is used it works fine. But when it is accessed using HTTPService it throws error. The project is already done by somebody else using HTTPService. Now changing to webService requires some time since there needs to be modification in a lot of files...

Hosting web services on Mac OSX Snow Leopard

Does anyone what options exist for developing and hosting web services on a Mac OSX Snow Leopard server? Is webobjects still supported, are there other solutions? Does Python or PHP have a solution on Mac that also has libraries for working with MySQL? Any help appreciated, Thanks // :) ...

What's the difference between WSDL,DISCO and EVENT?

All of them are web services, but what's the difference? ...

Securing a web service running on App Engine

Hey there, Our application consists of a REST web service running on App Engine and a flash client. We need to make sure that only our client can make requests to the web service and to prevent situations like replay attacks. I'm not a security expert (by far) so I'd like some advice with the security scheme I came up with. The syste...

Speed up iPhone application when consuming web service

I have an iPhone application , which is consuming a Soap web service. When am sending a URLrequest, the application is getting slow.My application is a TabBarApplication.From a started calling web-service to parsing the received data, i can't select Tabs in UITabbarcontroller. How to speed my iPhone app Tabbarcontroller to get selected e...

Java web service error

I got this error 'java.lang.ClassNotFoundException: com.hp.hpl.jena.rdf.model.Model' when I run my java web service which implement a jena framework function such as OWL reading function. But it worked as a standalone java application and read the owl file correctly. But when I host it as web service and execute the read method in a .net...