Empty SOAP header in SoapActionEndpointMapping
Hi,
SoapActionEndpointMapping receive empty SOAP header.
Code:
<bean id="endpointMapping" class="org.springframework.ws.soap.server.endpoint.mapping.SoapActionEndpointMapping">
<property name="mappings">
<props>
<prop key="CreateUser">createUserEndpoint</prop>
</property>
</bean>
I send following request
Code:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsc="http://custom/common" xmlns:ws="http://custom/user">
<soapenv:Header>
<wsc:auth>
<wsc:App>DFL</wsc:App>
<wsc:Version>5</wsc:Version>
</wsc:AutHeader>
</soapenv:Header>
<soapenv:Body>
<ws:CreateUserInputArgs>
<ws:UserData>
<ws:Id>1</ws:Id>
<ws:UserType>F</ws:UserType>
</ws:UserDataId>
</ws:UserData>
</ws:CreateUserInputArgs>
</soapenv:Body>
</soapenv:Envelope>
What could be a problem?
I use spring-ws 1.5.9
endpoint mapping, send message
Hi Molyakov, I have endpoint mapping like below, how do I send messages to the endpoint using SOAPUI or any other method ?, because I dont see a wsdl to call an operation.Please advice.
<bean id="endpointMapping" class="org.springframework.ws.soap.server.endpoint .mapping.SoapActionEndpointMapping">
<property name="mappings">
<props>
<prop key="http://localhost:8080/sitesting/sampleTestRequest">createUserEndpoint</prop>
</props>
</property>
</bean>
Thanks
Pradeep