axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Axis client in Spring
Date Thu, 06 Sep 2007 06:06:02 GMT

Thanks for the hint,but I already searched the spring forum the last 2  
days and had also a look at the AXIS2 built in support, but this built  
in support is used if you want to expose a webservice through Spring  
or am I mistaken that?

My problem is when I do the axis config in spring where i set all my  
parameters like

<bean id="apcWebService"  
     	<property name="serviceInterface" value="apc.ApcRemote"/>
	<property name="serviceName" value="ApcRemoteService"/>
	<property name="lookupServiceOnStartup" value="true"/>
	<property name="wsdlDocumentUrl"  
value="" />
	<property name="namespaceUri" value="uri://"/>
	<property name="portName" value="ApcRemotePort"/>
	<property name="username" value="jam"/>
	<property name="password" value="jam"/>
	<property name="endpointAddress"  
	<property name="serviceFactoryClass"  
value="org.apache.axis.client.ServiceFactory" />

I always receive an authentication problem when spring starts up and  
checks the wsdl file. Mybe I need to choose another webservice tool  
like xFire.



Quoting robert lazarski <>:

> Axis2 has built in spring support - see the docs. For spring in Axis
> 1.x , IIRC you need to use some spring classes themselves that rely on
> some jax-rpc standard stuff. See the spring docs for Axis 1.x - or
> search the spring forums.
> HTH,
> Robert
> On 9/5/07, Jeronimo AZEVEDO <> wrote:
>> Hi,
>> I am trying to get a Axis client with basic http authentication as a
>> bean in the Spring Framework configuration using the
>> applicationContext.xml. I have been looking around in forums and
>> searching the web, but I don't get it. Does anyone has a working axis
>> client in Spring Framework? If so, is it possible to get the config an
>> code on howto to do it?
>> Thanks,
>> J
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message