0 Replies Latest reply on Jan 14, 2013 8:49 AM by mitvivek

    How do I build and deploy existing JAX-RPC web services on AS7

    mitvivek

      Hi All,

       

      I am trying to migrate a project from IBM WAS to Jboss and in this as per the original implementation there are references for  <jaxrpc-mapping-file> in my webservices.xml

       

      I need a way to create these files as the original application cann't be deployed straighhtway in Jboss as this throws parsing errors in the mappings.xml. I assume the mappings.xml should be made configurable for Jboss.

       

      I used wsconsume but when I run this:

       

      C:\Users\invmittal\Downloads\jboss-as-7.2.0.Alpha1-SNAPSHOT\bin>wsconsume.bat -k -o C:\Users\invmittal\Downloads\jboss-as-7.2.0.Alpha1-SNAPSHOT\webservice -s C:\Users\invmittal\Downloads\jboss-as-7.2.0.Alpha1-SNAPSHOT\webservice -e -a C:\Users\invmittal\Downloads\jboss-as-7.2.0.Alpha1-SNAPSHOT\webservice\TestActions.wsdl
      Could not find log4j.xml configuration, logging to console.

      TODO! Cheek SOAP 1.2 extension
      Loading FrontEnd jaxws ...
      Loading DataBinding jaxb ...
      wsdl2java -compile -exsh true -d C:\Users\invmittal\Downloads\jboss-as-7.2.0.Alpha1-SNAPSHOT\webservice -verbose -classdir C:\Users\invmittal\Downloads\jboss-as-7.2.0.Alpha1-SNAPSHOT\webservice -allowElementReferences file:/C:/Users/invmittal/Downloads/jboss-as-7.2.0.Alpha1-SNAPSHOT/webservice/TestActions.wsdl
      wsdl2java - Apache CXF 2.6.4

       

      This generates the source classes but there is no mapping file generated.

       

      I am not sure is there something missing in this?

       

      Any pointers on this will be highly appreciated.

       

      Thanks

      Vivek