web-services

Advantages of nuSOAP WebService?

I've been writing a demo web service in PHP using nuSOAP. I wanted to know which is the advantage of nuSOAP vs SOAP PHP5 class? Also, this is a test web service to use as a model, I was wondering which were the typical scenarios (general to webservices, not just PHP) I should test out. e.g. providing a web method that returns an object...

What kind of security threat i could face using web services?

In regards to my this question, I got this following answer to add this to the web config file. And it also resolved the issue i was facing. But now my question is that is there any kind of security threat? if yes, how severe it could be? what kind of threat it could be? Do you suggest something else here. <configuration> <system.we...

Can multiple WebClient interfere with each other?

I must build a Application that will use Webclient multiple times to retrieve every "t" seconds information from a server. Here is a small plan to show you what I'm doing in my application: Connect to the Web Client "USER_LOGIN" that returns me a GUID(user unique ID). I save it and keep it to use it in future Web Client calls. Connect...

Consuming web service in Silverlight

I have a normal .asmx web service which loads fine in the browser. When I load the web page with the Silverlight app in it, the data doesn't load and I get a javascript error which states; Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.3...

JSON serializer and CSLA objects

We just started a new ASP.Net project that uses web services to serialize some CSLA business objects into JSON data for our client javascript/JQuery code. After reviewing the JSON data in the client browser(Firebug in Firefox) we notices that there are a significant number of properties from the business object that we do not need downl...

Can a PayPal transaction include a third party?

The situation is as follows: there's a website that connects sellers and buyers, like Ebay. Among other things the owner of the website needs to know the details of each transaction initialized from there. Essentially I am looking for a payment method that returns a digital receipt. Is it possible to do something like that with PayPal?...

How to encode PHP object to nuSOAP response?

I'm building a simple WebService. I have a User PHP class and a webmethod getUser to retrieve a user's information. I've declared a complexType and everything seems to work perfectly. $server->wsdl->addComplexType('User', 'complexType','struct', 'all', '', array( 'id' => array('name' => 'id', 'type' => 'xsd:int'), ...

Using the .NET Ebay Finding API / SDK how do I do a search successfully?

I'm trying to use the EBay Finding API to send an advanced search request and return the results. I have included my code below. For some reason when I get to the following line: FindItemsAdvancedResponse response = service.findItemsAdvanced(request); the object called "response" is coming back as null. I'm not sure where I'm going ...

How to initialize JEE 5 JAX-WS 2.0 Web Service with Parameters

Application configuration: Web application using java first method of creating JAX-WS 2.0 Web Services with annotations. WebLogic 10.3 My Requirements The requirements I have are to deploy a single web service implementation class, but change logic based on the URL from which the service was accessed. Question: I'm assuming a goo...

Changed the password start getting "The remote server returned an error: (401) Unauthorized" error.

I have a remoting service which uses the Windows Auth. Been working fine for a while but yesterday my windows account has been lockout and after it has been unlocked and the password changed I have been having issues since. It just didn't let me in with the following error: "System.Net.WebException: The remote server returned an error:...

Difference between JMS and Web Service

I need to develop a system which accepts orders and returns confirmation. Orders could come from java or non java clients. Not sure whether to go for web service implementation or JMS. Any suggestions ... ...

Send an array of complex objects using ksoap2 to .NET web service

Hi I am facing a problem in sending an array of complex object from a J2ME Client using KSOAP to .net web service (Soap services). my TestSoap.java file has a setArr() method which takes an array of PropHeaderMapBin object and sends it to the web service which returns an integer (count of PropHeaderMapBin objects) TestSoap.java pack...

Sharing Interfaces that are implemented in WCF Service

Hello, I have wcf web service. Serice of course implements insterface with ServiceContract attribute. It also implements another interface that does not have ServiceContract attribute and is stored in external dll. When I generate proxy than I do not get that second interface implemented in proxy object. Is there any way to make svcutil...

WCF and Authentication

i need to pass a value from client everytime a request sent to WCF and check that value on server and decide to make the request or not, can any one write an example of that ?im not sure how is that is going be implemented case: im generating a key based on the hardware of the client and i want to send that key to the server with every ...

Is it possible to send json parameters as request data to webservice and get reply in xml format

I have the following code where i construct json data and send to the webservice ,my datatype will be json and response from the webservice will be in xml format does this logic work out or do i need to stick to any one particular datatype either json or xml. var keyword2 = "{\"keyword1\":\"" + keyword1 + "\",\"streetname\":\"" + addres...

Web Service Date Time Parameter won't accept UK format DD/MM/YYYY

I have created a Web Service and deployed it on an internal server here. The server is set to UK datetime format. The Web Service contains one method with the following signature: public Result Scan(string value, string data, DateTime ScanDateTime) { } When testing the webservice locally on the server, it will only accept values fo...

how to post xml over https web service in java

how can i post xml to https web service and get the xml in response... the requirement is this.. The web service accepts a parameter payload in which we can pass xml and i will be getting response xml. the url looks like this: https://servername/aaa/bbb/us/ws.do? ...

large data transferring in web services interface

Hi, I'm looking for benchmark data that compare the performance results between RMI call Vs. Web services call. The problem is that the customer give us target to meet less than 2sec response time for 3Mb XML size, using only text format xml. I'm trying to convince him that move to RMI interface as in this xml file size, no way that we ...

Cannot read the token from the 'SignatureConfirmation' element..(Java-WCF)

Hi, I have a WCF(3.5) client talking to a Java Web Service (Spring-WS, WSS4J), the client fails while recieving the response from server giving the following exception message Cannot read the token from the 'SignatureConfirmation' element with the 'http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd' namespace for Binary...

Where to place clientaccesspolicy.xml in Netbeans Webservice project?

Hi, I develop a Webservice using Netbeans 6.9 and I use an embedded glassfish server to deploy my Webservice (*http://some_domain/project_name/ws_for_sl4*). On a different server there is deployed a Silverlight 4 client, which should have accesss to the Webservice. I know that I have to have clientaccesspolicy.xml (under *http://some_...