[JBoss JIRA] Created: (JBWS-3162) Add javaee_web_services_metadata_handler_2_0.xsd to jbossws-entities.properties
by Robert Dale (JIRA)
Add javaee_web_services_metadata_handler_2_0.xsd to jbossws-entities.properties
-------------------------------------------------------------------------------
Key: JBWS-3162
URL: https://jira.jboss.org/browse/JBWS-3162
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.4.1
Reporter: Robert Dale
This is for JBEPP-400 . I believe this change belongs here rather than have EPP use a catalog.
META-INF/jbossws-entities.properties:
http\://java.sun.com/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd=schema/javaee_web_services_metadata_handler_2_0.xsd
schema/javaee_web_services_metadata_handler_2_0.xsd (from http://java.sun.com/xml/ns/javaee/javaee_web_services_metadata_handler_2_...):
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://java.sun.com/xml/ns/javaee"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="2.0">
<xsd:annotation>
<xsd:documentation>
javaee_web_services_metadata_handler.xsd v2.0.1 11/09/2007
</xsd:documentation>
</xsd:annotation>
<xsd:annotation>
<xsd:documentation>
Copyright 2004-2007 BEA Systems, Inc.
</xsd:documentation>
</xsd:annotation>
<xsd:include schemaLocation="javaee_5.xsd"/>
<xsd:element name="handler-chains"
type="javaee:service-ref_handler-chainsType">
<xsd:annotation>
<xsd:documentation>
The handler-chains element is the root element for defining
handlerchains.
The Web Services Metadata for the Java Platform (JSR-181), Version 2.0
specification defines the @javax.jws.HandlerChain annotation
that refers to an XML descriptor conforming to this schema.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months
[JBoss JIRA] Created: (JBWS-3011) Make the default JAX-WS Client and Endpoint Configuration configurable
by David Boeren (JIRA)
Make the default JAX-WS Client and Endpoint Configuration configurable
----------------------------------------------------------------------
Key: JBWS-3011
URL: https://jira.jboss.org/jira/browse/JBWS-3011
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.3.0.CR2
Reporter: David Boeren
Priority: Minor
I would like to have a possibility to configure the default JAX-WS Client and Endpoint Configuration. Currently the "Standard Client" (in file "standard-jaxws-client-config.xml") and "Standard Endpoint" (in file "standard-jaxws-endpoint-config.xml") are hardcoded in the interface org.jboss.ws.metadata.config.ConfigurationProvider as default configurations.
If a common enterprise specific configuration is in available then it would be nice to have the possibility to set it by default. Currently, every endpoint or client must define the annotation @EndpointConfig and @HandlerChain respectively.
A possibility would be to have two system properties to define the default configuration name for clients and endpoints for a JBoss server. I think from a JBoss/JBossWS perspective it makes sense to name them something like jbossws.jaxws.default.endpoint.config and jbossws.jaxws.default.client.config
By-the-way: It probably make also sense to make the default configuration filename configurable. The filename is more or less at the same place in the code. The solution could look similar as described for configuration name. However, configurable default filenames is not a requirement for me.
As a test, I have patched three classes in my JBoss in order to have a possibility to set the default configuration by system property.
For client configuration:
- org.jboss.ws.metadata.umdm.ClientEndpointMetaData
- org.jboss.ws.tools.metadata.ToolsEndpointMetaData
For endpoint configuration:
- org.jboss.ws.metadata.umdm.ServerEndpointMetaData
For example, I have only replaced the line
String configName = ConfigurationProvider.DEFAULT_ENDPOINT_CONFIG_NAME;
with the following
String configName = System.getProperty("jbossws.jaxws.default.endpoint.config", "AXA Standard Endpoint");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (JBWS-3320) JBoss Native WS - problem with Abstract class as output Parameter in WebService
by prakash pethe (JIRA)
JBoss Native WS - problem with Abstract class as output Parameter in WebService
-------------------------------------------------------------------------------
Key: JBWS-3320
URL: https://issues.jboss.org/browse/JBWS-3320
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Environment: - jboss-5.1.0.GA
- eclipseHelios
-windowsXp- SP3
Reporter: prakash pethe
I've a problem to use abstract class in a Web Service like WebMethod output parameter.
I'm using JBOSS-5.1.0.GA and java runtime Version 6. It always return emtpry tag for abstract tag.
I have completed below step as well
When running under Java 6 you need to manually copy the following libraries from the JBOSS_HOME/client directory to the JBOSS_HOME/lib/endorsed directory, so that the JAX-WS 2.0 apis supported by JBossWS are used:
jbossws-native-saaj.jar
jbossws-native-jaxrpc.jar
jbossws-native-jaxws.jar
jbossws-native-jaxws-ext.jar
for below section of WSDL:
<xsd:complexType name="Personne" abstract="true" />
<xsd:complexType name="PersonnePhysique">
<xsd:complexContent>
<xsd:extension base="Personne">
Getting below error stack:
javax.xml.ws.WebServiceException: javax.xml.bind.UnmarshalException: Unable to create an instance of com.sfr.sigc.rechercherpersonneetroles.Personne
- with linked exception:
[java.lang.InstantiationException]
at org.jboss.ws.core.jaxws.JAXBDeserializer.handleUnmarshallException(JAXBDeserializer.java:110)
at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:78)
at org.jboss.ws.core.binding.DeserializerSupport.deserialize(DeserializerSupport.java:58)
at org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:179)
at org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:96)
at org.jboss.ws.core.soap.SOAPContentElement.transitionTo(SOAPContentElement.java:140)
at org.jboss.ws.core.soap.SOAPBodyElementDoc.transitionTo(SOAPBodyElementDoc.java:85)
at org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:172)
at org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:261)
at org.jboss.ws.core.EndpointInvocation.getReturnValue(EndpointInvocation.java:195)
at org.jboss.ws.core.CommonClient.syncOutputParams(CommonClient.java:511)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:397)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy309.rechercherPersonneEtRoles(Unknown Source)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months