Coder Social home page Coder Social logo

metro-ws-test-harness's Introduction

โš ๏ธ This project is now part of the EE4J initiative. This repository has been archived as all activities are now happening in the corresponding Eclipse repository.

metro-ws-test-harness's People

Contributors

lukasj avatar verdent avatar tomas-kraus avatar m0mus avatar jaxbrobot avatar zhengjl avatar glassfishrobot avatar

Stargazers

Daniel Blair avatar

Watchers

James Cloos avatar  avatar Romain Grecourt avatar  avatar  avatar  Karen Guo avatar  avatar Roman Grigoriadi avatar Arindam Bandyopadhyay avatar Ed Bratt avatar Xiaojun Wu avatar  avatar  avatar

metro-ws-test-harness's Issues

Disable using ?wsdl for WSIT wsimport calls

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.

Environment

Operating System: All
Platform: All

Affected Versions

[current]

support endpoints without WSDL

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.

Environment

Operating System: All
Platform: Macintosh

Affected Versions

[current]

harness has problem with fromjava test if the the test has an SEI

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

Environment

Operating System: All
Platform: All

Affected Versions

[current]

Handlers support needed from Harness

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

Environment

Operating System: All
Platform: All

Affected Versions

[current]

Add WSDL location to Java SE endpoint

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.

Environment

Operating System: All
Platform: Macintosh

Affected Versions

[current]

Provider Endpoint support

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.

Environment

Operating System: All
Platform: All

Affected Versions

[current]

stand-alone servlet deployment capability

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.

Environment

Operating System: All
Platform: All

Affected Versions

[current]

Concurrency testing support

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.

Environment

Operating System: All
Platform: All

Affected Versions

[current]

Problem if the test has wsdl importing other wsdls.

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.

Environment

Operating System: All
Platform: All

Affected Versions

[current]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.