Hi,

Thanks for that. I tried it but I still get the same authentication error. For the client do I have to setup also my web.xml file? I don't think so.

Quoting "Боян Иванов(Boyan Ivanov)" <[EMAIL PROTECTED]>:

Here's part of my spring.xml file.
Hope it helps.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"spring-beans.dtd">
<beans>
  <bean id="hellows"
class="org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean">
    <property name="wsdlDocumentUrl">
      <value>http://localhost:8080/axis2/services/HelloImpl?wsdl</value>
    </property>
    <property name="serviceInterface">
      <value>bg.bivanov.webservice.Hellows</value>
    </property>
    <property name="namespaceUri">
      <value>http://bivanov</value>
    </property>
    <property name="serviceName">
    <!--  <value>HelloImplService</value> -->
       <value>HelloImpl</value>
    </property>
    <property name="portName">
      <value>HelloImplSOAP12port_http</value>
    </property>
   <property name="serviceFactoryClass">
            <value>org.apache.axis.client.ServiceFactory</value>
        </property>
     </bean>

  <bean id="hellowsclient" class="bg.bivanov.webservice.HellowsImpl">
    <property name="service" ref="hellows"/>
</bean>
</beans>

This is the interface, containing the methods of your service.
 <property name="serviceInterface">
      <value>bg.bivanov.webservice.Hellows</value>

Boyan Ivanov


На сряда 05 септември 2007, 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to