[jbossws-issues] [JBoss JIRA] (JBWS-3518) static wsdl not recognized

Richard Opalka (JIRA) jira-events at lists.jboss.org
Mon Jul 23 08:53:06 EDT 2012


    [ https://issues.jboss.org/browse/JBWS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707267#comment-12707267 ] 

Richard Opalka commented on JBWS-3518:
--------------------------------------

Please, provide simple test case to reproduce the issue.
It seems to be packaging issue to me.
                
> static wsdl not recognized
> --------------------------
>
>                 Key: JBWS-3518
>                 URL: https://issues.jboss.org/browse/JBWS-3518
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-4.0.2
>            Reporter: Daniele Pirola
>             Fix For: jbossws-cxf-4.1
>
>
> I have an EJB which expose some methods via WS
> @Stateless
> @WebService(endpointInterface = "com.icteam.loyalty.core.service.ProxyAdapterService", serviceName = "ProxyAdapterService", portName = "ProxyAdapterService",
>         targetNamespace = "http://www.icteam.it/loyalty", wsdlLocation = "/META-INF/wsdl/ProxyAdapterService.wsdl")
> public class ProxyAdapter extends AbstractWebService implements ProxyAdapterServiceLocal, ProxyAdapterServiceRemote {
> ...
> }
> This EJB implements those inner interfaces
> @WebService(name = "ProxyAdapterService", targetNamespace = "http://www.icteam.it/loyalty")
> @SchemaValidation
> @SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL, parameterStyle = ParameterStyle.WRAPPED)
> public interface ProxyAdapterService extends IWebService {
>     @Remote
>     public interface ProxyAdapterServiceRemote extends ProxyAdapterService {
>     }
>     @Local
>     public interface ProxyAdapterServiceLocal extends ProxyAdapterService {
>     }
>     @WebMethod
>     @WebResult(name = IResult.RESULT)
>     MemberInfoResult getMemberInfo(@WebParam(name = OPERATION_PARAM) OperationParam operationParam);
> ...
> }
> The EJB and the interfaces are in an ejb jar and a lib jar inside an ear.
> The wsdl specified is in the directory META-INF/wsdl of the ejb jar file.
> When I deploy the ear on jboss-as-7.1.1.Final I got this messages in the server.log
> 12:17:39,130 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] Add Service
>  id=ProxyAdapter
>  address=http://jbossws.undefined.host:8080/loyaltyws/ProxyAdapterService/ProxyAdapter
>  implementor=com.icteam.loyalty.adapter.ProxyAdapter
>  invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
>  serviceName={http://www.icteam.it/loyalty}ProxyAdapterService
>  portName={http://www.icteam.it/loyalty}ProxyAdapterService
>  wsdlLocation=null
>  mtomEnabled=false
>  properties=[org.jboss.as.webservices.metadata.modelEjbComponentViewName -> service jboss.deployment.subunit."loyaltybe.ear"."loyalty-ejb.jar".component.ProxyAdapter.VIEW."com.icteam.loyalty.adapter.ProxyAdapter".SERVICE_ENDPOINT]
> The wsdlLocation is always null and the static wsdl provided isn't recognized by the AS, it still continue to deploy the dynamic wsdl.
> I try to put the attribute wsdlLocation in the interface but still not working.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list