[jboss-user] [JBossWS] - Recognising a wrapped doc literal web service in Visual Stud
benvenutto
do-not-reply at jboss.com
Wed Apr 18 09:56:13 EDT 2007
Confusingly the User Guide in the section on wrapped doc literal states:
Wrapped is an implementation detail from the Java domain. Neither in the abstract contract (i.e. wsdl+schema) nor at the SOAP message level is a wrapped endpoint recognizable.
I can deploy the following web service:
| @WebService
| @SOAPBinding(
| style = SOAPBinding.Style.DOCUMENT,
| use = SOAPBinding.Use.LITERAL,
| parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
| public class Boing
| {
| /**
| * Should generate a wrapped document literal interface.
| *
| * @param payload
| * @return
| */
| @WebMethod
| @WebResult (name = "bouncedPayload")
| public byte[] bounce(
| @WebParam(name = "token")
| String token,
| @WebParam(name = "payload")
| byte[] payload)
| {
| return payload;
| }
|
But in Visual Studio 2005 the web reference appears as bare, wrapped is not detected! This is under JB 4.2.0 CR1.
Many thanks
Simon
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038404#4038404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038404
More information about the jboss-user
mailing list