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?

Reply via email to