web-services

How do you call RESTful JSON Web service from within Flash (not Flex)?

Is it possible to call a web service from within Flash (using AS3)? Or is the best idea to put the flash movieclip in a Flex container and use the Flex Libraries? To be clear, when I say within Flash, I mean within the Flash CS4, AS3 programming environment. ...

Using a WSDL with abstract types in PHP

I'm working on an integration between our web application and Microsoft Exchange 2007. I am using Exchange Web Services (EWS) to communicate to the Exchange Server. However, I am running into some issues with the WSDL. There are several types defined in the WSDL that have elements of abstract types. For example: <xs:complexType name...

Should constructors for WCF Services use faults for error handling?

I have a wcf service. The service itself (class that inherits the ServiceContract) has a constructor that sometimes throws exceptions. I want to present the user a message if the service fails. Should I use faults like I would for a service method? ...

WCF Sign outgoing message

Hi all, I'm trying to get my head around wcf and have a test scenario where i want to recieve an unsigned SOAP message process it and return a signed SOAP message, where the body is signed. Therefore, how do i add a public/private key pair to the WCF service for it to utilise in signing? Secondly, how would i add a digital signature t...

Unable to add CrmDeploymentService Web Reference due to Authentication Issue

I am having an issue adding a Web Service Reference to the CRM Deployment Service at http:///MSCRMServices/2007/CrmDeploymentService.asmx When I first attempt to connect it says Connecting to and prompts for credentials. After entering my credentials, it will continue to prompting for credentials indefinately. When I attempt to navi...

How to insert a new line into a Sharepoint multiple line field?

I am inserting items into a Sharepoint list using C# and accessing the lists.asmx web service. One of the fields in the list is a multiple line text field (rich text), and I want to insert line breaks into the field. What characters do I put in the XML request to insert a line break? Thanks. ...

Web reference problem on WCF

I have a WCF service which I am able to connect to from my web application and get data. I now added a web reference to this wcf project to a wsdl file that a shipping company provides. Intention is to get shipping quotes.. I am able to access the objects that are generated from this wsdl file but when I call service.Authenticate("DEMO...

ASP.NET w-s ... consuming from Excel ?

We have a web-service within an existing ASP.NET website which works fine when accessed via other ASP.NET bits. I'd like to get Excel 2007 and 2003 to call the w-s and refresh part of a worksheet with the results using VBA. Ideally I'd like a vanilla version of Excel to be able to do this (ie without the client having to install extra b...

How do I call a Web Service in VB6?

I have an old VB 6 Application. I now want to access a Web service/web method in it, I am using MSSOAPLib30 DLL for the interaction. Everything is fine with the simple types like int string. But I am unable to send Complex types like Class and Structs. Anybody have any suggestions? ...

How will the client of a Web Service consuming a DoTNET vs JAVA wsdl differ?

How will the client of a Web Service consuming a DoTNET vs JAVA wsdl differ? Also, is it correct in stating that the dot NET WS invokes the constructor of the WS on each operation invocation whereas a JAVA WS has its constructor called only once when the application server starts up! ...

Axis2 and customizing an XML schema in a bottom-up approach

I am using axis2 to create a web service from a java class I created. Everything works well, but I'd like to be able to customize the wsdl and I cannot figure out how to do it. I tried using some JAXB annotations with my objects (using axis1) but it had no effect on the wsdl generation. I'd like to be able to specify nillable=true f...

Adding a database to an ASP.NET Web Service

Okay this question could either be very broad or very specific because I am not sure if I am going about this in a fundamentally wrong way or if I am close to correct. First an overview: What I am trying to do it create a server application for all of the clients in my organization to connect to. I think the best way to do this is to us...

Compare Java RPC vs WebServices

How do you compare Java RPC vs Java Web Services. I have a small hands on experience with Web Services. Now I need to know how RPC compares with Web Services. How does RPC work? Addition : When do we go for either of the options? ...

PayPal like IPN with Google Checkout

I've reading the Google Checkout docs but I haven't found anything similar to PayPal IPN for Google Checkout. Can anyone point me in the right direction to automatically process orders using Google Checkout? ...

What is Web services in simple terms

I am little bit confused about what really a web service is. You say Amazone web services,etc like that, they offer information. So what is the requirement to be a web url to be a web service ? Let's say I am not much familiar with web development, how could you explain it to me ? But I can get it if you point some ways. And also little ...

jax-ws: setting Content-Type of request

Hi. I've been trying to consume a .net WCF rest service using JAX-WS lately. Due to security of the service, I've have to set a custom HTTP header Authorization with some signature in it. This I've solved by doing something like this: BindingProvider bp = (BindingProvider) port; bp.getRequestContext().put(MessageContext.HTTP_REQUEST_HE...

WCF Service netTCPbinding

I want to user netTCPbinding for that I changed my web config as below : <services> <service name="DXDirectory.DXDirectoryService" behaviorConfiguration="DXDirectory.Service1Behavior"> <!-- Service Endpoints --> <endpoint address="" binding="netTcpBindi...

AddressFilter mismatch at the EndpointDispatcher

Hi. I have a WCF Web application that uses a WCF Class Library. My project is a WCF Web project and I am self-hosting. My problem is that all my web service methods hang with: And "Unable to automatically step into the server...etc". The error (not very helpful) returned is: The operation has timed out When I invoke the same met...

SharePoint, Workflow and Web Services - restart workflow

Can you restart a workflow or push a workflow to its next step using SharePoint Web Services? If so which web service do you use? If you change a field like "Status" and the workflow uses this to know what it should do next... will it "nudge" the workflow forward? ...

Coding architectural question

Hi all, I'm after some guidance on how to approach coding a problem, I don't want to jump straight into coding without think about it as I need it to be as generic and customisable as possible, The scenario is i have a web service that acts as a gateway to downstream services, with the aim of authenticating and authorising SOAP messag...