[jboss-user] [JBossWS] - Re: Enforcing a WSDL without doing WSDL first development (t

dwin do-not-reply at jboss.com
Mon Jan 15 17:22:14 EST 2007


Ok, just found a way...

you put the wsdl in the META-INF folder which is the root,
so if you have a file META-INF/wsdl/myWSDL.wsdl

your annotation would look like such
@WebService (wsdlLocation='META-INF/wsdl/myWSDL.wsdl")

However, it seems that the changes I made to META-INF/wsdl/myWSDL.wsdl do not make it to the http://myurl.../myapp?wsdl.  

Thus, the wsdlLocation the actual wsdl document that is used by JBossWS.  It appears that the WSDL is generated (at runtime) regardless of whether wsdlLocation is present or not.  

can the JBoss guys clarify this for me?  Basically, wsdlLocation is the not the wsdl used, that the WSDL is generated regardless of whether wsdlLocation is there or not.  



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001972#4001972

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001972



More information about the jboss-user mailing list