This is getting weird.
I increased log level on server to "FINE". Then I got into log:
About to load the system app: __JWSappclients
WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server
[server] at [/__JWSappclients]
"DPL8015: Invalid Deployment Descriptors in Deployment descriptor file
WEB-INF/webservices.xml in archive [Everest-war.war].
Line 9 Column 62 -- cvc-complex-type.2.4.a: Invalid content was found
starting with element 'wsdl-service'. One of
'{"
http://java.sun.com/xml/ns/javaee":wsdl-service,
"
http://java.sun.com/xml/ns/javaee":wsdl-port,
"
http://java.sun.com/xml/ns/javaee":enable-mtom,
"
http://java.sun.com/xml/ns/javaee":protocol-binding,
"
http://java.sun.com/xml/ns/javaee":service-endpoint-interface,
"
http://java.sun.com/xml/ns/javaee":service-impl-bean}' is expected."
"DPL8015: Invalid Deployment Descriptors in Deployment descriptor file
WEB-INF/webservices.xml in archive [Everest-war.war].
Line 9 Column 62 -- cvc-complex-type.2.4.a: Invalid content was found
starting with element 'wsdl-service'. One of
'{"
http://java.sun.com/xml/ns/javaee":wsdl-service,
"
http://java.sun.com/xml/ns/javaee":wsdl-port,
"
http://java.sun.com/xml/ns/javaee":enable-mtom,
"
http://java.sun.com/xml/ns/javaee":protocol-binding,
"
http://java.sun.com/xml/ns/javaee":service-endpoint-interface,
"
http://java.sun.com/xml/ns/javaee":service-impl-bean}' is expected."
webservices.xml is not created automatically by the server?
Richter
Edson Carlos Ericksson Richter escreveu:
> Hi!
>
> I did put package-info.java into correct package (and adjusted package
> declaration according), but didn't work.
> The namespace changed to one I put, but elementFormDefault still don't
> appear.
>
> My WSDL is on http://viking.sytes.net/Everest-war/UsuarioWSService?WSDL
>
> Project package is attached.
> Please, tell me what I'm doing wrong... I must forget something!
>
> There is some kind of upgrade (ur1?) that I should do? I'm using plain
> Glassfish b48 (Sun App Server 9 FCS).
>
>
> Thanks,
>
> Richter
>
>
> Rama Pulavarthi escreveu:
>> You want the "elementFormDefault=qualified" for the schema generated
>> for wrappers.
>> Wrappers generated by wsgen are put in jaxws subfolder of the SEI.
>> So, you should put package-info.java in the corresponding package.
>> i.e package info.everest.webservices.jaxws
>>
>> I tried doing this with your project and it worked fine.
>>
>> thanks,
>> Rama Pulavarthi
>>
>>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net