Results 1 to 3 of 3

Thread: Empty SOAP header in SoapActionEndpointMapping

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Posts
    16

    Default 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

  2. #2
    Join Date
    Feb 2010
    Posts
    16

    Default

    Problem solved. Wrong logger settings were used. SOAP header is present and logged correctly now.

  3. #3
    Join Date
    Apr 2005
    Posts
    5

    Default 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •