ws

Factoring web services?

What are some guidelines for factoring of web services? On one extreme you have different procedures for every operation, and expose all types through WSDL. This seems to result in the WS interface changing as often as the business logic. On the other, a generic interface where the types and validation are performed a layer down from ...

WS* vs REST = horses for courses ... or not?

Ok so I've implemented both REST and SOAP services and I like both depending on the context. For me, WS* is great when I want an explicit contract between the server and the client e.g. for sensitive information or for mission critical stuff. REST on the other hand whilst flexible in terms of the schema definition, is in my mind more ide...

WS Addressing

What is WS Adressing? Thanks Sekar ...

Which web service specifications (WS-*) actually make sense to implement?

Hi, I'm implementing an SOA at a large company, and I'm not sure which web service specifications (WS-*) actually make sense to implement. At a minimum, I'm looking at WS-Addressing, WS-Security, WS-Eventing, and WS-ReliableMessaging. However, there are several other standards that look interesting, but I don't know which ones are widel...

Asynchronus Web service using WS Addressing

I need to implement an WCF WS Addressing enabled web service that performs a long running process based on the method's arguments. The client does not need to wait for the result, because it will be delivered directly to a database table. However, the web method does need to return a 'tracking id' number (a GUID actually) so the client...

Namespaces unmarshaling problem with Jaxb on Spring WS

Hi all, I am using JAXB1 (v1.0.6) for marshaling/unmarshaling on Spring WS 1.0.4 and JDK 1.4.2. Everything was working well until I have tried to add namespaces to the original XSD files from which I have generated java classes by JAXB, so that the system could accept requests with namespaces. Now, when I send a requst to my system, I...

Java web service frameworks

This is my first time with Web services. I have to develop web services in java which should be having good WS-* standards, should loosely-coupled, scalable, highly secure, fast response time. I know I've to consider trade-offs. I have checked on some frameworks like Axis2, CXF, Spring WS. Please share your experiences and views on these...

How to intercept xml response and request during web service invocation?

I wonder if there is some neat way to intercept xml request send during java webservice method invocation and xml given in response? I don't want to print those xmls to standard output but to "catch" them in some string. ...

WS Addressing

Hi All Please any one clarify me WS Addressing in WCF does support the multiple ReplyTo or not?. Thanks Sekar ...

What is the difference between "Web Services" and "web services"?

I consider there to be a distinct difference between "Web Services" and "web services" and find myself referring to the latter as "lower case web services". I'd loosely list the differences as: "Web Services" most conforming to the W3C definition based around the WS-* stack enterprise-level mature and dependable strong focus on indu...

How to run WS in Win server 2003

hi evryone how can i run WS in Win server 2003 ? i need to make virtual directory to put there my WS file but it give me only make Web to put there my WS file what can i do ? i make many WS that work on Win XP and all work excelent, whay in Win 2003 it dosent ? thank's for any help ...

WS-* standard for telling a service that I do or don't want specific optional parts of an XSD

Hi Guys I have an XSD which describes the data that is going to be sent back in response to a request. For example, my service may be focused on requesting client details. The XSD in question describes what data items are going to be sent back and one of these data items is the details of the organisation that the client works for. In th...

Web service discovery in WCF : Ws-Discovery or UDDI ?

I know the distinction between UDDI and Ws-Discovery (well know location to search a service vs broadcast). But my question is : what is the simplest way to discover a webservice in WCF ? By simplest I mean what is already implemented in WCF and can be used now ? I've not seen any built-in implementation in WCF for UDDI or Ws-Discovery. ...

Can't connect to databse in WS

I build WS that connect to SDF file that I made conn = new SqlCeConnection("Data Source=" + SDF_NAME); conn.Open(); I get error HTTP 500 server error (there is not a connection) why ? ...

JBoss 4.2.3 + WebServices Client

Hi, I have Web application deployed on a JBoss 4.2.3, that access a SOAP Webservices deployed at a GlassFish V2. When a I run the web application in my local Jetty, it runs smoothly. When I deploy it to JBoss 4.2.3 (Java 1.6), it raises an EOFException. Caused by: javax.xml.ws.WebServiceException: java.io.IOException: Could not tra...

Authentication of a C# client with Windows Integrated Authentication over JBoss on Linux server (using WS protocol)

I have a very complex architecture and I need some clarifications about the Windows Integrated Authentications and its capability. I have fat C# client that needs to call an EJB3 in JBoss (on Linux) via WS. This is very easy to implement, but when I have to design the client authentication here is the problem. I don't want that my WS wi...

WCF WS static Proxy concurrent calls, why it won't work?

I have found this example on http://www.codeproject.com/KB/WCF/WCFThrottling.aspx. My goal was to test multiple WS clients and i run into this issue. My question have two parts, 1) I am just curious why it's not possible to call one webmethod in parallel on one static ProxyObject (when I do it works but it behaves as if it would be cal...

WS-AT Issue between WPS 6.2 and WAS 7.0

Hi, I have a BPEL running on WPS 6.2 trying to call a web service on developed on RAD 7.5, deployed on RAD test environment. I have setup WS Transaction policy on both client and server. I get an error on WAS 7.0 saying Must Understand check failed for headers: {http:// schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext...

Flex's SOAPDecoder returns strongly typed empty objects

Hi, I've been using Flex Builder in order to generated myself a set of WS proxy stubs for my project. When I try to invoke certain methods I get strongly-types object as a response, however when I invoke other methods I get strongly-typed object with nulls and Nans (notice that I do not get any kind of error result event or exception). ...

Which is the best maven's plugin to generate a Web Service Client?

I have to generate a WS Client and I can't decide wich plugin to use. Until now my options are: jaxb2-maven-plugin, axistools-maven-plugin and jaxws-maven-plugin. Thanks in advance ...