Позвоните в Microsoft EWS из приложения JSF, работающего на JBoss - PullRequest
1 голос
/ 14 июля 2009

Я использую JBoss 4.2.3, Java 1.5 и Ubuntu. Перед тем, как вы скажете мне публиковать сообщения на форуме JBossWS, у меня уже есть и там не так много активности. Я пытаюсь вызвать конечную точку веб-службы Microsoft Exchange из веб-приложения JSF. Я написал другие конечные точки веб-службы и успешно встроил клиентов в мое веб-приложение. Я также использую тот же код для этого клиента в отдельном приложении Java для вызова веб-службы Exchange, и все работает отлично, но по какой-то причине я получаю это исключение в своем веб-приложении:

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

Исключение выдается при вызове метода подписки com.microsoft.schemas.exchange.services._2006.messages.ExchangeServicePortType. Отбросить часть вывода исключения:

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)

Существует также несколько выходных данных при создании объекта javax.xml.ws.Service:

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

Ответы [ 3 ]

1 голос
/ 28 августа 2009

Это на самом деле легче решить, чем это. Я использую jboss 4.2.3 с Java 1.6. Все, что вам нужно сделать, это удалить файлы jar jboss-jaxws.jar и jboss-jaxws-ext.jar из jboss / server / <> / lib, <>, вероятно, по умолчанию. Эта функциональность содержится в jdk сейчас, и более старую версию в jboss следует выбросить.

Я только что обнаружил другую пару файлов jar в каталоге jboss-4.2.3.GA/lib/endorsed/. Убедитесь, что вы их тоже бросили.

Обновление 25.02.2011 Я сейчас использую JBoss 5.1. Файлы jar для удаления в этой версии: jbossws-native-jaxws-ext.jar и jbossws-native-jaxws.jar.

1 голос
/ 14 июля 2009

Казалось бы, это довольно распространенная проблема с веб-службами Microsoft, поскольку операции, определенные в WSDL, часто имеют общие типы сообщений. Я полагаю, что это не разрешено спецификацией WSDL, поскольку полезная нагрузка сообщения каждой операции должна иметь уникально идентифицируемый тип. Казалось бы, JBoss-WS полагается на это соответствие (не без оснований), но это не слишком утешительно для вас.

Как часто бывает с вопросами о клиентах Java WS, я предлагаю не использовать JBoss-WS и вместо этого использовать Spring-WS . Он игнорирует WSDL и просто отправляет XML-документы в оболочке SOAP. Я использовал Spring-WS для интеграции с веб-службами Microsoft, которые имеют именно эту проблему «неуникальной операции», но мне так и не удалось заставить традиционный WSDL-связывающий клиент работать в подобных случаях.

0 голосов
/ 13 июля 2012

Это может означать, что у вас есть 2 или более веб-метода с одинаковым именем @WebParam. Например: я заметил ошибку, когда в веб-сервисе было два веб-метода, как показано ниже:

public String deleteRecords(@WebParam(name="recordsMessage") String fddXml) ; 
public String reprocessRecords(@WebParam(name="recordsMessage") String fddXml);
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...