Stub generator problem

hi,
I can't generate my stub classes from this wsdl file :
<?xml version="1.0" encoding="UTF-8"?>
<definitions
    name="YYYY"
    targetNamespace="http://www.XXXX.com/YYYY.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://www.XXXX.com/YYYY.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd1="http://www.XXXX.com/YYYY.xsd1">
    <message name="authenticateRequest">
        <part name="Login" type="xsd:string"/>
        <part name="Password" type="xsd:string"/>
    </message>
    <message name="authenticateResponse">
        <part name="Return" type="xsd:boolean"/>
        <part name="UserID" type="xsd:string"/>
    </message>
    <portType name="YYYYPortType">
        <operation name="authenticate">
            <documentation>authentication method on YYYY information system</documentation>
            <input message="tns:authenticateRequest"/>
            <output message="tns:authenticateResponse"/>
        </operation>
    </portType>
    <binding name="YYYYBinding" type="tns:YYYYPortType">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
   <operation name="authenticate">
            <soap:operation soapAction="capeconnect:YYYY:YYYYPortType#authenticate"/>
            <input>
                <soap:body namespace="urn:YYYYsoapserver" use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>
    <service name="YYYY">
        <port binding="tns:YYYYBinding" name="YYYYPort">
            <soap:address location="http://r-lnx-teacher/YYYY"/>
        </port>
    </service>
</definitions>And the message error is not really helping me "stub generation failed"
The toolkit example is working, though :
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://serverscript.org/wsdl" xmlns:ns2="http://serverscript.org/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="serverscript" targetNamespace="http://serverscript.org/wsdl">
  <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://serverscript.org/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://serverscript.org/types">
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
      <complexType name="request">
        <sequence>
          <element name="String_1" type="string" nillable="true"/>
          <element name="String_2" type="string" nillable="true"/></sequence></complexType>
      <complexType name="requestResponse">
        <sequence>
          <element name="result" type="string" nillable="true"/></sequence></complexType>
      <element name="request" type="tns:request"/>
      <element name="requestResponse" type="tns:requestResponse"/></schema></types>
  <message name="Interface_request">
    <part name="parameters" element="ns2:request"/></message>
  <message name="Interface_requestResponse">
    <part name="result" element="ns2:requestResponse"/></message>
  <portType name="Interface">
    <operation name="request">
      <input message="tns:Interface_request"/>
      <output message="tns:Interface_requestResponse"/></operation></portType>
  <binding name="InterfaceBinding" type="tns:Interface">
    <operation name="request">
      <input>
        <soap:body use="literal"/></input>
      <output>
        <soap:body use="literal"/></output>
      <soap:operation soapAction=""/></operation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/></binding>
  <service name="Serverscript">
    <port name="InterfacePort" binding="tns:InterfaceBinding">
      <soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://sunwireless.quimbik.com:80/serverscript2/serverscript"/></port></service></definitions>but when I change the soap-binding-style attribute from document to rpc, it doesn't work anymore. And I found it weird that they use document, since according to wsdl spec (w3c) rpc is used for Request-Response operations... I also tried to write another version, with document instead of rpc, and it generated something alright, but my Interface was empty : no trace of the operation I described: not really useful.
Any suggestion?
Thanks

J2ME Web Services supports only document/literal format, so that's the reason the stub cannot be generated.

Similar Messages

  • Java ME 3.0 Web Services Stub Generator  Inheritance problem

    Hello,
    I have a problem with that relates to inheritance.
    Suppose I have abstract class User and class Member that extends class User.
    Suppose I have web service MyService:
    @WebService
    public class MyService {
    public User getUser(int id) {
    // do something
    When the server returns a Member instance instead of User I receive a MarshalException at the Client.
    The reason is " Invalid Element in Response:" + Member field that isn't part of User.
    I am using Java Me SDK 3.0 wscompile stub generator.
    I have also checked it with GlassFish stub generator wsimport and there the problem didn't appear.
    Ideas ?
    Thanks in advance,
    Raanan

    Seems like you are missing a necessary jar-file in your forms-classpath. Check the libraries attached to your project in Jdeveloper and add them to the path.

  • Stub generated in Jdev9i for webservice with 'Vector' return type

    Hi,
    In the OAF page that I am developing, I am trying to consume a web service generated in SAP PI using Jdeveloper. My Jdeveloper version is 9.0.3.5(I need to use this version since I need to deploy the OAF page in EBS11i). The stub generated based on the WSDL is given below.
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    import org.apache.soap.encoding.soapenc.BeanSerializer;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    import org.apache.soap.util.xml.QName;
    import java.util.Vector;
    import org.w3c.dom.Element;
    import java.net.URL;
    import org.apache.soap.Body;
    import org.apache.soap.Envelope;
    import org.apache.soap.messaging.Message;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Tue Jan 25 16:12:55 IST 2011
    * WSDL URL: file:/C://Working/XXXXXXX/RegConsComplaint_OB.wsdl
    public class RegConsComplaint_OBServiceStub
      public RegConsComplaint_OBServiceStub()
        m_httpConnection = new OracleSOAPHTTPConnection();
      public static void main(String[] args)
        try
          RegConsComplaint_OBServiceStub stub = new RegConsComplaint_OBServiceStub();
          // Add your own code here.
        catch(Exception ex)
          ex.printStackTrace();
      public String endpoint = "http://XXXXXX:8000/sap/xi/...../RegConsComplaint_OB";
      private OracleSOAPHTTPConnection m_httpConnection = null;
      private SOAPMappingRegistry m_smr = null;
      public Vector RegConsComplaint_OB(Element requestElem) throws Exception
        URL endpointURL = new URL(endpoint);
        Envelope requestEnv = new Envelope();
        Body requestBody = new Body();
        Vector requestBodyEntries = new Vector();
        requestBodyEntries.addElement(requestElem);
        requestBody.setBodyEntries(requestBodyEntries);
        requestEnv.setBody(requestBody);
        Message msg = new Message();
        msg.setSOAPTransport(m_httpConnection);
        msg.send(endpointURL, "http://sap.com/xi/WebService/soap1.1", requestEnv);
        Envelope responseEnv = msg.receiveEnvelope();
        Body responseBody = responseEnv.getBody();
        return responseBody.getBodyEntries();
    }I am wondering whether I will be able to use this stub generated by Jdeveloper since the input type is 'Element' and return type is 'Vector'; while in the Jdeveloper documentation the supported "primitive XML Schema types and arrays of primitive XML Schema types as parameters and return values for web services" do not include either of the two.
    Regards,
    Sujoy

    Hi Sujoy
    I have been having big problems consuming microsoft sharepoint webservices using jDeveloper 9i.
    Problems with jdk version compatability with jDev and NTLM authentication (Sharepoint).
    so switching to db connection using utl_http.
    Can you pls send me the code set for reference at [email protected]
    thanks.
    Regards
    Sachin

  • Stub Generator Error

    I run Stub Generator in J2ME Wireless Toolkit 2.2.
    But.. I have a problem follow.
    addservice.Interface_Stub is not abstract and does not override abstract method _getPropertyNames() in javax.xml.rpc.Stub
    I don't know What is it..
    I need your help.. Plz, answer me.. :-)

    I'm having the same problem. I know for sure that the WSDL files contains correct information; I really cannot understand why the "Stub Generator" in the Wireless Toolkit 2.2 is not able to generate the stub.
    In my case is failing with a very simple web-service which has only one method with a String in input and another String in output.
    Please, follow up on this thread in case you find a solution.
    Thanks.

  • Stub Generator Error in J2ME

    I run Stub Generator in J2ME Wireless Toolkit 2.2.
    But.. I have a problem follow.
    C:\ImplementationCode\MSWS\src\addservice\AddIntegerIF_Stub.java:14: addservice.AddIntegerIF_Stub is not abstract and does not override abstract method _getPropertyNames() in javax.xml.rpc.Stub
    public class AddIntegerIF_Stub implements addservice.AddIntegerIF, javax.xml.rpc.Stub {
    ^
    1 error
    error: compilation failed, errors should have been reported
    I don't know What is it..
    I need your help.. Plz, answer me.. :-)

    I'm having the same problem. I know for sure that the WSDL files contains correct information; I really cannot understand why the "Stub Generator" in the Wireless Toolkit 2.2 is not able to generate the stub.
    In my case is failing with a very simple web-service which has only one method with a String in input and another String in output.
    Please, follow up on this thread in case you find a solution.
    Thanks.

  • Why is the stub generated from the implementation and not the interface?

    Why is the stub generated from the implementation and not the interface?

    Because if a remote server object implements multiple remote interfaces, its stub must implement all the same remote interfaces. The only way to know which interfaces to implement is to examine the server object class.

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

  • About the stub generated by Jdev10.1.2

    hi,
    I generated the stub class by the Jdeveloper9i from the wsdl which is basic authentication, and it can invoke the web service. But when I updated the soap.jar from the Oc4j9.0.3X to the oc4j 10.1.2, the stub can not invoke the web service any more.
    So I did some testes.
    1. I create the web service which has not authentication.
    1.1 I generated the stub class by the Jdeveloper9.0.5.2. The stub class can invoke web servie.
    1.2 I generated the stub class by the Jdeveloper10.1.2. The stub class can also invoke web service.
    2. I create the web service which has basic authentication.
    2.1 I generated the stub class by the Jdeveloper9.0.5.2 and set the userName and password. The stub class can invoke web servie.
    2.2 I generated the stub class by the Jdeveloper10.1.2 and set the userName and password. But the stub class can not invoke web service. It throws the exeception likes below:
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type
    &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;
    &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;Yo
    u are not authorized to view this page&lt;/TITLE&gt;&lt;META HTTP-EQUIV=&quot;Content-
    Type&quot; Content=&quot;text/html; charset=Windows-1252&quot;&gt;&lt;STYLE
    type=&quot;text/css&quot;&gt;  BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana
    } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon }
    &lt;/STYLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE width=500 border=0
    cellspacing=10&gt;&lt;TR&gt;&lt;TD&gt;&lt;h1&gt;You are not authorized to view this
    page&lt;/h1&gt;You do not have permission to view this directory or page using the
    credentials that you supplied because your Web browser is sending a WWW-Authenticate header
    field that the Web server is not configured to accept.&lt;hr&gt;&lt;p&gt;Please try the
    following:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Contact the Web site administrator if you believe
    you should be able to view this directory or page.&lt;/li&gt;&lt;li&gt;Click the &lt;a
    href=&quot;javascript:location.reload()&quot;&gt;Refresh&lt;/a&gt; button to try again with
    different credentials.&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;HTTP Error 401.2 - Unauthorized:
    Access is denied due to server configuration.&lt;br&gt;Internet Information Services (IIS)
    &lt;/h2&gt;&lt;hr&gt;&lt;p&gt;Technical Information (for support personnel)
    &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Go to &lt;a href=&quot;http://go.microsoft.com/fwlink/?
    linkid=8180&quot;&gt;Microsoft Product Support Services&lt;/a&gt; and perform a title search
    for the words &lt;b&gt;HTTP&lt;/b&gt; and &lt;b&gt;401&lt;/b&gt;.&lt;/li&gt;&lt;li&gt;Open
    &lt;b&gt;IIS Help&lt;/b&gt;, which is accessible in IIS Manager (inetmgr), and search for
    topics titled &lt;b&gt;About Security&lt;/b&gt;, &lt;b&gt;Authentication&lt;/b&gt;, and
    &lt;b&gt;About Custom Error
    Messages&lt;/b&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&l
    t;/HTML&gt;]     at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)     at
    org.apache.soap.rpc.Call.invoke(Call.java:268)
    3.
    Then I compared the stub classes and found that the stub class generated from the
    Jdev9.0.5.2 has one codes in the stub constuctor while the stub class generated from
    Jdev10.1.2 has not.
    System.setProperty("oracle.soap.transport.noHTTPClient", "true");
    3.1
    Then I noted this code in the 9052 stub class and run it, it also threw the same the exception.
    3.2
    But I add this code in the 1012 stub class and run it, it threw another
    exception:java.lang.NullPointerException     at
    oracle.net.www.protocol.http.HttpURLConnection.<init>(HttpURLConnection.java:101)     at
    oracle.soap.transport.http.OracleSOAPHTTPConnection.getConnection
    (OracleSOAPHTTPConnection.java:1022)     at
    oracle.soap.transport.http.OracleSOAPHTTPConnection.post(OracleSOAPHTTPConnection.java:833)     
    at oracle.soap.transport.http.OracleSOAPHTTPConnection.send
    (OracleSOAPHTTPConnection.java:713)     at org.apache.soap.rpc.Call.invoke(Call.java:261)
    But I only change the soap.jar from 10.1.2 version to the 9.0.5.2 version and run this 1012 stub class after add that code, it can invoke the web service.
    4. Note: The stub class 9052 run in the Jdeveloper9.0.5.2 and the stub class 1012 run in the Jdeveloper10.1.2. They both don't use proxy server.
    Now we use oc4j 10.1.2 platform, and I cannot create the stub class to invoke the web service which is basic authentication. Colud you please help me solve this problem?
    Thanks & Best Regards!

    I have set REALM information which is get from the response in the TCP monitor, and it can invoke the web service.
    For the exception 2.2, maybe it is due to that web service is in Windows platform, then I can't get the REALM information from the TCP Monitor!
    Thanks

  • WS Stub generated by Jdev hangs.

    Hi,
    I managed to create a Web Service using
    Jdeveloper. My Java WS class is a Stateless EJB.
    I also tested it using the web browser.
    then I tried to generate a stub and to call may method.
    But when it gets to
    Response response = call.invoke(endpointURL, "");
    it hangs.
    the server and the service is fine I can still use the web browser.
    Could please anyone help me on this as soon as possible ?
    cheers.

    I seem to have the same problem with my WS Stub hanging on the call.invoke line. I know that it's running on port 8888, and it only seems to happen when it runs after someone's session is destroyed.
    I'm wondering if I have to use the 'Proxy' class when running from within the same OC4J instanct, instead if the 'Stub'. The Stub is nice because you can use it from outside of OC4J too.

  • Query Generator Problem

    Hi, I'm having sounds like silly problem using Query Generator, if I execute this query it does not give me the 'selection list' for Fiscal Year. I'm using v8.8 PL10 but in v2007 it's working fine. If I use other table like OITM w/ fieldX =N'[%0]', its working in v8.8.
    SELECT T0.[Code], T0.[Name] FROM [dbo].[@BA_OAMD2]  T0 WHERE T0.[U_FisYear] =N'[%0]'
    thanks,
    Edited by: Jojo on Jan 8, 2011 4:55 PM
    Edited by: Jojo on Jan 8, 2011 4:56 PM

    Hi, I think the problem has nothing to do w/ the SQL, because if I run it in v2007 it works but not in v8.8.
    SELECT T0.[Code], T0.[Name] FROM [dbo].[@BA_OAMD2]  T0 WHERE T0.[U_FisYear] =[%0]
    creating inner join w/ OFPR and make where condition in OFPR.[Code] is   the alternative solution, but I want to use only the code above and let me have 'list selection'
    SELECT T0.* FROM [dbo].[@BA_OAMD2]  T0
    inner join OFPR T1 on T0.[U_FisYear] =T1.Code WHERE T1.[Code] =[%0]
    I have noticed that if I use UDT in my SQL w/ variable selection the option for 'list selection' and right click on selection criteria 'List of Items' is not working. I'm using v8.8 PL10, is it a bug?
    Edited by: Jojo on Jan 9, 2011 4:22 PM

  • XML Schema Class Generator Problem compiling generated java programs

    Hi,
    I ran oracg on the po.xsd schema from X3Cs XML Schema Part 0: Primer which successfully generated the java codes. I ran into problems when I compile the generated classes. Here's what I'm getting:
    C:\oracle\xml\xdk\demo\java\classgen\Po2>javac -classpath ".;C:\oracle\xml/lib/xmlparserv2.jar;C:\oracle\xml/lib/xschema.jar;C:\oracle\xml/l
    ib/classgen.jar;.;C:\Program Files\VicunaJ521\java\lib\collections.jar;C:\Program Files\VicunaJ521\java\lib\vicunalite.jar;C:\Program Files\
    XConverter\XConverter.jar;C:\Program Files\XConverter\IDLGenerator.jar; c:\jdk1.2.2\lib\dt.jar;c:\jdk1.2.2\lib\jvm.jar;c:\jdk1.2.2\lib\tools
    .jar;c:\oracle\ora81\jdbc\lib\classes12.zip;c:\oracle\ora81\jdbc\nls_charset12.zip;C:\oracle\xml\lib\classgen.jar;C:\oracle\xml\lib\xmlparse
    rv2.jar" *.java
    .\types\PurchaseOrderType.java:75: Type expected.
    public void addComment(null.Comment thecomment)
    ^
    .\types\Items.java:141: Type expected.
    public void addComment(null.Comment thecomment)
    ^
    2 errors
    Running the demo which comes with oracles version of po.xsd was OK. What's the difference between the po.xsd from oracle and the po.xsd from W3C? Are there any W3C recommendation for XML Schema not supported by Oracle's class generator?

    Which po.xsd do you use? Would you post it?
    Thanks. Here's the copy of the po.xsd from the W3C website. (http://www.w3.org/TR/xmlschema-0/#po.xsd)
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:annotation>
    <xsd:documentation xml:lang="en">
    Purchase order schema for Example.com.
    Copyright 2000 Example.com. All rights reserved.
    </xsd:documentation>
    </xsd:annotation>
    <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
    <xsd:element name="comment" type="xsd:string"/>
    <xsd:complexType name="PurchaseOrderType">
    <xsd:sequence>
    <xsd:element name="shipTo" type="USAddress"/>
    <xsd:element name="billTo" type="USAddress"/>
    <xsd:element ref="comment" minOccurs="0"/>
    <xsd:element name="items" type="Items"/>
    </xsd:sequence>
    <xsd:attribute name="orderDate" type="xsd:date"/>
    </xsd:complexType>
    <xsd:complexType name="USAddress">
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="street" type="xsd:string"/>
    <xsd:element name="city" type="xsd:string"/>
    <xsd:element name="state" type="xsd:string"/>
    <xsd:element name="zip" type="xsd:decimal"/>
    </xsd:sequence>
    <xsd:attribute name="country" type="xsd:NMTOKEN"
    fixed="US"/>
    </xsd:complexType>
    <xsd:complexType name="Items">
    <xsd:sequence>
    <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="productName" type="xsd:string"/>
    <xsd:element name="quantity">
    <xsd:simpleType>
    <xsd:restriction base="xsd:positiveInteger">
    <xsd:maxExclusive value="100"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="USPrice" type="xsd:decimal"/>
    <xsd:element ref="comment" minOccurs="0"/>
    <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="partNum" type="SKU" use="required"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <!-- Stock Keeping Unit, a code for identifying products -->
    <xsd:simpleType name="SKU">
    <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d{3}-[A-Z]{2}"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:schema>

  • Sequence Generator problem in OWB Mapping

    Hi,
    I am using a Sequence Generator in my Dimension mapping. And OWB implements the mapping via an Oracle MERGE statement.
    However when I execute the mapping my sequence number value gets incremented even when there are only updates and no inserts taking place during the execution.
    I am using the sequence number only for inserts and not for updates in the mapping.
    Is there a way to avoid this situation or a work around to this problem? This is very urgent and any help in this area would be greatly appreciated.
    Thanks

    Hi
    I also have the same problem as I loose the seq numbers when there are updates only and I do not want to loose thousands of seq numbers. I tried with bulk size =1 as well as row based only execution but no result.
    The thing which solved this problem is to have outer join with source and target, then use splitter to find out new and updated records (by looking the join key as null on target table side), then use a fuction to generate seq number when the key is not null. But doing all this does not seem to be elegant performance point of you. I do not want to join source and target due to performance issues.
    Could you pl clrify your apprach. Are you using , Source minus target and Source Intersect Target . What you will do if there is no one to one matching between source and the target.
    Thanks

  • PO generating problem

    Hi experts,
    I have a problem with PO. I am using BAPI_PO_CREATE1 function module for generating orders. Problems concern delivery dates. Generally when the del. date should be saturday or sunday system will automatically change this date to first working day - monday. Problem is because I need this saturday or sunday date.
    During this PO generating in ME21N I've got the message "delivery date: next work day is XX" ...
    Is there any method to prevent change of this date ?
    Really thanks for help, Daniel.

    Click on the message and get the message class. Use this message and number go to SE91 and do a where used list, before this message display there should be a Function Module which will determine next working day based on the Delivery date that is entered. Fix a User Exit or Enhancement point to pick up the initial date that was used.
    Hope That Helps
    Anirban M.

  • Forms Generator problems

    I'm trying to use form generator from Designer 6i rel 2.
    I found big problems regenerating a migrated application.
    Layout of most of my blocks is completely changed and I can't reproduce the previous behaviour.
    I found some solutions using relative tabs but may problems are still there.
    The biggest problems I've are on tab canvases :
    1 - I use the same font as before (6.0) but the generated canvases are smaller and fields don't fit in it.
    2 - The height of the tab canvases is smaller then before and form developer tries to reduce it every time I run it giging me a CDG-3484 "error"
    3 - the stacked footer disappeared (sometime totaly somtime partialy).
    Please give me any suggestion or idea.
    TIA
    Tullio

    We noticed the same thing when we started creating Headstart for Designer 6i. Some things we found:
    - We used to always leave page width/height blank to get optimal layout. Now it seems to work better if you specify a value.
    - We found that we get better results when we explicitly specify height and width on all displayed items as well. (We didn't used to ever specify a width on a date column, nor height on any column that we wanted to default to 1.)
    - Designer used to widen the page when an individual item was too wide. Now it narrows the item.
    - Designer has changed its algorithm for determining item width.
    - Designer has added new objects in its object library for Display Only (_DO) objects which affects the layout of these objects particularly.
    Of course, using Headstart we had the luxury of knowning that our object library, template form and preference settings had not changed. If you are using the Designer default object library, template and preferences, I recommend you carefully compare the old versus the new. There may be changes to these underlying objects which would of course affect your generated modules.
    Regards,
    Lauri

  • Pdf generating problem ?

    Hi,
    I am generating pdf output type reports with Oracle Reports .
    I am getting problem while trying to open the pdf file.
    My Problem is " There was an error opening this document.
    The file is damaged and could not be repaired ".
    Why i am getting this kind of problem ?
    If i see the size of pdf , it is showing 1456kb.
    Any thing wrong at the time of pdf generation ?
    How many number of pages of report pdf supports ?
    In my database i have 55 thousand records for this report.
    Is this the problem with more no.of records showing in the same pdf file ?
    Is there any limitation to show the no.of records in oracle reports ?
    Thanx for help .
    Srini

    You should make sure that you are on the latest patch set (patch 10 from metalink). If this still reproduces then I would suggest you contact Oracle Support and work through the issue with them
    Regards,
    Danny

Maybe you are looking for

  • Is there not enough customer service reps to handle all the complaints

    I have been a long time Verizon customer. I have home internet and wireless.  I think you have excellent service all around.  I will admit I have had a few issues over the years, but for the most part very happy.  Since Feb. 19, 2014 I have had nothi

  • Broken dv links after changing imovie filename

    I moved an imovie project file from my harddrive to external drive - now when I open the project it cannot find the dv clips for the project - the path for the dv links still points to the local harddrive vs. external - any way to automatically updat

  • BEx variable prompt in WebI

    Hi, I have created a Universe on top of a BEx query and a WebI, the result seem acceptable already, however I have one question that I need to clarify. When I run the WebI query, in the prompt screen list of value selection, I can see two columns.  O

  • Trackpoint stops working after wireless USB install

    I have a Lenovo Thinkpad X61s. I just installed a wireless USB card today and it rendered the trackpoint non-functional.  Uninstalling the wireless software does not correct the issue. A USB mouse will work on the laptop. Any thoughts on how to corre

  • Is there any provision for viewing Sales Order at a plant level?

    Salute All ! Is there any provision for viewing Sales Order at a plant level? Please provide TCode or any other way. Rgds Srivastav