[jboss-user] [JBoss Web Services Users] - Re: having trouble specifying namespace
rsobchak
do-not-reply at jboss.com
Thu Sep 10 15:28:56 EDT 2009
Update:
I removed the SEI so now the web service looks like this
| @WebService(serviceName = "MyEndpointService",
| portName = "MyEndpointPort",
| targetNamespace="http://com.myCompany")
| @WebContext(contextRoot = "/myCompany", urlPattern = "/myWebService")
| @Stateless
|
| public class MyEJB
| {
| public void myMethod(String param1)
| {
| }
| }
|
When this is deployed with JBoss creating the WSDL, the namespace in the WSDL is "http://com.myCompany" with no import of another WSDL.
What am I doing wrong when specifying the SEI and its targetNamespace that causes the WSDL to import another WSDL with the default package as the namespace (and not the targetNamespace)?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254565#4254565
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254565
More information about the jboss-user
mailing list