J2ME, WTK, Webservices, Stub-generation & byte[ ]

Does anybody know if WTK2.2 (with current patches) support webservices metods that return a byte-array (byte [ ])? I have a webservice developed in JBuilder with a method that return a byte-array. When generatig stub-classes for this webservice WTK display this message: error: Found unknown simple type: byte[ ]
?

Thunder!
I'm struggling with the same problem with the byte[] in my wsdl. Did you have any luck solving this?

Similar Messages

  • WebService stub generation

    Hello,
    As many people which try to use the AS3 stub generation from
    WSDL, I have problems because the generated code is not working
    with *complexe* (aka non trivial) WSDLs.
    There are a lot of bugs in jira arround
    this
    theme.
    Is there any plan to have it corrected? I haven't find much
    answer in jira neither in forums, am I missing a support source (a
    dedicated forum, ...)?
    Is anyone able to help me? The answer could be don't try to
    use WS generation stuff.
    Regards,
    Mimil

    Select the Proxy node in the Application Navigator and View the Structure Pane, which will display all the related files for the proxy node..
    Regards,
    Sunil..

  • Https enable webservice stub generation .

    Hi,
    I have tried many times but did not have any luck .anyone of you ever successful in generating stub from sun tool kit utility for Web service over HTTPS .
    I need SSL enable it's project requirement ,but could not able to generate Stub ,getting exception while generating stub and then stub generation utility crashes.
    I need help please reply me .

    Hi,
    I have tried many times but did not have any luck .anyone of you ever successful in generating stub from sun tool kit utility for Web service over HTTPS .
    I need SSL enable it's project requirement ,but could not able to generate Stub ,getting exception while generating stub and then stub generation utility crashes.
    I need help please reply me .

  • Webservice Stubs generation problems

    I need to consume a axis webservice. I got the wsdl from the url and i tried to generate stubs in Jdev 10.1.2 but it is giving some wsdl validation errors like schema element not found. In that wsdl they imported some schema(.xsd) files.I dont know how to validate a wsdl file in jdev against schema files. If any one can help me,it would be really great. I was trying since 2 days but no luck.Please help me.
    Thanks

    Maybe you should try JDeveloper 10.1.3 that has a much better WS support.

  • Issue while generating Webservice Stub

    Hi,
    When i tried to create a Webservice stub using Stub Generator available in Sun Java WTK 2.5 Beta, it created a Stub java file with operatons(methods) missing in it.
    It displayed following warning while creating stub:
    warning: ignoring operation "addBlogInfo": more than one part in input message
    warning: ignoring operation "getLocation": more than one part in input message
    warning: Port "MzoneBlogging" does not contain any usable operations
    The WSDL file which I used as an input is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="urn:Mzone" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:Mzone" xmlns:intf="urn:Mzone" xmlns:tns1="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.3
    Built on Oct 05, 2005 (05:23:37 EDT)-->
    <wsdl:types>
    <schema targetNamespace="urn:Mzone" xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="in0" type="tns1:string"/>
    <element name="in1" type="tns1:string"/>
    <element name="in2" type="xsd:int"/>
    <element name="in3" type="tns1:string"/>
    <element name="addBlogInfoReturn" type="tns1:string"/>
    <element name="in4" type="tns1:string"/>
    <element name="in5" type="tns1:string"/>
    <complexType name="Transaction">
    <sequence>
    <element name="transactionId" nillable="true" type="tns1:string"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfTransaction">
    <sequence>
    <element maxOccurs="unbounded" minOccurs="0" name="item" type="impl:Transaction"/>
    </sequence>
    </complexType>
    <complexType name="ZoneInfo">
    <sequence>
    <element name="categoryId" type="xsd:int"/>
    <element name="categoryName" nillable="true" type="tns1:string"/>
    <element name="transaction" nillable="true" type="impl:ArrayOfTransaction"/>
    </sequence>
    </complexType>
    <element name="getLocationReturn">
    <complexType>
    <sequence>
    <element maxOccurs="unbounded" minOccurs="0" name="item" type="impl:ZoneInfo"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </wsdl:types>
    <wsdl:message name="getLocationResponse">
    <wsdl:part element="impl:getLocationReturn" name="getLocationReturn"/>
    </wsdl:message>
    <wsdl:message name="getLocationRequest">
    <wsdl:part element="impl:in4" name="in0"/>
    <wsdl:part element="impl:in5" name="in1"/>
    </wsdl:message>
    <wsdl:message name="addBlogInfoResponse">
    <wsdl:part element="impl:addBlogInfoReturn" name="addBlogInfoReturn"/>
    </wsdl:message>
    <wsdl:message name="addBlogInfoRequest">
    <wsdl:part element="impl:in0" name="in0"/>
    <wsdl:part element="impl:in1" name="in1"/>
    <wsdl:part element="impl:in2" name="in2"/>
    <wsdl:part element="impl:in3" name="in3"/>
    </wsdl:message>
    <wsdl:portType name="MzoneBlogging">
    <wsdl:operation name="addBlogInfo" parameterOrder="in0 in1 in2 in3">
    <wsdl:input message="impl:addBlogInfoRequest" name="addBlogInfoRequest"/>
    <wsdl:output message="impl:addBlogInfoResponse" name="addBlogInfoResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getLocation" parameterOrder="in0 in1">
    <wsdl:input message="impl:getLocationRequest" name="getLocationRequest"/>
    <wsdl:output message="impl:getLocationResponse" name="getLocationResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="MzoneBloggingSoapBinding" type="impl:MzoneBlogging">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="addBlogInfo">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="addBlogInfoRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="addBlogInfoResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getLocation">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getLocationRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getLocationResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="MzoneBloggingService">
    <wsdl:port binding="impl:MzoneBloggingSoapBinding" name="MzoneBlogging">
    <wsdlsoap:address location="http://localhost:8080/axis/services/MzoneBlogging"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Please let me know how to solve this issue. Its very urgent. Any help greatly appreciated.
    Thanks in advance

    Hi,
    I have written this rule....
    ZAP1 Privilage Entitlement 90 Days
            VARSTLDYPP Last day of pay.per?
              N
                LEAVE      Stop with PC Rule
              Y
                HRS=FR01C  Set
                HRS?90     Decision op.     HRS
                    HRS-90     Subtraction
                    HRS*-1     Multiplication
                    HRS?1      Decision op.     HRS
                        HRS=1      Set
                        ADDDB0094Z Set day balance = 0
                        UPDTQA01   Abs. Quota Accrual
                      <
                        ADDDB0094Z Set day balance = 0
                        UPDTQA01   Abs. Quota Accrual
                  <
                    HRS=LR01C  Set
                    UPDTQA01   Abs. Quota Accrual
                    ADDDB0094Z Set day balance = 0
    Please check and tell is it ok?
    Regards,
    Apoorwa

  • Java.lang.ClassCastException when calling webservice stub  from oracle DB

    Hello everyone,
    Because i need to get familliar with calling java webservices from an oracle database, i followed the following example
    (http://www.oracle.com/technology/products/jdev/howtos/10g/WS_DBCallout/DBCalloutWS_HowTo.htm),
    which included installing the SOAP client stack to the database (in the sys schema), grant the right permissions to the SYS user, developing a simple Helloworld webservice with jdeveloper 10.1.2, generating a Webservice stub and deploying a static method of this stub to the database.
    All of this worked just fine, but when i want to call the webservice from oracle by invoking the deployed function, i get a java.lang.ClassCastException.
    The complete stacktrace lists as follows:
    v_Return = foutje: java.lang.ClassCastExceptionnulljava.lang.ClassCastException
         at org.apache.soap.rpc.RPCMessage.serializeParams(RPCMessage.java:323)
         at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:305)
         at org.apache.soap.Body.marshall(Body.java:148)
         at org.apache.soap.Envelope.marshall(Envelope.java:203)
         at org.apache.soap.Envelope.marshall(Envelope.java:161)
         at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:664)
         at org.apache.soap.rpc.Call.invoke(Call.java:261)
         at test.HelloWorldServiceStub.sayHello(HelloWorldServiceStub.java:82)
    I debugged the WebServiceStub and noticed that the call.invoke method crashes. This is weird beacuse when i use System.out.println on the parameter is works just fine. so you would think it is a string.
    Moreover, if i invoke the webservice from the endpoint or even when im debugging the stub locally it all works just fine.
    Can someone plzzzzzz help me with this because i spend the whole day looking for an answer and im getting crazy!!!!!
    Thanx al lot guys,
    Kim
    PS or could the problem be in the database instead of the webservice?????????
    Message was edited by:
    user568880
    Message was edited by:
    Kim Zeevaarders

    I think that it's going wrong because i did not install the right SOAP client stack.
    In the HowTo is specified what JAR files are to be loaded in the database (from %JDEV_HOME), but it states that it has only been tested on a Oracle 9.2 database. I'm using Oracle10g. Maybe that's the reason that im getting this classcast exception...
    Can anybody tell me what the right .JAR files are that have to be loaded into database when working with Oracle 10g?
    Many thx in advance!
    Kim

  • How to install J2ME WTK on Linux Mandrake 10.1?

    Hello!
    I try to install J2ME WTK on to my Linux Mandrake 10.1but it does not work for me. Below is the output after the License agreement.
    So if you got any ideas please let me know.
    Best regards
    Fredrik
    Do you agree to the above license terms? [yes or no] yes
    j2me_wireless_toolkit-2_2-linux-i386.bin: line 287: cd: /home/fredrik/downloads/Java: No such file or directory
    Testing /usr/java/jdk1.5.0_01/bin/java...
    A suitable Java interpreter was detected
    0) Use /usr/java/jdk1.5.0_01/bin/
    1) Specify a path to a Java interpreter directory.
    2) Cancel this installation.
    Select a choice [0-2]: 1
    This application requires Java 2 SDK, Standard Edition (1.4 or later). Enter a path to a Java 2 SDK (For example: /user/jdk1.4/bin). You can type "exit" to cancel installation.
    Enter a path to the Java 2 SDK: /usr/java/jdk1.5.0_01/bin
    /usr/java/jdk1.5.0_01/bin/java
    Testing /usr/java/jdk1.5.0_01/bin/java...
    Please enter a directory into which you would like to install the J2me Wireless Toolkit, 2.2.
    [ default is /home/fredrik/downloads/Java Micro edition/WTK2.2 ]:/usr/java
    j2me_wireless_toolkit-2_2-linux-i386.bin: line 224: cd: /home/fredrik/downloads/Java: No such file or directory
    Installation directory is /usr/java.
    Setup has enough information to start copying the program files.
    Current Settings:
    Destination Directory
    /usr/java/
    JVM Folder
    /usr/java/jdk1.5.0_01/bin/
    Please choose one of the following options:
    0) Begin copying files if you are satisfied with the settings .
    1) Cancel the installation.
    Select a choice [0-1]: 0
    Failed to extract files. Installation will stop now.
    Please try to install J2ME Wireless Toolkit again, or contact [email protected] for assistance.
    [root@Stationary Java Micro edition]#

    Don't add the /bin part of the path. The WTK only wants to parent directory for you J2SDK installation, which would be /usr/java/jdk1.5.0_01. Though I don't know that using J2SDK 1.5 is the best route to take. I would recommend going with the latest 1.4 until they update the WTK.

  • HELP!! Nokia's API classes not found with j2me WTK

    I setup j2me WTK, jdk1.4.2 and also Nokia's SDK (Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1) on my Win NT 4.0 machine.
    J2ME samples (shipped with it) are working fine with ktoolbar. but when i try to build & run nokia samples, they are always giving error "FullCanvas class not found" and "package com.nokia.lcd.ui.* not found". I am sure it is the problem of placement of classes of nokia at correct place inside j2me's WTK. However, i followed the guidelines to install symbian sdk inside wtk401\wtklib\devices folder (as per instructions of forum nokia). But i am still not able to get it running. Any expert suggestions, then plz respond me , i am in urgent need to solve this issue!!!! plz help me!!!!

    Hi,
    Maybe I'm being thick but I can't get this work. I've tried zipping the com/nokia stuff into the midpapi.zip. And I've tried just replacing midapi.zip with classes.zip from the nokia emulator. But it still says:
    "package nokia.mid.ui does not exist
    import nokia.mid.ui.*;"
    I'm using ktoolbar 1.04.
    Many thanks!
    CP
    Hey, thanks for the great tip. Was also using
    KToolbar because it runs faster on my slow laptop than
    Sun One studio.
    With the later version of WTK, the paths
    C:\...\WTK21\lib contains 2 files, midpapi20.zip and
    midpapi10.zip
    The later contains classes for compiling to MIDP1.0
    standard. I think most people use this. Replace it
    the class.zip in
    C:\Nokia\Devices\Nokia_7210_MIDP_SDK_v1_0\lib if
    you're using the same SDK as I am, and don't forget to
    rename it.
    Cheers.

  • J2ME WTK not connect to network in user mode

    Hi
    I am using Linux - Fedora, I have been using J2ME WTK in root user and then shifted to normal user account. After that I have installed the J2ME WTK in normal user mode.
    /home/tharindu
    it contains j2mewtk folder and WTK2.5.2 also installed under /tharindu folder. But still I need to shift to root user and run ktoolbar from command line shows following
    Loading simple Config module ...
    Creating backend ...
    Loading socket FrontEnd module ...
    Starting SCIM as daemon ...
    OTA server emulation started ...
    HTTPS server emulation started ...But when I run from normal user it only shows
    OTA server emulation started ...
    HTTPS server emulation started ...And also I can't connect to even localhost. How can I solve this. Please kindly help me.
    Thank you,
    Tharindu

    Given there is no way to know what your fiancée did to the system the best course of action is to re-install ML.
    Re-installing the OS will not touch your user data, only the system files will be restored.
    Before doing this it is a good idea to have a backup of the system.
    regards

  • On compilation in J2ME WTK, Midlet code generates clone() method

    I did try to compile a MIDlet which creates a user defined object in J2ME WTK. The compiled code has Object.clone() method invocation. However clone() method is not available in J2ME CLDC API. So the code results in java.lang.NoSuchMethodError and subsequently the emulator crashes. Any idea how to compile the MIDlet so that clone() method is not put in the compiled code ?
    regards,
    Ashwath

    I did include few J2SE classes, which contained clone() method. I removed them, now problem solved.

  • Web Service Stub-generation with WTK

    Hi there,
    I hope someone can help me.
    I just deployed a webservice using Axis.
    WSDL: http://www.freewebs.com/sirpreis/CustomerWS.xml
    WSDD (for deployment): http://www.freewebs.com/sirpreis/customerWS-WSDD.xml
    The WS deploys fine, but now I want to generate stubs using the WTK stub generator. Unfortunately I get the following warnings:
    warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for soapbind:body: "getAccountBalance"
    warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for soapbind:body: "getAccountBalance"
    I don't know if that will become a problem...
    Well now, three classes + src are generated
    AuthSet.java/.class
    CustomerWS.java/.class
    CustomerWS_Stub.java/.class
    In my webservice, the method "getAccountBalance" gets an "AuthSet" (which is set up of a String pwd and an int userID) as argument
    (public int getAccountBalance(AuthSet auth) throws RemoteException {).
    In the CustomerWS_Stub.java now there is a method "getAccountBalance", but it gets the following:
    public int getAccountBalance(java.lang.String pwd, int userID) throws java.rmi.RemoteException {
    Can anyone help me with that? I don't know what to do :(

    Hi,
    I think its a problem of your wsdl-File. If you post it, it would be easier to find the problem. The wsdl-file don't provide the WS-I specifications.
    Steve

  • Web Service and Stub-generation with WTK

    Hi there,
    I hope someone can help me.
    I just deployed a webservice using Axis.
    WSDL: http://www.freewebs.com/sirpreis/CustomerWS.xml
    WSDD (for deployment): http://www.freewebs.com/sirpreis/customerWS-WSDD.xml
    The WS deploys fine, but now I want to generate stubs using the WTK stub generator. Unfortunately I get the following warnings:
    warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for soapbind:body: "getAccountBalance"
    warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for soapbind:body: "getAccountBalance"
    I don't know if that will become a problem...
    Well now, three classes + src are generated
    AuthSet.java/.class
    CustomerWS.java/.class
    CustomerWS_Stub.java/.class
    In my webservice, the method "getAccountBalance" gets an "AuthSet" (which is set up of a String pwd and an int userID) as argument
    (public int getAccountBalance(AuthSet auth) throws RemoteException {).
    In the CustomerWS_Stub.java now there is a method "getAccountBalance", but it gets the following:
    public int getAccountBalance(java.lang.String pwd, int userID) throws java.rmi.RemoteException {
    Can anyone help me with that? I don't know what to do :(

    Hi,
    I think its a problem of your wsdl-File. If you post it, it would be easier to find the problem. The wsdl-file don't provide the WS-I specifications.
    Steve

  • 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.

  • WSDL/client-stub generation without EJBs ?

    My WL7 application invokes methods on external subscriber
    web-apps. I need to provide WSDLs for these external apps, since
    they'll be implemented by our customers.
    Currently, I create 'dummy' EJBs, then create .ears out of it,
    run 'servicegen' to create a dummy webservice, then run
    'clientgen' to create the WSDLs and the client stub classes
    that I'll finally use. I'd like to avoid some of the above
    steps. Ideally, I'd just create the appropriate Java interface
    classes, then use some tool to create the WSDL and the
    client-stub classes. Is this possible ?
    -john

    Hi John,
    Have you considered using a WSDL generation GUI, such as
    http://www.omniopera.com/omniopera.html
    Bruce
    BTW, you do realize that when a webservice is deployed on WLS v7, the
    WSDL is available to anyone using
    http://<host>:<port>/<context_url>/<webservice>?WSDL
    john wrote:
    Bruce, I'm not sure how I would use those other tasks to obtain
    what I want. AFAIK, the only way to generate a WSDL for a service
    is to use the 'clientgen' task. And the clientgen task requires
    the actual webservice implementation in the form of a .ear
    file.
    In my case, I need to create WSDLs which I then pass on to
    my customers, for them to implement and host. Currently, to do
    this I have to myself implement the desired dummy webservice
    and then use clientgen to obtain the WSDL (along with the
    stubs etc ..)
    thanx
    -john
    Bruce Stephens <[email protected]> wrote:
    Hi John,
    In addition to the servicegen and clientgen ant tasks there are now
    several other narrowly focused ant tasks such as autotype, and
    source2wsdd. Check out the documentation:
    http://edocs.bea.com/wls/docs70/webserv/assemble.html#1011066
    Hope this helps,
    Bruce
    john wrote:
    My WL7 application invokes methods on external subscriber
    web-apps. I need to provide WSDLs for these external apps, since
    they'll be implemented by our customers.
    Currently, I create 'dummy' EJBs, then create .ears out of it,
    run 'servicegen' to create a dummy webservice, then run
    'clientgen' to create the WSDLs and the client stub classes
    that I'll finally use. I'd like to avoid some of the above
    steps. Ideally, I'd just create the appropriate Java interface
    classes, then use some tool to create the WSDL and the
    client-stub classes. Is this possible ?
    -john

  • Stub Generation - WSDL contains extensions

    Hey,
    I try to generate stubs with the wireless toolkit.
    The problem is that the WSDL contains extension tags like this:
    <xsd:complexType name="BusinessTransactionDocumentID">
        <xsd:simpleContent>
            <xsd:extension base="BusinessTransactionDocumentID.Content">
                <xsd:attribute name="schemeID">
                    <xsd:simpleType>
                        <xsd:restriction base="xsd:token">
                            <xsd:maxLength value="60"/>
                            <xsd:minLength value="1"/>
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:attribute>
                <xsd:attribute name="schemeAgencyID">
                    <xsd:simpleType>
                        <xsd:restriction base="xsd:token">
                            <xsd:maxLength value="60"/>
                            <xsd:minLength value="1"/>
                        </xsd:restriction>
                   </xsd:simpleType>
               </xsd:attribute>
               <xsd:attribute name="schemeAgencySchemeAgencyID" type="AgencyIdentificationCode"/>
           </xsd:extension>
       </xsd:simpleContent>
    </xsd:complexType>I tried to replace the extension somehow but I couldn't find a way, that the request looks the same way as it does when I use my usual proxies.
    Is there a way that the stub generator can handle the extensions? How can I replace them, so it would work?
    Thanks in advance
    Regards
    Tina

    Hi John,
    Have you considered using a WSDL generation GUI, such as
    http://www.omniopera.com/omniopera.html
    Bruce
    BTW, you do realize that when a webservice is deployed on WLS v7, the
    WSDL is available to anyone using
    http://<host>:<port>/<context_url>/<webservice>?WSDL
    john wrote:
    Bruce, I'm not sure how I would use those other tasks to obtain
    what I want. AFAIK, the only way to generate a WSDL for a service
    is to use the 'clientgen' task. And the clientgen task requires
    the actual webservice implementation in the form of a .ear
    file.
    In my case, I need to create WSDLs which I then pass on to
    my customers, for them to implement and host. Currently, to do
    this I have to myself implement the desired dummy webservice
    and then use clientgen to obtain the WSDL (along with the
    stubs etc ..)
    thanx
    -john
    Bruce Stephens <[email protected]> wrote:
    Hi John,
    In addition to the servicegen and clientgen ant tasks there are now
    several other narrowly focused ant tasks such as autotype, and
    source2wsdd. Check out the documentation:
    http://edocs.bea.com/wls/docs70/webserv/assemble.html#1011066
    Hope this helps,
    Bruce
    john wrote:
    My WL7 application invokes methods on external subscriber
    web-apps. I need to provide WSDLs for these external apps, since
    they'll be implemented by our customers.
    Currently, I create 'dummy' EJBs, then create .ears out of it,
    run 'servicegen' to create a dummy webservice, then run
    'clientgen' to create the WSDLs and the client stub classes
    that I'll finally use. I'd like to avoid some of the above
    steps. Ideally, I'd just create the appropriate Java interface
    classes, then use some tool to create the WSDL and the
    client-stub classes. Is this possible ?
    -john

Maybe you are looking for

  • Sales order uploading through LSMW

    *Hi All,*      *SAP version Up gradation how to Sales Order data migration through LSMW Batch input Record. Please tell send me any one step by step.* *Regards,* *Murali.*

  • Hp 5610 ALL IN ONE STUCK ON PAPER JAM.....THERE IS NO JAM

    See subject........I have gone through ALL the solution steps in book and on internet... printer flashes the exclamation point and tells me printer jam clear jam and press OK There is NO jam...........I have looked from all angles............I have u

  • HTML source from database

    Hi all, I am putting up all the button text, label text, and messages in the database. Then i call up a PL/SQL process onload of the page, and populate these labels and text dynamically. all worked fine till here. Problem arised when i keep a message

  • Time capsule shows up in finder but I can't connect !!!

    My time capsule shows up in finder under shared devices but when I click on it and it tries to connect it says 'connection failed' ( when out of home ) this is annoying as I would like to access the external hard drive that I have connected to it. I

  • C-2-03 update

    hi any new update available for nokia c2-03 after 7.63