Added: juddi/trunk/juddi-core/src/test/resources/META-INF/uddi.xml URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-core/src/test/resources/META-INF/uddi.xml?rev=1477292&view=auto ============================================================================== --- juddi/trunk/juddi-core/src/test/resources/META-INF/uddi.xml (added) +++ juddi/trunk/juddi-core/src/test/resources/META-INF/uddi.xml Mon Apr 29 19:36:52 2013 @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> + +<uddi> + <reloadDelay>5000</reloadDelay> + <manager name="juddi-core-unittest-client"> + <nodes> + <node isHomeJUDDI="true"> + <!-- required 'default' node --> + <name>default</name> + <description>InVM jUDDI node</description> + <properties> + <property name="serverName" value="localhost" /> + </properties> + <!-- In VM Transport Settings --> + <proxyTransport>org.apache.juddi.v3.client.transport.InVMTransport</proxyTransport> + <custodyTransferUrl>org.apache.juddi.api.impl.UDDICustodyTransferImpl</custodyTransferUrl> + <inquiryUrl>org.apache.juddi.api.impl.UDDIInquiryImpl</inquiryUrl> + <publishUrl>org.apache.juddi.api.impl.UDDIPublicationImpl</publishUrl> + <securityUrl>org.apache.juddi.api.impl.UDDISecurityImpl</securityUrl> + <subscriptionUrl>org.apache.juddi.api.impl.UDDISubscriptionImpl</subscriptionUrl> + <subscriptionListenerUrl>org.apache.juddi.api.impl.UDDISubscriptionListenerImpl</subscriptionListenerUrl> + <juddiApiUrl>org.apache.juddi.api.impl.JUDDIApiImpl</juddiApiUrl> + </node> + </nodes> + <clerks registerOnStartup="false"> + <clerk name="joe" node="default" publisher="joepublisher" password="joepublisher"/> + </clerks> + </manager> +</uddi> \ No newline at end of file
Modified: juddi/trunk/juddi-core/src/test/resources/juddiv3.properties URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-core/src/test/resources/juddiv3.properties?rev=1477292&r1=1477291&r2=1477292&view=diff ============================================================================== --- juddi/trunk/juddi-core/src/test/resources/juddiv3.properties (original) +++ juddi/trunk/juddi-core/src/test/resources/juddiv3.properties Mon Apr 29 19:36:52 2013 @@ -59,9 +59,6 @@ juddi.subscription.chunkexpiration.minut # jUDDI Authentication module to use juddi.authenticator = org.apache.juddi.v3.auth.JUDDIAuthenticator # -# jUDDI UUIDGen implementation to use -juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen -# # jUDDI Cryptor implementation to use juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor # Added: juddi/trunk/juddi-core/src/test/resources/wsdl/sample.wsdl URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-core/src/test/resources/wsdl/sample.wsdl?rev=1477292&view=auto ============================================================================== --- juddi/trunk/juddi-core/src/test/resources/wsdl/sample.wsdl (added) +++ juddi/trunk/juddi-core/src/test/resources/wsdl/sample.wsdl Mon Apr 29 19:36:52 2013 @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<definitions name="StockQuote" targetNamespace="http://example.com/stockquote/" + xmlns:tns="http://example.com/stockquote/" xmlns:xsd1="http://example.com/stockquote/schema/" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/"> + <types> + <schema targetNamespace="http://example.com/stockquote/schema/" + xmlns="http://www.w3.org/2001/XMLSchema"> + <element name="TradePriceRequest"> + <complexType> + <all> + <element name="tickerSymbol" type="string" /> + </all> + </complexType> + </element> + <element name="TradePrice"> + <complexType> + <all> + <element name="price" type="float" /> + </all> + </complexType> + </element> + </schema> + </types> + <message name="GetLastTradePriceInput"> + <part name="body" element="xsd1:TradePriceRequest" /> + </message> + <message name="GetLastTradePriceOutput"> + <part name="body" element="xsd1:TradePrice" /> + </message> + <portType name="StockQuotePortType"> + <operation name="GetLastTradePrice"> + <input message="tns:GetLastTradePriceInput" /> + <output message="tns:GetLastTradePriceOutput" /> + </operation> + </portType> + <binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType"> + <soap:binding style="document" + transport="http://schemas.xmlsoap.org/soap/http" /> + <operation name="GetLastTradePrice"> + <soap:operation soapAction="http://example.com/GetLastTradePrice" /> + <input> + <soap:body use="literal" /> + </input> + <output> + <soap:body use="literal" /> + </output> + </operation> + </binding> + <service name="StockQuoteService"> + <port name="StockQuotePort" binding="tns:StockQuoteSoapBinding"> + <soap:address location="http://location/sample" /> + </port> + </service> +</definitions> \ No newline at end of file Modified: juddi/trunk/juddi-examples/hello-world/src/main/java/org/apache/juddi/example/helloworld/HelloWorld.java URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/hello-world/src/main/java/org/apache/juddi/example/helloworld/HelloWorld.java?rev=1477292&r1=1477291&r2=1477292&view=diff ============================================================================== --- juddi/trunk/juddi-examples/hello-world/src/main/java/org/apache/juddi/example/helloworld/HelloWorld.java (original) +++ juddi/trunk/juddi-examples/hello-world/src/main/java/org/apache/juddi/example/helloworld/HelloWorld.java Mon Apr 29 19:36:52 2013 @@ -30,8 +30,6 @@ public class HelloWorld { // create a manager and read the config in the archive; // you can use your config file name UDDIClerkManager clerkManager = new UDDIClerkManager("META-INF/hello-world-uddi.xml"); - // register the clerkManager with the client side container - UDDIClientContainer.addClerkManager(clerkManager); // a ClerkManager can be a client to multiple UDDI nodes, so // supply the nodeName (defined in your uddi.xml. // The transport can be WS, inVM, RMI etc which is defined in the uddi.xml Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/bpel/BPEL_020_IntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/bpel/BPEL_020_IntegrationTest.java?rev=1477292&r1=1477291&r2=1477292&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/bpel/BPEL_020_IntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/bpel/BPEL_020_IntegrationTest.java Mon Apr 29 19:36:52 2013 @@ -34,7 +34,7 @@ import org.apache.juddi.v3.client.config import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.mapping.BPEL2UDDI; import org.apache.juddi.v3.client.mapping.ReadWSDL; -import org.apache.juddi.v3.client.mapping.URLLocalizerImpl; +import org.apache.juddi.v3.client.mapping.URLLocalizerDefaultImpl; import org.apache.juddi.v3.client.transport.Transport; import org.apache.juddi.v3.client.transport.TransportException; import org.apache.juddi.v3.tck.TckBusiness; @@ -132,7 +132,7 @@ private static Log logger = LogFactory.g properties.put("keyDomain", "riftsaw.jboss.org"); properties.put("nodeName", "localhost"); properties.put("businessName", "redhat-jboss"); - BPEL2UDDI bpel2UDDI = new BPEL2UDDI(clerk, new URLLocalizerImpl(), properties); + BPEL2UDDI bpel2UDDI = new BPEL2UDDI(clerk, new URLLocalizerDefaultImpl(), properties); Definition wsdlDefinition = rw.readWSDL("uddi_data/bpel/riftsaw/HelloWorld.wsdl"); QName serviceName = new QName("http://www.jboss.org/bpel/examples/wsdl","HelloService"); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
