web-services

Java Webservice returning null object to a .net client

Hi All, Can any one figure out my problem is... I'm calling a webmethod of a Java Webservice (Axis 1.4) from a .Net client. That method returns a Map object, and if i call it from an Axis client works fine, but in my c# code it´s always null. That's the WSDL: <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:apa...

Why is there no web service project template for VS2010 targeting 4.0?

I'm trying to create a simple web Service in the 4.0 framework, but the project template is only available in 3.5? Have the MS team done this for a particular reason? Are they pushing us to WCF services? ...

Calling a web service without using soap

I have a web service I'm converting it to wcf I want to create a couple methods in the wcf... these will call methods in the web service but I don't want to use soap or whatever because it is so slow So I made a WCF service inside my web project. Then I new up the web service and call a method... Is it using soap? Is this just the...

Calling a web service without using soap

How can I call a web service directly without using soap? I basically want to use the web service like a class library and have the same performance as if it was a class library. The code I am calling is in the same project as the web service ...

how to invoke/consume Java restful web service in ASP.net 3.5 using C#

asp.net 3.5, but the webservice is designed in java and produces JSON. I want to get and post data to the database through the webservice. All the articles i found so far use soap but can anyone please tell me how to invoke/consume Java restful web service in ASP.net 3.5 using C# And i also would like to know if is possible to bind a...

Unknown Web Method

I'm trying to implement a view tracking web service on my website. I'm using JavaScript because I want to exclude any search bots from my tracked views. The problem is I'm getting a "Unknown web method" error when I try to use jQuery to post to the web service I've created. $(document).ready(function() { $.ajax({ type: "POST", ...

Many WebReferences Using Same Class

I have a C# project which has many web references to a third party product. All of these web service calls use a 'user context' class. So each web service accepts the exact same XML snippet. Currently I have to keep many of these 'user context' objects around as I hit all the different web service calls. The generated 'user context' cla...

WCF / Web Service: Databinding? Callback? Async? I'm not sure...

I'm not sure what the correct method or name to do what I want to do is called, or how it's implemented. My aim is to setup a client that can be updated from the server without a call to the server. Basically, the following scenario: Client(1) calls Web Service (GetListOfProducts) Server returns an array (A, B, C, D) to Client(1). Cli...

Service Reference is using Arrays instead of List<Type>, even when settings say to use List.

I'm using Visual Studio 2010, and I've got a service reference to a web service we created. Our methods return objects that contain generic List properties: public class ExampleResponse { private System.Collections.Generic.List<int> intValues; [WCF::MessageBodyMember(Name = "IntValues")] public System.Collections.Generic.List<in...

service versioning deployment strategy

I am looking for best approach to implement the service versioning. I have existing service which is deployed in production. The new version we added few new operations with schema updates. The new version wsdl and schema has new version of namespaces. Here is the structure and config details.. wsdl/v1 has old files and wsdl/v2 has new ...

ASP.Net Web Service - What is the correct way to add a detail element to a SOAP fault response that works for both SOAP 1.1 and SOAP 1.2?

ASP.Net 2.0 Web Services automatically create both SOAP 1.1 and SOAP 1.2 bindings. Our web service, however, has SOAP extensions and custom exception handling that make the assumption that only the SOAP 1.1 binding is used (for example, the SOAP extension uses the HTTP SOAPAction header to control behavior). I am looking to correct the ...

How to import existing SOAP request messages to SoapUI?

I have a bunch of SOAP request messages in XML format. Is there a way to import them to a SoapUI project? I want to import them and add as "Test Request" Test Step to an existing Test Case. ...

jqgrid Page 1 of x pager

I am trying to figure out how to user the paging functionality of the jqGrid. Currently I am stuck on Page 1 of 4. No matter if I press the Next button or not. It just stays on 1. I am using ASP.Net with a webservice to populate my JSON data. How do capture the event from the client to populate the property on the webservice to bring...

Calling Java from a Java console app and an ASP.NET app

Hi, Recently I got asked to write a java application for my company. I'm a seasoned .Net developer so this is all new ground to me. My task is to produce an invoicing application that has several high level tasks such as: Build single invoice Build all invoices My company want to be able to call these tasks from a java console appli...

Jax-ws date parsing in dd-mm-yyyy format

Hello friends, I have a web service which accepts birthDate as SOAP request and it is represented in xsd as follows: xs:element name="birthDate" type="xs:date"/> By default JAX-B is able to parse the date only if it is the format 'yyyy-mm-dd' else it is throwing an exception. I want to change the date format to 'dd-mm-yyyy' and I am u...

image uploading from android application to server using c# web service

Hi, i want to upload image to IIS server using c# web service.I have written the web method for this as follows... [WebMethod] public string UploadFile(byte[] f, string fileName) { try { MemoryStream ms = new MemoryStream(f); FileStream fs = new FileStream(System.Web.Hosting.HostingEnvironment.MapPath ("~/Transi...

Is a c# WebService with nullabele int BasicProfile 1.1 conform

Hi! I want to implement a WebService that should be BasicProfile 1.1 conform. The WebMethod should be something like this: byte[] Test(int? count) Is this call BasicProfile 1.1 conform? How can I check BasicProfile 1.1 conformability? ...

WCF Web Method that Accepts Different Message Types

Microsofts's WCF is easy to work with when you create Web services where each message has it's own Web method. WCF generates all of the WSDL and everything is easy. What I want to do is have one Web method that accepts multiple different messages (I don't want to add a mew method every time I add a new message type). The messages themse...

Secure a web service that has Forms Authentication

I have a webservice that's behind form's authentication. The site that hosts the service also serves as a site that requires a user to log in via the login page. I have a second site that needs to be able to access the service that the first site hosts. However, when attempting to access the service, it fails because the service requir...

Is it common practice to specify security policy info in the WSDL?

Our team is implementing SOAP-based web services using Spring-WS and XWSS. So far we've been relying on Spring-WS to generate the WSDL from our XSDs. We're now considering whether to document the security requirements in the WSDL using WS-SecurityPolicy or conveying them in a separate document. Here are the questions we're pondering: ...