Can you package up a small testcase for this? I just checked and we have system test for this so at least some parts of this work.
Thanks! Dna On Friday 01 October 2010 8:55:11 am WR Berkley wrote: > I am trying to set elementFormDefault="qualified". I have read that to do > this I need to place a package-info.java in the package of the web service. > > My package-info looks like this: > > @javax.xml.bind.annotation.XmlSchema(namespace = > "http://service.aps.bts.com", elementFormDefault = > javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package > com.bts.aps.service; > > And the top of the interface looks like: > > package com.bts.aps.service; > @WebService > public interface APSService { > > > And the top of the impl class looks like > > package com.bts.aps.service; > @WebService(endpointInterface = "com.bts.aps.service.APSService", > serviceName = "APSService") > public class APSServiceImpl implements APSService { > > > But still my wsdl comes out like this: > <xs:schema attributeFormDefault="unqualified" > elementFormDefault="unqualified" targetNamespace=" > http://service.aps.bts.com/"> > > > What am I missing? Is package-info the right way to do this? -- Daniel Kulp [email protected] http://dankulp.com/blog
