Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » @XmlSchema for a metro webservice
@XmlSchema for a metro webservice [message #675968] Thu, 02 June 2011 08:15
Cristian Prevedello is currently offline Cristian PrevedelloFriend
Messages: 33
Registered: June 2011
Not sure if this is the right place but after an extensive search on the net the problem i have might be scattered all along the pipeline eclipse-glassfish metro.

What i'm trying to achieve is very simple: set elementFormDefault to qualified for a web service.

what i did has been adding a to the package where my webservice is in, and add the following piece of code
@XmlSchema ( elementFormDefault=javax.xml.bind.annotation.XmlNsForm.QUALIFIED,

xmlns = {
@javax.xml.bind.annotation.XmlNs(prefix = "services", namespaceURI="myHTTPurl"),

package com.viewshape.webservices;

import javax.xml.bind.annotation.XmlSchema;

my webservice class starts as:

@WebService(name = "XXXXDAOWebService" , targetNamespace = "myHTTPurl")

style = SOAPBinding.Style.DOCUMENT,
use = SOAPBinding.Use.LITERAL,
parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
public class ViewShapeDAOWS


unfortunately my wsdl has not qualified attributes nor's like package-info is completly ignored.

if i look into glassfish deployment directory i can see my webservice class along with my so everything should be in place.

in the past i saw ant had a problem that would prevent to correctly deploy package-info...but now it should be fixed, then why is it not working?

thank you in advance.
Previous Topic:xml autocomplete from schema
Next Topic:Code Hinting on JSP with Custom Tags (taglib)
Goto Forum:

Current Time: Tue Oct 13 18:37:33 GMT 2015

Powered by FUDForum. Page generated in 0.01719 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software