"[EMAIL PROTECTED]" wrote : 
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSArrayTypeMapping
Hello, 
1.  Do I need any extra definition in ws4ee-deployment.xml to pass 
ArrayOfString as input parameter ?

This is my request / response code:

  | <?xml version="1.0" encoding="UTF-8" ?> 
  | - <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:q0="http://smth"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  | - <soapenv:Body>
  | - <q0:check>
  | - <ArrayOfString_1>
  |   <str>test</str> 
  |   <str>test1</str> 
  |   </ArrayOfString_1>
  |   </q0:check>
  |   </soapenv:Body>
  |   </soapenv:Envelope>
  |   
  |   
  |  
  |  <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  | - <soapenv:Body>
  | - <soapenv:Fault>
  |   <faultcode>soapenv:Client</faultcode> 
  |   <faultstring>Invalid element in 
program.interfaces.CommandsEndPoint_check_RequestStruct - 
ArrayOfString_1</faultstring> 
  |   <detail /> 
  |   </soapenv:Fault>
  |   </soapenv:Body>
  |   </soapenv:Envelope>
  | 


Do I need all these classes generated by wscompile ?
*_LiteralSerializer ?

I use documentliteral encoding.

and this is part of my mappings.xml file


  | <java-xml-type-mapping>
  | 
<java-type>program.interfaces.CommandsEndPoint_check_RequestStruct</java-type>
  | <root-type-qname xmlns:typeNS="http://smth/";>typeNS:check</root-type-qname>
  | <qname-scope>complexType</qname-scope>
  | </java-xml-type-mapping>
  | 

Thanks


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to