axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis WSIFOperation_ApacheAxis.java
Date Fri, 07 Jun 2002 08:37:17 GMT
antelder    2002/06/07 01:37:17

  Modified:    java/src/org/apache/wsif/providers/soap/apacheaxis
                        WSIFOperation_ApacheAxis.java
  Log:
  AXIS provider context bug fix
  
  Revision  Changes    Path
  1.2       +20 -17    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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WSIFOperation_ApacheAxis.java	6 Jun 2002 08:28:51 -0000	1.1
  +++ WSIFOperation_ApacheAxis.java	7 Jun 2002 08:37:17 -0000	1.2
  @@ -925,26 +925,29 @@
           if (context == null) {
               return;
           }
  +        name = WSIFConstants.CONTEXT_HTTP_USER;
           try {
  -            name = WSIFConstants.CONTEXT_HTTP_USER;
  -            o = context.getObjectPart(name);
  -            if (o instanceof String) {
  -                addHTTPHeader(call, name, (String) o);
  -            }
  +           o = context.getObjectPart( name );
  +           if ( o instanceof String ) {
  +              addHTTPHeader( call, name, (String)o );
  +           }           	
  +        } catch (WSIFException ex) {}      
   
  -            name = WSIFConstants.CONTEXT_HTTP_PSWD;
  -            o = context.getObjectPart(name);
  -            if (o instanceof String) {
  -                addHTTPHeader(call, name, (String) o);
  -            }
  +        name = WSIFConstants.CONTEXT_HTTP_PSWD;
  +        try {
  +           o = context.getObjectPart( name );
  +           if ( o instanceof String ) {
  +              addHTTPHeader( call, name, (String)o );
  +           }           	
  +        } catch (WSIFException ex) {}      
   
  -            name = WSIFConstants.CONTEXT_SOAP_HEADERS;
  -            o = context.getObjectPart(name);
  -            if (o instanceof List) {
  -                addSOAPHeader(call, name, (List) o);
  -            }
  -        } catch (WSIFException ex) {
  -        }
  +        try {
  +           name = WSIFConstants.CONTEXT_SOAP_HEADERS;
  +           o = context.getObjectPart( name );
  +           if ( o instanceof List ) {
  +              addSOAPHeader( call, name, (List)o );           	
  +           }           	
  +        } catch (WSIFException ex) {}      
       }
   
       /**
  
  
  

Mime
View raw message