hi, I m using jboss [5.0.0alpha check out at 20060214] version and using Macromedia Flex Beta 2 client to call webservice.
My question is webservice arguments are need to be in order ? following is the part of schema from jboss webservice <complexType name="login"> | <sequence> | <element name="enterpriseId" type="long"/> | <element name="locale" type="int"/> | <element name="password" nillable="true" type="string"/> | <element name="user" nillable="true" type="string"/> | </sequence> | </complexType> when Flex send the request to webservice. webservice args are not in order and i got the error - javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: javax.xml.bind.JAXBException: Failed to parse source I corrected the order of args in tcpmon - resend and so i get the result now. soap request from flex, <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | <SOAP-ENV:Body> | <login xmlns="http://com.application.account/LoginLogin"> | <ns0:enterpriseId xmlns:ns0="http://com.application.account/LoginLogin">1</ns0:enterpriseId> | <ns0:user xmlns:ns0="http://com.application.account/LoginLogin">aungzay</ns0:user> | <ns0:locale xmlns:ns0="http://com.application.account/LoginLogin">1</ns0:locale> | <ns0:password xmlns:ns0="http://com.application.account/LoginLogin">secret</ns0:password> | </login> | </SOAP-ENV:Body> | </SOAP-ENV:Envelope> Thanks -AZ- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925181#3925181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925181 ------------------------------------------------------- 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
