Author: alessio.soldano(a)jboss.com
Date: 2009-03-16 11:47:03 -0400 (Mon, 16 Mar 2009)
New Revision: 9602
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1694/JBWS1694EndpointSEI.java
Log:
ParameterStyle.WRAPPED should not be allowed with multiple part in wsdl:message
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1694/JBWS1694EndpointSEI.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1694/JBWS1694EndpointSEI.java 2009-03-16
11:20:57 UTC (rev 9601)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1694/JBWS1694EndpointSEI.java 2009-03-16
15:47:03 UTC (rev 9602)
@@ -21,18 +21,22 @@
*/
package org.jboss.test.ws.jaxws.jbws1694;
+import javax.ejb.Remote;
import javax.jws.WebMethod;
+import javax.jws.WebParam;
import javax.jws.WebResult;
-import javax.jws.WebParam;
import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
import javax.xml.ws.Holder;
-import javax.ejb.Remote;
/**
* @author Heiko.Braun(a)jboss.com
*/
@WebService
@Remote
+//BARE required as the header param forces wsdl:message to have more than one wsdl:part
thus WRAPPED (which is default) should not be allowed
+(a)SOAPBinding(parameterStyle=ParameterStyle.BARE)
public interface JBWS1694EndpointSEI
{
@WebMethod(operationName = "SubmitBasket")
Show replies by date