-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
tdiesler@TDDELL /cygdrive/d/projects/jboss-head/testsuite
$ ant -Dtest=org.jboss.test.webservice.jbws425.JBWS425TestCase one-test
one-test:
[junit] Running org.jboss.test.webservice.jbws425.JBWS425TestCase
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 3.578 sec
[junit] Test org.jboss.test.webservice.jbws425.JBWS425TestCase FAILED
The message returned from the server is
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:helloResponse xmlns:ns1='http://org.jboss.test.webservice/jbws425'>
<result>"urn:some-soap-action"</result>
</ns1:helloResponse>
</env:Body>
</env:Envelope>
The test fails with
Testcase: testClientAccess took 1.563 sec
FAILED
expected:<"urn:some-soap-action"> but was:<"urn:some-soap-action">
junit.framework.ComparisonFailure: expected:<"urn:some-soap-action"> but was:<"urn:some-soap-action">
at org.jboss.test.webservice.jbws425.JBWS425TestCase.testClientAccess(JBWS425TestCase.java:78)
2005-12-12 12:37:33,562 DEBUG [org.jboss.ws.soap.SOAPContentElement:191] xmlFragment: <result>"urn:some-soap-action"</result>
2005-12-12 12:37:33,562 DEBUG [org.jboss.ws.jaxrpc.encoding.SimpleDeserializer:45] deserialize: [xmlName=result,xmlType=
string]
2005-12-12 12:37:33,562 DEBUG [org.jboss.ws.soap.SOAPContentElement:260] objectValue: java.lang.String
IMHO, the string value returned from SimpleTypeBindings.unmarshal is incorrect.