OFBiz
  1. OFBiz
  2. OFBIZ-3405

Axis2 SOAP implementation - client binding error

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: SVN trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None

      Description

      The SOAP implementation doesn't work with Flex. The flex error message is trying to call findPartiesById is:

      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]
      

      It seems as though flex sees MapMap in the namespace http://www.w3.org/2001/XMLSchema ?

      Any ideas?

      Many thanks,

      Chris

        Activity

        chris snow created issue -
        Gavin made changes -
        Field Original Value New Value
        Workflow jira [ 12487879 ] OFbiz Workflow [ 12507207 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            chris snow
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development