This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 99751 - Not Able to create WebService from WSDL
Summary: Not Able to create WebService from WSDL
Status: CLOSED DUPLICATE of bug 100718
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@webservices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-03 07:00 UTC by deepakhp
Modified: 2008-10-17 12:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ErrorWindow (42.62 KB, application/octet-stream)
2007-04-03 07:01 UTC, deepakhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deepakhp 2007-04-03 07:00:05 UTC
1. Create a EJB module.
2. Create XSD file and WSDL file
3. Select "Create WebService From WSDL" and choose the WSDL

WebService is not created.

I see the following lines in output window.

init:
wsimport-init:
wsimport-service-check-TestWebService:
wsimport-service-TestWebService:
Consider using <depends>/<produces> so that wsimport won't do unnecessary
compilation
command line: wsimport -d "C:\Documents and
Settings\dh112019\Desktop\Test\HulaTest\EJBModule\build\jar" -extension -keep -s
"C:\Documents and
Settings\dh112019\Desktop\Test\HulaTest\EJBModule\build\generated\wsimport\service"
-catalog "C:\Documents and
Settings\dh112019\Desktop\Test\HulaTest\EJBModule\catalog.xml" -verbose
"C:\Documents and
Settings\dh112019\Desktop\Test\HulaTest\EJBModule/src/conf/xml-resources/web-services/TestWebService/wsdl/TestWSDL.wsdl"
parsing WSDL...


[WARNING] R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed
in doc/lit or rpc/lit for soapbind:fault: "fault1"
  line 39 of
file:/C:/Documents%20and%20Settings/dh112019/Desktop/Test/HulaTest/EJBModule/src/conf/xml-resources/web-services/TestWebService/wsdl/TestWSDL.wsdl

generating code...
org\netbeans\j2ee\wsdl\testwsdl\TestWSDLOperationFault.java
org\netbeans\j2ee\wsdl\testwsdl\TestWSDLPortType.java
org\netbeans\j2ee\wsdl\testwsdl\TestWSDLService.java
org\netbeans\xml\schema\testschema\FaultType.java
org\netbeans\xml\schema\testschema\ObjectFactory.java
org\netbeans\xml\schema\testschema\package-info.java
BUILD SUCCESSFUL (total time: 4 seconds)
Comment 1 deepakhp 2007-04-03 07:01:07 UTC
Created attachment 40295 [details]
ErrorWindow
Comment 2 deepakhp 2007-04-03 07:02:00 UTC
I'm using 070402_15 build of NB6.
Comment 3 _ gmpatil 2007-04-04 18:41:54 UTC
Looks like issue with handling space in WSDL path.
Assigning to Webservice project.
Comment 4 Lukas Jungmann 2007-04-13 02:23:08 UTC
Yup, this is caused by space in path. See also issue 100718 (the dup).

*** This issue has been marked as a duplicate of 100718 ***
Comment 5 deepakhp 2007-04-18 07:14:36 UTC
Verified that webservice can be successfully created in a PATH that contains no
spaces. 
I will close the bug when the space issue is resolved.
Comment 6 deepakhp 2008-10-17 12:40:29 UTC
Closing the bug, since the original bug is already verified