I'm trying to build a generic web service interface using WCF, to allow 3rd party developers to hook into our software. After much struggling and reading (this question helped a lot), I finally got SOAP, JSON and XML (POX) working together.
To simplify, here's my code (to make this example simple, I'm not using interfaces -- I did try t...
Hi,
in a standard .NET webservice (lie the basic sample "hello word" one created by VisualStudio), how can I access the raw call coming from a client? Thanks
...
Hi,
I have a web service which previously was deployed on http. I used to generate stub classes using wsimport using wsimport http://localhost:8080/MiniForumService/MiniForumService?wsdl.
Now I deployed it on SSL. But when I try to generate the stub classes from it using wsimport https://localhost:8443/MiniForumService/MiniForumServi...
I am trying to Add a Web Reference to http//.../service.asmx file in my project.
First it gives me an error:
"...
Unable to download following files from:
http://.../service.asmx?wsdl
Do you want to skip these files and continue
..."
When i click 'Yes', the proxy gets created with .disco and other reference files, but does not add...
What's the best practices for developing a web service with a WSDL as a start point?
...
I'm developing a small content management solution than can be used in any ASP.NET 3.5 website. The website references some dll's and then lets the aspx's inherit my page baseclass. Some configuration in web.config is also needed, but thats it.
Now I'm building a standalone Silverlight editor for the CMS. My idea is that it should commu...
I'm using a web reference generated from a .wsdl file.
I've also examined the Amazon web service example but couldn't get it working.
Enclosed is an example of the soap request.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<wsse:Security
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"...
What Format should data be in when going into a utility app from a server? JSON, XML or something else?
Edit:
I need to tell a client to tell his web guy to build me a web service or let me do it. I need to make sure I am asking for the right thing.
...
Hello all,
Ok, this is very "generic" question. We currently have a SQL Server database for which we need to develop an application in ASP.NET with will contain all the business logic in C# Web Services.
The thing is that, architecturally speaking, I'm not sure how to design the web service and the data management. There are many th...
I am trying to make a web service request call to a third part web site who's server is a little unreliable. Is there a way I can set a timeout on a request to this site? Something like this pseudo code:
try // for 1 minute
{
// Make web request here
using (WebClient client new WebClient()) //...etc.
}
catch
{
}
...
Hello everybody,
I need to write invoker for web services in JSF.
Any guidlines you can give me? Which lib(API) should I use?
Thanks
...
I have written a WPF 4.0 windows application that consumes a .net 3.5 WebService. This works fine when the web service in hosted to allow anonymous connections, however the WebService I need to consume when we go live will be held within a website that has Integrated Authentication enabled.
The person running the WPF application will b...
Using axis1 it is possible to log incoming/outgoing soap messages by adding logging on HTTPSender in log4j.properties. After migrating to axis2 (version 1.4.1) I have a hard time figuring out how to accomplish the same kind of logging. I have tried to add logging on the axis2 package and org.apache.commons.httpclient but no logging is pr...
Hello all I have a problem, I am writing an import CSV to silverlight MVVM the problem I am having is I loop the lines of the stream and then add them to an array, 2 items in the array need to be looked up for the ID I can do that but the problem is they run on a different thread how do I wait for that to return its results and then proc...
I've a WSDL defining a web service named CalendarService:
<soap:address location="http://example.com/calendar"/>
The WSDL defines following methods:
String setDate(String date)
int setTime(int time)
CalendarService is not deployed anywhere.
CalendarServiceProxy is a proxy generated from CalendarService WSDL.
I've a web servic...
I have set up references to 2 web services in a separate assembly TestProj.Core.
I reference this Project in a Web Application Project called TestProj.Web.
When I setup the references in TestProj.Core the wizard gave me an app.config and through an application settings section into it.
How do I get these settings to my web app? Copy an...
I am looking for a XSL-FO Rendering webservice. FOP does not fit our needs, and commercial server versions currently are too expensive.
So I was wondering, are there webservices available that render your FO document for a cost/page or something?
...
I have a zip code lookup service and I'm worried about any possible timeouts or the server being down.
If I don't get any HTTP Response after 20-25s of the initial request I would want to respond with a JSON signifying it failed:
({ success:0 })
...
Hi all,
I'm trying to import the following web service: http://www.biomart.org/biomart/martwsdl
Using curl for the service getResistry() : everything is OK:
curl --header 'Content-Type: text/xml' --data '<?xml version="1.0"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mar="http://www.biomart.org:80...
We work on an internal corporate system that has a web front-end as one of its interfaces.
The front-end (Java + Tomcat + Apache) communicates to the back-end (proprietary system written in a COBOL-like language) through SOAP web services.
As a result, we pass large XML files back and forth.
We believe that this architecture has a sig...