Few questions: 1) Is there a wsdl for this service?
2) How is your factory configured/created? Do you have the code? 3) Is your factory a simple frontend or jaxws? If jaxws, is the UserManager class properly annotated? It looks like the service is either RPC/Literal or it's using a mix of schema qualifications. The schema with the targetNamespace of: http://service.baselogic.com/ seems to be unqualified and the schema with targetNamespace of: http://domain.baselogic.com is qualified. Do you have generated types for the http://service.baselogic.com stuff or are you letting CXF do it? Most likely, the best bet is to go with the JAX-WS factory and make sure the interface is properly annotated. Dan On Monday 14 April 2008, Mick Knutson wrote: > I am trying to setup a UserService via Spring that takes a userId, and > returns a User object. > > I setup a LoggingInterceptor, and I seem to be getting a user object > back: *INFO: Outbound Message > --------------------------- > Encoding: UTF-8 > Headers: {SOAPAction=[""], Accept=[*]} > Messages: > Payload: <soap:Envelope xmlns:soap=" > http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:getUser > xmlns:ns1="http://service.baselogic.com/"> > <userId>-1</userId></ns1:getUser></soap:Body></soap:Envelope> > -------------------------------------- > 14-Apr-2008 10:02:32 org.apache.cxf.interceptor.LoggingInInterceptor > logging INFO: Inbound Message > ---------------------------- > Encoding: UTF-8 > Headers: {Content-Length=[1576], Date=[Mon, 14 Apr 2008 17:02:32 GMT], > SOAPAction=[""], Server=[Apache-Coyote/1.1], > content-type=[text/xml;charse t=UTF-8]} > Messages: > Message: > > Payload: <soap:Envelope xmlns:soap=" > http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:getUserResp >onse xmlns:ns1="http://service.baselogi > c.com/"><return><ns2:address xmlns:ns2="http://domain.baselogic.com > "><ns2:address>725 Florida Street #5</ns2:address><ns2:city>San > Francisco</ns2 > > :city><ns2:country>US</ns2:country><ns2:id>-1 > > </ns2:id><ns2:postalCode>94110</ns2:postalCode><ns2:province>CA</ns2:p >rovince><ns2:version>1</ns2:ve rsion></ns2:address><ns2:confirmPassword > xmlns:ns2=" > http://domain.baselogic.com" xmlns:ns3=" > http://www.w3.org/2001/XMLSchema-instance" ns3:nil="t > rue" /><ns2:email xmlns:ns2="http://domain.baselogic.com"> > [EMAIL PROTECTED]</ns2:email><ns2:firstName xmlns:ns2=" > http://domain.baselogic.com" > > >Mick</ns2:firstName><ns2:id > > xmlns:ns2="http://domain.baselogic.com">-1</ns2:id><ns2:lastName > xmlns:ns2="http://domain.baselogic.com">Knutson</ns > 2:lastName><ns2:password > xmlns:ns2="http://domain.baselogic.com">12dea96fec20593566ab75692c9949 >596833adc9</ns2:password><ns2:passwordHint xmlns:n > s2="http://domain.baselogic.com">A male > kitty.</ns2:passwordHint><ns2:phoneNumber xmlns:ns2=" > http://domain.baselogic.com">(415) 555-1804</ns2:pho > neNumber><ns2:roles xmlns:ns2="http://domain.baselogic.com" > xmlns:ns3=" http://www.w3.org/2001/XMLSchema-instance" ns3:nil="true" > /><ns2:username > xmlns:ns2="http://domain.baselogic.com">mickknutson</ns2:username><ns2 >:version > xmlns:ns2="http://domain.baselogic.com">1</ns2:version><ns2:websit e > xmlns:ns2="http://domain.baselogic.com">http://baselogic.com > </ns2:website></return></ns1:getUserResponse></soap:Body></soap:Envelo >pe> * > > > So when I do this: > > *UserManager userManager = (UserManager) factory.create();* > then *userManager.getUser("-1");* I get a <null> User Object. Not the > object I see in my soap envelope above. > > How do I get my User Object? All the examples I see show me to do the > same thing I am already doing, but this does not work.... > Thanks for your help.... -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog