[JBoss JIRA] Created: (JBWS-1380) NPE in java2wsdl with no package for SEI
by Thomas Diesler (JIRA)
NPE in java2wsdl with no package for SEI
-----------------------------------------
Key: JBWS-1380
URL: http://jira.jboss.com/jira/browse/JBWS-1380
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: wstools
Reporter: Thomas Diesler
Exception in thread "main" java.lang.NullPointerException
at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:303)
at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122)
at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
I found the reason behind the Exception.
I was not defining the interface in any package. Looks like it is required. So I added
package org.myapp;
and it started working.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years
[JBoss JIRA] Commented: (JBWS-1297) Implement JAXB Fault Marshalling
by Alejandro Guizar (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1297?page=comments#action_12347154 ]
Alejandro Guizar commented on JBWS-1297:
----------------------------------------
prepare:
[echo] -----------------------------------------------
[echo] jboss.home = C:/dev/jboss/trunk/build/output/jboss-5.0.0.Beta
[echo] tomcat.home = ${tomcat.home}
[echo] java.home = C:\dev\jdk1.5.0_07\jre
[echo] -----------------------------------------------
one-test:
[junit] Running org.jboss.test.ws.jaxrpc.encoded.marshalltest.MarshallTestCase
[junit] FIXME: [JBWS-485] SOAP encoded arrays as bean properties
[junit] FIXME: [JBWS-485] SOAP encoded arrays as bean properties
[junit] Tests run: 48, Failures: 0, Errors: 0, Time elapsed: 42.125 sec
testMyServiceExceptionTest had been disabled due to this issue.
> Implement JAXB Fault Marshalling
> --------------------------------
>
> Key: JBWS-1297
> URL: http://jira.jboss.com/jira/browse/JBWS-1297
> Project: JBoss Web Services
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: jaxws
> Reporter: Jason T. Greene
> Assigned To: Alejandro Guizar
> Fix For: jbossws-2.0.0.CR2
>
>
> Currently the marshalling layer tries to pass the exception class to JAXB. Instead it needs to pass the fault bean, and then copy the properties to/from the actual exception
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years
[JBoss JIRA] Commented: (JBWS-807) A handler's handleFault() method is never called.
by Alejandro Guizar (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-807?page=comments#action_12347144 ]
Alejandro Guizar commented on JBWS-807:
---------------------------------------
A test in this case had been disabled due to JBWS-1297:
prepare:
[echo] -----------------------------------------------
[echo] jboss.home = C:/dev/jboss/trunk/build/output/jboss-5.0.0.Beta
[echo] tomcat.home = ${tomcat.home}
[echo] java.home = C:\dev\jdk1.5.0_07\jre
[echo] -----------------------------------------------
one-test:
[junit] Running org.jboss.test.ws.jaxrpc.jbws807.JBWS807TestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.547 sec
Note: the resolution of JBWS-1297 only modified JAX-WS behavior. This test is unaffected by that issue.
> A handler's handleFault() method is never called.
> -------------------------------------------------
>
> Key: JBWS-807
> URL: http://jira.jboss.com/jira/browse/JBWS-807
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jaxrpc
> Affects Versions: jbossws-1.0.0.CR4
> Environment: JBoss4.0.4-RC2
> Reporter: Dave Head-Rapson
> Assigned To: Heiko Braun
> Fix For: jbossws-1.0.0
>
> Attachments: JAXRPCServerExceptionHandler.java, standard-jbossws-endpoint-config.xml
>
>
> For a handler deployed under jbossws, the handleFault() method is only called when a known exception is thrown.
> That is, for exceptions thrown from behind a web service, that have no jaxrpc mapping, the handleFault() method of web service handlers is never executied.
> To replicate:
> * I've attached a simple handler class, and the standard-jbossws-endpoint-config.xml file I've been using to set the handler to the chain.
> * Compile & install the handler class onto the classpath, then deploy any web service on the server.
> * Change the server config so that when it's called it will throw some unexpected runtime exception - perhaps you could remove datasource or some other resource required by the service.
> * The call the web service
> * The output will contain some debug from the handleRequest() method of the JAXRPCServerExceptionHandler
> * The output will not contain any debug messages from the JAXRPCServerExceptionHandler
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years
[JBoss JIRA] Created: (JBWS-1358) JAXWSDeployerJSE has hard-coded relativeOrder
by Scott M Stark (JIRA)
JAXWSDeployerJSE has hard-coded relativeOrder
---------------------------------------------
Key: JBWS-1358
URL: http://jira.jboss.com/jira/browse/JBWS-1358
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jaxws
Affects Versions: jbossws-2.0.0.CR2
Reporter: Scott M Stark
The JAXWSDeployerJSE currently has a hard-coded relative order value:
// The default relative order after the JBossWebAppParsingDeployer
public int getRelativeOrder()
{
return PARSER_DEPLOYER + 3;
}
This needs to be changed to:
public JAXWSDeployerJSE()
{
// Set the default relative order
setRelativeOrder(...);
}
The PARSER_DEPLOYER + 3 as a default is also incorrect, but just allowing the relativeOrder to be externalized is enough for now.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years