Hi, I'm using JaxRpcPortProxyFactoryBean to access my webservice. The wsdl URL is secured with HTTP BASIC authentication. Now I have a 401 error when spring try to instantiate the webservice.
I try to add username and password properties to bean configuration but it didn't work.
Is there a way to resolve this problem?
This is my configuration:
Thanks, Claudio.Code:<bean id="sampleService" class="org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean"> <property name="serviceInterface" value="org.test.service.SampleService"/> <property name="wsdlDocumentUrl" value="http://localhost:8080/sample-ejb-session/SampleServiceBean?wsdl"/> <property name="namespaceUri" value="http://service.test.org/jaws"/> <property name="serviceName" value="SampleService"/> <property name="portName" value="SampleServicePort"/> </bean>


Reply With Quote