On Tuesday 04 January 2011 11:31:11 am [email protected] wrote: > Hello, > > I get this error while trying to use a WS client: > ____________________ > javax.xml.bind.UnmarshalException : org.apache.cxf.interceptor.Fault: > Unmarshalling Error: unexpected element (uri:"", local:"String"). Expected > elements are <{}name>,<{}string> > ______________________ > > I'm not why this occurs, but client is initialized with the java code from > wsdl2java. > > Any idea ?
Well, what does the wsdl/schema say it should be? We'd need to see the wsdl/schema along with the soap message (capture with Logging interceptors or wireshark or similar) to see if it's really valid according to the wsdl. -- Daniel Kulp [email protected] http://dankulp.com/blog
