javaee / metro-ws-test-harness Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
To better test MEX, when the harness invokes 'wsimport' and it would have ?wsdl
on the end (eg. over http/s transport), the '?wsdl' should be left off. This
will cause wsimport to use MEX first.
Operating System: All
Platform: All
[current]
There should be an option to test endpoints without bundling them with WSDL.
That would allow us to test runtime WSDL generation and policy processing.
Operating System: All
Platform: Macintosh
[current]
Attached is the sample to reproduce the problem.
Here is the stacktrace
[java] Using file:/D:/work/jax-ws-mr21/jaxws-ri/tools/wscompile/build/class
es/com/sun/tools/ws/WsImport.class
[java] Using file:/D:/work/jax-ws-mr21/jaxws-ri/tools/wscompile/build/class
es/com/sun/tools/ws/WsGen.class
[java] Testing with the in-vm transport
[java] ..Using javac from jar:file:/D:/inst/jdk1.5_01/lib/tools.jar!/com/su
n/tools/javac/Main.class
[java] Generating WSDL
[java] error: The class "fromjava.server.AddNumbers" is not an endpoint imp
lementation class.
[java] F.F.
[java] Time: 5.518
[java] There were 2 failures:
[java] 1) fromjava.Deploy server(com.sun.xml.ws.test.exec.DeploymentExecuto
r)junit.framework.AssertionFailedError: wsimport reported exit code 1 expected:<
0> but was:<1>
[java] at com.sun.xml.ws.test.tool.LocalWsTool.invoke(LocalWsTool.java:
33)
[java] at com.sun.xml.ws.test.util.ArgumentListBuilder.invoke(ArgumentL
istBuilder.java:42)
[java] at com.sun.xml.ws.test.container.WAR.generateWSDL(WAR.java:262)
[java] at com.sun.xml.ws.test.container.AbstractApplicationContainer.as
sembleWar(AbstractApplicationContainer.java:43)
[java] at com.sun.xml.ws.test.container.invm.InVmContainer.deploy(InVmC
ontainer.java:51)
[java] at com.sun.xml.ws.test.exec.DeploymentExecutor.runBare(Deploymen
tExecutor.java:48)
[java] at com.sun.xml.ws.test.Main$1.doRun(Main.java:236)
[java] at com.sun.xml.ws.test.Main.run(Main.java:244)
[java] at com.sun.xml.ws.test.Main.doMain(Main.java:174)
[java] at com.sun.xml.ws.test.Main.main(Main.java:162)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at com.sun.xml.ws.test.Bootstrap.main(Bootstrap.java:61)
[java] 2) fromjava.client test_bsh(com.sun.xml.ws.test.exec.ClientExecutor)
junit.framework.AssertionFailedError: this test is skipped because of other fail
ures
[java] at com.sun.xml.ws.test.exec.ClientExecutor.runBare(ClientExecuto
r.java:36)
[java] at com.sun.xml.ws.test.Main$1.doRun(Main.java:236)
[java] at com.sun.xml.ws.test.Main.run(Main.java:244)
[java] at com.sun.xml.ws.test.Main.doMain(Main.java:174)
[java] at com.sun.xml.ws.test.Main.main(Main.java:162)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at com.sun.xml.ws.test.Bootstrap.main(Bootstrap.java:61)
[java] FAILURES!!!
[java] Tests run: 4, Failures: 2, Errors: 0
Operating System: All
Platform: All
[current]
Hi,
Can ws-test-harness support Web Services with handlers?
I am trying to add some tests which use handlers on server and client.
I am looking for common case like setting handler-chain on endpoint using
@HandlerChain on Endpoint Implementation. This annotation refers to handler
configuration file which needs to be packaged into the war. On the client-side,
generally handlers are configured through jax-ws customization.
thanks,
Rama
Operating System: All
Platform: All
[current]
Java SE endpoint should be started with a pointer to the service WSDL. Otherwise
it will generate its own WSDL and not pick up the WSIT configuration.
Operating System: All
Platform: Macintosh
[current]
1. Ensure that provider-based endpoints can be used.
2. Add support for direct use of 'xjc' rather than 'wsimport' for non-wsdl
provider endpoints to generate their JAXB classes.
Operating System: All
Platform: All
[current]
Given current MEX and wsimport implementations, MEX testing requires the harness
to be able to deploy a stand-alone servlet (non-jaxws). This is to allow any
arbitrary response to be sent back to the client for client testing.
Operating System: All
Platform: All
[current]
We should allow tests to be marked as "concurretly runnable" (or mark it as
"serial execution required") and provide a mode where harness runs multiple
clients concurrently to test the server/client infrastructure in a highly
concurrent environment.
This is a reminder to myself.
Operating System: All
Platform: All
[current]
If the main wsdl imports other wsdls they are not packaged into the war
TestCase attached.
StackTrace:
Using file:/D:/work/jax-ws-mr21/jaxws-ri/tools/wscompile/build/classes/com/sun/t
ools/ws/WsImport.class
Testing with the local transport
Using file:/D:/work/jax-ws-mr21/jaxws-ri/tools/wscompile/build/classes/com/sun/t
ools/ws/WsGen.class
..Generating server artifacts from D:\work\jax-ws-mr21\jaxws-unit\testcases\from
wsdl\wsdlimport\wsdl2.\server\ConcreteDef.wsdl
Using javac from jar:file:/D:/inst/jdk1.5_01/lib/tools.jar!/com/sun/tools/javac/
Main.class
error: failed to parse document at "file:/D:/work/jax-ws-mr21/jaxws-unit/testcas
es/fromwsdl/wsdlimport/wsdl2/work/services/server/war/WEB-INF/wsdl/ConcreteDef.w
sdl": java.io.FileNotFoundException: D:\work\jax-ws-mr21\jaxws-unit\testcases\fr
omwsdl\wsdlimport\wsdl2\work\services\server\war\WEB-INF\wsdl\AbstractDef.wsdl (
The system cannot find the file specified)
F.F.
Operating System: All
Platform: All
[current]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.