Error when adding wsp:policy to wsdl file
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 1
- Joined: Tue Jun 17, 2014 12:08 pm
Error when adding wsp:policy to wsdl file
Post by ani@openminds.dk »
Hi
I am new to oxygen - and are working with webservice, eg. wsdl, ws-security and policies. However when adding wsp:policy to our wsdl file the error below occurs:
Description
cvc-complex-type.2.4.a: Invalid content was found starting with element '{"http://www.w3.org/ns/ws-policy":Policy}'. One of '{"http://schemas.xmlsoap.org/wsdl/":service, "http://schemas.xmlsoap.org/wsdl/":import, "http://schemas.xmlsoap.org/wsdl/":types, "http://schemas.xmlsoap.org/wsdl/":message, "http://schemas.xmlsoap.org/wsdl/":portType, "http://schemas.xmlsoap.org/wsdl/":binding}' is expected.
Severity
Error
System ID
/Users/MacAni/Documents/om/BD/bc-sec.wsdl
Main validation file
/Users/MacAni/Documents/om/BD/bc-sec.wsdl
Engine name
Xerces
Start location
line: 435, column: 5
End location
line: 435, column: 15
Additional info
http://www.w3.org/TR/xmlschema-1/#cvc-complex-type
Are we missing something ?
Regards
Aage Nielsen
I am new to oxygen - and are working with webservice, eg. wsdl, ws-security and policies. However when adding wsp:policy to our wsdl file the error below occurs:
Description
cvc-complex-type.2.4.a: Invalid content was found starting with element '{"http://www.w3.org/ns/ws-policy":Policy}'. One of '{"http://schemas.xmlsoap.org/wsdl/":service, "http://schemas.xmlsoap.org/wsdl/":import, "http://schemas.xmlsoap.org/wsdl/":types, "http://schemas.xmlsoap.org/wsdl/":message, "http://schemas.xmlsoap.org/wsdl/":portType, "http://schemas.xmlsoap.org/wsdl/":binding}' is expected.
Severity
Error
System ID
/Users/MacAni/Documents/om/BD/bc-sec.wsdl
Main validation file
/Users/MacAni/Documents/om/BD/bc-sec.wsdl
Engine name
Xerces
Start location
line: 435, column: 5
End location
line: 435, column: 15
Additional info
http://www.w3.org/TR/xmlschema-1/#cvc-complex-type
Are we missing something ?
Regards
Aage Nielsen
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Error when adding wsp:policy to wsdl file
Hi,
Please note that currently (v16.0) Oxygen does not support ws-security and policies.
However, from what I've tested, the WSDL validation in Oxygen does not complain about the wsp:Policy.
In what context are you using wsp:Policy and get that error? Could you please provide a simple code snippet?
Regards,
Adrian
Please note that currently (v16.0) Oxygen does not support ws-security and policies.
However, from what I've tested, the WSDL validation in Oxygen does not complain about the wsp:Policy.
In what context are you using wsp:Policy and get that error? Could you please provide a simple code snippet?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service