You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "chris snow (JIRA)" <ji...@apache.org> on 2010/01/11 13:24:54 UTC

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

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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.