Hi,
I've got a strange problem since upgrading from spring ws 1.0 m2 to spring ws 1.5.7. We receive a request, that looks like this:
Prior to migration this request was accepted by our project. Now after upgrading to Spring WS 1.5.7, this request doesn't work any more. We get an "Invalid request" message, that's generated by our system - most probably by the Spring Libs:Code:<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns7:GetTreatmentIn xmlns:ns7="http://www.deutsche-bank.com/schemas/rtds/2008/05/gettreatmentin/" xmlns:ns2="http://www.deutsche-bank.com/schemas/rtds/2008/05/gethisttreatmentin/" xmlns="http://www.deutsche-bank.com/schemas/rtds/2008/05/gethisttreatmentout/" xmlns:ns4="http://www.deutsche-bank.com/schemas/rtds/2008/05/handleresponse/" xmlns:ns3="http://www.deutsche-bank.com/schemas/rtds/2008/05/trxinfo/" xmlns:ns5="http://www.deutsche-bank.com/schemas/rtds/2008/05/createcontext/" xmlns:ns6="http://www.deutsche-bank.com/schemas/rtds/2008/05/gettreatmentout/"> <ns7:customerID>999999</ns7:customerID> <ns7:branchID>999</ns7:branchID> <ns7:channelID>03</ns7:channelID> <ns7:language>01</ns7:language> <ns7:realtimeFlag>0</ns7:realtimeFlag> <ns7:authorized>2</ns7:authorized> <ns7:document> <ns7:documentID>03</ns7:documentID> </ns7:document> </ns7:GetTreatmentIn> </S:Body> </S:Envelope>
Changing the request slightly makes our project accept the request:Code:<bean id="endpointExceptionResolver" class="org.springframework.ws.soap.server.endpoint.SoapFaultMappingExceptionResolver"> <property name="defaultFault"> <value>RECEIVER,Server error</value> </property> <property name="exceptionMappings"> <props> <prop key="org.springframework.oxm.UnmarshallingFailureException">SENDER,Invalid request</prop> <prop key="com.chordiant.dm.dedo.DecisionServiceException">RECEIVER,Decision Service error</prop> </props> </property> </bean>
Unfortunately the sent request is not in our hand.Code:<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns7:GetTreatmentIn xmlns:ns7="http://www.deutsche-bank.com/schemas/rtds/2008/05/gettreatmentin/" xmlns:ns2="http://www.deutsche-bank.com/schemas/rtds/2008/05/gethisttreatmentin/" xmlns:xxx="http://www.deutsche-bank.com/schemas/rtds/2008/05/gethisttreatmentout/" xmlns:ns4="http://www.deutsche-bank.com/schemas/rtds/2008/05/handleresponse/" xmlns:ns3="http://www.deutsche-bank.com/schemas/rtds/2008/05/trxinfo/" xmlns:ns5="http://www.deutsche-bank.com/schemas/rtds/2008/05/createcontext/" xmlns:ns6="http://www.deutsche-bank.com/schemas/rtds/2008/05/gettreatmentout/"> <ns7:customerID>999999</ns7:customerID> <ns7:branchID>999</ns7:branchID> <ns7:channelID>03</ns7:channelID> <ns7:language>01</ns7:language> <ns7:realtimeFlag>0</ns7:realtimeFlag> <ns7:authorized>2</ns7:authorized> <ns7:document> <ns7:documentID>03</ns7:documentID> </ns7:document> </ns7:GetTreatmentIn> </S:Body> </S:Envelope>
Is there any way to make Spring WS 1.5.7 accept the first request ?
Best regards
Christian


Reply With Quote