[jboss-user] [JBossWS] - Re: Possible JBoss SwA Bug

mnsharif do-not-reply at jboss.com
Sun Nov 12 12:11:11 EST 2006


Hi Tim!


I am also facing a similar problem when deploying a document/literal webservice with attachment (starting from WSDL). In my case the attachment happens to be text/plain, so my message declaration is as follows:

<message name = "attachRequest">
  |   <part name = "parametersAttach" element = "ns2:paraList2"/>
  |   <part name = "attachmentContents" type = "xsd:string"/>
  | </message>

which generates a similar exception as yours:

19:41:55,192 WARN  [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://www.w3.org/2001/XMLSchema}string
  | 19:41:55,192 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.0.4.GA/server/default/deploy/alhamd.war
  | org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: {http://www.w3.org/2001/XMLSchema}string


Does this warning, before deployment commences, suggest something?




regards,
mnsharif

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985251#3985251

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985251



More information about the jboss-user mailing list