wood burning stoves 2.0*
The moose likes Web Services and the fly likes What does this mean: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "What does this mean: "Required white space was missing" " Watch "What does this mean: "Required white space was missing" " New topic
Author

What does this mean: "Required white space was missing"

Masrudyn Main
Greenhorn

Joined: May 13, 2009
Posts: 20
I'm using Web Services Explorer in Eclipse to test my web service but I get the following error:

The SOAP response failed schema validation. Please switch to the source view for the SOAP response in XML format.
Required white space was missing. Error processing resource


Here's my SOAP request:

- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://www.csapi.org/schema/parlayx/terminal_location/notification/v2_2/local" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <q0:locationNotification>
<q0:correlator>corr</q0:correlator>
- <q0:data>
<address>tel:659556864</address>
<reportStatus>Retrieved</reportStatus>
</q0:data>
<q0:criteria>Entering</q0:criteria>
</q0:locationNotification>
</soapenv:Body>
</soapenv:Envelope>


Can someone help? Is there something wrong with my WSDL file?
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187

How come the address and reportStatus elements are not qualified with the q0 namespace?
Masrudyn Main
Greenhorn

Joined: May 13, 2009
Posts: 20
is that the cause of the problem? The XML string was constructed by the code stubs by JAXWS wsgen
Masrudyn Main
Greenhorn

Joined: May 13, 2009
Posts: 20
i solved the problem - I didn't specify the correct endpoint URL in my WSDL.. so when the client was trying to consume my webservice, the app server was throwing the default HTML page.. thanks for reading this post
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does this mean: "Required white space was missing"