axis

What is the difference between an endpoint, a service, and a port when working with webservices?

I've used Apache CXF to expose about ten java classes as web services. I've generated clients using CXF, Axis, and .NET. In Axis and CXF a "Service" or "Locator" is generated. From this service you can get a "Port". The "Port" is used to make individual calls to the methods exposed by the web service. In .NET the "Service" directly e...

How can I get Axis 1.4 to not generate several prefixes for the same XML namespace?

I am receiving SOAP requests from a client that uses the Axis 1.4 libraries. The requests have the following form: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; <soa...

Is there a way to tell WCF to use security in the request, but ignore it on the response?

We have to connect to a third party SOAP service and we are using WCF to do so. The service was developed using Apache AXIS, and we have no control over it, and have no influence to change how it works. The problem we are seeing is that it expects the requests to be formatted using Web Services Security, so we are doing all the correct ...

apache axis ConfigurationException

I am using apache axis to connect my java app to a web server. I used wsdl2java to create the stubs for me, but when I try to use the stubs, I get the following exception: org.apache.axis.ConfigurationException: No service named is available any idea? ...

Microsoft Reporting Services WebServices and Java

Has anyone successfully implemented a Java based solution that uses Microsoft SQL Server 2005 Reporting Services? Reporting Services comes with a set of Web Services that allow you to control the creation of a report, execution of a report, etc and I am just starting development on a POC of this integration. A couple of choices I have ...

Controlling flex chart axes

I want to use small flex charts with just 3 labels, for example a chart over the past 2 hours , with 3 horizontal label, as shown below: | | | 9:46 10:46 11:46 (of course, there are more than 3 values to display!) I have been told this is not trivial, but how would you do it? Also, do you know of any books ...

Webservice toolkits in Java that can interface with WCF

We've got some problems with an external company trying in integrate into a WCF service we expose and they are a Java shop. I was wondering if there are more than one toolkit that they can try to solve their issues and would like a list to suggest to them but I'm not familiar with the Java world at all. Essentially they've got some memo...

Web Service throwing exception using Axis2 Java

Hi, I'm actually developing a Web Service in Java using Axis 2. I designed my service as a POJO (Plain Old Java Object) with public method throwing exceptions : public class MyService { public Object myMethod() throws MyException { [...] } } I then generated the WSDL using Axis2 ant task. With the WSDL I generate a clien...

How do I fix this error: http_client.c(227) Error creating a socket. Most probably error returned by OS

I am in the process of setting up the wso2 php web services framework on my ubuntu 8.04 development server. However my webservice is failing. Looking into the wsf_client.log (custom log for the framework) file gives me the error in the question. I belive the error is returned from axis, but I have no idea how to fix it and would be gra...

Don't understand how Axis works if I haven't installed it?

Forgive my ignorance - still learning here. I am using Eclipse Ganymede (Java 1.5) and have been experimenting with web services - I have mangaged to get a simple web service up and running and the nice wizard you get in Eclipse generates all the necessary bits and pieces e.g. wsdl file etc - and you can test the service and everthing e...

Encryption of SOAP message in Axis 2

Hi, I need to use encryption (and signature) for a web-service (server side). I use axis2 and successfully added the rampart module (for WS-Security implementation). But rampart page (http://ws.apache.org/axis2/modules/rampart/1_2/security-module.html) is missing examples and the sample file are not really documented. So my question is ...

spring + tomcat + axis2 == jax-ws web service ?

I'm looking for a straightforward example / tutorial for implementing a JAX-WS (soap1.1 and soap1.2) web service based on wsdl definition using spring, axis2 and tomcat. hint anyone ? -- Yonatan ...

How can I automatically calculate axis scale and intervals?

Does anyone know where I can find an algorithm that given a set of values (dates) for an axis I can calculate a reasonable scale and tick interval? ...

Patterns : Java class conversion from axis objects.

I use a axis to auto-generate webservice artifacts which I then convert into objects used within our application. Is there a sensible pattern for doing this ? We have written transform methods to output our objects from the axis created objects, at other times we have written an intermediate set of transformer classes that transform the ...

Using complex data types from Java in Axis webservice

I am currently developing a Java app which handles a SOAP webservice. The problem lies after I parse the WSDL [the Parser object from Apache Axis does it for me], and I create the call. When I try to invoke it, I have to pass a Object[] to assign the parameters [taken from the Action of the WSDL]. A normal action is easy, but when I ...

unmarshalling an axis generated (multiref containing) soap response with jaxb

hi! I'm consuming an axis 1.4 web service that returns soap responses that I want to unmarshal into my domain objects using jaxb annotations. My initial tests worked very well until some of the returned messages had multiRef elements. Objects that were marshalled using multiRef were showing up as null in my client side annotated model ...

Https WebService message: Message did not contain a valid Security Element

I am using axis 2 webservice client. The first https call to the webservice throws a exception with the message: "Message did not contain a valid Security Element". I think that the problem could be the security mode: maybe it has to be message level security. In this case, how can I configure it in axis?. The code: System.setPropert...

undeclared identifier SO_EXCLUSIVEADDRUSE when building Apache Axis2/C

I'm attempting to build Apache Axis2/C (actually I'm building the WSO2 WSF/C++ wrapper for it) and it keeps giving me an error when it comes across the symbol SO_EXCLUSIVEADDRUSE. It's a socket option, and MSDN says it should be available. I'm using MSVC++ 6.0 on Win Server 2k3. I don't have a choice about the compiler or the OS... if...

Webservice with castor Serialzer

Does anyone know how to generate an axis webservice with castor serializer / deserializer? Current situation: axis webservice has to be build from wsdl with xsd and castor serialization build process has to be automated with an ant script the standard way is to create webservice sources with wsdl2java and then replace the pojos with t...

Implementation of WS-ReliableMessaging for Axis 1.4.

Do you know what implementation's of WS-ReliableMessaging for Axis 1.4 you have used? ...