Deployable Proxy with two wsdl files

Hello,
I have a problem with deployable proxies and two wsdl files.
In wsdl A returns a method an object of type Foo.
In wsdl B a method expects a parameter of type Foo.
Foo is a class of the Web service provider.
I created a new deployable proxy called p.
For both wsdl files I chose Create -> new client proxy definiton and for both of them I had to create a new package (a and b).
Now I have two Foo classes:
p.a.types.Foo and p.b.types.Foo
But I would like to have only one Foo class and use it for both proxy definitions.
Is this possible?
Thanks and regards
Patrick

Hi,
no I haven't found a solution.
> I was looking for options to create single proxy with multiple wsdl files
I was thinking the same because the folder is called WSDL Files.
Hope somebody could help.
Regards
Patrick

Similar Messages

  • 4.7 actionscript project with two .as files

    hi,
    Using FB 4.7 to make actionscript project with two .as file: Main.as and GFX.as. There are variable in GFX that Main cannot access. WHat do I need to do to the GFX.as file to make the variables it declares readable by Main.as?
    Thanks
    GReg

    Reason 1:
    put public before var . Example: public var foo:Number
    Reason 2:
    the variable that you can't load in Main.as should be inside function GFX() body. Example:
    package {
         import flash.display.MovieClip
         public class GFX
              public function GFX()
                   public var foo:Number  // Put your variables here that can be load by another class
              function anotherFunction(parameters:Number) // Another function starts here
                   foo = parameters
    Reason 3:
    In Main.as, put import GFX after package {

  • Hi, attempting to export h.264 for an mp4 but premiere cc automatically making m4v with two sep files

    hi, attempting to export h.264 for an mp4 file, but premiere cc automatically making m4v with two sep. files. This never happened before. The project had an issue with the GPu and I had to hack the cusa text file. I'm wondering if I messed something up and what should I do to retify. Thanks

    Correct except that at the end of encode it stays as two sep files..with
    this proj. I narrowed it down vrb1 vs vbr2.. its a two hour project. I just
    attempted a second attempt at vbr1..it should work. I will keep everyone
    posted..thank you all for the responses. I will be sure to be in contact
    with youu all.
    Rob

  • Can ABAP proxy to consume WSDL file be run as background job for every10min

    Hi all,
    I have a requirement where I need to build an interface which gatheru2019s the purchase order details and send to external third party software in their required format (as an XML file).
    So I should be the first point of contact and should trigger the interface each time a purchase order is generated.
    So I am thinking that I should develop a background job for every 10 minutes which will look for new purchase orders and gathers the information of the purchase orders and send them to external third party software in their required format.
    I have gone through all the SAP forums and e-Learning but still I have confusion in regards to how is it possible technically? Can some one guide me with some information on the same.
    I have a little bit of confusion and want to know few things.
    1)     Should I create a web service or should I consume a web service?
    2)     If I need to consume a web service, then can I write an ABAP proxy to be run in background fro evry 10 minutes? I mean can we run ABAP proxy as a batch job in the background?
    3)     Is there a difference between consuming an XML file and WSDL File?
    Any Help will be highly appreciated.
    Regards,
    Jessica.

    There are two options (as I know) to generate XML file.
    1. Use XML TRANSFORMATION to get the XML string based your TRANSFORMATION. You can input your data and get back the XML string. Download this string to a file
    Test XML generation program is:
    types: begin of ty_data,
           num   type i,
           end   of ty_data.
    DATA: itab TYPE standard table of ty_Data,
          la_data like line of itab,
          xmlstr TYPE string.
    DO 3 TIMES.
      la_data-num = sy-index.
      APPEND la_data TO itab.
    ENDDO.
    CALL TRANSFORMATION ztest_np1
      SOURCE table = itab
      RESULT XML xmlstr.
    CALL FUNCTION 'DISPLAY_XML_STRING'
      EXPORTING xml_string = xmlstr.
    My ZTEST_NP1 transformation. To create a transformation, click on the transformation in the "CALL TRANSFORMATION ztest_np1" statement. Select Simple transformation type.
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="table"/>
      <tt:template>
        <table>
          <tt:loop ref=".table">
            <item>
              <tt:value ref="NUM"/>
            </item>
          </tt:loop>
        </table>
      </tt:template>
    </tt:transform>
    XML string is like:
      <?xml version="1.0" encoding="utf-8" ?>
      <table>
      <item>1</item>
      <item>2</item>
      <item>3</item>
      </table>
    To use this option, you have to create a transformation and than use it to generate the XML string.
    Check this SAP Help
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/7d4719ca581441b6841f1054ff1326/frameset.htm
    2. You can concatenate and create an XML string and download that string into a file.
    Regards,
    Naimesh Patel

  • Stub generation problem with the wsdl file

    Hi all
    I'm trying to write a simle webservice client based on JAX. My webservice is working fine I've tested it with a standalone app. In my webservice I'm using complex type. Problem is that i can't generate properly stubs. This is a msg I'm getting during the generation
    warning: ignoring operation "getEmployee": message part does not refer to a schema element declaration
    warning: Port "EmployeeIFPort" does not contain any usable operationsBecause of that my method to get the Object from the webservice is not generated.
    This is the wsdl file.
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="EmployeeService" targetNamespace="urn:Foo" xmlns:tns="urn:Foo" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types>
        <schema targetNamespace="urn:Foo" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:Foo" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
          <complexType name="Employee">
            <sequence>         
              <element name="name" type="xsd:string"/>
              <element name="surname" type="xsd:string"/>
           <element name="age" type="xsd:int"/>
         </sequence>
         </complexType>
        </schema>
       </types>
      <message name="EmployeeIF_getEmployee">
        <part name="String_1" type="xsd:string"/>
        <part name="String_2" type="xsd:string"/>
        <part name="int_3" type="xsd:int"/>
      </message>
      <message name="EmployeeIF_getEmployeeResponse">
        <part name="result" type="tns:Employee"/>
      </message>
      <portType name="EmployeeIF">
        <operation name="getEmployee" parameterOrder="String_1 String_2 int_3">
          <input message="tns:EmployeeIF_getEmployee"/>
          <output message="tns:EmployeeIF_getEmployeeResponse"/>
        </operation>
      </portType>
      <binding name="EmployeeIFBinding" type="tns:EmployeeIF">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <operation name="getEmployee">
          <soap:operation soapAction=""/>
          <input>
            <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
          </input>
          <output>
            <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="EmployeeService">
        <port name="EmployeeIFPort" binding="tns:EmployeeIFBinding">
          <soap:address location="http://localhost:8080/EmployeeService/getEmployee"/>
        </port>
      </service>
    </definitions>However the complex type class Employee is generated properly as well as other stub classes like the interface EmployeeIF, EmployeeIF_getEmployee_RequestStruct and EmployeeIF_getEmployee_ResponseStruct (I mean i think they are generated properly). As I said befor the problem is that the webservice method from the EmployeeIF.getEmployee() is not generated in the EmployeeIF_Stub. Any ideas why? I'm using WTK 2.5
    thx in advance :)

    Here i Followed  Url &sap-user=XXX&sap-password=YYY to the WSDL-URL with XXX and YYY being your username and password and you will be authenticated.
    Later i Struck. Actual my requirement is I have two views i want to take a value from the first view and then return value displayed in the second view. All input/output parameters are the taken from the WSDL file. Can you please Help me.

  • I am Facing Problem with the WSDl File which is in the local SAP Server

    Hi All,
               Can you please give me solution of my Problem. Here i am working with the WSDl which is create from the SAP Local System. Now i want to take the wsdl file URL from the local server to my system.Here i Struck. can you please help me .
    thanks
    Siva...

    Here i Followed  Url &sap-user=XXX&sap-password=YYY to the WSDL-URL with XXX and YYY being your username and password and you will be authenticated.
    Later i Struck. Actual my requirement is I have two views i want to take a value from the first view and then return value displayed in the second view. All input/output parameters are the taken from the WSDL file. Can you please Help me.

  • Problem creating a web service PROXY from a wsdl file/URL

    Hi,
    I am experiencing problems when I want to import a WSDL file for creating a proxy object.
    When I import the WSDL file from URL I get an error like this: <b>404   Not Found
    The requested resource does not exist.</b>
    Then, I  try to create it from a file, but I get other error:
    <b>Document not found (path o:\BCS.WSDL, error code 7</b>
    The error code 7 indicates <b>unknown error</b>
    Any help?.
    thanks in advance.
    Eduardo.

    Hi,
    I've done the same from other ECC6.0 System and everything was working perfetly, why all this can happen?
    I've ckecked the activation of the proxy objects, traces, etc... and it's the same in both systems, what more should i check?
    Thanks in adavance.

  • How to override generated WSDL with existing WSDL file?

    Hi there,
    I am migrating our weblogic 8.1 web services to weblogic 10.1. As documented it is not possible to start implementing the web services from WSDL if the web services are based on XML Beans. Therefore I started from scratch, using an XML Beans Utility project and a web service started from Java. This works fine.
    I now have a web service with a generated WSDL file, but there are slight differences with the existing WSDL file.
    Is it possible to stop generating the WSDL file and just point to the existing WSDL files?
    I already tried to expose the WSDL and change the WSDL location but it still returns the generated WSDL instead of the WSDL file that I want.
    Thanks in advance,
    Martijn Baels
    Software Architect
    www.leanapps.com

    The value of an element is stored in a child node of that element. For example, let's say that "e" references the node <Description> then:
    e.getFirstChild().getNodeValue() => "My Test Case"

  • Working With Two External Files With T-SQL Commands

    Hi friends,
    In a VSTO Excel AddIn of mine I have come across a need to use T-SQL commands before bringing the dataset on the activesheet, derived from two tables in the shape of external CSV files. However,
    since using SQL Express in this regard requires connection to a server. With Visual Studio as well as SSMS installed on my laptop I'm able to use the said facility but I am unable to distribute such an addin to other team members not having any of the studios
    installed nor access to any server.
    Is there any way to use the similar features on the users' side?
    In other words, how to develop a macro, for example, in which I could consider two CSV files as two different tables as in a database, and carryout some T-SQL functions/commands on the same like:
    UNION of first three columns from both the tables;
    Creating a temporary table with the DISTINCT sets of the said three columns; and
    Then carryout LEFT JOINS between the new table and the earlier two tables;
    to derive a simple comparative dataset?
    Looking forward for you experts' valuable advices in this regard.
    Thanx in advance.
    Thanx in advance, Best Regards, Faraz A Qureshi

    Hi FARAZ,
    As with Excel files, you can also use Odbc driver to connect to CSV files. As long as the user's machine installs the ODBC driver, you can OdbcConnection to connect to the CSV files.
    The sample code to manimulate CSV files with ODBC driver(C#):
    string connectionString = @"Driver={Microsoft Text Driver (*.txt; *.csv)}; Dbq=C:\; Extensions=asc,csv,tab,txt;";
    using (OdbcConnection conn = new OdbcConnection(connectionString))
    conn.Open();
    string sql = "SELECT u.UserName,u.Age,c.Phone,c.Address FROM user.csv u left join contact.csv c on u.Id=c.UserId";
    using (OdbcCommand cmd = new OdbcCommand(sql, conn))
    But if you want to publish the Add-in to the user's machine, you still need to install the .Net Framework and the VSTO runtime to support the Add-in.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Session Synchronization with two EAR files

    Hi,
    We have 2 web applications (Portal , BI reports) packaged into two separate EAR file and deployed it on the same server. User login to portal and click a link to see a report. Reports open in a new window.
    Now we have 2 active httpsessions. One for portal and another one for reports. The problem we are facing is when the user logs out of portal we wanted to clear out the reports session also ? What is the best way to achieve this?
    The approach i tried was to use HttpClient utility to pass a GET request to reports servlet to kill the session. But this didnt work because portal is unaware of reports session id.
    Any help is highly appreciated.

    Maybe you shouldn't use HttpSessions but should use a different mechanism to track sessions. The OReilly site has an article on pseudo-sessions that might help.

  • Permissions with two jar files

    Hello,
    I've run across a interesting problem. I'm using Java 1.3.1 with JAAS 1.0. I've written a LoginModule, Principal, and CallbackHandler that reside in one jar, authentication.jar. The class that use the authentication.jar is in another jar file, client.jar. When ever I run client.jar, I always get:
    Exception in thread "main" java.security.AccessControlException: access denied (
    javax.security.auth.AuthPermission createLoginContext)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:154)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:319)
    at test.authenticate.Authenticator
    .<init>(Authenticator.java:38)
    at test.authenticate.Authenticator
    .getInstance(Authenticator.java:58)
    at JaasAuthTest.main(JaasAuthTest.java:14)
    If I move the JaasAuthTest class from client.jar to the Authentication.jar, everything works fine. I've been messing with permissions and I can't seem to find configuration that works. I've tried granting AllPermission and .AuthPermission "createLoginContext" to each of may jar files with no success. Is there any reason I can't have my JAAS code in one jar and my client code in another? Has anyone else seen this before?
    Thanks,
    -Jon

    The JAVA class loader puts all code in a so called Protection Domain depending on its origin and class loader.
    Class files from different jars are typically put in different domains as they have a different origin and propably class loader.
    If you set up an appropriate policy file with permissions for the second jar file as the code base, it should be working fine, I believe.
    Oliver

  • Deployable proxy lookup problem

    Hello SAP Community, here is my issue:
    I need to access a web service in my web dynpro application, so I generated a deployable proxy from the wsdl file and deployed it to the server. I added the proxy's ClientAPI.jar to my web dynpro build path and tried to get its interface via jndi lookup, but I get a ClassCastException.
    The problem here is that when I look for my proxy in Visual Administrator's JNDI Registry, the class name is different from the one in Client API, as follows:
    JNDI Registry: ConsultaPadronServiceImpl
    Client API: ConsultaPadronService
    Debugging the code I can see that I get ConsultaPadronServiceImpl in my lookup, but when I try to do the casting to ConsultaPadronService I get the exception.
    Here is my code:
    try{
              InitialContext ctx = new InitialContext();
              Object obj = ctx.lookup("wsclients/proxies/sap.com/FonhapoWS/mx.gob.conavi.sap.ws.fonhapo.FonhapoProxy");
              ConsultaPadronService ser = (ConsultaPadronService)PortableRemoteObject.narrow(obj, ConsultaPadronService.class);
              port = (WsConsultaPadron)ser.getLogicalPort("WsConsultaPadronSoapHttpPort");
         }catch (Exception ex){
              IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
              msgMgr.reportException(ex.getMessage(), true);
    I really hope someone can help me out with this, I have already added the sharing reference to the proxy in my Web Dynpro project like <provider>/<EAR name> and still not working.
    Regards.

    Same issue here. did you resolve it?

  • Failed creation of deployable proxy upon wsdl containing "soapenc" types

    Hello all,
    I've tried to create deployable proxy upon wsdl file
    Creation process has failed and following exception was logged:
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Proxy generation problem. See nested exception.
    Caused by: java.lang.Exception:  WSDL part <in0> points to unavailable type with qname: <string>
    wsdl is created by Apache Axis version: 1.4. It contains "soapenc" types, e.g.:
       <wsdl:message name="getPageObjectListRequest">
          <wsdl:part name="in0" type="soapenc:string"/>
          <wsdl:part name="in1" type="soapenc:string"/>
          <wsdl:part name="in2" type="soapenc:string"/>
          <wsdl:part name="in3" type="soapenc:string"/>
       </wsdl:message>
    Could you give me any advice? What should I do to create deploable proxy upon such wsdl file?

    I am getting this error by generating a web service from pl/sql procedure. Just one package, just one procedure. Error stack:
    java.lang.NullPointerException
         at oracle.jdevimpl.webservices.generator.WrapperClassGenerator.generate(WrapperClassGenerator.java:262)
         at oracle.jdevimpl.webservices.generator.SPWebServiceGenerator$1.run(SPWebServiceGenerator.java:285)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    The pl/sql package header looks like this:
    CREATE OR REPLACE package ADMIN.etis_autent as
    procedure autent(
         ps_kasutajatunnus in varchar2,
         ps_parool in varchar2,
         ps_isikukood out varchar2,
         ps_eesnimi out varchar2,
         ps_perekonnanimi out varchar2
    end etis_autent;
    /

  • Import WSDL file along with XSD

    Hi,
    I have a WSDL file which has complex Data types (abc.wsdl). This complex data types are defined in the XSD file (abc-data.xsd).
    If I just import WSDL file in ED I am unable to find the Complex Data types in Message Mapping.
    How can I use the XSD file along with the WSDL file? Is there any source path as to give or what?
    Could you please help me out…?

    first i will tell how my wsdl file is defined
    <xs:element name="authInfo" type="<b>xx:AuthInfo</b>">                                   <xs:annotation>                              <xs:documentation xml:lang="en">                                   Authentication information                         </xs:documentation>                    </xs:annotation>                              </xs:element>
    and in my xsd file for xx:AuthInfo
    <xs:complexType name="AuthInfo">
              <xs:sequence>
                   <xs:element name="acctName" type="tns:CustName">
                        <xs:annotation>
                             <xs:documentation xml:lang="en">
                             account name.
                        </xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="password" type="tns:AcctPswd">
                        <xs:annotation>
                             <xs:documentation xml:lang="en">
                            Specify the password                    </xs:documentation>
                        </xs:annotation>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
    when i import wsdl file in Ed i will get two inputs there but only one as "AuthInfo"
    but "AuthInfo" has two inputs.
    this is how my Target Message Look like
    Tree          Occurences          Type
    authInfo     1..1                      xx:AuthInfo
    i hope i have cleared u..

  • Client Proxy(WSDL file) via Se80

    Hello
    We have a client proxy created against a WSDL file (http/url) in SE80 and we are using it currently it.
    Now the WSDL file is going to change a little. I want to use the same client proxy and only change the  WSDL file with the new WSDL file? How can i acheive this?
    I can create a new client proxy and associate WSDL file but i need to change a lot of place in code where we create instances of this abap proxy class.Hence i want to reuse the same client proxy while changing the WSDL file alone.
    Any guidance or pointers will be greatly appreciated.
    Thanks
    Abishek

    Hi Stuart,
    Cool. This solves my issue. If I choose the "regenerate" button(see attached image) then I am prompted to enter a new WSDL URL or file.
    Thanks!
    Regards, Yashu

Maybe you are looking for

  • Ichat 2.1 and canon digital video camera problems

    i have ichat 2.1 running on my b/w g3 with a 900 mhz powerlogix zif upgrade... i recently got my hands on a cool little program called ichat usbcam... before i got that app, ichat would not recognize my canon digital video camera via firewire...now t

  • Need help with watching DVD-R from dubbed VHS

    For some reason when I try to play a DVD-r that I recorded from a VHS tape, it will not play.  I get the message that the disc is empty and yet I know it is not because it will play in the DVD player

  • Dezimalfeld und Berechnung/ decimal-field and calculation

    Hallo zusammen, in einerm Formular versuche ich mehrere Dezimalfelder anzulegen, die am Ende zu einer Summe berechnet werden sollen. Wenn die Stellen hinter dem Komma  "00" lauten, werden sie nicht dargestellt. Welche Einstellung muss ich wählen? Wie

  • Sync on IOS 5 problem

    Hello all... I have a problem when I sync my iPhone and iPad. When I do the sync via wifi it doesn't sync my music. I tried to do it with cable but again nothing happens.any ideas to why this happens????

  • Best way for J2EE webservice acknowledgement forwarding

    Hi, My scenario is Gateway -> webservice A -> Webservice B Webservice B sends acknowledgement to webservice A to confirm the message format is OK/Error. I generate response from webservice B and send to webservice A as acknowledgment(done). My questi