I have a simple cxf service that returns a User Object. When I run this is SOAPUI with the following call:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.baselogic.com/"> <soapenv:Header/> <soapenv:Body> *<ser:findUser> <arg0>9687</arg0> </ser:findUser>* </soapenv:Body> </soapenv:Envelope> I get a valid response User: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns1:findUserResponse xmlns:ns1="http://service.baselogic.com/"> <return> *<ns2:id xmlns:ns2="http://domain.baselogic.com">9687</ns2:id> <ns2:name xmlns:ns2="http://domain.baselogic.com">Mick Knutson</ns2:name>* </return> </ns1:findUserResponse> </soap:Body> </soap:Envelope> But with this Spring client in my Unit Test, I get a User object that has id and name as null: <jaxws:client id="messageServiceClient" serviceClass="com.baselogic.service.MessageService" address="http://localhost:8889/webapp/cxf/MessageService" /> Can anyone help me understand what is wrong with my client? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental: http://tahoe.baselogic.com ---
