4 Replies Latest reply on Oct 13, 2004 3:13 AM by p_nevilleuk

    writing the java-wsdl-mapping

    p_nevilleuk

      Hi,
      Does anyone know if there is a tool that can create this mapping for a WRAPPED style wsdl? Or, does anyone have a very simple example?

      Can I use wscompile and then use the generated mapping.xml with jbossWS?

      Thanks.

        • 1. Re: writing the java-wsdl-mapping
          p_nevilleuk

          I can use wscompile to generate the mapping.xml and wsdl for an RPC style web service and this works in jboss.
          However, if I use it to generate the files for a DOCUMENT/literal wrapped style web service I get the following deployment error:

          org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for ge
          nerateKey was not synchronized to a method of test.ws4ee.RPCTestEndpoint.

          Has anyone tried successfully deployed a DOCUMENT/literal rapped style web service on jbossWS?

          • 2. Re: writing the java-wsdl-mapping
            robisz

            Unfortunately web services with document style wsdl haven't been
            working well yet.
            I have problems with web service clients but it seems server side is also
            problematic.

            • 3. Re: writing the java-wsdl-mapping
              thomas.diesler

              The wrapped style is outside the scope of J2EE compliant web services (ws4ee). The BasicProfile allows rpc/literal and doc/literal.

              It seems, that marshalling a org.w3c.dom.Element is also outside the scope of JAXRPC. So if Axis can do it, it is propriatary and not probably not interoperable.

              I do however understand the need for arbitary XML as a payload of a web service. Any good pointers, where this is discussed?

              • 4. Re: writing the java-wsdl-mapping
                p_nevilleuk

                Thanks for your comments. I find it hard to understand why jsr-109 failed to include this.

                I found the following link useful:
                http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/

                Can you suggest what the best approach is if using jboss 4 to provide a wrapped web service? Would I use jbossdotnet instead or should I simply code a servlet/ejb that uses the saaj api?

                Thank you,
                Peter