You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2003/12/24 12:30:22 UTC

cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws WSDL2Ws.java

sanjaya     2003/12/24 03:30:22

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws Tag: CWrapperSupport
                        WSDL2Ws.java
  Log:
  fixed buggy code in  the perprocess method to get the TargetEnpointURI
  correctly
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.7.4.3   +1 -1      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
  
  Index: WSDL2Ws.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java,v
  retrieving revision 1.7.4.2
  retrieving revision 1.7.4.3
  diff -u -r1.7.4.2 -r1.7.4.3
  --- WSDL2Ws.java	16 Dec 2003 10:35:26 -0000	1.7.4.2
  +++ WSDL2Ws.java	24 Dec 2003 11:30:22 -0000	1.7.4.3
  @@ -168,6 +168,7 @@
   		this.portTypeEntry = symbolTable.getPortTypeEntry(binding.getPortType().getQName());
   		if (portTypeEntry == null)
   			throw new WrapperFault("Service not found");
  +		ports = this.serviceentry.getService().getPorts().values().iterator();
   		this.targetEndpointURI = SymbolTableParsingUtils.getTargetEndPointURI(ports);			
       }
       
  @@ -194,7 +195,6 @@
   		this.serviceStyle = bindingEntry.getBindingStyle().getName();
   		//extract the trasport type as a uri
   		this.transportURI = SymbolTableParsingUtils.getTransportType(bindingEntry.getBinding());
  -		
           List operations = bindingEntry.getBinding().getBindingOperations();
           if (operations != null) {