1 Reply Latest reply on Jul 2, 2010 5:25 AM by Jean-Frederic Clere

    can I work with JAX-RPC rpc/encoded on Jboss5.1.0.GA?

    narendraraju pothuraju Newbie

      Can somebody help me out.

      my client wsdl is in jax-rpc with style <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/> with input and output as

      <soap:body use="encoded

      after generating the stubs using sun jwsdp-2.0 , I am getting error while encoding the message

      I tried using wsconsume. but it gives error

      [ERROR] rpc/encoded wsdls are not supported in JAXWS 2.0.

       

      after giving the option wsconsume -e it generates the stubs with JAXBElement types. but after deployment, it throws exception

      Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for:

       

      my env is :

      jdk1.6

      jboss5.1.0.GA

       

      Can somebody help me to know whether Jboss5.1.0.GA supports JAX-RPC encoding or not?. If it supports, anything else I need to do?

      BTW. I have axis jars which are being used for the existing wsdls (all are axis style="literal/document") and works fine.

      this is the first customer's jax-rpc style and have been struggling for a week to find the solution.

      have been struggling a lot. can someone help me please!!!!

      I would really appreciate for the answers

      Thanks