A friendly place for programming greenhorns!
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
»
Java
»
Web Services
Author
SOAP Validation Help Requested
Robert Liguori
Author
Ranch Hand
Joined: Nov 27, 2007
Posts: 426
posted
Apr 27, 2010 07:46:32
0
This code:
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <add xmlns="http://calculator.me.org/" > <i xmlns="">4.0</i> <j xmlns="">2.0</j> </add> </soapenv:Body> </soapenv:Envelope>
Produces this error when validated with NetBeans:
XML validation started. Checking ../soapXmlDocument.xml... cvc-elt.1: Cannot find the declaration of element 'soapenv:Envelope'. [4] XML validation finished.
Any ideas why?
Thanks!
Robert J. Liguori
-
OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: SOAP Validation Help Requested
Similar Threads
XML in Payload, fault returned.
Adding payload to SOAP body
digest value mismatch and disabling pretty printing/formatting of soap message
How to make XML file from WebService responses?
WebSphere V5.1 Application Server SOAP Response
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter