WEB-Services / SOAP

Moderators: None (Apply to moderate this forum)
Number of threads: 97
Number of posts: 124

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
WS-I BP1.2 validation of headerfault element in RPC-literal style. Posted by barbanegra on 19 Jan 2011 at 7:45 AM
Hi everybody, this is my first post in the forum.
I read you a lot, but never needed to post before (most questions were already answered ).

I would appreciate some help with a WSDL validation issue I'm having.
I have this legacy RPC-literal style WSDL file in which I'm trying to add WS-Policy references. The WSDL validates against BP 1.1 (doesn't support wsp:PolicyReference elements), but not against BP 1.2/2.0, and I have no clue on how to get around it.

When running WS-I BP 1.2 validation (2.0 is quite similar, must force soap 1.2 though) the report fails on BP2113 and BP2114. The BP2114 assertion fail is a consequence of the BP2113 one. I was able to track (by removing elements one by one and validating the WSDL) the issue down to the headerfault element (the header element is fine, only headerfault causes the validation error), but I don't really know why.

The Assertion Description is:
When they contain references to message parts, the soapbind:header, soapbind:headerfault and soapbind:fault elements only refer to wsdl:part element(s) that have been defined using the "element" attribute.

I'm attaching the WSDL. You may notice that the fault message is declared with an element (as in Document style) as it is supposed to.
I just don't know where the error is coming from.
Can anyone help me on this?.
Any hints will be greatly appreciated.
I look forward to your answers.
Regards,
Barba
Report
Re: WS-I BP1.2 validation of headerfault element in RPC-literal style. Posted by barbanegra on 21 Jan 2011 at 1:36 AM
Sorry.
Somehow the attachement functionality refuses to work.
Attachment: RetailerServicePortImp-XML_Retoc.zip (1222 Bytes | downloaded 133 times)
Report
This post has been deleted. Posted by waterstones121 on 14 Feb 2011 at 1:43 AM
This post has been deleted.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.