aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes error deploying ejb web service to weblogic, built using netbeans 6.8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "error deploying ejb web service to weblogic, built using netbeans 6.8" Watch "error deploying ejb web service to weblogic, built using netbeans 6.8" New topic
Author

error deploying ejb web service to weblogic, built using netbeans 6.8

Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
I've got a strange issue that is stumping me, so am interested to know what you guy think of this.

I have a wsdl file that I know works, and my goal is to rebuild the webservice without changing the wsdl file such that it deploys on weblogic 10.3.0.

when I create the web service "test" using test.wsdl, I specify a package name "com.test"

it creates com.test, with test.java ready for my personal coding....but it also creates "generated sources" with 2 folders:

1. com.bea.examples.test -> for all web service specific files
2. java.com_test -> for all bean classes needed for the wsdl file

it builds fine.

when I deploy it on weblogic 10.3.0 I get a security exception because of the package name "java.com_test". I have tried to make sure that the project uses the same version of java that the weblogic 10.3.0 has, but still no success. I think it has to do with that funny underscore in the name, this doesn't appear like this in other projects which work just fine. but it won't let me rename the directory, or refactor the files. (I think because it is a generated code)

does anyone have experience seeing this sort of thing before? or is this a netbeans bug....(it shouldn't create a package name that causes a security exception)
Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
how do you set netbeans to NOT create generated sources?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error deploying ejb web service to weblogic, built using netbeans 6.8