Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2007, 03:48 AM
Member
 
Join Date: Aug 2007
Posts: 2
marcelman is on a distinguished road
Webservice ain't working?
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Axis Client accessing data on .Net webservice cfacile666 Web Frameworks 2 06-24-2008 12:09 PM
Problems with a complex datatype in a webservice lichtbringer Web Frameworks 1 05-20-2008 03:12 PM
Writing webservice client javaplus Web Frameworks 0 12-19-2007 11:10 AM
Webservice wizard error? marcelman NetBeans 0 08-10-2007 03:46 AM
Working With ANT JavaForums Eclipse 0 04-26-2007 09:16 PM


All times are GMT +3. The time now is 12:12 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org