[jboss-user] [JBoss Web Services] New message: "RPC/Encoded Jboss problem"

Lucas Toledo do-not-reply at jboss.com
Tue Jan 19 12:20:27 EST 2010

User development,

A new message was posted in the thread "RPC/Encoded Jboss problem":


Author  : Lucas Toledo
Profile : http://community.jboss.org/people/lucastoledo

Hi there, I'm running jboss-4.2.1.GA to generate WS requests.
I have created the WS client with the help of JWSDP-2.0/JAXRPC. I have deployed the client to Jboss and I am now trying to send requests.
When I try to initialise the client service: javax.xml.rpc.Service service = servicefactory.createService(new URL(wsdlURL), serviceQN), Jboss starts to complain. 
The error that Jboss generates is:
ERROR [JBossXSErrorHandler] JBossWS_targetnamespace1.com7796329154971783225.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve.4.2]::Message=src-resolve.4.2: Error resolving component 'tns2:SimpleSerialiser'. It was detected that 'tns2:SimpleSerialiser' is in namespace 'http://targetnamespace2.com', but components from this namespace are not referenceable from schema document 'file:/home/jbossPath/jboss-4.2.1.GA/server/default/tmp/jbossws/JBossWS_targetnamespace1.com7796329154971783225.xsd'. If this is the incorrect namespace, perhaps the prefix of 'tns2:SimpleSerialiser' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/home/lucast/progs/beatSystems/mobaq/jboss-4.2.1.GA/server/default/tmp/jbossws/JBossWS_targetnamespace1.com7796329154971783225.xsd'.
followed by a warning: WARN  [WSDL11Reader] Encoding style 'http://schemas.xmlsoap.org/soap/encoding/' not supported for: {urn:namespace}doTask
Finally, the following error is displayed:
ERROR [STDERR] org.jboss.ws.WSException: Cannot obtain java type mapping for: {urn:namespace}ArrayOf_tns2_TagType
ERROR [STDERR]     at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.buildInputParameter(JAXRPCMetaDataBuilder.java:266)
I know that a simmilar error has been posted in the past but for a different task (https://jira.jboss.org/jira/browse/JBWS-1566 ). I am not sure if the patch provided will solve my issue and I don't know how to implement the patch provided.
I also know that JbossWS does not support RPC/Encoded but I use jboss for my solution.
Is there a way for me to get around this issue, can I not get Jboss to create the client service to send requests? I'm not sure requesting a RPC/Literal WSDL file is a possibility so that's why I am asking.
Any suggestions will be greatly appreciated.
Thanks in advance,


To reply to this message visit the message page: http://community.jboss.org/message/520886#520886

More information about the jboss-user mailing list