I've nearly finished a test case; how do I go about submitting it. 

We're generating source from a WSDL, creating an implementation via a Spring 
endpoint and working with stub classes and a jaxws:client in a test. 

-----Original Message-----
From: Daniel Kulp [mailto:[email protected]] 
Sent: 31 October 2012 14:50
To: [email protected]
Subject: Re: Schema validation of SOAP headers


On Oct 31, 2012, at 5:58 AM, John Baker <[email protected]> wrote:

> I've put a debugger on SoapHeaderInterceptor and I can see:
> 
>                    schema.newValidator().validate(ds);
> 
> being called. I'm beginning to think the problem lies in the Xerces schema 
> validator?


I believe the validation of the headers only occurs for headers that are 
explicitly declared as headers in the wsdl and are mapped to parameters on the 
method.    Is that the case for your header?

Dan




<FONT size=1> <P><FONT 
size=2>****************************************************************************************</FONT></P><P><FONT
 size=2>The information contained in this email may be confidential. It is 
intended</FONT></P><P><FONT size=2>only for the use of the named recipient. If 
you are not the named recipient</FONT></P><P><FONT size=2>please delete this 
email and notify the sender of the delivery error. If you</FONT></P><P><FONT 
size=2>have received this email and are not the named recipient, any 
disclosure,</FONT></P><P><FONT size=2>reproduction, distribution or other 
dissemination or use of the information</FONT></P><P><FONT size=2>contained in 
this email is strictly prohibited.</FONT></P><P><FONT size=2> 
</FONT></P><P><FONT size=2>The transmission of email cannot be guaranteed to be 
secure or error free as</FONT></P><P><FONT size=2>information could be 
intercepted, corrupted, lost, destroyed, arrive late or</FONT></P><P><FONT 
size=2>incomplete, or contain viruses. The sender therefore does not 
accept</FONT></P><P><FONT size=2>liability for any errors or omissions in the 
contents of this message which</FONT></P><P><FONT size=2>arise as a result of 
email transmission. If verification is required please</FONT></P><P><FONT 
size=2>request a hard copy version.</FONT></P><P><FONT size=2> 
</FONT></P><P><FONT size=2>The Camelot group of companies 
includes:</FONT></P><P><FONT size=2>Camelot UK Lotteries Limited (reg. no 
2822203), Camelot Business Solutions</FONT></P><P><FONT size=2>Limited (reg. no 
07553982), Camelot Strategic Solutions Limited (reg. no</FONT></P><P><FONT 
size=2>07553980), Camelot Global Services Limited (reg. no 02822300) and 
Camelot</FONT></P><P><FONT size=2>Commercial Services Limited (reg. no 
06911097), all of which are registered</FONT></P><P><FONT size=2>in England and 
Wales and have their registered office at:</FONT></P><P><FONT size=2>Tolpits 
Lane</FONT></P><P><FONT size=2>Watford</FONT></P><P><FONT size=2>WD18 
9RN</FONT></P><P><FONT size=2>Tel : 01923 425000</FONT></P><P><FONT 
size=2>***************************************************************************************</FONT></P></FONT>

Reply via email to