1 Reply Latest reply on Apr 18, 2007 10:55 PM by benvenutto

    Recognising a wrapped doc literal web service in Visual Stud

    benvenutto

      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