[JBoss JIRA] Created: (JBWS-1852) Failed to create a new SAX parser
by Thomas Diesler (JIRA)
Failed to create a new SAX parser
---------------------------------
Key: JBWS-1852
URL: http://jira.jboss.com/jira/browse/JBWS-1852
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jbossws-2.0.2
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
at org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfigFactory.java:76)
at org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:134)
at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.java:704)
at org.jboss.ws.metadata.umdm.EndpointMetaData.setConfigNameInternal(EndpointMetaData.java:695)
at org.jboss.ws.metadata.umdm.EndpointMetaData.setConfigName(EndpointMetaData.java:679)
at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.processEndpointConfig(JAXWSServerMetaDataBuilder.java:76)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:137)
at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:108)
at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:124)
at org.jboss.wsf.spi.tools.ant.WSProvideTask.executeNonForked(WSProvideTask.java:221)
at org.jboss.wsf.spi.tools.ant.WSProvideTask.execute(WSProvideTask.java:237)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:101)
at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:55)
at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
... 23 more
Caused by: java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
at javax.xml.parsers.SAXParser.isXIncludeAware(SAXParser.java:511)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:93)
... 25 more
--
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
17 years, 2 months
[JBoss JIRA] Commented: (JBWS-926) JBoss to JBoss binary optimiztion
by Levi Purvis (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-926?page=comments#action_12383940 ]
Levi Purvis commented on JBWS-926:
----------------------------------
Consider just supporting XML Fast InfoSet as your binary optimization. It will then still interoperate with other servers (Sun, Microsoft) and still be highly optimized. My tests with Sun's JAXB/JAXWS stack shows that using Fast InfoSet performed very close to RMI (with out taking any effort to optimize).
Why reinvent the wheel when you can use a standard with a quality parser / serializer that is already available? The Fast InfoSet API conforms to the three standard XML API's, so it should be easy to plug in.
https://fi.dev.java.net/
> JBoss to JBoss binary optimiztion
> ---------------------------------
>
> Key: JBWS-926
> URL: http://jira.jboss.com/jira/browse/JBWS-926
> Project: JBoss Web Services
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: jbossws-jaxws
> Reporter: Thomas Diesler
> Fix For: jbossws-2.1.1
>
>
> With WS the client and server are fundamentally disconnected and exchange XML documents that are valid in the context of the abstract contract defined in WSDL. Having said that, client/server implementations might not care about the abstract contract as long as there are no handlers involved that work on the SAAJ/DOM API. Currently all transport concerns are delegated to jboss-remoting. It would therefore be possible to implement a binary transfer of the SOAPMessage that is linked to a remoting protocol other than HTTP.
--
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
17 years, 2 months
[JBoss JIRA] Created: (JBWS-1842) JAXB based ServiceRef meta data
by Thomas Diesler (JIRA)
JAXB based ServiceRef meta data
-------------------------------
Key: JBWS-1842
URL: http://jira.jboss.com/jira/browse/JBWS-1842
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jbossws-jaxrpc, jbossws-jaxws
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jbossws-2.0.2
It looks like the only integration point for creation of a ObjectModelFactory based impl that hands off to a ServiceRefHandler impl from the ws spi. Can we get the ws spi to provide a jaxb annotated element ala this from the metadata project instead?
Code:
package org.jboss.metadata.javaee.spec;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.jboss.metadata.javaee.support.ResourceInjectionMetaDataWithDescriptionGroup;
/**
* ServiceReferenceMetaData.
*
* @author <a href="adrian(a)jboss.com">Adrian Brock</a>
* @version $Revision: 1.1 $
*/
@XmlType(name="service-refType")
public class ServiceReferenceMetaData extends ResourceInjectionMetaDataWithDescriptionGroup
{
/** The serialVersionUID */
private static final long serialVersionUID = 5693673588576610322L;
/** The service interface */
private String serviceInterface;
/** The service reference type */
private String serviceRefType;
/** The wsdl file */
private String wsdlFile;
/** The jaxrpc mapping file */
private String jaxrpcMappingFile;
/** The service qname */
private QName serviceQname;
/** The handlers */
private ServiceReferenceHandlersMetaData handlers;
/** The handler chains */
private ServiceReferenceHandlerChainsMetaData handlerChains;
/**
* Create a new ServiceReferenceMetaData.
*/
public ServiceReferenceMetaData()
{
// For serialization
}
/**
* Get the serviceRefName.
*
* @return the serviceRefName.
*/
public String getServiceRefName()
{
return getName();
}
/**
* Set the serviceRefName.
*
* @param serviceRefName the serviceRefName.
* @throws IllegalArgumentException for a null serviceRefName
*/
public void setServiceRefName(String serviceRefName)
{
setName(serviceRefName);
}
/**
* Get the jaxrpcMappingFile.
*
* @return the jaxrpcMappingFile.
*/
public String getJaxrpcMappingFile()
{
return jaxrpcMappingFile;
}
/**
* Set the jaxrpcMappingFile.
*
* @param jaxrpcMappingFile the jaxrpcMappingFile.
* @throws IllegalArgumentException for a null jaxrpcMappingFile
*/
public void setJaxrpcMappingFile(String jaxrpcMappingFile)
{
if (jaxrpcMappingFile == null)
throw new IllegalArgumentException("Null jaxrpcMappingFile");
this.jaxrpcMappingFile = jaxrpcMappingFile;
}
/**
* Get the serviceInterface.
*
* @return the serviceInterface.
*/
public String getServiceInterface()
{
return serviceInterface;
}
/**
* Set the serviceInterface.
*
* @param serviceInterface the serviceInterface.
* @throws IllegalArgumentException for a null serviceInterface
*/
public void setServiceInterface(String serviceInterface)
{
if (serviceInterface == null)
throw new IllegalArgumentException("Null serviceInterface");
this.serviceInterface = serviceInterface;
}
/**
* Get the serviceQname.
*
* @return the serviceQname.
*/
public QName getServiceQname()
{
return serviceQname;
}
/**
* Set the serviceQname.
*
* @param serviceQname the serviceQname.
* @throws IllegalArgumentException for a null serviceQname
*/
public void setServiceQname(QName serviceQname)
{
if (serviceQname == null)
throw new IllegalArgumentException("Null serviceQname");
this.serviceQname = serviceQname;
}
/**
* Get the serviceRefType.
*
* @return the serviceRefType.
*/
public String getServiceRefType()
{
return serviceRefType;
}
/**
* Set the serviceRefType.
*
* @param serviceRefType the serviceRefType.
* @throws IllegalArgumentException for a null serviceRefType
*/
//@SchemaProperty(mandatory=false)
@XmlElement(required=false)
public void setServiceRefType(String serviceRefType)
{
if (serviceRefType == null)
throw new IllegalArgumentException("Null serviceRefType");
this.serviceRefType = serviceRefType;
}
/**
* Get the wsdlFile.
*
* @return the wsdlFile.
*/
public String getWsdlFile()
{
return wsdlFile;
}
/**
* Set the wsdlFile.
*
* @param wsdlFile the wsdlFile.
* @throws IllegalArgumentException for a null wsdlFile
*/
public void setWsdlFile(String wsdlFile)
{
if (wsdlFile == null)
throw new IllegalArgumentException("Null wsdlFile");
this.wsdlFile = wsdlFile;
}
/**
* Get the handlers.
*
* @return the handlers.
*/
public ServiceReferenceHandlersMetaData getHandlers()
{
return handlers;
}
/**
* Set the handlers.
*
* @param handlers the handlers.
* @throws IllegalArgumentException for a null handlers
*/
@XmlElement(name="handler")
public void setHandlers(ServiceReferenceHandlersMetaData handlers)
{
if (handlers == null)
throw new IllegalArgumentException("Null handlers");
this.handlers = handlers;
}
/**
* Get the handlerChains.
*
* @return the handlerChains.
*/
public ServiceReferenceHandlerChainsMetaData getHandlerChains()
{
return handlerChains;
}
/**
* Set the handlerChains.
*
* @param handlerChains the handlerChains.
* @throws IllegalArgumentException for a null handlerChains
*/
//@SchemaProperty(mandatory=false)
@XmlElement(required=false)
public void setHandlerChains(ServiceReferenceHandlerChainsMetaData handlerChains)
{
if (handlerChains == null)
throw new IllegalArgumentException("Null handlerChains");
this.handlerChains = handlerChains;
}
}
--
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
17 years, 2 months
[JBoss JIRA] Commented: (JBWS-925) Add support for FastInfoset
by Alexander Philippou (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-925?page=comments#action_12383398 ]
Alexander Philippou commented on JBWS-925:
------------------------------------------
Fast Infoset can also be used on .NET as a message encoding for WCF-based Web Services. If you are not convinced yet, check out the size comparisons at http://www.noemax.com/products/fastinfoset/size_comparisons.html. The point is that you can get a good reduction of message size without processing performance penalties. Fast Infoset is also used as a stateful message encoding in the new SOAP/TCP transport, which is already available for GlassFish and WCF.
> Add support for FastInfoset
> ---------------------------
>
> Key: JBWS-925
> URL: http://jira.jboss.com/jira/browse/JBWS-925
> Project: JBoss Web Services
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: jbossws-jaxws
> Reporter: Thomas Diesler
> Fix For: jbossws-2.1.1
>
>
> A standard way of doing binary WS is FastInfoset
> http://java.sun.com/developer/technicalArticles/xml/fastinfoset/
> The Fast Infoset standard draft (currently being developed as joint work by ISO/IEC JTC 1 and ITU-T) specifies a binary format for XML infosets that is an efficient alternative to XML. An instance of this binary format is called a fast infoset document. Fast infoset documents are analogous to XML documents. Each has a physical form and an XML infoset. Fast infoset documents are, given the results presented, faster to serialize and parse, and smaller in size, than the equivalent XML documents. Thus, fast infoset documents may be used whenever the size and processing time of XML documents is an issue.
--
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
17 years, 3 months