Multiple soap modules

hello,
i'm biulding a flex client that works with a soap web servise, i imported the wsdl though the wizard and all was good...
untill i had to use a diffrent module within the same webService.
the other module uses some of the same soap types as the first one(the type's name space is maped to the first module) and vice versa.
as a resoult when i try to import the secound module i get the following error:
The specified ActionScript package already contains a file with the same name
as one of the classes to be generated: <some class name>.as.
Try choosing a different ActionScript package or renaming the existing file.
so naturaly i used a diffrent package, now the problem is that now i have duplicates of the same class in diffrent pakages and one module is overwriting the class deffenitions of the other module in the SchemaTypeRegistry singleton and that is cousing all kinds of weird stuff to happen...
has anyone encounterd this or know how to solve this?
any help would be greatly appreciated.
peleg.

here are examples for the 2 wsdl's:
module 1:
<wsdl:definitions xmlns:tns="http://ns1.something.com/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s2="http://ns2.something.com/" targetNamespace="http://ns1.something.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://ns1.something.com/">
            <s:import namespace="http://ns2.something.com/" />
            <s:element name="someSOAPElement">
            </s:element>
            <s:element name="someSOAPElementResponse">
                <s:complexType>
                    <s:sequence>
                        <s:element minOccurs="0" maxOccurs="1" name="someSOAPElementResult" type="s2:BillingResponse" />
                    </s:sequence>
                </s:complexType>
            </s:element>
            <s:element name="someSOAPType" nillable="true" type="s2:someSOAPType" />
        </s:schema>
        <s:schema elementFormDefault="qualified" targetNamespace="http://ns2.something.com/">
            <s:complexType name="someSOAPType">
            </s:complexType>
        </s:schema>
    </wsdl:types>
    <wsdl:message name="someSOAPElementSoapIn">
        <wsdl:part name="parameters" element="tns:someSOAPElement" />
    </wsdl:message>
    <wsdl:message name="someSOAPElementSoapOut">
        <wsdl:part name="parameters" element="tns:someSOAPElementResponse" />
    </wsdl:message>
</wsdl:definitions>
and module 2:
<wsdl:definitions xmlns:tns="http://ns2.something.com/" xmlns:s="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ns2.something.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://ns2.something.com/">
      <s:complexType name="someSOAPType">
      </s:complexType>
      <s:element name="someSOAPElement">
      </s:element>
      <s:element name="someSOAPElementResponse">
        <s:complexType>
          <s:sequence>
            <s:element name="someSOAPElementResult" type="tns:someSOAPType" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="someSOAPType" nillable="true" type="tns:someSOAPType" />
    </s:schema>
  </wsdl:types>
  <wsdl:message name="someSOAPElementSoapIn">
    <wsdl:part name="parameters" element="tns:someSOAPElement" />
  </wsdl:message>
  <wsdl:message name="someSOAPElementSoapOut">
    <wsdl:part name="parameters" element="tns:someSOAPElementResponse" />
  </wsdl:message>
</wsdl:definitions>
the soap decoder uses mx.rpc.xml.SchemaTypeRegistry, witch is singleton, to map the soap types calss definitions, thus the definitions are shared by all the modules in the application...

Similar Messages

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • Multiple output modules cause render to fail?

    Is anybody else having trouble with using multiple output modules in after effects?  Let me elaborate:  so I'm working on a 3d film, and my worflow is to simply work with the footage side by side in a single comp (we're at HD, so the comp size is 3840x1080).  Very often, I need to fire off a quick render to show to the director.  Most of the time, I just do the left eye by cropping to that 1920x1080 area in the output module.  Other times I need to deliver both eyes, so instead of cropping to 1920x1080, I resize the frame in the output module to 1920x1080.  Yea, we lose half of our horizontal resolution, but that's not such a big deal for us when just working on approvals.
    Here's the thing: sometimes I like to export multiple variations of this at once (ie one output module for the left eye, one for the right eye, and another for the squished side-by-side left-right video).  Whenever I try to output multiple modules with quicktime, it fails.  Every time.
    When it fails, I get two messages: the first (a warning) says "After Effects warning: last frame was written to one or more output modules, but not all! ( 26 :: 153 )"
    The second message (an error) shows up once for each output module: "After Effects error: Rendering error while writing to file "C:\blahh blah blah\whereIputmyfiles\the_render.mov". An output module failed.  The file may be damaged or corrupted. (-1610153464)."  Once it fails, I cannot output to quicktime AT ALL (multiple output modules, or not) without restarting After Effects.
    I tried outputting multiple modules as a PNG sequence... and that worked just fine (if "slow as hell" can ever be called "fine" .... but it worked! )
    I tried outputting to the multiple formats I wanted with one output module per render item (rather than having one render item with multiple modules) as quicktime, and that worked just fine (of course... it takes N times as long though... for N number of outputs).
    I am on Windows 7 64-bit... running After Effects CC 2014... I never had this trouble back when I was working on the CC version (the not 2014 cc version... that is too confusing...).  However, I just went back and tried it with the older version, and it no longer works there either!  What gives?
    When outputting quicktime, I'm using the h.264 codec.
    And before anybody suggests it, no I can't just use AME because that can't resize video (it forces you to keep the aspect ratio through letterboxing) or crop video.

    >The most likely culprit is the h.264 Quicktime. It should have never been included as an option. It doesn't even work well in Quicktime Pro or in Final Cut...
    I'll come to Apple's (partial) defense here:
    Their H.264 codec was written and released at a time when it was difficult to imagine that mainstream computers would have as many CPUs as they do now, so it's somewhat understandable that the severe failures that this codec has with large numbers of threads occurs. Of course, we may all wish that Apple hadn't decided to end development on the QuickTime platform, since this has meant that bugs like this are likely to persist.
    That said, this is why we increasingly recommend that people use other H.264 codecs and not use QuickTime for such things. See the H.264 options currently in Adobe Media Encoder.

  • Multiple SOAP Actions in SOAP Receiver - PI 7.1

    Is it possible to handle multiple SOAP Actions in SOAP Receiver Communication Channel in PI 7.1 ???
    Plz help ....
    Neena

    How can I handle two SOAP operations without BPM ?
    In first Action I will get an ID,
    WIth that ID I need to perform another Action.
    Any help ???

  • Multiple SOAP fault support in PI?

    Hi Guys,
    We have a webservice that has multiple SOAP faults as part of the WSDL. Normally a sync WS will have a request, a response and a fault. My question is does PI support multiple faults?
    If i look at the SI, it lets me add multiple fault messages. Even in operation mapping, I get the option of doing the multiple mappings for multiple faults. But when I test, it throws up an error mentioning that the mapping does not exist in the cache. If I remove the multiple faults in SI (only provide one fault) and hence the same in OM, it works perfectly fine. But PI doesn't seem to like multiple faults in SI and OM and hence mess things up during runtime.
    So does PI really support multiple faults? Can it handle multiple faults being triggered from the target and route it to the source application?

    Ok, we analyzed this further and here is one answer:
    Synchronous service operations can absolutely handle more than one fault message. We checked this with ABAP-Proxy to  ABAP-Proxy and also ABAP-Proxy to SOAP Adapter.
    The problem we had before was due to a missing namespace information: in the response the namespace qualifier of the top level tag of the individual fault in the SOAP Envelope was not set.
    Here is my hypotheses about what happens: If there are more than one fault messages mapped in an operation mapping, the system must be able to find the correct one. To do that, not only the fault message tag name, but also its namespace must be set precisely in the response message. Otherwise the massage processing stops and a u2018missing mapping programu2019 is reported. Since the correct message mapping corresponding to the actual fault received could not be identified, in the error reported in the message log the system refers to the next best thing it has at that point which is the ID of the operation mapping. However, that is a bit misleading, since the operation mapping itself was found and there is nothing wrong with it.
    Hope that helps
    Eberhard

  • Message Split using BPM for Multiple SOAP Receivers

    hi,
    I have a scenario where in i have to split the message coming from IDOC(SOURCE) to multiple SOAP(TARGET) receivers through BPM
    I took a single file as a scenario and tested it. It worked fine.
    I am using only a single output interface.
    I have followed this weblog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    but this blog has 2 output interfaces whereas in my case i just only one output interface that i want to route to multiple receivers based on the value in the PARVW in the IDOC.
    Thanks,
    Tirumal

    hi ,
    this is done using CONDITIONAL RECEIVER DETERMIANTION.
    While doing your reciver determiantion, you can specify multiple receivers and also specify the condition on which the receiver is to be choosen.
    Also, just check the last path of this blog for the same,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    Regards,
    Bhavesh

  • Compiling a SOAP module for PHP5 in Leopard

    Hi. I thought I'd try to compile a SOAP module for the stock PHP installation in MacOSX Leopard.
    I snagged the php-5.2.5 sources from php.net, and used the compile arguments found in the "php -i" command. I only added "--with soap=shared --enable-shared", like this:
    *./configure '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-apxs2=/usr/sbin/apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--with-openssl' '--with-xmlrpc' '--with-xsl=/usr' '--with-pear' --enable-soap=shared --enable-shared*
    This builds just fine.
    Then I:
    ~ copy php_src/modules/soap.so to /usr/lib/php/extensions/no-debug-non-zts-20060613/
    ~ set extension_dir="/usr/lib/php/extensions/no-debug-non-zts-20060613/" and add extension=soap.so in /private/etc/php.ini
    If I run "php -i" now, I get
    *dyld: NSLinkModule() error*
    *dyld: Symbol not found: _OnUpdateLong*
    *Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20060613/soap.so*
    *Expected in: flat namespace*
    *Trace/BPT trap*
    I found an OnUpdateLong function in php_src/ext/zlib/zlib.c, but I don't know if that's relevant.
    What am I doing wrong?
    (Yes, I know that there are several third-party stand alone php intallations for MacOSX (MacPorts, Fink, Entropy...), but I'd really like to just make the stock PHP work.)

    Now I've tried using the php source from
    http://www.opensource.apple.com/darwinsource/Current/apachemodphp-44/
    as well. I've just added "--enable-shared --enable-soap=shared
    --enable-zlib=shared" to the Makefile and removed the mysql-related lines.
    After running make and copying soap.so and zlib.so to /usr/lib/php/extensions/no-debug-non-zts-20060613/, the results are basically the same:
    The "symbol not found: _OnUpdateLong" came from missing zlib, but zlib complains about another missing symbol: zend_ini_boolean_displayercb.
    It seems like zendini_boolean_displayercb is defined in phpsrc/Zend/zendini.c as ZENDINI_DISP(zend_ini_boolean_displayercb). I cannot compile zend as a module, since it's a core thingie.

  • Question about multiple application modules.

    Hello,
    Suppose I have 2 database schema’s. For both schemas I have 1 application module. All view objects are in the same project.
    For each application module I have an application definition.
    Is it possible to link between these two applications? Because sometimes these database schema’s link to each other and you would like to jump from one application directly to the other.
    For example you have orders locates in 1 DB schema and customers in another DB schema.
    You would want to jump from the order directly to the customer details in the second schema.
    Is this possible? Or do I need to make nested application modules etc?
    I can find very little info about this; the JHS def guide does not offer much information about multiple application modules etc.
    -Anton

    Anton,
    Yes, you can jump aroundd as you like.
    You just can't use view links between VO's based on different db schema tables.
    Nesting AM's doesn't help there, the DB connection of the top-level AM will be used.
    Why don't you create synomyms for the tables in the other schema?
    Steven Davelaar,
    JHeadstart Team.

  • Multiple ejb modules

    Welcome evry body, i need your help since i am new to ejb technology.
    I have a J2EE application with multiple ejb modules, my problem is how to
    make ejb1 located in ejb-module1 instantiate ejb2 located in ejb-module2
    in my ejb-module1 ejb-jar.xml deployment descriptor i put this :
    <session>
       <ejb-name>ejb1</ejb-name>
       <local-home>....</local-home>
       <local>...</local>
       <ejb-local-ref>
            <ejb-ref-name>ejb/ejb2</ejb-ref-name>
            <ejb-ref-type>Entity</ejb-ref-type>
            <local-home>....</local-home>
            <local>...</local>
            <ejb-link>ejb-module2.jar#ejb2</ejb-link>
       </ejb-local-ref>
    </session>When i deploy my application and try to access it i get this exception :
    javax.naming.NamingException: No EJB found at location 'ejb-module2.jar_ejb2'So is there any way to fix this problem?

    Hi Javist,
    Assuming you've double-checked that the target module(ejb-module2.jar) and
    target ejb-name (ejb2) are correct, and that both ejb-jars are packaged at the same level in the .ear, everything looks fine to me. Which J2EE implementation are you using? It's possible it's a bug. You can also try the shorthand of just
    <ejb-link>ejb2</ejb-link>
    If there's only one ejb with that name in the entire .ear, that should work even without the explicit ejb-jar path reference.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • One task control multiple DAQ modules

    Is it possible to have one task control 2 or 3 DAQ modules? I do not seem to have luck in doing so.
    Also, for a digital output NI device that sources voltage, if I hook up 10v to it and the module has 10 channels, how on earth are the 10 channels each able to source 10V, when I only supply one 10v power supply.
    Does it just send extremely small amounts of current per channel versus sending a decent amount of current per channel if I just had one output on?

    Hey all,
    This is a crosspost, I posted somewhere else after posting this post, just because I did not know whether I posted in the right place, here is the link to the other in case anyone else comes across this problem: http://forums.ni.com/t5/Multifunction-DAQ/one-task-control-multiple-DAQ-modules/td-p/3170766 Sorry about that.
    Anyways, I have 
    NI 9401, 
    NI 9403,
    NI 9474,
    NI 9375,
    I am using a 
    NI cDAQ-9184 chassis
    I believe these are all compactDAQ.
    I would like to combine the 9401 and 9403 into 1 task, and the 9474 and 9375 into 1 task.
    Also, I am having issues with one of the modules, the 9375. When I wire False data to the Write DAQ on LabVIEW it seems that the 9375 is still sourcing some voltage. I cannot remember the difference in voltage of then I wire true data versus false, But I believe they were somewhat close. Has anyone came across a problem like such?
     

  • Sending data to multiple SOAP/HTTP URL's

    Hello Everybody,
    I've a requirement where I've to get a CSV file from JMS adapter and then post the file to multiple Target URL's using a single SOAP receiver communication channel. But as far as I know, in the SOAP receiver adapter, we have the option of providing a single Target URL. So, how can we post the data to multiple Target URL's in this scenario?
    Please help.
    Thanks,
    Vijay

    Hi Abhishek,
    I do not know the number of URL's. In the runtime, the URL's will be retrieved from a PI table based on some criteria. So the number of URL's will change every time.
    Since the URL's will be determined in the runtime, it is not possible for me to create the communication channels beforehand.
    And other suggestions/ideas please.
    Thanks,
    Vijay

  • Support for multiple struts modules in NitroX

    I have a struts application with multiple modules, however, NitroX won't fully recognize the second module.
    I created this module though Struts' "Create new Struts module...", the module works fine in tomcat, I'm able to edit the config files with NitroX, NitroX doesn't give me any errors when referencing forms or actions in the second module, however, when I create a new html:form, NitroX doesn't show the actions of the second module, and it also doesn't show the request session variables that I created in the struts action class.
    It appears to me that somehow NitroX doesn't see the second module correctly.
    How would I fix this problem?
    Thanks,
    Daniel Goldman

    In order to zip up my project, I would have to clean it up of before giving it to you, I have to make sure that there is confidential info in there.
    Are there any tips you can give me? Perhaps I can troubleshoot myself.
    If there is no other way, I'll send you a zip.
    Thanks
    Daniel Goldman

  • How to handle multiple soap operations from XI ?

    Hi Experts,
    I am sap xi guy and we need to handle a webservcie which has multiple operations. any body can guide how to handle this ?
    In xi soap receiver adapter we have an option going only for a single soap action ? can sap handle rpc style format of webservice ? what is meant by rpc
    any help would be really appreciated
    Thanks,
    srini

    Hi Srinivas,
    Please refer to this article on how to handle the soap action. Hope this will help you understanding the soap action mistery.
    http://www.oreillynet.com/xml/blog/2002/11/unraveling_the_mystery_of_soap.html
    Regards
    Sumit Bhutani

  • Maintain session in Multiple soap calls

    Hi Experts,
    We have an requirement which runs 2 synchronous calls.
    1st synchronous cal is for validating user credentials and
    2nd synchronous call (for successful log in) for uploading data in R/3 system.
    The main task is to maintain session(ex: time 15 mins) .
    1st synchronous call looks like Mobile Application (soap sender)<--->PI<----->(Soap receiver)Active Directory.
    2nd synchronous call looks like Mobile Application (Soap sender)<--->PI<----->(Proxy)R/3 system.
    can you pls let me know how can I achieve this requirement and
    how to maintain session ID, session (is it in PI or in third party) and from where to maintain session.
    Thanks in Adv..

    I am calling multiple web service apis from my bpel process on the same link. The Web services are written such that I always have to call a "login" api first which creates a context that's maintained throughout the session. Thus subsequent ws calls have to be made in the same session because all the other web service apis require the context to be present.
    You can think of this as a stateful SessionBean (sort of).
    The question is does bpel support this?

  • Groupwise Mobile Issue - multiple SOAP Ports

    Hi All,
    I'm having an issue with Groupwise Mobile.
    I've got multiple POAs hosted on the same server (using different ports), and GMS can only access one of them. The one that it can access is using the standard 7191 SOAP port.
    Is there a trick to get mail to pass across another port? Users can authenticate, but synchronization doesn't work.
    Thanks,
    Matt

    Originally Posted by mikebell90
    There used to be a known issue with soap that if you had multiple poas
    on the same ip, you could only access one
    It seems to be working now. But I'm not sure how I fixed it.
    To complicate things, I think I was suffering from two separate issues that presented themselves as one problem.
    One of the changes I made was to install GWM as a trusted app, rather than using user based authentication. This seemed to help GWM access POAs with SOAP ports other than 7191.
    The other "issue" I had seemed to "heal" itself. The user account I was using to troubleshoot this showed up with the following message in it's inbox:
    Syncing resumed - password resupplied
    Your password was resupplied, and Intellisync Mobile Suite is now syncing normally again
    ...so I'm assuming that GWM was caching bad authentication data. I just couldn't seem to get this data to flush out, even after deleting and re-adding the user in GWM, cycling services, and rebooting servers.

Maybe you are looking for

  • Chinese language conversion link upon Sign in

    ( This is a continuation of OSX128bit posts .  Hopefully it is helpful to users .  And all input is voluntary . ) I'm now seeing :   Apple Support Communities - Chinese  ( link ) , available for me to click on as a yellow popup window when i first vi

  • What is the best infrastructure of an application?

    Hello everyone, I am a new Java learner, I don't think I'm qualified as a Java programmer so far. I try to develop a desktop application with Java, but really don't know which way to go. Could you help me please? I have thought of two initial classes

  • I just want to cancel my Creative Cloud...

    I signed up for it on my home computer. I have 5.5.. at work I have 6. I don't see that I need the Creative Cloud (since I can't get it to work right) at home right now. WHY can't I cancel???

  • Keychain won't accept my password

    I am trying to connect my son's Powerbook G4 and my own iMac G5 iSight via our airport wireless cards in order to be able to share files with each other. I have had success in getting the Powerbook to be able to log onto the internet using the G5 as

  • My iphone 6 dropped in to very cold water(river) about 45 minutes

    after i found my iphone 6 under water i took it and i did force shut down immediately and dried it out with my clothes. I put it in rice about 48 ours and now its working and everything seems good but there is a very light dark shadow in the screen l