2009-07-14 3 views
1

J'utilise JBoss 4.2.3, Java 1.5 et Ubuntu. Avant de me dire de poster sur le forum de JBossWS, je l'ai déjà fait et il n'y a pas beaucoup d'activité là-bas. J'essaie d'appeler un point de fin de service Web Microsoft Exchange à partir d'une application Web JSF. J'ai écrit d'autres points d'extrémité de service Web et j'ai réussi à créer des clients dans mon application Web. Je l'utilise aussi le même code pour ce client dans une application Java autonome pour appeler le service Web d'échange et tout fonctionne très bien, mais pour une raison que je reçois cette exception dans mon application web:Appelez Microsoft EWS à partir de l'application JSF exécutée sur JBoss

org.jboss.ws.WSException: Cannot uniquely indentify operation: {http://schemas.microsoft.com/exchang 
e/services/2006/messages}Subscribe 

L'exception est levée lorsque la méthode d'abonnement com.microsoft.schemas.exchange.services._2006.messages.ExchangeServicePortType est appelée. partie relevent de la sortie d'exception:

13:17:15,718 ERROR [STDERR] org.jboss.ws.WSException: Cannot uniquely indentify operation: {http://s 
chemas.microsoft.com/exchange/services/2006/messages}Subscribe 
13:17:15,719 ERROR [STDERR]  at org.jboss.ws.metadata.umdm.EndpointMetaData.getOperation(EndpointMet 
aData.java:417) 
13:17:15,719 ERROR [STDERR]  at org.jboss.ws.core.CommonClient.getOperationMetaData(CommonClient.jav 
a:195) 
13:17:15,719 ERROR [STDERR]  at org.jboss.ws.core.CommonClient.getOperationMetaData(CommonClient.jav 
a:184) 
13:17:15,719 ERROR [STDERR]  at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:309 
) 
13:17:15,719 ERROR [STDERR]  at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:1 
72) 
13:17:15,719 ERROR [STDERR]  at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:1 
52) 
13:17:15,719 ERROR [STDERR]  at $Proxy101.subscribe(Unknown Source) 

Il y a aussi un tas de sortie lorsque l'objet javax.xml.ws.Service est créé:

13:17:13,438 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'The "xml:" Namespace'. 
13:17:13,438 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'The "xml:" Namespace'. 
13:17:13,438 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'This Version:'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'April 19, 2006'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Description'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'The namespace whose name is'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'http://www.w3.org/XML/1998/namespace'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'is bound by definition to'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'the prefix '. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'according to '. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Namespaces in XML,'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'W3C Recommendation 14 Jan 1999'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw '(and by '. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Namespaces in XML 1.1'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw ').'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Note that unlike all other XML namespaces, both t 
he name '. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'and'. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'the prefix are specified; '. 
13:17:13,439 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'i.e., if you want XML 1.0 processors to recognize 
this namespace, you must use'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'the reserved prefix '. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw '.'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:lang'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'and '. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:space'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'As of the last update of this document, the '. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'XML 1.0 (Third Edition) Specification'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw '(and also the '. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'XML 1.1 Specification'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw ')'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'defines two attribute names in this namespace:'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:lang'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Designed for identifying'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'the human language used in the scope of the eleme 
nt to which it's'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'attached.'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:space'. 
13:17:13,440 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Designed to express whether or not the document's 
creator wishes white'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'space to be considered as significant in the scop 
e of the element to which'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'it's attached.'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:base'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'The '. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'XML Base specification'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'describes a facility, similar to that of HTML BAS 
E, for defining base URIs for'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'parts of XML documents.'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'It defines a single attribute,'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:base'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw ', and describes in'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'detail the procedure for its use in processing re 
lative URI refeferences.'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:id'. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'The '. 
13:17:13,441 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:id specification'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'defines'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'a single attribute, '. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:id'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw ', known to be of type '. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'ID'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'independently of any DTD or schema.'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Namespace change policy'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'The '. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'XML Core Working'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Group'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'reserves the right to'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'bring additional names from this namespace into a 
ctive use by'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'providing definitions for them in new specificati 
ons or'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'subsequent editions of existing specifications. 
The Working'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Group may also make modifications to the definiti 
ons of the'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'names already in use, although such changes will 
not normally'. 
13:17:13,442 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'change the well-formedness or validity of existin 
g documents'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'or significantly change their meaning.'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'All changes to the use of this namespace will be 
achieved by'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'the publication of documents governed by the W3C 
Process.'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Related Resources'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Section'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw '2.10'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'of the XML 1.0 specification describes the syntax 
and semantics of'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'the '. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:space'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'attribute.'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'Section'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw '2.12'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'of the XML 1.0 specification describes the syntax 
and semantics of'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'the '. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:lang'. 
13:17:13,443 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'attribute.'. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'An '. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'XML Schema'. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'fragment'. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'is available which constrains the syntax of '. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:lang'. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw ', '. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:space'. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw ','. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'xml:base'. 
13:17:13,444 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-ch 
aracter]::Message=s4s-elt-character: Non-whitespace characters are not allowed in schema elements ot 
her than 'xs:appinfo' and 'xs:documentation'. Saw 'and '. 
13:17:13,444 

Répondre

1

C'est vraiment plus facile à résoudre que cela. J'utilise jboss 4.2.3 avec java 1.6. Tout ce que vous avez à faire est de supprimer les fichiers jar jboss-jaxws.jar et jboss-jaxws-ext.jar de jboss/server/<>/lib, <> est probablement par défaut. Cette fonctionnalité est maintenant contenue dans jdk, et l'ancienne version de jboss devrait être lancée.

Je viens de découvrir une autre paire de fichiers jar dans le répertoire jboss-4.2.3.GA/lib/endorsed/. Assurez-vous de les lancer aussi.

Mise à jour 2/25/2011 J'utilise maintenant JBoss 5.1. Les fichiers jar à supprimer dans cette version sont jbossws-native-jaxws-ext.jar et jbossws-native-jaxws.jar.

+0

Je havn't été en mesure de tester encore, mais je vais vous laisser savoir quand je fais. –

+0

Je supprime tous les jars de services Web * native * dans le répertoire/lib par défaut et tout a fonctionné! Je vous remercie! –

1

Cela semble être assez commun problème avec les services Web Microsoft, en ce sens que les opérations définies dans le WSDL partagent souvent des types de message. Ceci, je crois, n'est pas autorisé par la spécification WSDL, en ce sens que la charge utile du message de chaque opération doit avoir un type unique identifiable. JBoss-WS semble se fier à cette conformité (pas déraisonnablement), mais ce n'est pas très réconfortant pour vous.

Comme c'est souvent le cas avec les questions des clients Java WS, je suggère de ne pas utiliser JBoss-WS et d'utiliser Spring-WS à la place. Il ignore le WSDL et envoie simplement des documents XML enveloppés SOAP. J'ai utilisé Spring-WS pour m'intégrer aux services Web de Microsoft qui ont exactement ce problème de «fonctionnement non unique», mais je n'ai jamais réussi à obtenir un client de liaison WSDL traditionnel pour travailler dans des cas comme ceux-ci.

0

Cela peut vouloir dire que vous avez 2 méthodes web ou plus avec le même nom @WebParam. Ex: Je remarqué l'erreur quand j'avais, dans un webservice, deux méthodes Web ci-dessous:

public String deleteRecords(@WebParam(name="recordsMessage") String fddXml) ; 
public String reprocessRecords(@WebParam(name="recordsMessage") String fddXml); 
Questions connexes