Skip to Content

Consuming an ES Workplace WebService in Flex3

Hello,

I try to consume an ES Workplace Service with Flex3. It is the service of a SimpleSample.

I got the following code:

...
<mx:Script>
<![CDATA[

[Bindable]
public var resultData:ArrayCollection = new ArrayCollection;
			
public function getResult(event:ResultEvent):void{
	ta.text = "Type: "+event.type+"\n";
	resultData = event.result as ArrayCollection;
}
			
public function getFault(event:FaultEvent):void{
	ta.text = event.toString();
}

private function button_click():void{

	ws.KanbanControlCycleByElementsQueryResponse_In.send();
				
}



 
 
 


 
 
 
		
  
  
   
			
   
   
   
				
    
    
    
				  
     
     
     
  
      
      
      
  
       
       
       
  
        
        
        
         
         
         I
        
        
         
  
        
        
        
         
         
         1
        
        
         
  
        
        
        
         
         
         0000012
        
        
         
  
       
       
       
  
       
       
       
  
        
        
        
         
         
         I
        
        
         
  
        
        
        
         
         
         1
        
        
         
  
        
        
        
         
         
         0000013
        
        
         
  
       
       
       
  
       
       
       
  
        
        
        
         
         
         I
        
        
         
  
        
        
        
         
         
         1
        
        
         
  
        
        
        
         
         
         0000064
        
        
         
  
       
       
       
  
       
       
       
  
        
        
        
         
         
         I
        
        
         
  
        
        
        
         
         
         1
        
        
         
  
        
        
        
         
         
         0000078
        
        
         
  
       
       
       
  
      
      
      
  
     
     
     
				
    
    
    
			
   
   
   
		
  
  
  
	
 
 
 
]]>

But I always get this Error message while calling the service:

see next post!

Link to Service description on es workplace: [this way|http://esworkplace.sap.com/socoview%28bD1lbiZjPTAwMSZkPW1pbg==%29/render.asp?id=A95D8CD4C1314DD5BB7CD492BE4A3021&fragID=&packageid=DE0426DD9B0249F19515001A64D3F462&iv=]

I tried a lot of tutorials (some from he sdn, some from the www), but nothing worked for me, I still got the same error.

Kind regards,

andre

Edited by: Andre Becker on Jun 21, 2010 1:31 PM

Edited by: Andre Becker on Jun 21, 2010 1:57 PM

Edited by: Andre Becker on Jun 21, 2010 1:59 PM

Edited by: Andre Becker on Jun 21, 2010 1:59 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 21, 2010 at 12:01 PM

    here is the error message, when I insert these in the main thread it destroys the complete structure crazy

    [FaultEvent fault=SOAPFault (Client): SRT: Error when mapping Consumer and Provider structure <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <Host>undefined</Host>
      <Component>OTHERS</Component>
      <ChainedException>
        <Exception_Name>CX_SOAP_CORE</Exception_Name>
        <Exception_Text></Exception_Text>
      </ChainedException>
      <ChainedException>
        <Exception_Name>CX_XMS_SYSERR_PROXY</Exception_Name>
        <Exception_Text>Information übre die Methodenparameter fehlt für Schnittstelle II_PKAB_KANBANCTRLCYCLEBEQR (ABAP Schnittstelle, Request-Message parameters, Request-Message-Namensraum )</Exception_Text>
      </ChainedException>
    </ns:SystemFault>
    <ns:SystemFault xmlns:ns="http://www.sap.com/webas/711/soap/runtime/abap/fault/system/" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <Host>undefined</Host>
      <Component>OTHERS</Component>
      <ChainedException asx:root="asx:abap" version="1.0" xmlns:asx="http://www.sap.com/abapxml">
        <asx:values>
          <EXCEPTION href="#o183"></EXCEPTION>
        </asx:values>
        <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
          <cls:CX_SOAP_CORE id="o183">
            <CX_ROOT>
              <TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>
              <PREVIOUS href="#o182"></PREVIOUS>
              <KERNEL_ERRID></KERNEL_ERRID>
              <INTERNAL_SOURCE_POS>
                <PROGID>104</PROGID>
                <CONTID>1113</CONTID>
              </INTERNAL_SOURCE_POS>
            </CX_ROOT>
            <CX_NO_CHECK></CX_NO_CHECK>
            <CX_SOAP_CORE>
              <E_LOCATION>
                <CLASS></CLASS>
                <METHOD></METHOD>
                <ID>0</ID>
              </E_LOCATION>
              <E_TEXT></E_TEXT>
              <E_ID>1028</E_ID>
              <E_FAULT_LOCATION>2</E_FAULT_LOCATION>
              <E_AREA>OTHERS</E_AREA>
              <E_HOST>0</E_HOST>
              <E_PROCESS_CONTROL></E_PROCESS_CONTROL>
            </CX_SOAP_CORE>
          </cls:CX_SOAP_CORE>
          <cls:CX_XMS_SYSERR_PROXY id="o182">
            <CX_ROOT>
              <TEXTID>DBD2FDC9B54CE6F1A93D0017A4F6DC8C</TEXTID>
              <PREVIOUS></PREVIOUS>
              <KERNEL_ERRID></KERNEL_ERRID>
              <INTERNAL_SOURCE_POS>
                <PROGID>279</PROGID>
                <CONTID>735</CONTID>
              </INTERNAL_SOURCE_POS>
            </CX_ROOT>
            <CX_STATIC_CHECK></CX_STATIC_CHECK>
            <CX_XMS_SYSTEM_ERROR>
              <ID>INTERFACE_SIGNATURE_ERROR</ID>
              <P1>II_PKAB_KANBANCTRLCYCLEBEQR</P1>
              <P2>parameters</P2>
              <P3></P3>
              <P4></P4>
              <INFO></INFO>
              <CATEGORY>XIProxy</CATEGORY>
              <AREA>ABAP</AREA>
              <RETRY>M</RETRY>
            </CX_XMS_SYSTEM_ERROR>
            <CX_XMS_SYSERR_PROXY>
              <CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
            </CX_XMS_SYSERR_PROXY>
          </cls:CX_XMS_SYSERR_PROXY>
        </asx:heap>
      </ChainedException>
    </ns:SystemFault> messageId="4DC4040B-53BE-8683-ABE4-5A5E4E049A81" type="fault" bubbles=false cancelable=true eventPhase=2]
    

    Add comment
    10|10000 characters needed characters exceeded