Namespace problem in consuming Webservices in Flash builder 4

Hi,
i'm facing a problem in calling a web service after consuming it with the standard wizard. after i consuming it, if i fill the value objects generated by the web service and call the function, it generates the following SOAP payload:
<SOAP-ENV:Body> <ns1:editProject xmlns:ns1="http://webservices.eee.aaa.com/"> <EditProjectRequest> <projectId>3</projectId> <projectName>Project_344_modifiednow</projectName> <authorName>author-1</authorName> <createdDate>05/01/2010</createdDate> <noOfLicenses>5</noOfLicenses> <validityFromDate>05/04/2010</validityFromDate> <validityToDate>16/04/2010</validityToDate> <projectStatus>DONE</projectStatus> <isActive>1</isActive> <isProtected>0</isProtected> <eBooks> <eBookProjectRoot> <eBookId>1</eBookId> </eBookProjectRoot> </eBooks> </EditProjectRequest> </ns1:editProject> </SOAP-ENV:Body>
but my webservice expects the payload with additional namespace as highlighted in the example below:
<SOAP-ENV:Body>
<ns1:editProject xmlns:ns1="http://webservices.eee.aaa.com/">
<EditProjectRequest>
<projectId>3</projectId>
<projectName>Project_344_modifiednow</projectName>
<authorName>author-1</authorName>
<createdDate>05/01/2010</createdDate>
<noOfLicenses>5</noOfLicenses>
<validityFromDate>05/04/2010</validityFromDate>
<validityToDate>16/04/2010</validityToDate>
<projectStatus>DONE</projectStatus>
<isActive>1</isActive>
<isProtected>0</isProtected>
<eBooks>
<ns1:eBookProjectRoot>
<eBookId>1</eBookId>
</ns1:eBookProjectRoot>
</eBooks>
</EditProjectRequest>
</ns1:editProject>
</SOAP-ENV:Body>
Please tell me how to add this namespace to this particular node. you will be a life saver ..

If I have understood your query correctly, you need to change the QName of the eBookProjectRoot to QName("ns1","ebookProjectRoot").
Hope this helps,
Balakrishnan V

Similar Messages

  • Problem with inline FXG in Flash Builder

    Hello,
    True newbie to Flex and Flash Builder.
    I am trying to use FXG code out of Illustrator CS4 and PASTE in in a skin.mxml file.
    I thought that Flash Builder would automatically convert the <Graphic> tag to a Spark <s:Graphic> tag after I pasted in the SHOW CODE segment from Illustrator Save function.
    The same for all the other tags.
    It does not. Flash Builder just gives me an error when I save the Skin.mxml file.
    I don't want to just import the .FXG file as a component because it contains text in the layout I want to dynamically change in an <s:List.>
    Sample code:
    <s:Skin
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        xmlns:ai="http://ns.adobe.com/ai/2008"
        xmlns:d="http://ns.adobe.com/fxg/2008/dt"
        xmlns:graphics="assets.graphics.*">
        <fx:Metadata>[HostComponent("spark.components.List")]</fx:Metadata>
        <s:states>
            <s:State name="normal"/>
            <s:State name="disabled"/>
        </s:states>
        <s:Rect
            height="457"
            ai:objID="4ee65600"
            d:userLabel="pageContentArea"
            width="921"
            x="0.5"
            y="1.5">
            <s:stroke>
                <s:SolidColorStroke caps="none" color="0x002581" joints="miter" miterLimit="4" scaleMode="normal" weight="1" color.normal="#3993d2"/>
            </s:stroke>
        </s:Rect>
        <Graphic version="1.0" viewHeight="2000" viewWidth="2000" ai:appVersion="14.0.0.367" d:id="1" >
                <Library>
                    <Definition name="sym3d_Pyramid_Rainbow" d:userLabel="3d Pyramid Rainbow">
                        <Group>
                            <Group x="-7.52246" y="-24.9131">
                                <Group ai:knockout="0">
                                    <Path winding="nonZero" ai:knockout="0" data="M0.358887 9.48828L7.5249 12.5605 7.521 0.279297 0.358887 9.48828Z" >
                                        <fill>
                                            <LinearGradient x="2.04785" y="11.2568" scaleX="11.5761" rotation="-45">
                                                <GradientEntry color="#ed2324" ratio="0"/>
                                                <GradientEntry color="#ed2224" ratio="0.617977"/>
                                                <GradientEntry color="#ed2324" ratio="0.629213"/>
                                                <GradientEntry color="#ed2024" ratio="0.983146"/>
                                            </LinearGradient>
    How do get this to work? What am I doing wrong?
    Thanks,
    bernie393

    Hey Peter, Again I REALLY appreciate your help....
    So, Are you saying if follow the below process steps it will work?
    1. Copy of code from AI Save as FXG dialog box using the Show Code button.
    2. Open the Skin or ItemRenderer in Flash Builder Beta 2. (which one should I use to be able to BIND data, skin or itemrenderer)
    3. Paste the code in AT THE BOTTOM (after the Skin or ItemRenderer) (tags will still be in <Graphic> format NOT <s:Graphic> format)
    4. Move the Library tags to the top of pasted code.
    5. Save the file in Flash Builder that it will convert the tags to (s:xxxxxxx) type tags>
    IF this is wrong, please explain..I apologize, trying to pick this up as fast as I can...Solving this problem would allow me to move very quickly in creating the pages I have to.
    Not knowing Flex 4 well enough, it would take considerably more time if I had to save each individual OBJECT from AI and export as png or jpg or gif.
    I also would have to recreate the layout from scratch which would also be difficult at my current knowledge level.....
    Also, a learning point for me: In Flex 4 when I do this in Flash Catalyst (I have over 30 pages to build and probably 45 states and when work in Flash Catalyst it will crash if I move to many times in and out of editting components so I have to save often so I cannot do the whole in Catalyst and I need a repeatable process to get all  the different page graphics out of AI and into Flash Builder), Catalyst creates a List component in the main MXML file, a skin.mxml file, and a item renderer.mxml file. I am use to coding in Smalltalk, Javascript, and Java. What parts are considered the Model, View, and Controller in a MVC architecture?
    Thank you again Peter......
    Bernie393

  • Are WebServices in Flash Builder 4 broken?

    I have a JBoss server running that exposes a wsdl interface. One of the WebMethods are defined as follows:
    public List<Stuff> getStuff( long stuffParameter ) { ... }
    When I import the WSDL I get what I expect, a method getStuff and a parameter GetStuff that has an arg0 of type Number
    I then have the following code in my project
    private var proxy:StuffWS = new StuffWS(); // this is my webservice that serves Stuff
    I do
    var stuff:Stuff = new Stuff();
    stuff.arg0 = 55;
    var tok:AsyncToken = proxy.getStuff( stuff );
    tok.addResponder( new mx.rpc.Responder(stuffResponseHandler,genericFaultHandler) );
    I would expec this to call my web service with the parameter of 55, it does in Flex 3 (as far as I can remember). Instead my webservice is called with a parameter of 0.
    Looking at the soap package that goes out, that is not strange, it reads (removed headers)
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <SOAP-ENV:Body>
              <tns:getStuff xmlns:tns="http://package.package/appname/stuffws"/>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    In other words, my 55 is nowhere to be seen.

    Attached is the Microsoft Dynamics CRM WSDL file, I have modified it slightly (commented out a few complex types) to make it pass the Apache wsdl2java tool. In Flex Builder 3 this generates what I would expect, a number of different types of value objects etc (for example an Account object). None of those are generated in Flash Builder 4. I would have expected to see Account.as, Contact.as and a whole host of other objects.
    Also, most of the objects that are created are "half" created, and are thus useless. Example - to retrieve a set of business entities using this WebService, you would create a QueryBase, set it's EntityName to something useful and then populate a ColumnSet object with an array of columns you would like to have returned. The ColumnSet doesn't include any way to add this array however, since it is basically an "empty" object with no real parameters to set or get.
    Either Flash 4 generates this in a really "smart" way, making me unable to understand it at all, or Flash 4 wsdl2actionscript is badly broken. Given the fact that no objects that are defined in the WSDL were created, I tend to favor the latter possibility.
    I have included the WSDL as it is when edited by me, and as it was originally. There is no difference in the result.
    I hope we are a little ways away from release, because this is going to require some work...    :-)

  • Eclipse with flash builder 4 plugin consume the whole memory after several builds

    Hi,
    we have installed eclipse flash builder 4 plugin on eclipse 3.5.2 on Mac OS 10.6.
    We experience problem with memory leak using flash builder plugin 4.
    When we build flash project several times, then we see that eclipse consume more and more in time and at the end it looks like that eclipse consume all available memory. When there is no free memory, then system start to swap and we need to restart, because everything is going to be slow when swaping starts.
    Any suggestions how to solve this problem?
    I suppose that other people also have this problem. I will be realy happy if someone share his experience to fix this.
    We uses java 1.5.
    Thanks in advanced!

    Ok, problem solved.
    First I uninstalled the flash builder plugin, and eclipse galileo was still not starting.
    Then I uninstalled java (both jre/jdk, v6.20).
    Crossing my fingers, I reinstalled jdk and then jre (latest downloaded); and eclipse ran again (pheeeew!).
    Finally, I installed flash builder 4 plugin again, it works too (!), and aptana works, ... all is working back again, fine!

  • Flash debugger/ flash builder problem

    I'm having a problem getting the debugger in Flash builder to work.
    Also, I'm unfamiliar with the ACtiveX settings etc.
    thanks

    Hi, now since you need the debugger for Flash Builder 4, following are two links that have the info. Since I am not familiar with the programs you use, I didn't want to give you a link and then it may be the wrong one. I thot you would be better able than I to decide which site you needed to look at.
    http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=flash%20player%20debugger%20f or%20flash%20builder%204
    http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=flash%20player%2010%20debugge r
    I hope these are what you need. Debuggers & Builds and CS5 etc. are over my head:-) Not too much help with those programs.
    See what you think, and if that isn't helpful, I'll search again. (I usually find what I'm looking for as long as I know what that is:-)
    Thanks,
    eidnolb

  • Flash builder 4.7 lags on big files

    Hi
    I starts using new Flash Builder 4.7 three days ago.
    I have file that contain 5000 strings of code. And when I open this file and starts edit it - flash builder starts terrible lags! I can print only 3-4 chars per minute...
    There was not such problem in FB 4.6
    How can i fix it?

    Hi,
    Please provide few more info.
    1. What is your machine config?
    2. What exactly is the content of file? Can you provider us a sample?
    3. How big is your project? Is it flex or ActionScript project?
    4. Do you see any improvement if you turn off "Report problems when typing" in Preferences->Flash Builder->Editors ?

  • AIR Update framework with Flash Builder

    Hi,
    I am not sure if this is the right place but since this problem happens with the new Flash Builder 4 and AIR, I am putting it here :
    When I run the Air update framework with the new flash builder , i get this exception when I call appUpdater.initialize() in the same given in http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&product Id=4&postId=9543
    The error is
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
        at mx.controls::ProgressBar/createChildren()
        at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\sr c\mx\core\UIComponent.as:6510]
        at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
        at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
        at mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\ mx\core\Container.as:2541]
        at mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx \core\Container.as:2459]
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_ApplicationUpdaterVBox10_c ()
        at mx.core::DeferredInstanceFromFunction/getInstance()[E:\dev\beta1\frameworks\pro jects\framework\src\mx\core\DeferredInstanceFromFunction.as:105]
        at mx.states::AddChild/createInstance()
        at mx.states::AddChild/set targetFactory()
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_AddChild8_i()
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_State7_c()
        at ApplicationUpdaterDialogs()
        at _ApplicationUpdaterDialogs_mx_managers_SystemManager/create()
        at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\beta1\frameworks\p rojects\framework\src\mx\managers\SystemManager.as:3581]
        at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3 400]
        at mx.managers::SystemManager/docFrameListener()[E:\dev\beta1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:3258]
    The code is the exact same give in the example i mentioned above.
     This works fine in my Flex Builder 3. 
    Thanks
    Hironmay Basu

    the issue is already reported here:
    http://bugs.adobe.com/jira/browse/SDK-22886?page=com.atlassian.jira.plugin.system.issuetab panels:all-tabpanel
    As a workaround, you can try using:
    http://www.websector.de/blog/2009/09/09/custom-applicationupdaterui-for-using-air-updater- framework-in-flex-4/

  • Error in Consuming Webservice

    Hi Expert,
      I have a problem in consuming webservice into my client proxy.
      when I test the client proxy it  will raise error  :
       SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
      Does anyone here has facing this problem too.
      And how to solve it.
      Need your advice please.
    Regards,
    Ikrar

    Solved by thread Re: Get error "SoapFaultCode:1"Consume web service in ABAP proxy

  • Flash Builder 4.5 unable to find the debug version of the Flash Player.

    I'm running into the following error:
    C:\Windows\System32\Macromed\Flash\NPSWF32.dll
    Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
    Do you want to try to debug with the current version?
    I have already went to the link the dialog box provided to download the debug versions of the Flash Player.  I have installed both the Plugin and AX versions of the debugger.  Restarted all browers, Flash Builder and rebooted the PC for good measure.  I have spent a good amount of time looking for information on this issue.  All the threads that I found that were related to this issue didn't have a workable soution so far.  Hence I'm starting a thread on this problem.
    I'm running Flash Builder 4.5 on Windows Vista 32-bit.  I have tried using both FireFox 3.6.24 and IE 8.0.6001.
    I started with the Trial version then purchased the license online.  I don't know if that has any bearing.
    Any information to diagnose this problem further would be greatly appreciated.

    Hi emat3d,
    Try to uninstall Flash Player with this Adobe uninstaller, please ensure you close all application which might be using Flash Player. Then try to install your Flash Player debugger again. It solved for me.

  • Flash Builder Errors When Editing a Flash Professional File

    I'm having lots of problems trying to use Flash Builder 4.51 as my code editor from Flash Professional CS5.5. My immediate problem is a constant stream of pop-up "Problem Occurred" dialog boxes in Flash Builder which make it impossible to do any work.
    The message specifics vary a little but the title bar says "Problem Occurred" and inside the dialog box it says '[something] has encountered a problem." The [something] varies but is commonly "Finding occurrences" even though I'm not trying to search for anything at the moment. If I click the Details button the additional info is something like:
    An internal error occurred during: "_imageWidth".
    java.lang.NullPointerException
    Right now, I'm trying to find all references to a specific variable, _imageWidth, so it says:
    '_imageWidth' has encountered a problem.
    An internal error occurred during: "_imageWidth".
    When I click OK the dialog goes away and 0 references are reported but that is wrong. The var does exist and there are references. A few seconds after clicking OK the same error box pops up again. I click OK and a few seconds later it's back. Like I said, it's impossible to get any work done.
    If, instead of searching for references, I do a text search the error is 'Finding occurrences' has encountered a problem. Again, the error dialog pops up incessantly.
    This is in a new Flash Builder 4.51 workspace with only a single project. Here is the procedure I used to create it:
    Create a folder inside my workspace
    Copy Flash Professional .FLA file and its associated ActionScript classes into the project folder; change the Flash Pro publish settings to permit debugging
    Create a new Flash Builder Flash Professional project in that folder, targeting the FLA file
    Create a Debug Configuration targeting an existing HTML file in the folder
    With this procedure I'm able to edit and debug from Flash Builder for a few minutes. But before long an onslaught of popups begins. At that point, there's no way to accomplish any work. Restarting Flash Builder doesn't help either.
    Is there any way to make this work?
    David Salahi

    Found a workaround. The dialog is not modal so I just dragged it over to the other monitor and I can ignore it. A new message is added to it every few seconds but I don't pay it any attention.

  • Where can I download flash builder 4.7 STANDARD?

    I can get premium very easily off of the website, but it will not let me activate with my 4.7 standard key.  I need flash builder 4.7 standard.  After hours of searching I have not found any way to download it.  This should be easy!

    I have a package of Flash Builder 4.5 std, and I had the same problem.
    Finally, I downloaded "Flash Builder 4.7 trial (premium version, maybe)" from download center, and use my serial for 4.7 std. It works as standard edition.
    But, my serial key for "4.5 std (package version)" is not available in 4.7.
    I have to request Adobe a new serial for "4.7 std".
    As I am Japanese, the page which I use to send my request may be not availabe for you. (It is written in Japanese.)
    I found the link to request page in FAQ page for FlashBuilder 4.7 ( of course in Japanese). So you can find a link in FAQ, maybe. But I can't see FAQ in english page, as I am automatically redirected to Japanse FAQ page.
    Sorry for my broken english, but I hope it is of some help...

  • Problem setting up Flash Builder to build an ANE

    I am a native android developer trying to build an Air Native Extension for some flash developers. I don't know much of anything about flash, flex, AS, or other adobe technologies. The setup of Flash Builder is driving me insane. I followed the advice in Developing and using Adobe AIR native extensions for Android devices | Adobe Developer Connection the best I could (matching SDK versions even if they are old) but I am getting the following error when building the ANESampleTest (Flex Mobile AIR) project:
    Namespace 3.6 in the application descriptor file should be equal or higher than the minimum version 13.0 required by the Flex SDK
    Again, I am NOT an adobe developer. The version 3.6 vs 13.0 is a pretty weird comparison, but I guess 3.6<13.0 and I'm guessing someone in marketing somewhere decided to renumber things. At this point I'm so disoriented by the install, sdk update, and sdk 'overlay' that I have no idea what component is popping this error or where to look for the problem.
    What does this error mean and what is the next step toward resolving it?  Please treat me like a total noob because I do not know about the difference between flash/flex/air and what their respective versions are.
    Thanks! 
    <moved from downloading,installing, setting up - kglad>

    The fix: Change the namespace on the second line of <project root>/src/ANESampleTest-app.xml
    FROM:   <application xmlns="http://ns.adobe.com/air/application/3.6">
    TO:   <application xmlns="http://ns.adobe.com/air/application/13.0">
    A brief and incomplete background:
    The file <project root>/src/ANESampleTest-app.xml is the ‘application descriptor file’. When using the project files downloaded with the tutorial (that contained the 3.6 reference), the builder did not find this compatible with the configuration on my computer (a trial version I installed today - 5/3/2014 - and patched according to the tutorial). I never did figure out how to lookup valid namespaces and am still confused about how all the sdk’s relate to each other. I stumbled upon this solution by creating a fresh new project and found that the namespace specified by the new project wizard was “13.0” on this line of this file.

  • Amazon Kindle problem using Flash Builder 4.6

    Is there a way to specify a version of Air 2.7 using Flash Builder 4.6?  This would be handy for getting apps accepted by the Amazon App store for the Kindle.  Recently, I had an app accepted into the Amazon App store.  However, the App needs to use a version of Air that preceeds Air 3.1.  The version that I was advised to use is
    Adobe AIR v. 2.7.1.1999.
    I tried changing the 2nd line in the prog-app.xml file from:
    <application xmlns="http://ns.adobe.com/air/application/3.1">
    to
    <application xmlns="http://ns.adobe.com/air/application/2.7">
    However, this change led to an error:
    "See details for more information.
      Namespace 2.7 in the application descriptor file should be equal or higher than the minimum version 3.1 required by Flex SDK. "
    I recall that there was a temporary workaround for a similar problem with the Blackberry tablet OS.  The Blackberry OS problem was later solved and the fix is no longer necessary.  Perhaps, we need a work around for the Amazon Kindle to force the Flash Builder 4.6 to compile a release with Air 2.7.1.xx?
    Any ideas how to make this happen?

    Hello,
    did you ever find a solution?
    thanks.

  • Flash builder 4.7 consuming lot of memory in VMware VDI environment.

    Flash builder 4.7 consuming lot of memory in VMware VDI environment. When we debugg the application then it is throwing out of memory exception. We need to close and relaunch Flash builder IDE numerous times. Can you please help us with setting changes we need to make for flash builder or VMware VDI environment so that we can resolve this issue?

    Hi Atul_Saini,
    So I checked your link and all seems correct on my computer.
    At the bottom of the link you provided there is "see also" section, about activation / deactivation.
    I did not deactivated my licenses before my window re-install, and if now I go to Flash Builder -> Help , desactivation button is greyed out. Could it be the source of my problem that I used my licenses on two computer and did not deactivated them ?
    If yes, how could I deactivate thoses products ? I searched on my profile but I can't find a way to do it.

  • Problem with working in Flash Builder 4

    Hi there,
    I am working on the develepment of a new kind of website in 3D.
    For this I am using Flash Builder 4 AS3 Project and the 3D program Away3D.
    The problem is that I created a SWF in one AS3 project called PoloSWF.
    In another project I created a plane with the SWF as material.
    For this I copied PoloSWF from the original bin release directory and pasted it in the assets folder of the plane project.
    When running the plane project, the SWF is not visible.
    Any idea where the bug is?

    I tried it in Internet Explorer, Firefox, and Chrome. I was able to get the Akamai download manager but that was all I could download. Currently with firefox the download is stuck at waiting and will not continue any further.

Maybe you are looking for

  • TNS-12560: TNS:protocol adapter error and TNS-00530: Protocol adapter error

    i just installed oracle 11g on my windows xp professional box. Which user and password shall i use. What username and password should i be using to login to sql plus? when i use "Scott" "Tiger" it gives me ORA-12560: TNS:protocol adapter error occurr

  • Customer Invoices with doc types

    Hi All, I want to look for customer invoices based on document types. For ex., all invoices posted using doc type XX. How and where can I look for this information. Any transaction with this criteria or using tables? Regards, Satya

  • Problem with calling reports

    Dear All, using forms and reports 6i I have two reports in a form called by when_button_pressed of a button. I added the report files including path to the report node in object navigator and everything was okay. Next step for me was to create the RE

  • Pages has disappeared from my Mac ... How can i download it again ?.

    Toda y cannot find pages in my mac.... How can this happen ? How can i download it again without paying for it again ?

  • 2008 MacBook and Mtn. Lion Later update?

    2008 MacBook and Mtn. Lion Later update? Has anyone heard whether there could be an update to Mtn. Lion later that might include the drivers for the 32 bit video chipset so we could run Mtn. Lion on our earlier MacBooks? Could Apple to that if they w