You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2014/04/22 08:21:15 UTC

[jira] [Closed] (OFBIZ-3405) Axis2 SOAP implementation - client binding error

     [ https://issues.apache.org/jira/browse/OFBIZ-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-3405.
------------------------------------

    Resolution: Invalid

Please use the mailing list for these questions

> Axis2 SOAP implementation - client binding error
> ------------------------------------------------
>
>                 Key: OFBIZ-3405
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3405
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: chris snow
>
> The SOAP implementation doesn't work with Flex.  The flex error message is trying to call findPartiesById is:
> {code}
> TypeError: Cannot marshall type 'http://www.w3.org/2001/XMLSchema::MapMap' to simple content.
> 	at mx.rpc.xml::SchemaMarshaller/marshall()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\xml\SchemaMarshaller.as:87]
> 	at mx.rpc.xml::SchemaManager/marshall()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\xml\SchemaManager.as:412]
> 	at mx.rpc.xml::XMLEncoder/encodeType()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\xml\XMLEncoder.as:1418]
> 	at mx.rpc.soap::SOAPEncoder/encodeType()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\soap\SOAPEncoder.as:747]
> 	at mx.rpc.xml::XMLEncoder/encode()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\xml\XMLEncoder.as:80]
> 	at mx.rpc.soap::SOAPEncoder/encode()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\soap\SOAPEncoder.as:690]
> 	at mx.rpc.soap::SOAPEncoder/encodePartValue()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\soap\SOAPEncoder.as:597]
> 	at mx.rpc.soap::SOAPEncoder/encodeMessage()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\soap\SOAPEncoder.as:548]
> 	at mx.rpc.soap::SOAPEncoder/encodeOperationAsRPCLiteral()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\soap\SOAPEncoder.as:430]
> 	at mx.rpc.soap::SOAPEncoder/encodeBody()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\soap\SOAPEncoder.as:334]
> 	at mx.rpc.soap::SOAPEncoder/encodeEnvelope()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\soap\SOAPEncoder.as:188]
> 	at mx.rpc.soap::SOAPEncoder/encodeRequest()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\soap\SOAPEncoder.as:158]
> 	at generated.webservices::BasefindPartiesById/call()[C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\MyFlex\src\generated\webservices\BasefindPartiesById.as:150]
> 	at generated.webservices::BasefindPartiesById/findPartiesById()[C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\MyFlex\src\generated\webservices\BasefindPartiesById.as:134]
> 	at generated.webservices::FindPartiesById/findPartiesById()[C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\MyFlex\src\generated\webservices\FindPartiesById.as:74]
> 	at generated.webservices::FindPartiesById/findPartiesById_send()[C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\MyFlex\src\generated\webservices\FindPartiesById.as:84]
> 	at MyFlex/findPartiesById()[C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\MyFlex\src\MyFlex.mxml:33]
> 	at MyFlex/___MyFlex_Button1_click()[C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\MyFlex\src\MyFlex.mxml:60]
> {code}
> It seems as though flex sees MapMap in the namespace http://www.w3.org/2001/XMLSchema ?
> Any ideas?
> Many thanks,
> Chris



--
This message was sent by Atlassian JIRA
(v6.2#6252)