web-services

Apache Tomcat (6.x) SessionID placement

Hey guys, I need to know which class in Tomcat (6.x) is responsible for placing the SessionID either into a cookie or appending it to the request. Is this done after all Filters are passed? I need to modify the SessionID before the response is sent to the browser... ...

Web Service Call jdk 1.2

Hi all, I try to use jboss for call web service but javax.xml.namespace.Qname class need minumum java 1.5 version then now I am looking to call web service with java 1.2 any axis releases work with jdk 1.2 or another methods can be use for this isue? I can not increase the version of the java becouse the machine which I develop a prog...

BlazeDS vs SOAP and web services

Advantage for one over the other? ...

Axis2 (war) + Tomcat 6: WSDL2Java missing?

Hello guys, I am trying to learn how to implement Web Services using Axis2 and Tomcat, but i'm afraid that i'm not grasping some of the basics. I was following this tutorial but when i attempted to use WSDL2Java i noticed that i do not have the tool anywhere. This happens due to the fact that i downloaded and installed the .war (web ar...

AXIS2 and JAX-WS how can I change the SSL handshaking ?

I need to customize the SSL handshaking when calling a JAX-WS API on top of Axis2. I find no reference at all on how to do this. With Metro I can set a custom SSLSocketFactory, but that uses a non standard API. How do I get access to the Axis engine so that I can reconfigure it before sending a soap request ? ...

How can I expose a .Net 2.0 Webservice to a Silverlight client?

I have a trivial .Net 2.0 SOAP web service. I want to access it from Silverlight application that is hosted on the same server, but different port. I know that for this to work I need to provide a clientaccesspolicy.xml or crossdomain.xml policy file (the service is available at http://example:8085/RemoteObject.rem?wsdl , so the policy f...

Webservices Design and How can I capture the raw XML sent to a webservice call in C# .net so that I can validate it against an XSD?

I have created a C# .net 2.0 webservice. I need to capture the raw XML sent from the client and validate it against an XSD and return any errors to the client. The webservice will allow the client to upload a list of widgets to our system. The following is some background info: I created an XSD to model a "Widget", which is a complex...

Should we unit test web service?

Should we unit test web service or really be looking to unit test the code that the web service is invoking for us and leave the web service alone or at least until integration testing, etc.... ? EDIT: Further clarification / thought My thought is that testing the web service is really integration testing not unit testing?? I ask beca...

Adding Custom Http Headers to Web Service Proxy

I have an old application that uses the classic Web Service Proxy to interact with a Java Web Service. A while back the Web Service hoster decided to require a custom HTTP header to be sent with each request in order to access the service - otherwise the requests are thrown out outright (looks like this is some sort of router requirement...

retrieve webservice containing page control in C#

is there a way to reference the page control in a webservice? something like this: [WebService(Namespace = "http://test.org/")] public class Search : System.Web.Services.WebService { public Search() { Page.Controls.Add(new Control()); // can I get a reference to Page? } } ...

Axis2 Migration

Hi, We had an application using axis2 1.0. We recently migrated to axis2 1.4. After migration we are facing the following error at runtime: public static org.apache.axis2.context.ConfigurationContext org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromURIs(java.net.URL,java.net.URL) throws org.apache.axi...

CRM Ondemand Integration Events queue

I've been using the Integration Events web service, for not that much, and i was wondering if there is an elegant way to manage the queue. I changed the integration event wsdl, to fit my needs, but i don't know what value i need to set in the xml for the EventCount to make it not required. Thanxs in advance. ...

How can I find out more diagnostic information from a failed web service call?

When calling an asp.net web service from a windows mobile device project, I am catching an exception ( WebException ) and the response inside that seems to be "BadRequest". This is occurring on a live system but not locally in development. But they both have the same build.... When we point our development code at the live web service ...

Public Property & Class Not Exposed on WebService

I modified a WebService to include a public property and a public class, rebuild, updated the service in my client app. Neither are accessible by the client app for some reason. When I launch the test page, I can see them there; but when I use them in code, building breaks. It seems like the WebService is ignoring my changes or not re...

In what tier should my web service references be?

I have the following structure in my web solution: Domain DataAccess ApplicationServices Web Tests I have some application services that I am using to abstract some web services that I am using. (Specifically, I am bundling some shipping web services together into a single application service.) Should my Application Services laye...

Web Service vs. Shared Library

This question has been asked a few times on SO from what I found: http://stackoverflow.com/questions/204653/when-should-a-web-service-not-be-used http://stackoverflow.com/questions/299260/web-service-or-dll The answers helped but they were both a little pointed to a particular scenario. I wanted to get a more general thought on this. ...

Web Service Failing when Using DNS in URL but works fine if I use the actual IP in the URL Can not figure out the problem.

I am trying to call a web service from asp.net 3.5 application. I have a URL that has the DNS in it and when it is used I get the following Error. (the xxxxxx is there for privacy concerns) The request failed with the error message: -- 301 Moved Permanently Moved Permanently The document has moved here. When I use the URL with th...

when to set up a web service versus just querying the database

Hi, we have several sites for several different clients, each with several different databases. Some of the databases are at client location, some are on our site. I have been tasked with creating a few sharepoint sites that will display information from the databases. Is it okay to call stored procedures from my sharepoint sites? S...

Is it possible to enforce web service calls from known client only?

Scenario: A publically available Web Service that I have full control over. But I only want this specific desktop application (my published application) to have access to the Web Service. I could store a secret password in the desktop client, but that would be easy to crack. Is there any known implementation that enforces this? PKI, as...

Biztalk Developer pre-screening test and interview questions

Similar to other interview question threads, we're preparing to interview candidates for a Biztalk/.NET Webservices/XML/general mid-tier developer position, and I'm looking for some good input from the community. We'd like to pre-screen the applicants (since they'll come from a tech agency) with a written test that covers basic knowledge...