0 Replies Latest reply on Sep 30, 2005 1:56 AM by azzaaussie

    Setting system properties for web services

    azzaaussie

      Hi,

      This is just a note for those who may come across the same problem,
      we've banged our heads against the walls for a couple of days trying to get a documentliteral type soap client talking to an external web service.
      as well as provide a similar style web service on our jboss app server
      After doing all the steps on the wikki we found we needed to add the following lines to our run.bat to startup jboss. ver used was jboss 4.0.2

      set JAVA_OPTS=-Djavax.wsdl.factory.WSDLFactory=com.ibm.wsdl.factory.WSDLFactoryImpl %JAVA_OPTS%

      was needed before we could successfully deploy our web service

      and

      set JAVA_OPTS=-Djavax.xml.soap.MessageFactory=org.jboss.axis.soap.MessageFactoryImpl %JAVA_OPTS%

      was needed before we could successfully call out to an external web service from a jboss deployed web app.

      more keywords for google javax.xml.soap.MessageFactory, saaj, axis-ws4ee.jar, saaj-impl.jar, com.sun.xml.messaging.saaj.soap.SOAPPartImpl, document literal, wscompile

      Dont know if it is a dodgy jboss installation we are working on or what but dont know how anyone can get them to work without adding these properties...?