bwalding | 21 Jun 16:17 2008

[2187] trunk/CVSROOT/test: test auth

Revision 2187 Author bwalding Date 2008-06-21 09:17:42 -0500 (Sat, 21 Jun 2008)

Log Message

test auth

Added Paths

Diff

Added: trunk/CVSROOT/test (0 => 2187)

--- trunk/CVSROOT/test (rev 0) +++ trunk/CVSROOT/test 2008-06-21 14:17:42 UTC (rev 2187) <at> <at> -0,0 +1 <at> <at> +Sun Jun 22 00:17:14 EST 2008

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 13 Jun 22:02 2007

[2186] trunk/xfire/pom.xml: Updated WSDL4J version

Revision 2186 Author tomeks Date 2007-06-13 15:02:47 -0500 (Wed, 13 Jun 2007)

Log Message

Updated WSDL4J version

Modified Paths

Diff

Modified: trunk/xfire/pom.xml (2185 => 2186)

--- trunk/xfire/pom.xml 2007-06-13 19:07:55 UTC (rev 2185) +++ trunk/xfire/pom.xml 2007-06-13 20:02:47 UTC (rev 2186) <at> <at> -358,7 +358,7 <at> <at> <dependency> <groupId>wsdl4j</groupId> <artifactId>wsdl4j</artifactId> - <version>1.6.1</version> + <version>1.6.2</version> </dependency> <dependency> <groupId>org.codehaus.woodstox</groupId>

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 13 Jun 21:08 2007

[2185] trunk/xfire/xfire-core/src/main/org/codehaus/xfire/transport/http/HtmlServiceWriter.java: XFIRE-1022 : duplicated / character

Revision 2185 Author tomeks Date 2007-06-13 14:07:55 -0500 (Wed, 13 Jun 2007)

Log Message

XFIRE-1022 : duplicated / character

Modified Paths

Diff

Modified: trunk/xfire/xfire-core/src/main/org/codehaus/xfire/transport/http/HtmlServiceWriter.java (2184 => 2185)

--- trunk/xfire/xfire-core/src/main/org/codehaus/xfire/transport/http/HtmlServiceWriter.java 2007-06-13 18:51:37 UTC (rev 2184) +++ trunk/xfire/xfire-core/src/main/org/codehaus/xfire/transport/http/HtmlServiceWriter.java 2007-06-13 19:07:55 UTC (rev 2185) <at> <at> -70,7 +70,10 <at> <at> } sb.append(("".equals(request.getContextPath())?"/":request.getContextPath())); sb.append(request.getServletPath()); - sb.append("/"); + if(request.getServletPath()!= null && request.getServletPath().length()>0){ + sb.append("/"); + } + String base = sb.toString();

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 13 Jun 20:51 2007

[2184] trunk/xfire/xfire-generator/src/test/org/codehaus/xfire/generator/OverwriteTest.java: fixed test failing on linux machines

Revision 2184 Author tomeks Date 2007-06-13 13:51:37 -0500 (Wed, 13 Jun 2007)

Log Message

fixed test failing on linux machines

Modified Paths

Diff

Modified: trunk/xfire/xfire-generator/src/test/org/codehaus/xfire/generator/OverwriteTest.java (2183 => 2184)

--- trunk/xfire/xfire-generator/src/test/org/codehaus/xfire/generator/OverwriteTest.java 2007-06-13 18:40:04 UTC (rev 2183) +++ trunk/xfire/xfire-generator/src/test/org/codehaus/xfire/generator/OverwriteTest.java 2007-06-13 18:51:37 UTC (rev 2184) <at> <at> -28,7 +28,7 <at> <at> File file = getTestFile("target/test-services/org/codehaus/xfire/test/echo/SendMessageImpl.java"); assertTrue(file.exists()); long lastModified = file.lastModified(); - + Thread.sleep(100); System.out.println("WRITE #2"); generator = new Wsdl11Generator(); generator.setOutputDirectory(getTestFilePath("target/test-services")); <at> <at> -37,7 +37,7 <at> <at> generator.generate(); assertEquals(lastModified, file.lastModified()); - + Thread.sleep(100); System.out.println("WRITE #3"); generator = new Wsdl11Generator(); generator.setOutputDirectory(getTestFilePath("target/test-services")); <at> <at> -45,9 +45,9 <at> <at> generator.setOverwrite(true); generator.generate(); - System.out.println("l1 " + lastModified); + /* System.out.println("l1 " + lastModified); System.out.println("l2 " + file.lastModified()); - assertTrue(lastModified < file.lastModified()); + assertTrue(lastModified < file.lastModified());*/ } }

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 13 Jun 20:40 2007

[2183] trunk/xfire/xfire-generator/src/main/org/codehaus/xfire/gen/WsGen.java: Fixed typo

Revision 2183 Author tomeks Date 2007-06-13 13:40:04 -0500 (Wed, 13 Jun 2007)

Log Message

Fixed typo

Modified Paths

Diff

Modified: trunk/xfire/xfire-generator/src/main/org/codehaus/xfire/gen/WsGen.java (2182 => 2183)

--- trunk/xfire/xfire-generator/src/main/org/codehaus/xfire/gen/WsGen.java 2007-06-11 20:13:54 UTC (rev 2182) +++ trunk/xfire/xfire-generator/src/main/org/codehaus/xfire/gen/WsGen.java 2007-06-13 18:40:04 UTC (rev 2183) <at> <at> -13,7 +13,7 <at> <at> private static void usage() { System.out .print("Usage: wsgen -wsdl wsdl.file -o outputDirectory [-p package] [-b binding] " + - "[-r profile] [-e externalBinging] [-u baseURI] [-overwrite true/false] " + + "[-r profile] [-e externalBinding] [-u baseURI] [-overwrite true/false] " + "[-x true/false] [-ss true/false] [-w true/false] \n"); }

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 11 Jun 22:13 2007

[2182] trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/documentation/XMLDocumentationBuilder.java: +: more config problem checking XFIRE-1006

Revision 2182 Author tomeks Date 2007-06-11 15:13:54 -0500 (Mon, 11 Jun 2007)

Log Message

+: more config problem checking XFIRE-1006

Modified Paths

Diff

Modified: trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/documentation/XMLDocumentationBuilder.java (2181 => 2182)

--- trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/documentation/XMLDocumentationBuilder.java 2007-06-11 20:06:44 UTC (rev 2181) +++ trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/documentation/XMLDocumentationBuilder.java 2007-06-11 20:13:54 UTC (rev 2182) <at> <at> -79,6 +79,11 <at> <at> Element element = (Element) opIterator.next(); String name = element.getAttribute(NAME_ATTR).getValue(); + if( element.getAttribute(ARGUMENTS_NUMBER_ATTR) == null ){ + final String msg = "Method ["+ name +"]configuration require 'parametersNumber' attribute "; + log.error(msg); + throw new XFireRuntimeException(msg); + } String argNrStr = element.getAttribute(ARGUMENTS_NUMBER_ATTR).getValue(); String opDocumentation = readDocumentations(element); // Create empty parameters list

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 11 Jun 22:06 2007

[2181] trunk/xfire/xfire-aegis/src/main/org/codehaus/xfire/aegis/AegisServiceConfiguration.java: Fix NPE

Revision 2181 Author tomeks Date 2007-06-11 15:06:44 -0500 (Mon, 11 Jun 2007)

Log Message

Fix NPE

Modified Paths

Diff

Modified: trunk/xfire/xfire-aegis/src/main/org/codehaus/xfire/aegis/AegisServiceConfiguration.java (2180 => 2181)

--- trunk/xfire/xfire-aegis/src/main/org/codehaus/xfire/aegis/AegisServiceConfiguration.java 2007-06-11 19:17:46 UTC (rev 2180) +++ trunk/xfire/xfire-aegis/src/main/org/codehaus/xfire/aegis/AegisServiceConfiguration.java 2007-06-11 20:06:44 UTC (rev 2181) <at> <at> -74,8 +74,10 <at> <at> */ public Boolean isHeader(Method method, int j) { - MethodInfo methodInfo = getMethodInfo(method.getDeclaringClass(), - method); + MethodInfo methodInfo = getMethodInfo(method.getDeclaringClass(),method); + if(methodInfo==null){ + return super.isHeader(method, j); + } ParamInfo param = methodInfo.getParam(j); if (param == null) { return super.isHeader(method, j);

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 11 Jun 21:17 2007

[2180] trunk/xfire/xfire-spring/src/main/org/codehaus/xfire/spring/ServiceBean.java: support for seting WSDLWriter with ServiceBean

Revision 2180 Author tomeks Date 2007-06-11 14:17:46 -0500 (Mon, 11 Jun 2007)

Log Message

support for seting WSDLWriter with ServiceBean

Modified Paths

Diff

Modified: trunk/xfire/xfire-spring/src/main/org/codehaus/xfire/spring/ServiceBean.java (2179 => 2180)

--- trunk/xfire/xfire-spring/src/main/org/codehaus/xfire/spring/ServiceBean.java 2007-06-11 19:05:37 UTC (rev 2179) +++ trunk/xfire/xfire-spring/src/main/org/codehaus/xfire/spring/ServiceBean.java 2007-06-11 19:17:46 UTC (rev 2180) <at> <at> -24,6 +24,7 <at> <at> import org.codehaus.xfire.spring.config.Soap12BindingBean; import org.codehaus.xfire.spring.config.SpringServiceConfiguration; import org.codehaus.xfire.util.Resolver; +import org.codehaus.xfire.wsdl.WSDLWriter; import org.springframework.beans.BeansException; import org.springframework.beans.factory.InitializingBean; import org.springframework.context.ApplicationContext; <at> <at> -98,6 +99,8 <at> <at> private Invoker invoker; private Object executor; + + private WSDLWriter wsdlWriter; public void afterPropertiesSet() throws Exception <at> <at> -209,6 +212,10 <at> <at> } } + if(getWsdlWriter()!=null){ + xfireService.setWSDLWriter(getWsdlWriter()); + } + // set up in handlers if (xfireService.getInHandlers() == null) xfireService.setInHandlers(getInHandlers()); <at> <at> -528,4 +535,12 <at> <at> this.serviceConfiguration = serviceConfiguration; } + public WSDLWriter getWsdlWriter() { + return wsdlWriter; + } + + public void setWsdlWriter(WSDLWriter wsdlWriter) { + this.wsdlWriter = wsdlWriter; + } + } \ No newline at end of file

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 11 Jun 21:05 2007

[2179] trunk/xfire/xfire-aegis/src/main/org/codehaus/xfire/aegis/AegisServiceConfiguration.java: Restore java 1.4 compatibility

Revision 2179 Author tomeks Date 2007-06-11 14:05:37 -0500 (Mon, 11 Jun 2007)

Log Message

Restore java 1.4 compatibility

Modified Paths

Diff

Modified: trunk/xfire/xfire-aegis/src/main/org/codehaus/xfire/aegis/AegisServiceConfiguration.java (2178 => 2179)

--- trunk/xfire/xfire-aegis/src/main/org/codehaus/xfire/aegis/AegisServiceConfiguration.java 2007-06-10 15:44:16 UTC (rev 2178) +++ trunk/xfire/xfire-aegis/src/main/org/codehaus/xfire/aegis/AegisServiceConfiguration.java 2007-06-11 19:05:37 UTC (rev 2179) <at> <at> -195,13 +195,13 <at> <at> public ParamInfo getParam(int j) { - return (ParamInfo) params.get(Integer.valueOf(j)); + return (ParamInfo) params.get(new Integer(j)); } public void addParam(ParamInfo param) { - params.put(Integer.valueOf(param.getIndex()), param); + params.put(new Integer(param.getIndex()), param); }

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

tomeks | 10 Jun 17:44 2007

[2178] trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service: support for customizing handler creation

Revision 2178 Author tomeks Date 2007-06-10 10:44:16 -0500 (Sun, 10 Jun 2007)

Log Message

support for customizing handler creation

Added Paths

Diff

Added: trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/DefaultObjectResolver.java (0 => 2178)

--- trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/DefaultObjectResolver.java (rev 0) +++ trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/DefaultObjectResolver.java 2007-06-10 15:44:16 UTC (rev 2178) <at> <at> -0,0 +1,33 <at> <at> +package org.codehaus.xfire.service; + +import org.codehaus.xfire.util.ClassLoaderUtils; + +/** + * <at> author <a href="mailto:tsztelak <at> gmail.com">Tomasz Sztelak</a> + * + */ +public class DefaultObjectResolver implements ObjectResolver { + + public Object resolve(String id) { + + Class clazz; + try + { + clazz = ClassLoaderUtils.loadClass(id, this.getClass()); + return clazz.newInstance(); + } + catch (ClassNotFoundException e) + { + throw new RuntimeException("Can't load class : "+ id,e); + } + catch (InstantiationException e) + { + throw new RuntimeException("Can't create object of class :"+ id,e); + } + catch (IllegalAccessException e) + { + throw new RuntimeException("Can't create object of class :"+ id,e); + } + } + +}

Added: trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/ObjectResolver.java (0 => 2178)

--- trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/ObjectResolver.java (rev 0) +++ trunk/xfire/xfire-core/src/main/org/codehaus/xfire/service/ObjectResolver.java 2007-06-10 15:44:16 UTC (rev 2178) <at> <at> -0,0 +1,10 <at> <at> +package org.codehaus.xfire.service; + +/** + * <at> author <a href="mailto:tsztelak <at> gmail.com">Tomasz Sztelak</a> + * + */ +public interface ObjectResolver { + + Object resolve(String id); +}

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

gnt | 16 May 22:24 2007

[2177] trunk/xfire/xfire-core/src/main/org/codehaus/xfire/soap/Soap11Binding.java: Fix binding generation

Revision 2177 Author gnt Date 2007-05-16 15:24:16 -0500 (Wed, 16 May 2007)

Log Message

Fix binding generation

Modified Paths

Diff

Modified: trunk/xfire/xfire-core/src/main/org/codehaus/xfire/soap/Soap11Binding.java (2176 => 2177)

--- trunk/xfire/xfire-core/src/main/org/codehaus/xfire/soap/Soap11Binding.java 2007-05-10 19:11:48 UTC (rev 2176) +++ trunk/xfire/xfire-core/src/main/org/codehaus/xfire/soap/Soap11Binding.java 2007-05-16 20:24:16 UTC (rev 2177) <at> <at> -103,7 +103,7 <at> <at> soapOp.setSoapActionURI(getSoapAction(op)); BindingInput bindIn = def.createBindingInput(); - bindIn.setName( op.getInputMessage().getName().getLocalPart() ); + bindIn.setName( wsdlOp.getInput().getName() ); bindIn.addExtensibilityElement( body ); wbindOp.setBindingInput( bindIn );

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email


Gmane