Jeremy Boynes wrote:
Axis WSContainerTest



Wrong file - try this one
Testsuite: org.openejb.server.axis.WSContainerTest
Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 3.305 sec

------------- Standard Output ---------------
Retrieving document at 'META-INF/wsdl/test-ejb.wsdl'.
GET /test/service?wsdl HTTP/1.1
User-Agent: Java/1.4.2_07
Host: localhost:4147
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

HTTP/1.1 200 OK
Content-Length: 1439
Connection: close
Content-Type: text/xml
Server: OpenEJB/??? (unknown os)

<definitions name="SimpleService" 
targetNamespace="http://openejb.org/test-ejb-jar"; 
xmlns:test="http://openejb.org/test-ejb-jar"; 
xmlns="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
  <types/>
  <message name="echoRequest">
    <part name="String_1" type="xsd:string"/>
  </message>
  <message name="echoResponse">
    <part name="result" type="xsd:string"/>
  </message>
  <portType name="Simple">
    <operation name="echo" parameterOrder="String_1">
      <input message="test:echoRequest"/>
      <output message="test:echoResponse"/>
    </operation>
  </portType>
  <binding name="SimpleBinding" type="test:Simple">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style="rpc"/>
    <operation name="echo">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
use="encoded" namespace="http://openejb.org/test-ejb-jar"/>
      </input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
use="encoded" namespace="http://openejb.org/test-ejb-jar"/>
      </output>
    </operation>
  </binding>
  <service name="SimpleService">
    <port name="SimplePort" binding="test:SimpleBinding">
      <soap:address location="LOCATIONREPLACEMENTTOKEN"/>
    </port>
  </service>
</definitions>
Retrieving document at 'META-INF/wsdl/test-ejb.wsdl'.
POST /services/Simple HTTP/1.1
Content-Type: text/xml
User-Agent: Java/1.4.2_07
Host: localhost:4149
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 430

HTTP/1.1 200 OK
Content-Length: 467
Connection: close
Content-Type: text/xml; charset=utf-8
Server: OpenEJB/??? (unknown os)

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <ns1:echoResponse 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:ns1="http://openejb.org/test-ejb-jar";>
   <result xsi:type="xsd:string">hello</result>
  </ns1:echoResponse>
 </soapenv:Body>
</soapenv:Envelope>------------- ---------------- ---------------
------------- Standard Error -----------------
log4j:WARN No appenders could be found for logger 
(org.apache.geronimo.kernel.basic.BasicKernel).
log4j:WARN Please initialize the log4j system properly.
------------- ---------------- ---------------
Testcase: testGetWSDL(org.openejb.server.axis.WSContainerTest): FAILED
expected:<http://localhost:4147/services/Simple> but 
was:<LOCATIONREPLACEMENTTOKEN>
junit.framework.ComparisonFailure: 
expected:<http://localhost:4147/services/Simple> but 
was:<LOCATIONREPLACEMENTTOKEN>
        at 
org.openejb.server.axis.WSContainerTest.testGetWSDL(WSContainerTest.java:143)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Reply via email to