-
15. Re: JBossWS Plugin gen code problem
mwr0707 Oct 31, 2006 11:57 AM (in response to kalvin)Thanks again Ole,
I tried this again on another machine, and this time, the wstools-configxxxxx.xml file did not get created in Local Settings\Temp.
The wstools error this time was: "The system cannot find the path specified." for obvious reasons.
Regards,
-Mark -
16. Re: JBossWS Plugin gen code problem
omatzura Oct 31, 2006 1:17 PM (in response to kalvin)ok.. where did it get generated instead? (did it get generated at all?)
regards!
/Ole -
17. Re: JBossWS Plugin gen code problem
mwr0707 Oct 31, 2006 3:26 PM (in response to kalvin)I did a search and it does not seem to have been generated at all.
Regards -
18. Re: JBossWS Plugin gen code problem
omatzura Oct 31, 2006 3:59 PM (in response to kalvin)ok.. can you show the output in the log window when running wstools?
regards!
/Ole -
19. Re: JBossWS Plugin gen code problem
mwr0707 Oct 31, 2006 4:26 PM (in response to kalvin)Here's the log window output:
Running JBossWS wstools for [DemoProject] directory: C:\Documents and Settings\mrosenth\workspace2\DemoProject command: cmd.exe /C C:\jboss-4.0.5.GA\bin\wstools.bat -cp build/classes -config C:\DOCUME~1\mrosenth\LOCALS~1\Temp\wstools-config25073.xml -dest C:\Documents and Settings\mrosenth\workspace2\DemoProject\ejbModule =========================================================================" . WSTools Environment . JBOSS_HOME: C:\jboss-4.0.5.GA\bin\\.. . JAVA: \bin\java . JAVA_OPTS: . =========================================================================" . The system cannot find the path specified.
Thanks! -
20. Re: JBossWS Plugin gen code problem
omatzura Oct 31, 2006 4:31 PM (in response to kalvin)thanks!
and there is no
C:\DOCUME~1\mrosenth\LOCALS~1\Temp\wstools-config25073.xml file
in the filesystem? strange indeed.. this is just created using the standard File.createTempFile( "wstools-config", ".xml" );
hmm...
/Ole -
21. Re: JBossWS Plugin gen code problem
mwr0707 Oct 31, 2006 4:50 PM (in response to kalvin)That is correct. Strange indeed.
-
22. Re: JBossWS Plugin gen code problem
mwr0707 Nov 1, 2006 5:43 PM (in response to kalvin)Hi Ole,
After a reboot, the missing config file issue went away. Go figure...
But the "The system cannot find the path specified." error remained. I finally realized that wstools.bat expects the JAVA_HOME environment variable to be set.
I guess we should ask the wstools team to include the name of the directory entry that can't be found in the error message. Might save some time for someone else. 8-)
Once I fixed that, the errors on both systems are now the same:
"Failed to update deployment descriptor"
As I originally reported.
Regards,
-Mark -
23. Re: JBossWS Plugin gen code problem
omatzura Nov 2, 2006 3:38 AM (in response to kalvin)Thanks for your feedback Mark.. this looks like a bug in the plugin.. will be fixed in next beta.. I'll let you know..
regards!
/Ole -
24. Re: JBossWS Plugin gen code problem
mwr0707 Nov 2, 2006 7:38 AM (in response to kalvin)Thanks Ole,
Do you also see the issue where the generated jaxrpc-mapping.xml and webservices.xml fail validation?
This is appears to be a result of being unable to locate j2ee_1_4.xsd.
Regards -
25. Re: JBossWS Plugin gen code problem
mwr0707 Nov 2, 2006 7:45 AM (in response to kalvin)Looking at the JBoss installation, I see that copies of all of these schemas reside in the JBoss docs/schema directory.
Is there a preference I should be setting to cause Eclipse to validate against local copies of the schemas?
Regards -
26. Re: JBossWS Plugin gen code problem
mwr0707 Nov 2, 2006 8:26 AM (in response to kalvin)As an example, this modified version of webservices.xml validates without error:
<?xml version="1.0" encoding="UTF-8"?> <webservices xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:impl='urn:com.acme' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee file:/C:/jboss-4.0.5.GA/docs/schema/j2ee_web_services_1_1.xsd" version="1.1"> <webservice-description> <webservice-description-name>PowerService</webservice-description-name> <wsdl-file>META-INF/wsdl/PowerService.wsdl</wsdl-file> <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file> <port-component> <port-component-name>PowerServicePort</port-component-name> <wsdl-port>impl:PowerServicePort</wsdl-port> <service-endpoint-interface>com.acme.PowerService</service-endpoint-interface> <service-impl-bean> <ejb-link>PowerService</ejb-link> </service-impl-bean> </port-component> </webservice-description> </webservices>
Note the xsi:schemaLocationxsi:schemaLocation="http://java.sun.com/xml/ns/j2ee file:/C:/jboss-4.0.5.GA/docs/schema/j2ee_web_services_1_1.xsd"
-
27. Re: JBossWS Plugin gen code problem
pringleuc Jun 18, 2007 2:45 PM (in response to kalvin)I have the same problem, did you find a solution?