axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r382348 - in /webservices/axis2/trunk/java/modules: core/src/org/apache/axis2/client/ core/src/org/apache/axis2/description/ core/src/org/apache/axis2/engine/ core/src/org/apache/axis2/transport/ core/src/org/apache/axis2/transport/http/ co...
Date Thu, 02 Mar 2006 10:57:19 GMT
Author: deepal
Date: Thu Mar  2 02:57:17 2006
New Revision: 382348

URL: http://svn.apache.org/viewcvs?rev=382348&view=rev
Log:
-fixing ?wsdl (to have correct IP in the port )
- changed ListenerManager API to give optional IP

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/ServiceClient.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutOnlyAxisOperation.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/ListenerManager.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/TransportListener.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/SimpleJMSListener.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/ServiceClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/ServiceClient.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/ServiceClient.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/ServiceClient.java
Thu Mar  2 02:57:17 2006
@@ -97,36 +97,37 @@
                 (AxisServiceGroup) this.axisService.getParent());
         this.serviceContext = sgc.getServiceContext(this.axisService);
     }
-    
+
     /**
      * This is WOM based constructor to configure the Service Client/
      * We are going to make this policy aware
+     *
      * @param configContext
      * @param wsdldesc
      * @param wsdlServiceName
      * @param portName
      * @throws AxisFault
      */
-    
+
     public ServiceClient(ConfigurationContext configContext, WSDLDescription wsdldesc,
-    		QName wsdlServiceName, String portName) throws AxisFault {
-		// create a config context if needed
-		initializeTransports(configContext);
-		try {
-			this.axisConfig = this.configContext.getAxisConfiguration();
-			WSDLBasedServiceConfigurationBuilder scb= new WSDLBasedServiceConfigurationBuilder(wsdldesc,configContext);
-			axisService = scb.buildAxisService(wsdlServiceName, portName,options);
-			// add the service to the config context if it isn't in there
-			// already
-			if (this.axisConfig.getService(this.axisService.getName()) == null) {
-			   this.axisConfig.addService(this.axisService);
-			}
-			ServiceGroupContext sgc = new ServiceGroupContext(this.configContext,
-			       (AxisServiceGroup) this.axisService.getParent());
-			this.serviceContext = sgc.getServiceContext(this.axisService);
-		} catch (IOException e) {
-			throw new AxisFault(e);
-		}
+                         QName wsdlServiceName, String portName) throws AxisFault {
+        // create a config context if needed
+        initializeTransports(configContext);
+        try {
+            this.axisConfig = this.configContext.getAxisConfiguration();
+            WSDLBasedServiceConfigurationBuilder scb = new WSDLBasedServiceConfigurationBuilder(wsdldesc,
configContext);
+            axisService = scb.buildAxisService(wsdlServiceName, portName, options);
+            // add the service to the config context if it isn't in there
+            // already
+            if (this.axisConfig.getService(this.axisService.getName()) == null) {
+                this.axisConfig.addService(this.axisService);
+            }
+            ServiceGroupContext sgc = new ServiceGroupContext(this.configContext,
+                    (AxisServiceGroup) this.axisService.getParent());
+            this.serviceContext = sgc.getServiceContext(this.axisService);
+        } catch (IOException e) {
+            throw new AxisFault(e);
+        }
     }
 
     /**
@@ -381,7 +382,7 @@
 
         // add the message context there and have it go
         mepClient.addMessageContext(mc);
-        mepClient.execute(true);
+        mepClient.execute(false);
     }
 
     public OMElement sendReceive(OMElement elem) throws AxisFault {

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
Thu Mar  2 02:57:17 2006
@@ -328,7 +328,7 @@
         return null;
     }
 
-    public void printWSDL(OutputStream out) throws AxisFault {
+    public void printWSDL(OutputStream out, String requestIP) throws AxisFault {
         ArrayList eprList = new ArrayList();
         AxisConfiguration axisConfig = getAxisConfiguration();
         if (enableAllTransport) {
@@ -338,7 +338,12 @@
                 TransportListener listener = transportIn.getReceiver();
                 if (listener != null) {
                     try {
-                        eprList.add(listener.getEPRForService(getName()).getAddress());
+                        if (listener.getEPRForService(getName(), requestIP) != null) {
+                            String address = listener.getEPRForService(getName(), requestIP).getAddress();
+                            if (address != null) {
+                                eprList.add(address);
+                            }
+                        }
                     } catch (AxisFault axisFault) {
                         log.info(axisFault.getMessage());
                     }
@@ -353,7 +358,12 @@
                     TransportListener listener = transportIn.getReceiver();
                     if (listener != null) {
                         try {
-                            eprList.add(listener.getEPRForService(getName()).getAddress());
+                            if (listener.getEPRForService(getName(), requestIP) != null)
{
+                                String address = listener.getEPRForService(getName(), requestIP).getAddress();
+                                if (address != null) {
+                                    eprList.add(address);
+                                }
+                            }
                         } catch (AxisFault axisFault) {
                             log.info(axisFault.getMessage());
                         }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutOnlyAxisOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutOnlyAxisOperation.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutOnlyAxisOperation.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutOnlyAxisOperation.java
Thu Mar  2 02:57:17 2006
@@ -12,6 +12,8 @@
 import org.apache.axis2.engine.AxisEngine;
 import org.apache.axis2.engine.ListenerManager;
 import org.apache.axis2.util.UUIDGenerator;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 import org.apache.ws.commons.om.OMElement;
 import org.apache.wsdl.WSDLConstants;
 
@@ -22,6 +24,7 @@
 import java.util.Map;
 
 public class OutOnlyAxisOperation extends AxisOperation {
+
     private AxisMessage inFaultMessage;
 
     // just to keep the inflow , there wont be any usage
@@ -333,8 +336,12 @@
         addReferenceParameters(mc);
         // ship it out
         AxisEngine engine = new AxisEngine(cc);
-        engine.send(mc);
-
+        if (block) {
+            engine.send(mc);
+        } else {
+            sc.getConfigurationContext().getThreadPool().execute(
+                    new FireAndForgetInvocationWorker(mc, engine));
+        }
         // all done
         completed = true;
     }
@@ -360,6 +367,29 @@
                 msgCtxt.getConfigurationContext().getListenerManager();
         if (listenerManager != null) {
             listenerManager.stop();
+        }
+    }
+
+    /**
+     * This class is the workhorse for a non-blocking invocation that uses a two
+     * way transport.
+     */
+    private class FireAndForgetInvocationWorker implements Runnable {
+        private Log log = LogFactory.getLog(getClass());
+        private MessageContext msgctx;
+        private AxisEngine axisEngine;
+
+        public FireAndForgetInvocationWorker(MessageContext msgctx, AxisEngine axisEngine)
{
+            this.msgctx = msgctx;
+            this.axisEngine = axisEngine;
+        }
+
+        public void run() {
+            try {
+                axisEngine.send(msgctx);
+            } catch (Exception e) {
+                log.info(e.getMessage());
+            }
         }
     }
 }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/ListenerManager.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/ListenerManager.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/ListenerManager.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/ListenerManager.java
Thu Mar  2 02:57:17 2006
@@ -66,7 +66,7 @@
                 Iterator itr_st = startedTranports.values().iterator();
                 if (itr_st.hasNext()) {
                     TransportListener transportListener = (TransportListener) itr_st.next();
-                    return transportListener.getEPRForService(serviceName);
+                    return transportListener.getEPRForService(serviceName, null);
                 } else {
                     return null;
                 }
@@ -75,8 +75,8 @@
                 TransportListener listener = (TransportListener)
                         startedTranports.get(exposeTransport[0]);
                 if (opName == null) {
-                    return listener.getEPRForService(serviceName);
-                } else return listener.getEPRForService(serviceName + "/" + opName);
+                    return listener.getEPRForService(serviceName, null);
+                } else return listener.getEPRForService(serviceName + "/" + opName, null);
             }
 
         } else {
@@ -84,8 +84,8 @@
                     .getTransportIn(new QName(tranportName));
             TransportListener listener = trsIN.getReceiver();
             if (opName == null) {
-                return listener.getEPRForService(serviceName);
-            } else return listener.getEPRForService(serviceName + "/" + opName);
+                return listener.getEPRForService(serviceName, null);
+            } else return listener.getEPRForService(serviceName + "/" + opName, null);
         }
     }
 
@@ -108,7 +108,7 @@
                 }
             } catch (Exception e) {
                 log.info(e.getMessage());
-            } 
+            }
         }
         stopped = false;
     }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/TransportListener.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/TransportListener.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/TransportListener.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/TransportListener.java
Thu Mar  2 02:57:17 2006
@@ -35,5 +35,5 @@
 
     void stop() throws AxisFault;
 
-    EndpointReference getEPRForService(String serviceName) throws AxisFault;
+    EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault;
 }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
Thu Mar  2 02:57:17 2006
@@ -57,8 +57,8 @@
     protected ListingAgent lister;
 
     protected MessageContext createAndSetInitialParamsToMsgCtxt(Object sessionContext,
-                                                              MessageContext msgContext,
HttpServletResponse httpServletResponse,
-                                                              HttpServletRequest httpServletRequest)
+                                                                MessageContext msgContext,
HttpServletResponse httpServletResponse,
+                                                                HttpServletRequest httpServletRequest)
             throws AxisFault {
         msgContext = new MessageContext();
         msgContext.setConfigurationContext(configContext);
@@ -291,7 +291,13 @@
         // no one call thie method
     }
 
-    public EndpointReference getEPRForService(String serviceName) throws AxisFault {
-        throw new UnsupportedOperationException("Not yet complete");
+    public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
{
+        //RUNNING_PORT
+        String port = System.getProperty(ListingAgent.RUNNING_PORT);
+        if (port == null) {
+            // TODO : Need to fix this
+            port = "8080";
+        }
+        return new EndpointReference("http://" + ip + ":" + port + "/axis2/services/" + serviceName);
     }
 }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
Thu Mar  2 02:57:17 2006
@@ -45,11 +45,7 @@
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.SocketException;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Map;
+import java.util.*;
 
 public class HTTPWorker implements HttpRequestHandler {
 
@@ -149,8 +145,18 @@
                     AxisService service = (AxisService) services.get(serviceName);
                     if (service != null) {
                         response.addHeader(new Header("Content-Type", "text/xml"));
-                        String url = conn.getURL(uri.substring(1, uri.length() - 5));
-                        service.printWSDL(baos);
+//                        String url = conn.getURL(uri.substring(1, uri.length() - 5));
+                        String url = conn.getURL("");
+                        int ipindex = url.indexOf("//");
+                        String ip = null;
+                        if (ipindex >= 0) {
+                            ip = url.substring(ipindex + 2, url.length());
+                            int seperatorIndex = ip.indexOf(":");
+                            if (seperatorIndex > 0) {
+                                ip = ip.substring(0, seperatorIndex);
+                            }
+                        }
+                        service.printWSDL(baos, ip);
                         byte[] buf = baos.toByteArray();
                         response.setBody(new ByteArrayInputStream(buf));
                         conn.writeResponse(response);

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
Thu Mar  2 02:57:17 2006
@@ -77,6 +77,7 @@
      */
     private OutputStream out = null;
     private ConfigurationContext configContext;
+    public static final String RUNNING_PORT = "RUNNING_PORT";
 
     public ListingAgent(ConfigurationContext configContext) {
         this.configContext = configContext;
@@ -463,7 +464,19 @@
             if (serviceObj != null) {
                 if (wsdl != null) {
                     res.setContentType("text/xml");
-                    ((AxisService) serviceObj).printWSDL(out);
+                    int ipindex = filePart.indexOf("//");
+                    String ip = null;
+                    if (ipindex >= 0) {
+                        ip = filePart.substring(ipindex + 2, filePart.length());
+                        int seperatorIndex = ip.indexOf(":");
+                        int slashIndex = ip.indexOf("/");
+                        String port = ip.substring(seperatorIndex + 1, slashIndex);
+                        System.setProperty(RUNNING_PORT, port);
+                        if (seperatorIndex > 0) {
+                            ip = ip.substring(0, seperatorIndex);
+                        }
+                    }
+                    ((AxisService) serviceObj).printWSDL(out, ip);
                     out.flush();
                     out.close();
                     return;

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
Thu Mar  2 02:57:17 2006
@@ -214,18 +214,21 @@
      * replyToEPR
      *
      * @param serviceName
+     * @param ip
      * @return an EndpointReference
-     * @see org.apache.axis2.transport.TransportListener#getEPRForService(String)
+     * @see org.apache.axis2.transport.TransportListener#getEPRForService(String,String)
      */
-    public EndpointReference getEPRForService(String serviceName) throws AxisFault {
+    public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
{
         String hostAddress;
-        try {
-            hostAddress = SimpleHttpServerConnection.getIpAddress();
-        } catch (SocketException e) {
-            throw AxisFault.makeFault(e);
+        if (ip != null) {
+            hostAddress = ip;
+        } else {
+            try {
+                hostAddress = SimpleHttpServerConnection.getIpAddress();
+            } catch (SocketException e) {
+                throw AxisFault.makeFault(e);
+            }
         }
-
-
         if (embedded != null) {
             // todo this has to fix
             return new EndpointReference("http://" + hostAddress + ":" + (embedded.getLocalPort())

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/SimpleJMSListener.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/SimpleJMSListener.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/SimpleJMSListener.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/SimpleJMSListener.java
Thu Mar  2 02:57:17 2006
@@ -254,14 +254,18 @@
         return properties;
     }
 
-    public EndpointReference getEPRForService(String serviceName) throws AxisFault {
+    public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
{
         try {
             JMSURLHelper url = new JMSURLHelper("jms:/" + destination);
-            url.getProperties().putAll(properties);
-            return new EndpointReference(url.getURLString());
+            if (url != null && url.getProperties() != null && properties
!= null) {
+                url.getProperties().putAll(properties);
+                return new EndpointReference(url.getURLString());
+            } else {
+                return null;
+            }
         } catch (Exception e) {
             log.error(Messages.getMessage("exception00"), e);
-            throw AxisFault.makeFault(e);
+            return null;
         }
     }
 }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java
Thu Mar  2 02:57:17 2006
@@ -283,7 +283,7 @@
      *  (non-Javadoc)
      * @see org.apache.axis2.transport.TransportListener#replyToEPR(java.lang.String)
      */
-    public EndpointReference getEPRForService(String serviceName) throws AxisFault {
+    public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
{
         return new EndpointReference(replyTo + "/services/" + serviceName);
     }
 

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
Thu Mar  2 02:57:17 2006
@@ -28,6 +28,7 @@
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.transport.TransportListener;
 import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.axis2.transport.http.server.SimpleHttpServerConnection;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -36,6 +37,7 @@
 import java.io.IOException;
 import java.net.ServerSocket;
 import java.net.Socket;
+import java.net.SocketException;
 
 /**
  * Class TCPServer
@@ -171,13 +173,21 @@
      *  (non-Javadoc)
      * @see org.apache.axis2.transport.TransportListener#replyToEPR(java.lang.String)
      */
-    public EndpointReference getEPRForService(String serviceName) throws AxisFault {
+    public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
{
+        if (ip == null) {
+            try {
+                ip = SimpleHttpServerConnection.getIpAddress();
+            } catch (SocketException e) {
+                throw AxisFault.makeFault(e);
+            }
+        }
         if (serversocket != null) {
             // todo this has to fix
-            return new EndpointReference("tcp://127.0.0.1:" + (serversocket.getLocalPort())
+            return new EndpointReference("tcp://" + ip + ":" + (serversocket.getLocalPort())
                     + "/axis2/services/" + serviceName);
         } else {
-            throw new AxisFault("Unable to generate EPR for the transport tcp");
+            log.info("Unable to generate EPR for the transport tcp");
+            return null;
         }
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java?rev=382348&r1=382347&r2=382348&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java
Thu Mar  2 02:57:17 2006
@@ -62,7 +62,7 @@
         assertNotNull(messge.getSchemaElement());
         assertNotNull(service.getOperation(new QName("putValue")));
         assertNotNull(axisConfig.getService("MyService"));
-        service.printWSDL(System.out);
+        service.printWSDL(System.out, null);
 
         RPCServiceClient client = new RPCServiceClient(clinetConfigurationctx, null);
 



Mime
View raw message