Results 1 to 1 of 1
Thread: Webservice wizard error?
- 08-10-2007, 02:46 AM #1
Member
- Join Date
- Aug 2007
- Posts
- 2
- Rep Power
- 0
Webservice wizard error?
hi, sorry to bother, but I'm using the netbeans 5.5 wizard to create a webservice client from a wsdl which i think was created in .net framework. So, this webservice belongs to ActivPlant, a program which is installed in another computer of my network, and I'm trying to invoke it using the wizard, but when i do it it gives me back this error:
wsimport-client-clean-ApReporting.asmx:
init:
wsimport-init:
wsimport-client-check-ApReporting.asmx:
wsimport-client-ApReporting.asmx:
warning: src-resolve: Cannot resolve the name 's:schema' to a(n) 'element declaration' component.line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
error: undefined element declaration 's:schema'
line 0 of file:/C:/Documents%20and%20Settings/Administrator/JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl#types?schema1
Command invoked: wsimport "C:\Program Files\Java\jdk1.6.0_02\jre\bin\java.exe" -d "C:\Documents and Settings\Administrator\JavaApplication4\build\gene rated\wsimport\binaries" -keep -s "C:\Documents and Settings\Administrator\JavaApplication4\build\gene rated\wsimport\client" -catalog "C:\Documents and Settings\Administrator\JavaApplication4\catalog.xm l" "C:\Documents and Settings\Administrator\JavaApplication4/xml-resources/web-service-references/ApReporting.asmx/wsdl/ap5mpr/Activplant/ApReportService/ApReporting.asmx.wsdl" -p javaapplication4.newpackage -wsdllocation http://ap5mpr/Activplant/ApReportSer...ting.asmx?WSDL
C:\Documents and Settings\Administrator\JavaApplication4\nbproject\ build-impl.xml:264: wsimport failed
BUILD FAILED (total time: 3 seconds)
could somebody tell me please how to make it work using the wizard? i need this webservice client working in a few days, and I barely know anything about java language or methods, so if any of you know how to make it work it would be of great help. In case this is not possible, it would also be of help to learn how to invoke a method from a service when all I have is the .wsdl Thanks
Similar Threads
-
Problems with a complex datatype in a webservice
By lichtbringer in forum Web FrameworksReplies: 2Last Post: 10-29-2008, 05:32 AM -
Writing webservice client
By javaplus in forum Web FrameworksReplies: 0Last Post: 12-19-2007, 10:10 AM -
Disable BACK and CANCEL buttons in wizard
By consutes in forum SWT / JFaceReplies: 2Last Post: 11-12-2007, 09:37 PM -
Netbeans Wizard?
By SwinGirl in forum Java TutorialReplies: 3Last Post: 11-08-2007, 04:34 PM -
Webservice ain't working?
By marcelman in forum NetworkingReplies: 0Last Post: 08-10-2007, 02:48 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks