Flex gsoap webService

Hi, i have a problem with Flex application that call a web service created with gSoap.
This is the scenario: the flex app run and web service run on the same machine that cannot have an internet connection (this is the problem).
Everything work fine if the machine can navigate to the net and resolve http://schemas.xmlsoap.org and http://www.w3.org.
This probably because not all the definition needed by the soap comunication are defined locally in the wsdl...
Does anyone know how to solve this problem? There's a way to build a complete local WSDL with all the necessary?
thx

Got it to work.  Followed http://blog.danmcweeney.com/57 with some modifications. The Flex bloggers have mostly omitted the fact that when you create your own webservice from a standard BAPI, the resulting wsdl does not hold the same CASE for things such as the operation, parameters etc. It is important to match the cases (Title Case in mt instance) to get the WS to work on flex.

Similar Messages

  • Flex 4, Webservice client doesn't work after publishing in a web.

    Hi,
    I have a webservice written using gSoap and c.
    I'm using Flex 4 as a client to this webserivce.
    They both hosted on a same server and under the same domain.
    Flex client works fine under both debug and release builds running locally on my development PC.
    If I copy a relese build to www - webservice stops working.
    "onLoad" event never fires.
    After calling any method of mx:Webservice nothing happends, not "result" nor "fault".
    I didn't receive any error messages or other hints.
    Any help's suggested.
    Thanks.

    AUUUGH! Same issue for me.
    I try testing in the simulator and I can skip ahead or back to previous menus... but once I burn the project to a physical DVD, I get the "NOT PERMITTED" warning when I try to skip a story or go back. I basically have to wait. All buttons except SELECT and MENU are disabled.
    WHAT THE #&$% IS GOING ON...???
    I am in DVDSP 4.1.2 on a MacPro.
    This is URGENT. My client is coming TOMORROW to get the changes and I cannot get them to be controlled...!!!

  • Consuming Flex & SOAP WebService

    I am attempting to consume a SOAP webservice and I am having trouble.
    How would you suggest that I consume a web service using the following xml?  Also, if you could provide a simple example that would be great!
    Thanks.
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <GetViewResultsResponse xmlns="http://www.servicesource/datamanager/">
          <GetViewResultsResult>
            <PrimaryTableName>string</PrimaryTableName>
            <IsSystemView>boolean</IsSystemView>
            <DataTables>
              <NHRCViewResultDataTable>
                <TableOrViewID>guid</TableOrViewID>
                <TableName>string</TableName>
                <Columns xsi:nil="true" />
                <Rows xsi:nil="true" />
              </NHRCViewResultDataTable>
              <NHRCViewResultDataTable>
                <TableOrViewID>guid</TableOrViewID>
                <TableName>string</TableName>
                <Columns xsi:nil="true" />
                <Rows xsi:nil="true" />
              </NHRCViewResultDataTable>
            </DataTables>
            <Queries>
              <NHRCQueryDefinition>
                <NumberRowsToGet>int</NumberRowsToGet>
                <FirstRowToGet>int</FirstRowToGet>
                <MainTable xsi:nil="true" />
                <Tables xsi:nil="true" />
                <WhereClause xsi:nil="true" />
                <StructureOnly>boolean</StructureOnly>
                <ColumnListPrefix>string</ColumnListPrefix>
              </NHRCQueryDefinition>
              <NHRCQueryDefinition>
                <NumberRowsToGet>int</NumberRowsToGet>
                <FirstRowToGet>int</FirstRowToGet>
                <MainTable xsi:nil="true" />
                <Tables xsi:nil="true" />
                <WhereClause xsi:nil="true" />
                <StructureOnly>boolean</StructureOnly>
                <ColumnListPrefix>string</ColumnListPrefix>
              </NHRCQueryDefinition>
            </Queries>
            <ChangeLogTable>
              <TableOrViewID>guid</TableOrViewID>
              <TableName>string</TableName>
              <Columns>
                <NHRCViewResultColumn xsi:nil="true" />
                <NHRCViewResultColumn xsi:nil="true" />
              </Columns>
              <Rows>
                <NHRCViewResultRow xsi:nil="true" />
                <NHRCViewResultRow xsi:nil="true" />
              </Rows>
            </ChangeLogTable>
            <ViewTitle>string</ViewTitle>
            <ViewID>guid</ViewID>
            <DataVersion>dateTime</DataVersion>
            <CompareVersion>dateTime</CompareVersion>
            <LookupLists>
              <NHRCViewResultLookupList>
                <LookupTableID>guid</LookupTableID>
                <ColumnDetails xsi:nil="true" />
                <IsViewResults>boolean</IsViewResults>
                <UsedAsSubtable>boolean</UsedAsSubtable>
                <IsChangeTrackingTable>boolean</IsChangeTrackingTable>
                <CanAcceptChanges>boolean</CanAcceptChanges>
                <TableName>string</TableName>
              </NHRCViewResultLookupList>
              <NHRCViewResultLookupList>
                <LookupTableID>guid</LookupTableID>
                <ColumnDetails xsi:nil="true" />
                <IsViewResults>boolean</IsViewResults>
                <UsedAsSubtable>boolean</UsedAsSubtable>
                <IsChangeTrackingTable>boolean</IsChangeTrackingTable>
                <CanAcceptChanges>boolean</CanAcceptChanges>
                <TableName>string</TableName>
              </NHRCViewResultLookupList>
            </LookupLists>
            <ColumnDetails>
              <NHRCViewResultColumnDetails>
                <LookupTableID>guid</LookupTableID>
                <LookupListSortColumn>string</LookupListSortColumn>
                <IsPartOfDuplicateCheck>boolean</IsPartOfDuplicateCheck>
                <PrimaryFilterOrder>int</PrimaryFilterOrder>
                <IsPartOfErrorDefinition>boolean</IsPartOfErrorDefinition>
                <KeyFieldName>string</KeyFieldName>
                <ValueFieldNames xsi:nil="true" />
                <DisplayFieldCaption>string</DisplayFieldCaption>
                <ConsolidatedDisplayFieldName>string</ConsolidatedDisplayFieldName>
                <ConsolidatedDisplayFieldExpression>string</ConsolidatedDisplayFieldExpression>
                <OriginalFieldName>string</OriginalFieldName>
                <ColumnWidth>int</ColumnWidth>
                <DataType>string</DataType>
                <MaxLength>int</MaxLength>
                <AllowEmpty>boolean</AllowEmpty>
                <Visible>boolean</Visible>
                <DisplayOrder>int</DisplayOrder>
                <FieldReadOnly>boolean</FieldReadOnly>
                <IsSubtableLink>boolean</IsSubtableLink>
                <IsLookupFromView>boolean</IsLookupFromView>
                <IsSingleValueLookupTable>boolean</IsSingleValueLookupTable>
                <IsLookupOfLookup>boolean</IsLookupOfLookup>
                <LookupCriteria>string</LookupCriteria>
                <MinValue>double</MinValue>
                <MaxValue>double</MaxValue>
                <ValidationRegex>string</ValidationRegex>
              </NHRCViewResultColumnDetails>
              <NHRCViewResultColumnDetails>
                <LookupTableID>guid</LookupTableID>
                <LookupListSortColumn>string</LookupListSortColumn>
                <IsPartOfDuplicateCheck>boolean</IsPartOfDuplicateCheck>
                <PrimaryFilterOrder>int</PrimaryFilterOrder>
                <IsPartOfErrorDefinition>boolean</IsPartOfErrorDefinition>
                <KeyFieldName>string</KeyFieldName>
                <ValueFieldNames xsi:nil="true" />
                <DisplayFieldCaption>string</DisplayFieldCaption>
                <ConsolidatedDisplayFieldName>string</ConsolidatedDisplayFieldName>
                <ConsolidatedDisplayFieldExpression>string</ConsolidatedDisplayFieldExpression>
                <OriginalFieldName>string</OriginalFieldName>
                <ColumnWidth>int</ColumnWidth>
                <DataType>string</DataType>
                <MaxLength>int</MaxLength>
                <AllowEmpty>boolean</AllowEmpty>
                <Visible>boolean</Visible>
                <DisplayOrder>int</DisplayOrder>
                <FieldReadOnly>boolean</FieldReadOnly>
                <IsSubtableLink>boolean</IsSubtableLink>
                <IsLookupFromView>boolean</IsLookupFromView>
                <IsSingleValueLookupTable>boolean</IsSingleValueLookupTable>
                <IsLookupOfLookup>boolean</IsLookupOfLookup>
                <LookupCriteria>string</LookupCriteria>
                <MinValue>double</MinValue>
                <MaxValue>double</MaxValue>
                <ValidationRegex>string</ValidationRegex>
              </NHRCViewResultColumnDetails>
            </ColumnDetails>
            <ExpressionColumns>
              <NHRCViewResultExpressionColumn>
                <TableID>guid</TableID>
                <TableName>string</TableName>
                <ColumnName>string</ColumnName>
                <Expression>string</Expression>
                <Order>int</Order>
              </NHRCViewResultExpressionColumn>
              <NHRCViewResultExpressionColumn>
                <TableID>guid</TableID>
                <TableName>string</TableName>
                <ColumnName>string</ColumnName>
                <Expression>string</Expression>
                <Order>int</Order>
              </NHRCViewResultExpressionColumn>
            </ExpressionColumns>
            <Relations>
              <NHRCViewResultRelation>
                <ParentKey>string</ParentKey>
                <ChildKey>string</ChildKey>
                <RelationName>string</RelationName>
                <ParentTableName>string</ParentTableName>
                <ChildTableName>string</ChildTableName>
                <ParentTableID>guid</ParentTableID>
                <ChildTableID>guid</ChildTableID>
                <DependsOnExpressionColumn>boolean</DependsOnExpressionColumn>
              </NHRCViewResultRelation>
              <NHRCViewResultRelation>
                <ParentKey>string</ParentKey>
                <ChildKey>string</ChildKey>
                <RelationName>string</RelationName>
                <ParentTableName>string</ParentTableName>
                <ChildTableName>string</ChildTableName>
                <ParentTableID>guid</ParentTableID>
                <ChildTableID>guid</ChildTableID>
                <DependsOnExpressionColumn>boolean</DependsOnExpressionColumn>
              </NHRCViewResultRelation>
            </Relations>
          </GetViewResultsResult>
        </GetViewResultsResponse>
      </soap:Body>
    </soap:Envelope>

    Turns out I needed to set null values for all the other arguments in the definition that I wasn't using. After that Flex was translating it properly.

  • Flex RFC webservice

    Here's where I am:
    1. Created a WS from BAPI_PERSDATA_GETLIST. Tested with WSADMIN.
    2. Imported WSDL into Flex Builder
    3. Trying to use this WS to create a simple FLEX application but not able to get it to work.
    Used the Introspection method and the other one also mentioned in some blogs but just cannot get this to work. Can anyone point me in the right direction to get this mxml to work please?
    Thanks

    Got it to work.  Followed http://blog.danmcweeney.com/57 with some modifications. The Flex bloggers have mostly omitted the fact that when you create your own webservice from a standard BAPI, the resulting wsdl does not hold the same CASE for things such as the operation, parameters etc. It is important to match the cases (Title Case in mt instance) to get the WS to work on flex.

  • Flex and Webservices

    Good morning!
    I have written a WSDL that soapClient.com reads ok. My problem is, Flex doesn't, and complains that there is no operation. What am I doing wrong?
    Is there a peculiarity in Flex's interpretation of WSDL?
    Thanks in advance for any idea !

    You have to mention Web Method name to be called of the web service.
    Suppose,
    I have created WebService Obj "ws" at flex end
    I have web method "CallDummyData" at server side
    then syntax would be:
    var ws:WebService = new WebService();
    ws.CallDummyData.send();
    If you want to pass parameters to web method then you can pass it using:
    -- String --
    ws.CallDummyData.send("Param1");
    -- Object --
    var objVal:Object = new Object();
    objVal.name = "MyName";
    ws.CallDummyData.send(objVal);
    If you are getting web method name dynamically then syntax should be:
    var _wsGeneralMethod:String = "CallDummyData" // Could be retrieved from server at run time
    ws.getOperation(_wsGeneralMethod).send();
    I guess this would help to resolve you problem. let me know if you need more details.
    If this helps you then please mark it as answered.
    Best Regards,
    Yogesh

  • Flex Tree/Webservice Interaction

    Hi All... I'm trying to fill a tree with the result of a web
    service, and then trigger that web service again when a node is
    opened. I'll try to explain....
    I have a webservice that returns facility information. I feed
    it a facilityID and it gives back facilities and devices that are
    assigned to that facility. So this webservice can allow you to
    drill down...i.e. facility 1 has device x,y,and z and facility 2,
    send 2 to the WS and get back devices a,b, and c.
    My problem is that I can't seem to figure out how to do this.
    I have the web service definition:
    <mx:WebService id="gssdata" showBusyCursor="true" wsdl="
    http://localhost/GSSData/service.asmx?WSDL">
    <mx:operation name="facilityList" resultFormat="e4x"
    fault="showFault(event)" result="getFacilityResult(event)" >
    <mx:request>
    <sID>{idField.text}</sID>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    and I call the tree:
    <mx:Tree id="tree" top="72" left="50"
    dataProvider="{facilityMainData.facilityListResult.facilities.facility}"
    height="224" width="179" itemOpen="itemClick(event)"
    labelFunction="treeLabel"/>
    I'm able to load the page and see the initial data in the
    tree, but I can't figure out how to do the itemOpen Event. How can
    I call the web service and get the result of the web service
    without changing all that's in the tree already? Do I somehow have
    to have another event handler for this? and if so, how do I tell
    that handler what node to add the results to?
    I'm really stumped by this, so any help anyone could give
    would be really appreciated!!!
    thanks,
    Adam

    hi theosa
    try these
    <folder label="XXX" isBranch="true"/>

  • Security Error in accessing Web service from Flex.Where to put crossdomain.xml in axis container?

    Hi guys.
    Typically webservices are invoked across domains. Flash has defined certain policies which prevent crossdomain access. The only way to bypass this security feature is to put a crossdomain.xml file within the server root of the webservice provider i.e. in our case at http://abc.com. A sample example of crossdomain.xml is as below:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
         <site-control permitted-cross-domain-policies="all" />
         <allow-access-from domain="*" secure="false"/>
         <allow-http-request-headers-from domain="*" headers="*" secure="false" />
    </cross-domain-policy>
    If the crossdomain.xml is not added the developer will get “Security Error accessing URL” type of messages.
    The above mentioned information should be enough for you to get your flex based WebService client up and running.
    We are using axis2 to build webservices. We deployed the webservices under axis2 container under repository/srvices folder . But in Flex when we try to call the webservices we were getting the exception saying security error in accessing url. The solution is we need to put the crossdomain.xml o that it is loaded at runtime and allow us to access. In tomcat if we put the file under ROOT directory we could accss the file and we were able to access the webservices deployed under Tomcat. But I googled for Axis2 container and couldnt find any solution.
    Please post the reply if anyone knows the solution to it.
    Thanks
    Raja

    Hi. So, I did take a quick look at the Axis2 standalone server and didn't see any way to server up a file such as crossdomain.xml. It seems like it might be a useful enhancement to have the ability to serve up files even if this functionality was very simple/limited and nothing like a full blown http server.
    I'd log an enhancement request against axis2 if this is something you'd like to have.
    http://issues.apache.org/jira/browse/AXIS2
    -Alex

  • Data from SOAP response not getting into Flex object

    I'm trying to get data from an ALM application we use(Collabnet TeamForge) using a SOAP webservice, and am running into a problem.  I should mention that I am new to both Flex, and webservices.
    I used the "Import Web Services" option in Flex Builder 3, and had it generate code for all operations in the WSDL.  Some of them work just fine.  However, there are several where the data from the SOAP response does not get into the Flex object. The senario that doesn't work is when the response contains a data type that extends another datatype.  In TeamForge, they have a type called TrackerSoapRow.  It extends FolderSoapRow, adding 3 fields.  The problem seems to be that in the response from TeamForge, the 3 fields defined in TrackerSoapRow are in the middle of the fields defined in FolderSoapRow.  I've debugged into it, and the problem occures in mx.rpc.xml.XMLDecoder.getApplicableValues( starting at line 2204 of XMLDecoded.as).  As I read the code, the only way a match can be found is if the fields in the response are in the exact same order as in the definintion.  When its processing the extended data type(  by a call to XMLDecoder.decodeComplexExtension ) at some point, one of the derived type's fields is encountered, and the process stops.
    I have called the service using soapui and verified that all the data I expect is in the response.
    As I mentioned, I'm new to web services.  So, I suppose its possible that the format of the data being returned from TeamForge is incorrect.  That they are not supposed to intermingle base and derived fields.  If thats the case, then I need to report this as a bug to Collabnet.
    All help is appreciated.
    Marc Robertson

    Not knowing any of the details about how you call a web service from OAF myself - I'd suggest you post on the proper forum for OA Framework questions: {forum:id=210}
    John

  • JBOss, Two Network Interfaces, Flex Problem

    Hi,
    I am using JBoss as an application server, and has a flex
    application trying to reach WebServices (Apache),
    located on the server.
    I'm using Flex's WebService class to connect to the web
    service. The machine on which JBoss is running has two
    network interfaces (two ip addresses). One reachable, the
    other is not (and It must be that way).
    I load the web services using m_webService.wsdl =
    "http:XXX/A/B/x.wsdl",
    In the logs I can see that the wsdl loads, but when I try to
    call to some remote method, flash tries to access it
    using the unreachable IP (again it can be seen with log
    file).
    Does somebody knows how to solve the problem?
    Does somebody knows where from flex knows the unreachable ip,
    (I never pass it!)?
    Thank you.

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flash, Web Services, and Data Binding:
    TV: JBoss's Seam: Eliminate Complexity and Build
    Next-Generation Web 2.0 Applications .... Example 3 - Not Using the
    Web Service Connector or Data Binding
    Link:
    http://flex.sys-con.com/node/48956
    Vic on Flex: asp.net c# webservice consumed by flex:
    using System.Web; using System.Web.Services; namespace
    Director { public class Hello : System.Web.Services.WebService ....
    Flash 8, Flex 2, LocalConnection
    Link:
    http://viconflex.blogspot.com/2006/10/aspnet-c-webservice-consumed-by-flex.html
    Flash, Web Services, and Data Binding:
    The First and Only Independent Magazine for Adobe Flex
    Developers .... Once opened, we can load the WSDL of a Web service
    into it and Flash will parse it
    Link:
    http://flex.sys-con.com/node/48635
    Vic on Flex: asp.net C# data webservice for Flex:
    Oct 2, 2006 ... public class MemberService :
    System.Web.Services.WebService .... Flash 8, Flex 2,
    LocalConnection &middot; October (8)
    Link:
    http://viconflex.blogspot.com/2006/10/aspnet-c-data-webservice-for-flex.html
    How to send parameters to webservice and get data back:
    I'm able to connect the webservice threw my Button in Flex.
    .... Are you able to retrieve a valid response from the web service
    using an alternative tool
    Link:
    http://www.flexdeveloper.eu/forums/index.php?topic=935.msg2810
    web service array result undefined - ActionScript.org Forums:
    Nov 28, 2007 ... web service array result undefined Flash
    Remoting. ... Hi just a idea you are returning a Number aka integer
    from your jboss function
    Link:
    http://www.actionscript.org/forums/showthread.php3?t=154047
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • Service work in HTML, but does not work in Flex

    I have the following
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV='
    http://schemas.xmlsoap.org/soap/envelope/'
    SOAP-ENV:encodingStyle='
    http://schemas.xmlsoap.org/soap/encoding/'>
    <SOAP-ENV:Body>
    <Discover>
    <RequestType>MDSCHEMA_DIMENSIONS</RequestType>
    <Restrictions>
    <RestrictionList>
    <CUBE_NAME>$XSAMP01</CUBE_NAME>
    </RestrictionList>
    </Restrictions>
    <Properties>
    <PropertyList>
    <DataSourceInfo>datasource=default</DataSourceInfo>
    <Catalog>$INFOCUBE</Catalog>
    <Format>Tabular</Format>
    </PropertyList>
    </Properties>
    </Discover>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    works fine in HTML Client
    when I use Flex
    <mx:WebService id="exec"
    result="onDiscoverDimResult(event);" wsdl="
    http://us4278.wdf.sap.corp:50073/sap/bw/xml/soap/xmla?wsdl"
    useProxy="false">
    <mx:operation name="Discover">
    <RequestType>MDSCHEMA_DIMENSIONS</RequestType>
    <Restrictions>
    <RestrictionList>
    <CUBE_NAME>$XSAMP01</CUBE_NAME>
    </RestrictionList>
    </Restrictions>
    <Properties>
    <PropertyList>
    <DataSourceInfo>datasource=default</DataSourceInfo>
    <Catalog>$INFOCUBE</Catalog>
    <Format>Tabular</Format>
    </PropertyList>
    </Properties>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    I get empty data
    what is wrong with my Flex Code
    Thanks
    Kasem

    Is there is a way to wrap
    SOAP-ENV:Envelope
    xmlns:SOAP-ENV='
    http://schemas.xmlsoap.org/soap/envelope/'
    SOAP-ENV:encodingStyle='
    http://schemas.xmlsoap.org/soap/encoding/'>
    <SOAP-ENV:Body>
    <Discover>
    <RequestType>MDSCHEMA_DIMENSIONS</RequestType>
    <Restrictions>
    <RestrictionList>
    <CUBE_NAME>$XSAMP01</CUBE_NAME>
    </RestrictionList>
    </Restrictions>
    <Properties>
    <PropertyList>
    <DataSourceInfo>datasource=default</DataSourceInfo>
    <Catalog>$INFOCUBE</Catalog>
    <Format>Tabular</Format>
    </PropertyList>
    </Properties>
    </Discover>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    in mx:WebService
    i.e use the same request as if ypu post it in HTML
    Thanks
    Kasem

  • Fx Webservice Introspection wizard bug

    It seems the Fx Webservice Introspection is not interpreting
    the wsdl correctly. By using TCPMonitor I was able to capture my
    soap request from my java spring-ws junit test. The correct
    response is as follows:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
    <ns4:ProcessChucksPick3LotteryNumberRequest
    xmlns:ns2="
    http://www.chuckspick3.com/WebserviceClient"
    xmlns:ns3="
    http://www.chuckspick3.com/lotterysystem/common-schemas"
    xmlns:ns4="
    http://www.chuckspick3.com/lotterysystem/schemas">
    <ns2:webServiceClient>
    <ns2:id>0</ns2:id>
    <ns2:customerName>test</ns2:customerName>
    <ns2:customerUserName>test</ns2:customerUserName>
    <ns2:custoemrPw>test</ns2:custoemrPw>
    </ns2:webServiceClient>
    <ns3:chucksPick3LotteryNumber>
    <ns3:number>345</ns3:number>
    <ns3:requestDate>2008-10-29T20:32:37.171-05:00</ns3:requestDate>
    <ns3:drawingType>MidDay</ns3:drawingType>
    </ns3:chucksPick3LotteryNumber>
    </ns4:ProcessChucksPick3LotteryNumberRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Using the code generated from the Fx Webservice Introspection
    wizard I get the following invalid soap request:
    notice that there are no namespaces specified.
    <SOAP-ENV:Envelope>
    <SOAP-ENV:Body>
    <tns:webServiceClient>
    <tns:id>1</tns:id>
    <tns:customerName>test</tns:customerName>
    <tns:customerUserName>test</tns:customerUserName>
    <tns:custoemrPw>test</tns:custoemrPw>
    </tns:webServiceClient>
    <ns0:chucksPick3LotteryNumber>
    <ns0:number>234</ns0:number>
    <ns0:requestDate xsi:nil="true"/>
    <ns0:drawingType>Day</ns0:drawingType>
    <ns0:type>Customer Provided Winning Pick 3 Lottery
    Number</ns0:type>
    </ns0:chucksPick3LotteryNumber>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I think there is a bug in the code generated from the Fx
    Webservice Introspection wizard. You can download or view my wsdl
    by clicking
    here.
    If this is not a bug, can some one please tell me what I am
    doing wrong.
    I hope someone will respond to this post as I really want to
    use flex for webservices; but have not been successful.
    Thanks!

    Hi Randy,
    This seems to be caused by a missing import in that class.
    Try adding this line on top of the file (next to the other import
    statements) and see if it solves the problem:
    import mx.utils.ObjectProxy;
    This should be fixed in the next release, but if you can file
    a bug and attach the wsdl file so we can reproduce the bug and
    confirm it does not happen anymore it would be very helpful.
    Thanks,
    Cristian

  • Process for adding a boolean option to the web service API

    Hey guys,
    Here's a little background:
    I'm currently working on adding an optional "strict" mode to some of the unmarshalling functions in SchemaMarshaller that will throw exceptions when receiving bad data for certain fields, and also improving the date handling while I'm at it (I want null instead of mangled dates when receiving bad data when strict mode is off).
    This is for my benefit at the moment as I'm tired of spending time debugging Flex code when XFire and Oracle are spitting out rubbish (like empty xsd:DateTime nodes, DateTimes in xsd:Date nodes, etc) - but I'm sure other people would like to use it too while we don't have a response validator, so I'd like to do it in a way that I can submit as a feature request (with patch) on Jira.
    My questions are about the procedure for stuff like this- where should this option be made public in the API, and who would I talk to about it? Or would it be best for it to always be strict? - That's how I'd like it :) Perhaps it should just log errors when it encounters bad data?
    This is the first thing I'd like to "add" to the SDK rather than a simple bug-fix, so I just want to do things in a kosher manner. Sorry if I come across like a total noob :)
    Cheers,
    -Josh
    "Therefore, send not to know For whom the bell tolls. It tolls for thee."
    :: Josh 'G-Funk' McDonald
    :: 0437 221 380 ::
    [email protected]

    Hey Josh,<br /><br />I'm swamped at the moment but appreciate your interest and your<br />contributions to Flex and WebServices thus far. I'll try and get some<br />time to look into your specific request and what you're hoping to do at<br />the code level, but to answer your question about test cases, you should<br />consider the NIST testsuite for XML Schema datatypes.<br /><br />BlazeDS has historically maintained the WebService implementation, so it<br />appears their test case for NIST based schema tests starts out here (and<br />refers to many data type test cases in the /nist subdirectory).<br /><br />http://opensource.adobe.com/svn/opensource/blazeds/branches/3.0.x/qa/app<br />s/qa-regress/testsuites/flexunit/src/tests/flexunit/xml/NISTXMLSchemaTes<br />t.as<br /><br />Pete <br /><br />________________________________<br /><br />From: [email protected] [mailto:[email protected]] On Behalf Of Josh<br />McDonald<br />Sent: Tuesday, July 08, 2008 8:21 PM<br />To: [email protected]<br />Subject: Re: Process for adding a boolean option to the web service API<br /><br /><br />A new message was posted by Josh McDonald in <br /><br />Developers --<br />  Process for adding a boolean option to the web service API<br /><br />Yeah I knew it'd have to be somewhere outside of SchemaMarshaller, as<br />it's [ExcludeClass] anyway so end users don't see it, nor is it<br />documented in the api docs. Just wasn't sure where it should be. I'll<br />have a think about it some more when I get some down time to work on it,<br />but webservice was where I was thinking it should be too. Didn't think<br />about having it settable on operation as well though, so thanks for that<br />:)<br /><br />Anybody know a good source of valid values for various XSI types (date<br />and DateTime mainly) for testing purposes? Or even who I should contact<br />to get access to that sort of thing? I assume the W3C will take 6 months<br />to answer me, and the answer will be "buy our $10,000 compliance testing<br />suite" or something along those lines.<br /><br />-Josh<br /><br />On Wed, Jul 9, 2008 at 9:46 AM, Matt Chotin <[email protected]><br />wrote:<br /><br /><br />     A new message was posted by Matt Chotin in<br />     <br />     Developers --<br />      Process for adding a boolean option to the web service API<br />     <br />     I think for a top-level user option I would put the new option<br />on the mx.rpc.soap.Operation class (I think that's the name).  You'd<br />then have that propagate through to the underlying schema classes as<br />they are used.  I'd then also add an option to the WebService class<br />itself, and basically in the Operation it should see if it has its own<br />value set and if not check the value on the WebService.  We do this for<br />a couple of other flags too I think.<br />     <br />     End users in general wouldn't look at any classes other than the<br />WebService and maybe the Operation classes, so asking them to set<br />options on the schema classes themselves probably wouldn't work.<br />     <br />     Matt<br />     <br />     <br /><br /><br /><br />-- <br />"Therefore, send not to know For whom the bell tolls. It tolls for<br />thee."<br /><br />:: Josh 'G-Funk' McDonald<br />:: 0437 221 380 :: [email protected] <br /><br /><br />________________________________<br /><br />View/reply at Process for adding a boolean option to the web service API<br /><a href=http://www.adobeforums.com/webx?13@@.59b5be89/1> <br />Replies by email are OK.<br />Use the unsubscribe<br /><a href=http://www.adobeforums.com/webx?280@@.59b5be89!folder=.3c060fa3>  form<br />to cancel your email subscription.

  • Fault handler triggered for "100 Continue" messages from web service

    I'm using the Flex/Flash "WebService" class to connect to a .NET4 web service.
    Things always work fine unless the service sends a "100 Continue" message,
    (which it does seemingly at random, which is allowed by HTTP1.1).
    The problem is that Flex/Flash does not appear to handle this message.
    It triggers the fault handler with the following message:
    "SOAP Response cannot be decoded".
    The message body pulled from the Flash Builder's "Network Monitor" window (raw view) is:
    HTTP/1.1 100 Continue
    Server: ASP.NET Development Server/10.0.0.0
    Date: Tue, 21 Aug 2012 14:42:25 GMT
    Content-Length: 0
    If I understand correctly, any client using HTTP 1.1 should be able to handle "100 Continue" messages even if they didn't ask for them.
    Does anyone know what's going on here?
    Here are the software versions of everything involved:
    Flash plugin: 11.3.300.257 (ActiveX)
    Flash Builder: 4.6
    Flex Compiler SDK: 4.6.0
    OS: WinXP Pro, 32-bit, SP3
    Browser: IE 8.0.6001
    Web Service: .NET framework 4
    Any help/advice is greatly appreciated!!

    Update: The problem also occurs with Firefox 12 using the debug version of FlashPlayer 11.3.300.257, so I don't think it's a browser issue... Looks like Flash itself.

  • Regarding MS Access

    Hello friends,
    I want to convert my MS Access application to Flex. Could
    please explain me how to access .mdb files
    in Flex with an example.
    Thanks,
    Sri.

    Flex does not have anything to directly access MS Access mdb
    files. You can use the Flex HTTPService, WebService, or
    RemoteObject components to connect to some server side technology
    that connects to the database (PHP, CF, Java, etc.), but can't
    connect directly from Flex.

  • KM related Web services

    Hi experts,
    I am about to create a 'rich' iView to explore KM repository contents. For example, to create a flex application to list documents within a specific repository.
    However, the difficulty is i cannot find any web services that i can use to directly access to KM database and grab document names and details as i want.
    Could anyone suggest how i can do this? (except Web Dynpro for flash, i am about to create a standalone Flex project).
    Thank you in advance!

    Hi RS,
    That surely explained my questions in Java landscape, also helped me in terms of how this service works.
    However, can i use typical flex component to do this? For example, in flex:
    <mx:WebService id="service_repository"
                wsdl="http://server:port/RepositoryFrameworkWS/Config1?wsdl">
            <mx:operation name="lookup"
                    resultFormat="object"
                    result="getRepository_result(event);"/>
    </mx:WebService>
    I tried this way but i cannot get through to portal server. I did search in google and found out someone mentioned there is some kind of proxy plugin for Eclipse, but i haven't found anything for flex builder. Could you advise me on this?
    Thanks a lot!

Maybe you are looking for

  • Erro de Conexão RFC

    Olá a todos, Estamos implementando NF-e em um dos nossos clientes e estamos com o seguinte problema: Na tabela J_1BNFE_ACTIVE, o campo SCSSTA está branco e o campo ACTION REQU está como 3. Estamos usando um programa chamado Nexus que extrai as inform

  • Some Hyperlinks not Working in WebHelp

    I have several hyperlinks to .gif image files. I hyperlink to the .gif file and then choose to open in an auto sizing popup. Some of the links work, and others don't. I've checked to make sure that the properties for the ones that don't work are the

  • Adobe RH Server 6 = "Adobe RH6 + Additional features"

    Greetings to all :-) Right now, I'm working on the trial version of RH2002. My company and ofcourse all our members are new to RH. My PM was impressed on the help file which i developed using this trial version. At last, he decided to purchase the la

  • How to get the details of Calc. Formula

    Hi, Please let me know where can I check the detailed formula which is defined for subtotals(ex. Net value, list price etc.) in the pricing procedure that means how get the details of Calculation Formula which is maintained for price condition in the

  • User can browse by drilling down in Network places but not by entering path.

    This is the setting in group policy that would be blocking it User Configuration>Administrative Templates>Start Menu and Task Bar>Remove Run menu from Start Menu (enabled or disabled?).