antelder    2002/06/21 01:18:14

  Modified:    java/src/org/apache/wsif/base WSIFDefaultMessageFactory.java
               java/src/org/apache/wsif/providers/soap/apacheaxis
                        WSIFOperation_ApacheAxis.java
               java/src/org/apache/wsif/providers/ejb
                        WSIFOperation_EJB.java
               java/src/org/apache/wsif/providers/soap/apachesoap
                        WSIFOperation_ApacheSOAP.java
               java/src/org/apache/wsif/providers/java
                        WSIFOperation_Java.java
  Log:
  Fix defect 131672 - by disabling compiled message support for now
  
  Revision  Changes    Path
  1.2       +3 -0      
xml-axis-wsif/java/src/org/apache/wsif/base/WSIFDefaultMessageFactory.java
  
  Index: WSIFDefaultMessageFactory.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFDefaultMessageFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WSIFDefaultMessageFactory.java    12 Jun 2002 10:27:23 -0000      1.1
  +++ WSIFDefaultMessageFactory.java    21 Jun 2002 08:18:13 -0000      1.2
  @@ -75,6 +75,9 @@
           return wm;
       }
   
  +// TODO fix defect 131672 - find a better way to locate 
  +//                          the complied msg classes
  +// compiled msg support is not being used for now
       public WSIFMessage createMessage(String ns, String n) {
           Tr.entry(this, ns, n);
           String msgClass = getPackageName(ns) + "." + n;
  
  
  
  1.9       +24 -22    
xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java
  
  Index: WSIFOperation_ApacheAxis.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- WSIFOperation_ApacheAxis.java     20 Jun 2002 14:46:38 -0000      1.8
  +++ WSIFOperation_ApacheAxis.java     21 Jun 2002 08:18:13 -0000      1.9
  @@ -803,17 +803,18 @@
        * @return a WSIFMessage instance
        * @see WSIFOperation#createInputMessage(String)
        */
  -    public WSIFMessage createInputMessage(String name) {
  -        Tr.entry(this, name);
  -        Definition d = getDefinition();
  -        String ns = (d == null) ? "" : d.getTargetNamespace();
  -        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  -        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  -        if (msg != null)
  -            msg.setName(name);
  -        Tr.exit(msg);
  -        return msg;
  -    }
  +// defect 131672 and disable compiled msg support for now
  +//    public WSIFMessage createInputMessage(String name) {
  +//        Tr.entry(this, name);
  +//        Definition d = getDefinition();
  +//        String ns = (d == null) ? "" : d.getTargetNamespace();
  +//        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  +//        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  +//        if (msg != null)
  +//            msg.setName(name);
  +//        Tr.exit(msg);
  +//        return msg;
  +//   }
   
       /**
        * Creates a new output WSIFMessage. This overrides the 
  @@ -825,17 +826,18 @@
        * @return a WSIFMessage instance
        * @see WSIFOperation#createInputMessage(String)
        */
  -    public WSIFMessage createOutputMessage(String name) {
  -        Tr.entry(this, name);
  -        Definition d = getDefinition();
  -        String ns = (d == null) ? "" : d.getTargetNamespace();
  -        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  -        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  -        if (msg != null)
  -            msg.setName(name);
  -        Tr.exit(msg);
  -        return msg;
  -    }
  +// defect 131672 and disable compiled msg support for now
  +//    public WSIFMessage createOutputMessage(String name) {
  +//        Tr.entry(this, name);
  +//        Definition d = getDefinition();
  +//        String ns = (d == null) ? "" : d.getTargetNamespace();
  +//        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  +//        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  +//        if (msg != null)
  +//            msg.setName(name);
  +//        Tr.exit(msg);
  +//        return msg;
  +//    }
   
       /**
        * This sets up the output JMS property values in the context
  
  
  
  1.3       +24 -22    
xml-axis-wsif/java/src/org/apache/wsif/providers/ejb/WSIFOperation_EJB.java
  
  Index: WSIFOperation_EJB.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/ejb/WSIFOperation_EJB.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WSIFOperation_EJB.java    12 Jun 2002 10:27:25 -0000      1.2
  +++ WSIFOperation_EJB.java    21 Jun 2002 08:18:14 -0000      1.3
  @@ -1078,17 +1078,18 @@
        * @return a WSIFMessage instance
        * @see WSIFOperation#createInputMessage(String)
        */
  -    public WSIFMessage createInputMessage(String name) {
  -        Tr.entry(this, name);
  -        Definition d = (fieldPort == null) ? null : fieldPort.getDefinition();
  -        String ns = (d == null) ? "" : d.getTargetNamespace();
  -        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  -        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  -        if (msg != null)
  -            msg.setName(name);
  -        Tr.exit(msg);
  -        return msg;
  -    }
  +// defect 131672 and disable compiled msg support for now
  +//    public WSIFMessage createInputMessage(String name) {
  +//        Tr.entry(this, name);
  +//        Definition d = (fieldPort == null) ? null : fieldPort.getDefinition();
  +//        String ns = (d == null) ? "" : d.getTargetNamespace();
  +//        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  +//        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  +//        if (msg != null)
  +//            msg.setName(name);
  +//        Tr.exit(msg);
  +//        return msg;
  +//    }
   
       /**
        * Creates a new input WSIFMessage. This overrides the 
  @@ -1100,17 +1101,18 @@
        * @return a WSIFMessage instance
        * @see WSIFOperation#createInputMessage(String)
        */
  -    public WSIFMessage createOutputMessage(String name) {
  -        Tr.entry(this, name);
  -        Definition d = (fieldPort == null) ? null : fieldPort.getDefinition();
  -        String ns = (d == null) ? "" : d.getTargetNamespace();
  -        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  -        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  -        if (msg != null)
  -            msg.setName(name);
  -        Tr.exit(msg);
  -        return msg;
  -    }
  +// defect 131672 and disable compiled msg support for now
  +//    public WSIFMessage createOutputMessage(String name) {
  +//        Tr.entry(this, name);
  +//        Definition d = (fieldPort == null) ? null : fieldPort.getDefinition();
  +//        String ns = (d == null) ? "" : d.getTargetNamespace();
  +//        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  +//        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  +//        if (msg != null)
  +//            msg.setName(name);
  +//        Tr.exit(msg);
  +//        return msg;
  +//    }
   
       public String deep() {
           String buff = "";
  
  
  
  1.9       +24 -22    
xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFOperation_ApacheSOAP.java
  
  Index: WSIFOperation_ApacheSOAP.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFOperation_ApacheSOAP.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- WSIFOperation_ApacheSOAP.java     19 Jun 2002 14:40:03 -0000      1.8
  +++ WSIFOperation_ApacheSOAP.java     21 Jun 2002 08:18:14 -0000      1.9
  @@ -211,17 +211,18 @@
        * @return a WSIFMessage instance
        * @see WSIFOperation#createInputMessage(String)
        */
  -    public WSIFMessage createInputMessage(String name) {
  -        Tr.entry(this, name);
  -        Definition d = getDefinition();
  -        String ns = (d == null) ? "" : d.getTargetNamespace();
  -        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  -        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  -        if (msg != null)
  -            msg.setName(name);
  -        Tr.exit(msg);
  -        return msg;
  -    }
  +// defect 131672 and disable compiled msg support for now
  +//    public WSIFMessage createInputMessage(String name) {
  +//        Tr.entry(this, name);
  +//        Definition d = getDefinition();
  +//        String ns = (d == null) ? "" : d.getTargetNamespace();
  +//        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  +//        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  +//        if (msg != null)
  +//            msg.setName(name);
  +//        Tr.exit(msg);
  +//       return msg;
  +//    }
   
       /**
        * Creates a new input WSIFMessage. This overrides the 
  @@ -233,17 +234,18 @@
        * @return a WSIFMessage instance
        * @see WSIFOperation#createInputMessage(String)
        */
  -    public WSIFMessage createOutputMessage(String name) {
  -        Tr.entry(this, name);
  -        Definition d = getDefinition();
  -        String ns = (d == null) ? "" : d.getTargetNamespace();
  -        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  -        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  -        if (msg != null)
  -            msg.setName(name);
  -        Tr.exit(msg);
  -        return msg;
  -    }
  +// defect 131672 and disable compiled msg support for now
  +//    public WSIFMessage createOutputMessage(String name) {
  +//        Tr.entry(this, name);
  +//        Definition d = getDefinition();
  +//        String ns = (d == null) ? "" : d.getTargetNamespace();
  +//        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  +//        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  +//        if (msg != null)
  +//            msg.setName(name);
  +//        Tr.exit(msg);
  +//        return msg;
  +//    }
   
       /**
        * Gets the target namespace URI of this WSIFOperation 
  
  
  
  1.3       +28 -26    
xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFOperation_Java.java
  
  Index: WSIFOperation_Java.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFOperation_Java.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WSIFOperation_Java.java   12 Jun 2002 10:27:24 -0000      1.2
  +++ WSIFOperation_Java.java   21 Jun 2002 08:18:14 -0000      1.3
  @@ -1235,19 +1235,20 @@
        * @return a WSIFMessage instance
        * @see WSIFOperation#createInputMessage(String)
        */
  -    public WSIFMessage createInputMessage(String name) {
  -        Tr.entry(this, name);
  -
  -        Definition d = (fieldPort == null) ? null : fieldPort.getDefinition();
  -        String ns = (d == null) ? "" : d.getTargetNamespace();
  -        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  -        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  -        if (msg != null)
  -            msg.setName(name);
  -
  -        Tr.exit(msg);
  -        return msg;
  -    }
  +// defect 131672 and disable compiled msg support for now
  +//    public WSIFMessage createInputMessage(String name) {
  +//        Tr.entry(this, name);
  +//
  +//        Definition d = (fieldPort == null) ? null : fieldPort.getDefinition();
  +//        String ns = (d == null) ? "" : d.getTargetNamespace();
  +//        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  +//        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  +//        if (msg != null)
  +//            msg.setName(name);
  +//
  +//        Tr.exit(msg);
  +//        return msg;
  +//    }
   
       /**
        * Creates a new output WSIFMessage. This overrides the 
  @@ -1259,19 +1260,20 @@
        * @return a WSIFMessage instance
        * @see WSIFOperation#createInputMessage(String)
        */
  -    public WSIFMessage createOutputMessage(String name) {
  -        Tr.entry(this, name);
  -
  -        Definition d = (fieldPort == null) ? null : fieldPort.getDefinition();
  -        String ns = (d == null) ? "" : d.getTargetNamespace();
  -        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  -        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  -        if (msg != null)
  -            msg.setName(name);
  -
  -        Tr.exit(msg);
  -        return msg;
  -    }
  +// defect 131672 and disable compiled msg support for now
  +//    public WSIFMessage createOutputMessage(String name) {
  +//        Tr.entry(this, name);
  +//
  +//        Definition d = (fieldPort == null) ? null : fieldPort.getDefinition();
  +//        String ns = (d == null) ? "" : d.getTargetNamespace();
  +//        WSIFMessageFactory mf = WSIFServiceImpl.getMessageFactory();
  +//        WSIFMessage msg = mf.createMessage(ns, name + "Message");
  +//        if (msg != null)
  +//            msg.setName(name);
  +//
  +//        Tr.exit(msg);
  +//        return msg;
  +//    }
   
       public String deep() {
           String buff = "";
  
  
  


Reply via email to