Hi,
I'm using SpringWS to implement some web services that my customer need to consume using PHP and default SOAP extension.
I'm using digest passwords and SimplePasswordValidationCallbackHandler. I have the following configuration:
I also have a "wss-server-config.xml" with the following code:Code:<bean id="passwordValidationHandler" class="org.springframework.ws.soap.security.xwss.callback.SimplePasswordValidationCallbackHandler"> <property name="users"> <props> <prop key="myuser">q5aerTWe74r</prop> </props> </property> </bean>
Interceptors are correctly setted, if I don't authenticate, the services will kick me off (and that's normal behavior)Code:<?xml version="1.0"?> <xwss:SecurityConfiguration xmlns:xwss="[path to ns]"> <xwss:RequireUsernameToken passwordDigestRequired="true" nonceRequired="false" /> </xwss:SecurityConfiguration>
It works very well when I try to query them with SoapUI, but my customer has a lot of difficulties to authenticate with php.
Could you give me any hint on either 1) correctly authenticate on such a service with php or 2) change the authentication strategy so that will work with php and the default soap extension?
I must confess that I don't have solid skills with php, so it's a bit tricky for me to debug it
Any clue will be highly appreciated
Thanks



Reply With Quote
