Here is the info you wanted.

I modified the test code to output the wsdlFileStr and I also captured
the full stack trace.



On Mon, Sep 12, 2011 at 10:16 AM, Kurt T Stam (JIRA)
<[email protected]> wrote:
>
>    [ 
> https://issues.apache.org/jira/browse/JUDDI-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102809#comment-13102809
>  ]
>
> Kurt T Stam commented on JUDDI-523:
> -----------------------------------
>
> Hi Sean,
>
> Maybe this is a windows related issue, since the test works fine for me as 
> well the build machine. Could you find out some more about why the tests 
> fails? For example the value of wsdlFileStr would be a big help to understand 
> what is going on.
>
> Thx,
>
> --Kurt
>
>> maven clean install failure in WSDLLocatorTest
>> ----------------------------------------------
>>
>>                 Key: JUDDI-523
>>                 URL: https://issues.apache.org/jira/browse/JUDDI-523
>>             Project: jUDDI
>>          Issue Type: Bug
>>          Components: uddi-client
>>    Affects Versions: 3.1.0
>>         Environment: Windows 7 Enterprise 64 bit, java 1.6.0_22 build 
>> 1.6.0_22-b04 mixed mode, maven 3.0.3
>>            Reporter: Sean Kang
>>            Assignee: Kurt T Stam
>>
>> From the juddi 3.1.0 top, using maven 3.0.3 : mvn clean install
>> Results :
>> Tests in error:
>>   
>> testResolveInCurrentDir(org.apache.juddi.v3.client.mapping.WSDLLocatorTest): 
>> S
>> tring index out of range: -1
>>   
>> testResolveInCurrentDir2(org.apache.juddi.v3.client.mapping.WSDLLocatorTest):
>> String index out of range: -1
>> Tests run: 34, Failures: 0, Errors: 2, Skipped: 1
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] jUDDI_v3 Parent ................................... SUCCESS [0.635s]
>> [INFO] UDDI_v3 WS Stubs and Schema Bindings Generated from WSDL  SUCCESS 
>> [6.812s
>> ]
>> [INFO] UDDI Technical Compatibility Kit (TCK) Base ....... SUCCESS [1.939s]
>> [INFO] jUDDI Client side Code ............................ FAILURE [6.229s]
>> [INFO] jUDDI Core ........................................ SKIPPED
>> [INFO] jUDDI Core - OpenJPA .............................. SKIPPED
>> [INFO] jUDDI base-war Deployment ......................... SKIPPED
>> [INFO] jUDDI CXF Deployment .............................. SKIPPED
>> [INFO] jUDDI Service Registration Examples ............... SKIPPED
>> [INFO] jUDDI Tomcat Packaging ............................ SKIPPED
>> [INFO] UDDI TCK Tests .................................... SKIPPED
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 16.271s
>> [INFO] Finished at: Mon Sep 12 09:30:30 PDT 2011
>> [INFO] Final Memory: 26M/62M
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-surefire-plugin:2.
>> 7.2:test (default-test) on project juddi-client: There are test failures.
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building jUDDI Client side Code
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to 
C:\DEV\src\juddi-3.1.0\juddi-client\target\test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 
C:\DEV\src\juddi-3.1.0\juddi-client\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.juddi.v3.annotations.AnnotationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec
Running org.apache.juddi.v3.client.mapping.BPEL2UDDITest
Sep 12, 2011 10:44:20 AM org.apache.juddi.v3.client.config.TokenResolver 
replaceTokens
SEVERE: Found token businessName but could not obtain its value. Data: 
uddi:juddi.apache.org:business_${businessName}
Sep 12, 2011 10:44:20 AM org.apache.juddi.v3.client.config.TokenResolver 
replaceTokens
SEVERE: Found token businessName but could not obtain its value. Data: 
uddi:juddi.apache.org:business_${businessName}
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/bpel-technote.wsdl'.
***** UDDI PortType TModel: InterfaceOfTravelAgent
<org.uddi.api_v3.TModel 
tModelKey="uddi:juddi.apache.org:InterfaceOfTravelAgent" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name xml:lang="en:">InterfaceOfTravelAgent</ns3:name>
    <ns3:overviewDoc>
        <ns3:overviewURL 
useType="wsdlDeployment">file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/bpel-technote.wsdl</ns3:overviewURL>
    </ns3:overviewDoc>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="portType" keyName="uddi-org:wsdl:types" 
tModelKey="uddi:uddi.org:wsdl:types"/>
        <ns3:keyedReference keyValue="http://example.com/travelagent/wsdl"; 
keyName="uddi-org:xml:porttype:namespace" 
tModelKey="uddi:uddi.org:xml:namespace"/>
    </ns3:categoryBag>
</org.uddi.api_v3.TModel>
***** UDDI PortType TModel: InterfaceOfCustomer
<org.uddi.api_v3.TModel tModelKey="uddi:juddi.apache.org:InterfaceOfCustomer" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name xml:lang="en:">InterfaceOfCustomer</ns3:name>
    <ns3:overviewDoc>
        <ns3:overviewURL 
useType="wsdlDeployment">file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/bpel-technote.wsdl</ns3:overviewURL>
    </ns3:overviewDoc>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="portType" keyName="uddi-org:wsdl:types" 
tModelKey="uddi:uddi.org:wsdl:types"/>
        <ns3:keyedReference keyValue="http://example.com/travelagent/wsdl"; 
keyName="uddi-org:xml:porttype:namespace" 
tModelKey="uddi:uddi.org:xml:namespace"/>
    </ns3:categoryBag>
</org.uddi.api_v3.TModel>
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/bpel-technote.wsdl'.
***** BPEL4WS Process TModel: ReservationAndBookingTickets
<org.uddi.api_v3.TModel 
tModelKey="uddi:juddi.apache.org:ReservationAndBookingTicketsProcess" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name xml:lang="en">ReservationAndBookingTickets</ns3:name>
    <ns3:overviewDoc>
        <ns3:overviewURL>http://localhost:8080/bpel-console/</ns3:overviewURL>
    </ns3:overviewDoc>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="http://example.com/travelagent"; 
keyName="uddi-org:xml:namespace" tModelKey="uddi:uddi.org:xml:namespace"/>
        <ns3:keyedReference keyValue="process" keyName="uddi-org:bpel:types" 
tModelKey="uddi:uddi.org:bpel:types"/>
        <ns3:keyedReference 
keyValue="uddi:juddi.apache.org:InterfaceOfTravelAgent" 
keyName="uddi-org:wsdl:portTypeReference" 
tModelKey="uddi:uddi.org:wsdl:porttypereference"/>
        <ns3:keyedReference 
keyValue="uddi:juddi.apache.org:InterfaceOfCustomer" 
keyName="uddi-org:wsdl:portTypeReference" 
tModelKey="uddi:uddi.org:wsdl:porttypereference"/>
    </ns3:categoryBag>
</org.uddi.api_v3.TModel>
***** Find TModel For ProcessName: 
{http://example.com/travelagent}ReservationAndBookingTickets
<org.uddi.api_v3.FindTModel xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; 
xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name>ReservationAndBookingTickets</ns3:name>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="http://example.com/travelagent"; 
tModelKey="uddi:uddi.org:xml:namespace"/>
        <ns3:keyedReference keyValue="process" 
tModelKey="uddi:uddi.org:bpel:types"/>
    </ns3:categoryBag>
</org.uddi.api_v3.FindTModel>
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/HelloWorld.wsdl'.
***** UDDI PortType TModel: HelloPortType
<org.uddi.api_v3.TModel tModelKey="uddi:juddi.apache.org:HelloPortType" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name xml:lang="en:">HelloPortType</ns3:name>
    <ns3:overviewDoc>
        <ns3:overviewURL 
useType="wsdlDeployment">file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/HelloWorld.wsdl</ns3:overviewURL>
    </ns3:overviewDoc>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="portType" keyName="uddi-org:wsdl:types" 
tModelKey="uddi:uddi.org:wsdl:types"/>
        <ns3:keyedReference keyValue="http://www.jboss.org/bpel/examples/wsdl"; 
keyName="uddi-org:xml:porttype:namespace" 
tModelKey="uddi:uddi.org:xml:namespace"/>
    </ns3:categoryBag>
</org.uddi.api_v3.TModel>
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/HelloWorld.wsdl'.
***** UDDI Binding TModel: HelloSoapBinding
<org.uddi.api_v3.TModel tModelKey="uddi:juddi.apache.org:HelloSoapBinding" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name xml:lang="en:">HelloSoapBinding</ns3:name>
    <ns3:overviewDoc>
        <ns3:overviewURL 
useType="wsdlDeployment">file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/HelloWorld.wsdl</ns3:overviewURL>
    </ns3:overviewDoc>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="http://www.jboss.org/bpel/examples/wsdl"; 
keyName="uddi-org:xml:binding:namespace" 
tModelKey="uddi:uddi.org:xml:namespace"/>
        <ns3:keyedReference keyValue="binding" keyName="uddi-org:wsdl:types" 
tModelKey="uddi:uddi.org:wsdl:types"/>
        <ns3:keyedReference keyValue="uddi:juddi.apache.org:HelloPortType" 
keyName="uddi-org:wsdl:portTypeReference" 
tModelKey="uddi:uddi.org:wsdl:porttypereference"/>
        <ns3:keyedReference keyValue="wsdlSpec" keyName="uddi-org:types" 
tModelKey="uddi:uddi-org:types"/>
        <ns3:keyedReference keyValue="uddi:uddi.org:protocol:soap" 
keyName="uddi-org:protocol:soap" 
tModelKey="uddi:uddi.org:wsdl:categorization:protocol"/>
        <ns3:keyedReference keyValue="uddi:uddi.org:transport:http" 
keyName="uddi-org:http" 
tModelKey="uddi:uddi.org:wsdl:categorization:transport"/>
    </ns3:categoryBag>
</org.uddi.api_v3.TModel>
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/HelloWorld.wsdl'.
***** BPEL4WS Process TModel: HelloWorld
<org.uddi.api_v3.TModel tModelKey="uddi:juddi.apache.org:HelloWorldProcess" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name xml:lang="en">HelloWorld</ns3:name>
    <ns3:overviewDoc>
        <ns3:overviewURL>http://localhost:8080/bpel-console/</ns3:overviewURL>
    </ns3:overviewDoc>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="http://www.jboss.org/bpel/examples"; 
keyName="uddi-org:xml:namespace" tModelKey="uddi:uddi.org:xml:namespace"/>
        <ns3:keyedReference keyValue="process" keyName="uddi-org:bpel:types" 
tModelKey="uddi:uddi.org:bpel:types"/>
        <ns3:keyedReference keyValue="uddi:juddi.apache.org:HelloPortType" 
keyName="uddi-org:wsdl:portTypeReference" 
tModelKey="uddi:uddi.org:wsdl:porttypereference"/>
    </ns3:categoryBag>
</org.uddi.api_v3.TModel>
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/bpel/HelloWorld.wsdl'.
***** WSDL Port BindingTemplate: 
uddi:juddi.apache.org:binding_localhost_helloservice_helloport
<org.uddi.api_v3.BindingTemplate 
serviceKey="uddi:juddi.apache.org:service_helloservice" 
bindingKey="uddi:juddi.apache.org:binding_localhost_helloservice_helloport" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:description xml:lang="en:">Default binding description when no 
&lt;wsdl:document&gt; element is defined inside the &lt;wsdl:binding&gt; 
element.</ns3:description>
    <ns3:accessPoint 
useType="endPoint">http://localhost/sample</ns3:accessPoint>
    <ns3:tModelInstanceDetails>
        <ns3:tModelInstanceInfo 
tModelKey="uddi:juddi.apache.org:HelloSoapBinding">
            <ns3:description xml:lang="en:">The wsdl:binding that this 
wsdl:port implements. Default binding description when no &lt;wsdl:document&gt; 
element is defined inside the &lt;wsdl:binding&gt; element. The instanceParms 
specifies the port local name.</ns3:description>
            <ns3:instanceDetails>
                <ns3:instanceParms>HelloPort</ns3:instanceParms>
            </ns3:instanceDetails>
        </ns3:tModelInstanceInfo>
        <ns3:tModelInstanceInfo tModelKey="uddi:juddi.apache.org:HelloPortType">
            <ns3:description xml:lang="en:">The wsdl:portType that this 
wsdl:port implements.</ns3:description>
        </ns3:tModelInstanceInfo>
        <ns3:tModelInstanceInfo 
tModelKey="uddi:juddi.apache.org:HelloServiceProcess">
            <ns3:description xml:lang="en:">The bpel:process this wsdl:port 
supports.Default service description when no &lt;wsdl:document&gt; element is 
defined inside the &lt;wsdl:service&gt; element.</ns3:description>
        </ns3:tModelInstanceInfo>
    </ns3:tModelInstanceDetails>
</org.uddi.api_v3.BindingTemplate>
***** Find TModel For ProcessName: 
{http://www.jboss.org/bpel/examples/wsdl}HelloWorld
<org.uddi.api_v3.FindTModel xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; 
xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name>HelloWorld</ns3:name>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="http://www.jboss.org/bpel/examples/wsdl"; 
tModelKey="uddi:uddi.org:xml:namespace"/>
        <ns3:keyedReference keyValue="process" 
tModelKey="uddi:uddi.org:bpel:types"/>
    </ns3:categoryBag>
</org.uddi.api_v3.FindTModel>
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.546 sec
Running org.apache.juddi.v3.client.mapping.ReadWSDLTest
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/wsdl/HelloWorld.wsdl'.
Retrieving document at 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3_service.wsdl'.
Retrieving document at 'uddi_api_v3_binding.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3_service.wsdl'.
Retrieving document at 'uddi_api_v3_portType.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_api_v3_binding.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_api_v3_portType.wsdl'.
Retrieving schema at 'www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd', 
relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3.xsd'.
Retrieving schema at 'www.w3.org/2001/xml.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3.xsd'.
Retrieving schema at 'uddi_v3policy_instanceParms.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_api_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3policy.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_api_v3_portType.wsdl'.
Retrieving schema at 'www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd', 
relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3policy.xsd'.
Retrieving schema at 'www.w3.org/2001/xml.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3policy.xsd'.
Retrieving document at 'uddi_custody_v3_binding.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3_service.wsdl'.
Retrieving document at 'uddi_custody_v3_portType.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_custody_v3_binding.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_custody_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3custody.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_custody_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3custody.xsd'.
Retrieving document at 'uddi_repl_v3_binding.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3_service.wsdl'.
Retrieving document at 'uddi_repl_v3_portType.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_repl_v3_binding.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_repl_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3replication.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_repl_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3replication.xsd'.
Retrieving schema at 'uddi_v3custody.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3replication.xsd'.
Retrieving schema at 'www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd', 
relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3replication.xsd'.
Retrieving document at 'uddi_sub_v3_binding.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3_service.wsdl'.
Retrieving document at 'uddi_sub_v3_portType.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_sub_v3_binding.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_sub_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3subscription.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_sub_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3subscription.xsd'.
Retrieving document at 'uddi_subr_v3_binding.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3_service.wsdl'.
Retrieving document at 'uddi_subr_v3_portType.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_subr_v3_binding.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_subr_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3subscriptionListener.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_subr_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3subscriptionListener.xsd'.
Retrieving schema at 'uddi_v3subscription.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3subscriptionListener.xsd'.
Retrieving document at 'uddi_vs_v3_binding.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3_service.wsdl'.
Retrieving document at 'uddi_vs_v3_portType.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_vs_v3_binding.wsdl'.
Retrieving schema at 'uddi_v3valueset.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_vs_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3valueset.xsd'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_vs_v3_portType.wsdl'.
Retrieving document at 'uddi_vscache_v3_binding.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3_service.wsdl'.
Retrieving document at 'uddi_vscache_v3_portType.wsdl', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_vscache_v3_binding.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_vscache_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3valuesetcaching.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_vscache_v3_portType.wsdl'.
Retrieving schema at 'uddi_v3.xsd', relative to 
'jar:file:/C:/Users/sean.kang/.m2/repository/org/apache/juddi/uddi-ws/3.1.0/uddi-ws-3.1.0.jar!/uddi_v3valuesetcaching.xsd'.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.353 sec
Running org.apache.juddi.v3.client.mapping.SelectionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.juddi.v3.client.mapping.ServiceLocatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
Running org.apache.juddi.v3.client.mapping.WSDL2UDDITest
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/wsdl/HelloWorld.wsdl'.
Sep 12, 2011 10:44:21 AM org.apache.juddi.v3.client.config.TokenResolver 
replaceTokens
SEVERE: Found token businessName but could not obtain its value. Data: 
uddi:juddi.apache.org:business_${businessName}
UDDI PortType TModel HelloPortType
<org.uddi.api_v3.TModel tModelKey="uddi:juddi.apache.org:HelloPortType" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name xml:lang="en:">HelloPortType</ns3:name>
    <ns3:overviewDoc>
        <ns3:overviewURL 
useType="wsdlDeployment">file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/wsdl/HelloWorld.wsdl</ns3:overviewURL>
    </ns3:overviewDoc>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="portType" keyName="uddi-org:wsdl:types" 
tModelKey="uddi:uddi.org:wsdl:types"/>
        <ns3:keyedReference keyValue="http://www.jboss.org/bpel/examples/wsdl"; 
keyName="uddi-org:xml:porttype:namespace" 
tModelKey="uddi:uddi.org:xml:namespace"/>
    </ns3:categoryBag>
</org.uddi.api_v3.TModel>
Retrieving document at 
'file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/wsdl/HelloWorld.wsdl'.
Sep 12, 2011 10:44:21 AM org.apache.juddi.v3.client.config.TokenResolver 
replaceTokens
SEVERE: Found token businessName but could not obtain its value. Data: 
uddi:juddi.apache.org:business_${businessName}
UDDI Binding TModel HelloSoapBinding
<org.uddi.api_v3.TModel tModelKey="uddi:juddi.apache.org:HelloSoapBinding" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:name xml:lang="en:">HelloSoapBinding</ns3:name>
    <ns3:overviewDoc>
        <ns3:overviewURL 
useType="wsdlDeployment">file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/wsdl/HelloWorld.wsdl</ns3:overviewURL>
    </ns3:overviewDoc>
    <ns3:categoryBag>
        <ns3:keyedReference keyValue="http://www.jboss.org/bpel/examples/wsdl"; 
keyName="uddi-org:xml:binding:namespace" 
tModelKey="uddi:uddi.org:xml:namespace"/>
        <ns3:keyedReference keyValue="binding" keyName="uddi-org:wsdl:types" 
tModelKey="uddi:uddi.org:wsdl:types"/>
        <ns3:keyedReference keyValue="uddi:juddi.apache.org:HelloPortType" 
keyName="uddi-org:wsdl:portTypeReference" 
tModelKey="uddi:uddi.org:wsdl:porttypereference"/>
        <ns3:keyedReference keyValue="wsdlSpec" keyName="uddi-org:types" 
tModelKey="uddi:uddi-org:types"/>
        <ns3:keyedReference keyValue="uddi:uddi.org:protocol:soap" 
keyName="uddi-org:protocol:soap" 
tModelKey="uddi:uddi.org:wsdl:categorization:protocol"/>
        <ns3:keyedReference keyValue="uddi:uddi.org:transport:http" 
keyName="uddi-org:http" 
tModelKey="uddi:uddi.org:wsdl:categorization:transport"/>
    </ns3:categoryBag>
</org.uddi.api_v3.TModel>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.apache.juddi.v3.client.mapping.WSDLLocatorTest
 
file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/wsdl/HelloWorld.wsdl
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1937)
        at 
org.apache.juddi.v3.client.mapping.WSDLLocatorTest.testResolveInCurrentDir(WSDLLocatorTest.java:52)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
        at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
 
file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/wsdl/HelloWorld.wsdl
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1937)
        at 
org.apache.juddi.v3.client.mapping.WSDLLocatorTest.testResolveInCurrentDir2(WSDLLocatorTest.java:69)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
        at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.juddi.v3.client.UDDIClerkManagerTest
Sep 12, 2011 10:44:21 AM org.apache.juddi.v3.client.config.UDDIClientContainer 
getUDDIClerkManager
WARNING: Deprecated, please specify a manager name
Sep 12, 2011 10:44:21 AM org.apache.juddi.v3.client.config.ClientConfig 
loadConfiguration
INFO: Reading UDDI Client properties file 
file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/META-INF/uddi.xml
Sep 12, 2011 10:44:21 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: Stopping UDDI Clerks for manager test-manager
Sep 12, 2011 10:44:22 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: UDDI Clerks shutdown completed for manager test-manager
Sep 12, 2011 10:44:22 AM org.apache.juddi.v3.client.config.ClientConfig 
loadConfiguration
INFO: Reading UDDI Client properties file 
file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/META-INF/uddi.xml
Sep 12, 2011 10:44:22 AM org.apache.juddi.v3.client.config.ClientConfig 
loadConfiguration
INFO: Reading UDDI Client properties file 
file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/META-INF/uddi2.xml
Sep 12, 2011 10:44:22 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: Stopping UDDI Clerks for manager test-manager
Sep 12, 2011 10:44:22 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: UDDI Clerks shutdown completed for manager test-manager
Sep 12, 2011 10:44:22 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: Stopping UDDI Clerks for manager second-manager
Sep 12, 2011 10:44:22 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: UDDI Clerks shutdown completed for manager second-manager
Sep 12, 2011 10:44:22 AM org.apache.juddi.v3.client.config.ClientConfig 
loadConfiguration
INFO: Reading UDDI Client properties file 
file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/META-INF/uddi.xml
Sep 12, 2011 10:44:23 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: Stopping UDDI Clerks for manager test-manager
Sep 12, 2011 10:44:23 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: UDDI Clerks shutdown completed for manager test-manager
Sep 12, 2011 10:44:23 AM org.apache.juddi.v3.client.config.UDDIClientContainer 
getUDDIClerkManager
WARNING: Deprecated, please specify a manager name
Sep 12, 2011 10:44:23 AM org.apache.juddi.v3.client.config.ClientConfig 
loadConfiguration
INFO: Reading UDDI Client properties file 
file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/META-INF/uddi.xml
Sep 12, 2011 10:44:23 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: Stopping UDDI Clerks for manager test-manager
Sep 12, 2011 10:44:23 AM org.apache.juddi.v3.client.config.UDDIClerkManager stop
INFO: UDDI Clerks shutdown completed for manager test-manager
Sep 12, 2011 10:44:23 AM org.apache.juddi.v3.client.config.UDDIClientContainer 
getUDDIClerkManager
WARNING: Deprecated, please specify a manager name
Sep 12, 2011 10:44:23 AM org.apache.juddi.v3.client.config.ClientConfig 
loadConfiguration
INFO: Reading UDDI Client properties file 
file:/C:/DEV/src/juddi-3.1.0/juddi-client/target/test-classes/META-INF/uddi.xml
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.228 sec
Running org.apache.juddi.v3.client.UDDIServiceWSDLTest
WSDL 
Path=file:/C:/Users/SEAN~1.KAN/AppData/Local/Temp/uddi_v3_service.wsdl7467978746020988675.wsdl
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.236 sec

Results :

Tests run: 34, Failures: 0, Errors: 0, Skipped: 1

[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
C:\DEV\src\juddi-3.1.0\juddi-client\target\juddi-client-3.1.0.jar to 
C:\Users\sean.kang\.m2\repository\org\apache\juddi\juddi-client\3.1.0\juddi-client-3.1.0.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/C:/Users/sean.kang/.m2/repository/repository.xml
[INFO] Installing org/apache/juddi/juddi-client/3.1.0/juddi-client-3.1.0.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Sep 12 10:44:24 PDT 2011
[INFO] Final Memory: 24M/58M
[INFO] ------------------------------------------------------------------------

Attachment: WSDLLocatorTest.java
Description: Binary data

Reply via email to