Hello guys,
i have big problems with objects in webservices.
I have objects beginning with capital letters like "XDArtikelList" in webservice webmethod. After generating a wsdl the capital letters changing into "xdArtikelList".
How can i prevent this ????
I'm searching for days now to prevent this ..... hope someone can help me out !
Thx
For example:
@WebMethod(operationName = "getMMArtikelList")
public @Override XDArtikelList getMMArtikelList (
@WebParam(name = "nLfdMMNr") int nLfdMMNr
, @WebParam(name = "sFilter") String sFilter
, @WebParam(name = "nPers_IdNr") int nPers_IdNr)
{
return super.getMMArtikelList (nLfdMMNr, sFilter, nPers_IdNr);
}
when i generate a wsdl i get following:
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="
http://basedata.ws.qsysmobile.ibsag.com/", ResponseNamespace="
http://basedata.ws.qsysmobile.ibsag.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public xdArtikelList getMMArtikelList([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int nLfdMMNr, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string sFilter, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int nPers_IdNr) {
object[] results = this.Invoke("getMMArtikelList", new object[] {
nLfdMMNr,
sFilter,
nPers_IdNr});
return ((xdArtikelList)(results[0]));
}
[Message sent by forum member 'mammutglassfish' (juppie76_at_gmx.de)]
http://forums.java.net/jive/thread.jspa?messageID=379238