This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Websphere and the fly likes EJB Webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "EJB Webservice" Watch "EJB Webservice" New topic
Author

EJB Webservice

Sankar Tanguturi
Greenhorn

Joined: Feb 18, 2003
Posts: 17
Hi,
I tried to create a web service for a stateless EJB using WSAD 5.0. After the web service was created, I got a message saying that some of the types were invalid. I noticed for a couple of XSD files generated for the classes used by the service, there were error messsages. The source seems to be failure to read some imported schemas. But some other XSDs that had similar import statements had no errors. Can any one help me figure out what is wrong ?
Here are the messages WSAD reported for one XSD :
KindStatusPriorityDescriptionResourceIn FolderLocation
Warningsrc-import.0: Failed to read imported schema document 'http://schemas.xmlsoap.org/wsdl/'.WsPlan.xsdRateEngineWSWeb/Web Content/wsdl/com/agac/rateengine/wsline 9
Warningsrc-import.0: Failed to read imported schema document 'http://schemas.xmlsoap.org/wsdl/'.WsPlan.xsdRateEngineWSWeb/Web Content/wsdl/com/agac/rateengine/wsline 9
Warningsrc-import.0: Failed to read imported schema document 'http://schemas.xmlsoap.org/soap/encoding/'.WsPlan.xsdRateEngineWSWeb/Web Content/wsdl/com/agac/rateengine/wsline 10
Warningsrc-import.0: Failed to read imported schema document 'http://schemas.xmlsoap.org/soap/encoding/'.WsPlan.xsdRateEngineWSWeb/Web Content/wsdl/com/agac/rateengine/wsline 10
Errorsrc-resolve: Cannot resolve the name 'soapenc:Array' to a(n) type definition component.WsPlan.xsdRateEngineWSWeb/Web Content/wsdl/com/agac/rateengine/wsline 13
Errorsrc-resolve: Cannot resolve the name 'soapenc:Array' to a(n) type definition component.WsPlan.xsdRateEngineWSWeb/Web Content/wsdl/com/agac/rateengine/wsline 13
Thanks,
Sankar
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: EJB Webservice
 
Similar Threads
simple array in WSAD 5.0 web service. is it possible?
Soap with attachments
xsd compilation problem
Problem when create client for web services because of XSD import url
string[] definiton error in xsd file generated with WSAD