Bug: Web Service – Acrobat X

Hi,
I have a problem with calling a web service from a xfa form. I have JavaScript like this:
Net.SOAP.wireDump = false;
var service = Net.SOAP.connect(oListURL);
laResult = service.myService({p1: lValue1, p2: lValue2, p3: lValue3, pXml: lXml});
Parameter pXml is a string. It contains xml data filled in the form. So this parameter may be very long.
In Acrobat/Reader, 9 it works very quickly.
In Acrobat/Reader X, it works very slowly. It depends on a length of the parameter pXml:
Length=10 000 bytes , Duration=5 seconds
Length=20 000 bytes , Duration=11 seconds
Length=30 000 bytes , Duration=21 seconds
Length=40 000 bytes , Duration=35 seconds
Length=50 000 bytes , Duration=51 seconds
Length=60 000 bytes , Duration=73 seconds
There is almost a quadratic dependence on the length of the parameter pXml.
Process Acrobat takes 99% of CPU when the line laResult = service.myService(…); is running.
I think it is a bug in Acrobat/Reader X. Do you know any solution how to keep off this bug in Acrobat/Reader X?
Thank you
Michal

You shoudl post this on the Acrobat forum as it has nothing to do wth Designer.
Paul

Similar Messages

  • Possible Bug - Web Service Request Not Correct

    Hi,
    I am running ApEx 2.2 and think I may have come across a bug when referencing a web service that has been created using JDeveloper.
    I have created my WSDL in JDev that looks like the following:
    <definitions
    name="MyHelloWorldService"
    targetNamespace="http://helloworldserver/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://helloworldserver/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://helloworldserver/"
    elementFormDefault="qualified" xmlns:tns="http://helloworldserver/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <element name="getCountElement">
    <complexType>
    <sequence/>
    </complexType>
    </element>
    <element name="getCountResponseElement">
    <complexType>
    <sequence>
    <element name="result" type="int"/>
    </sequence>
    </complexType>
    </element>
    <element name="sayHelloElement">
    <complexType>
    <sequence>
    <element name="name" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="sayHelloResponseElement">
    <complexType>
    <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="IHelloWorld_getCount">
    <part name="parameters" element="tns:getCountElement"/>
    </message>
    <message name="IHelloWorld_getCountResponse">
    <part name="parameters" element="tns:getCountResponseElement"/>
    </message>
    <message name="IHelloWorld_sayHello">
    <part name="parameters" element="tns:sayHelloElement"/>
    </message>
    <message name="IHelloWorld_sayHelloResponse">
    <part name="parameters" element="tns:sayHelloResponseElement"/>
    </message>
    <portType name="MyHelloWorldService">
    <operation name="getCount">
    <input message="tns:IHelloWorld_getCount"/>
    <output message="tns:IHelloWorld_getCountResponse"/>
    </operation>
    <operation name="sayHello">
    <input message="tns:IHelloWorld_sayHello"/>
    <output message="tns:IHelloWorld_sayHelloResponse"/>
    </operation>
    </portType>
    <binding name="MyHelloWorldServiceSoapHttp" type="tns:MyHelloWorldService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getCount">
    <soap:operation soapAction="http://helloworldserver//getCount"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="sayHello">
    <soap:operation soapAction="http://helloworldserver//sayHello"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="MyHelloWorldService">
    <port name="MyHelloWorldServiceSoapHttpPort" binding="tns:MyHelloWorldServiceSoapHttp">
    <soap:address location="http://cjbrown-lap:8888/HelloWorld-HelloWorldServer-context-root/MyHelloWorldServiceSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    When referencing this in ApEx it can see the methods getCount and sayHello, and it can also see all the input and output parameters. The problem comes when I test the web service.
    The request generated by ApEx is the following for the sayHello method:
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP-ENV:Body><namesp1:sayHello xmlns:namesp1="http://helloworldserver/"><namesp1:name xsi:type="xsd:string"></namesp1:name></namesp1:sayHello></SOAP-ENV:Body></SOAP-ENV:Envelope>
    This returns the following message from the webservice:
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://helloworldserver/"><env:Body><env:Fault><faultcode>env:Client</faultcode><faultstring>Caught exception while handling request: unexpected element name: expected={http://helloworldserver/}sayHelloElement, actual={http://helloworldserver/}sayHello</faultstring></env:Fault></env:Body></env:Envelope>
    The correct request should in fact be:
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP-ENV:Body><namesp1:sayHelloElement xmlns:namesp1="http://helloworldserver/"><namesp1:name xsi:type="xsd:string">Chris</namesp1:name></namesp1:sayHelloElement></SOAP-ENV:Body></SOAP-ENV:Envelope>
    This will return the expected message:
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://helloworldserver/"><env:Body><ns0:sayHelloResponseElement><ns0:result>Hello Chris</ns0:result></ns0:sayHelloResponseElement></env:Body></env:Envelope>
    What ApEx seems to be doing is using the name of the method, rather than what is being detailed in the WSDL as the expected input envelope. It is also not showing the input parameters as an input box in the test instead is shows "Report returned no rows".
    I have managed to get around this issue in a less than ideal way be modifying the NAME column in the WWV_FLOW_WS_OPERATIONS table to sayHelloElement instead of sayHello, and the TYPE_IS_XSD column in the WWV_FLOW_WS_PARAMETERS table to Y instead of N, in the FLOWS_020200 schema.
    It now works fine, but why what could have caused it to not be correct in the first place? The answer to this is very important to me as I am working on a way to call XML Publisher seemlessly, without using a URL link, from ApEx, and then emailing the output document to the user. I don't want to have to modify the underlying tables each time I add a new web service reference in ApEx.
    Any comments, views, assistance is welcome here.
    Many Thank in Advance
    Cj

    Tony:
    Thanks for reporting the issue. There was a change in the session pop-up page to include reporting on the new xmltype column in collections. Unfortunately the wrong function is being called on the xmltype column to display its contents. This will be fixed in an upcoming release.
    Application Express 4.0 Web service support makes use of this new xmltype column in a collection. Therefore if you call a web service that returns a large XML document, and you click the session toolbar, you will receive the error.
    Regards,
    Jason

  • BUG: Web service returns request XML as response when result too large

    Hi,
    sorry for cross-posting, but the Web Services forum seems to be quite abandoned and this is an urgent issue for me.
    I have a web service returning some records of a given type (created using JDeveloper 10.1.3.3). The running environment and the service implementation do not seem to make any difference, as the situation is the same whether running it in embedded OC4J or in AS 10.1.3.1, and whether it is generated from a PL/SQL procedure or a method of a plain Java class.
    The problem is that if the result of this web service is too large (contains a lot of records), then the processing halts in some Oracle class in some web service library, so not in a debuggable generated web service source or in the service implementation itself.
    I think that the XML processing halts because of a "java.lang.OutOfMemoryError: Java heap space".
    Then a more serious problem follows: the service doesn't return a fault message but the original request XML as a response. Obviously, this can lead to some really unexpected errors.
    To reproduce this error:
    1. Create a Java class with a method returning an array of an arbitrary type, of the size specified in an input parameter.
    2. Create a web service from this class.
    3. Call it multiple times increasing the size parameter in every call until you get back the request as response or any error message.
    For example:
    - if you test the web service using the web page generated to access the endpoint, then you can see the response XML - in case you don't get an Internal Server Error (Java heap space).
    - if you use a generated web service proxy for testing, then it will give an error saying "unexpected element name: expected={namespace}someOperationResponseElement
    actual={namespace}someOperationElement".
    Any ideas how to locate / solve this problem?
    Regards,
    Patrik

    Patrik,
    the usual recommendation is to try with 10.1.3.3 instead of 10.1.3.1 to exclude you are hunting down an already fixed issue. From what you describe, the error seems less JDeveloper related than OC4J or OracleAs.
    So in case it reproduces in 10.1.3.3 I suggest to create a testcase and open a service request with support, or try the OC4J forum in case its known there.
    Frank

  • Possible Bug: Web Service Results Collection Error

    Doing some testing with APEX 4.02 on our development area, and running into an error..
    Running a form/report built off of a web service reference, form prompts for an input, data is returned from web service to report just fine, but when I go into session view collections, I am given a report error: ORA-19011 Character string buffer too small.
    Is this a known issue with collections and web services? I can confirm this was NOT an issue in 3.2, since we have just updated to 4.02 in past 48 hrs..
    Thank you,
    Tony Miller
    Webster, TX
    I cried because I did not have an office with a door until I met a man who had no cubicle.
    -Dilbert

    Tony:
    Thanks for reporting the issue. There was a change in the session pop-up page to include reporting on the new xmltype column in collections. Unfortunately the wrong function is being called on the xmltype column to display its contents. This will be fixed in an upcoming release.
    Application Express 4.0 Web service support makes use of this new xmltype column in a collection. Therefore if you call a web service that returns a large XML document, and you click the session toolbar, you will receive the error.
    Regards,
    Jason

  • Upgrading to Acrobat X Web service calls slower...

    Hey,
    we made a plug-in button using javascript that takes the current document and sends it to a server using a webservice, the document is divided in chunks and sent to the server in size of 10 mg per chunk.
    this plug-in was working great, until the customer demanded that we migrate to acrobat x.
    we ran the same code and hit the wall to something similiar to this problem:
    http://forums.adobe.com/thread/756218?decorator=print&displayFullThrea d=true
    see, we figured out that the time it takes to communicate with the web service became slower depending on the size of the parameter sent to this service.
    when sending a chunk of 10 mega using 9 it took almost 15 sec.
    when sending a chunk of 80 kbyte using x it took almost 15 min.
    a sample code is shown below:
        var stream = Collab.documentToStream(document);
        var service = Net.SOAP.connect(url);
        var bound = 10485760;
        var documentSize = document.filesize;
        var thermo = app.thermometer;
        thermo.duration = Math.round(documentSize / bound);
        thermo.text = "Sending document to server";
        var counter = 0;
        thermo.begin();
        try {
            var stringReaded;
            var fileName = '';
            var parameter = {
                soapType: "xsd:string"
            do {
                thermo.value = counter;
                stringReaded = stream.read(bound);
                    parameter.jsonPdf = stringReaded;
                    fileName = service.SavePdf(parameter);
                counter++;
            while (stringReaded.length == bound * 2);
        catch (e) {
            app.alert(e);
        thermo.end();
    Update:
    Just un-installed x and downgraded to 9 with typical installation
    works like a sharm...
    still its needed to be deployed in 10 or x, any help is much appreciated

    What happens when you deactivate the Thermometer code?
    I believe to remember having the IMHO weird effect in Acrobat 9 that under some circumstances the Thermometer was speeding things up. This "bug" may have been "fixed" in 10.
    HTH.
    Max Wyss.

  • Bugs in BC CRM web service need to be fix (Server was unable to process request ERROR: A server error has occured)

    I'm using the following code to retrieve order list is working fine but it give me an error Server was unable to process request ERROR: A server error has occurred when I trying to retrieve order total paid with same code: and the output when retrieve order total paid is [object Object]
    var wsUrl = "https://mysite.worldsecuresystems.com/CatalystWebService/CatalystCRMWebservice.asmx?WSDL";
                          var RetrieveTotalPaidXML =
                          '<?xml version="1.0" encoding="utf-8"?>\
                          <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">\
                          <soap12:Body>\
                          <Order_RetrieveTotalPaid xmlns="http://tempuri.org/CatalystDeveloperService/CatalystCRMWebservice">\
                          <username>user</username>\
                          <password>pass</password>\
                          <siteid>111222</siteid>\
                          <orderId>112345</orderId>\
                          </Order_RetrieveTotalPaid>\
                          </soap12:Body>\
                          </soap12:Envelope>';
                           $.ajax({
                            type: "POST",
                            url: wsUrl,
                            Host: "mysite.worldsecuresystems.com",
                            contentType: "application/soap+xml; charset=utf-8",
                            data: RetrieveTotalPaidXML,
                            dataType: "xml",
                            success: processSuccess,
                            error: function(){alert("Error: Something went wrong");}
                           function processSuccess(ResData) {
                           var RetrieveTotalPaidParse = $.parseXML(ResData);
                           var $xmlRetrieveTotalPaidParse = $(RetrieveTotalPaidParse);
                           var $Order_RetrieveTotalPaidResult = $xmlRetrieveTotalPaidParse.find('Order_RetrieveTotalPaidResult');
                                   $Order_RetrieveTotalPaidResult = $(this).find('Order_RetrieveTotalPaidResult').text();
                                   $('#RetrieveTotalPaidResult').text(Order_RetrieveTotalPaidResult);
    I think there a bug in BC CRM Web Service when trying to make a request for Order_RetrieveTotalPaid using soap need to be fix

    Perhaps it would be good to update the sample request as shown on the  Developer reference page for this method (and, actually ALL of the SOAP samples)
    The sample shows siteid (all lower case)

  • Accessing SOAP Web Services: Running on Acrobat 9, But NOT on Adobe Reader 9.

    Hi All,
    I am using webservice to populate form control. It is working fine in Acrobat 9 but When I am opening form in Adobe Reader 9 its NOT WORKING. Its niether giving any error nor any respone. Do Adobe Reader need some extra code to access/run web services or where I am wrong? Please help.
    Thanks.
    Abhinav

    Hi Anhinav,
    Because reader is not "extended" Web Services will not work on Reader.  They do however (as you've noted) work in Acrobat, which is "extended".
    To make web services work in Reader, you will need to purchase the LiveCycle Reader Extensions.
    Hope that helps.
    Jay

  • Problem in Jdeveloper 10.1.3, web services and document style.possible bug?

    Hello!
    I would like to generate a document-style web service from a wsdl file. The problem is that when I use it I get the following error:
    "operation echoStruct must have exactly one parameter as part of the SOAP body when used with a document-bare binding. All other parameters must be mapped to headers."
    A similar message is shown with other wsdl file that I'm using.
    I'm attaching the file that use to test it.
    Could you help me and tell me how I can fix it, please? or is it a bug?
    Regards,
    Antonio.
    <definitions xmlns:s1="http://soapinterop.org" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://soapinterop.org/xsd" xmlns:s2="http://soapinterop.org/AbstractTypes" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://soapinterop.org">
         <types>
              <s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/xsd">
                   <s:import namespace="http://soapinterop.org"/>
                   <s:element name="echoStructParam" type="s0:SOAPStruct"/>
                   <s:complexType name="SOAPStruct">
                        <s:sequence>
                             <s:element minOccurs="1" maxOccurs="1" name="varFloat" type="s:float"/>
                             <s:element minOccurs="1" maxOccurs="1" name="varInt" type="s:int"/>
                             <s:element minOccurs="0" maxOccurs="1" name="varString" type="s:string"/>
                        </s:sequence>
                   </s:complexType>
                   <s:element name="echoStructReturn" type="s0:SOAPStruct"/>
                   <s:element name="echoStringArrayParam" type="s1:ArrayOfString"/>
                   <s:element name="string" type="s:string"/>
                   <s:element name="echoStringArrayReturn" type="s1:ArrayOfString"/>
                   <s:element name="echoStringParam" type="s:string"/>
                   <s:element name="echoStringReturn" type="s:string"/>
              </s:schema>
              <s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org">
                   <s:import namespace="http://soapinterop.org/xsd"/>
                   <s:complexType name="ArrayOfString">
                        <s:sequence>
                             <s:element minOccurs="0" maxOccurs="unbounded" ref="s0:string"/>
                        </s:sequence>
                   </s:complexType>
                   <s:element name="ArrayOfString1" nillable="true" type="s1:ArrayOfString1"/>
                   <s:complexType name="ArrayOfString1">
                        <s:sequence>
                             <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/>
                        </s:sequence>
                   </s:complexType>
                   <s:element name="string" nillable="true" type="s:string"/>
              </s:schema>
              <s:schema targetNamespace="http://soapinterop.org/AbstractTypes">
                   <s:complexType name="StringArray">
                        <s:complexContent mixed="false">
                             <s:restriction base="soapenc:Array">
                                  <s:sequence>
                                       <s:element minOccurs="0" maxOccurs="unbounded" name="String" type="s:string"/>
                                  </s:sequence>
                             </s:restriction>
                        </s:complexContent>
                   </s:complexType>
              </s:schema>
         </types>
         <message name="echoStructSoapIn">
              <part name="echoStructParam" element="s0:echoStructParam"/>
         </message>
         <message name="echoStructSoapOut">
              <part name="echoStructResult" element="s0:echoStructReturn"/>
         </message>
         <message name="echoStringArraySoapIn">
              <part name="echoStringArrayParam" element="s0:echoStringArrayParam"/>
         </message>
         <message name="echoStringArraySoapOut">
              <part name="echoStringArrayResult" element="s0:echoStringArrayReturn"/>
         </message>
         <message name="echoStringSoapIn">
              <part name="echoStringParam" element="s0:echoStringParam"/>
         </message>
         <message name="echoStringSoapOut">
              <part name="echoStringResult" element="s0:echoStringReturn"/>
         </message>
         <portType name="WSDLInteropTestDocLitSoap">
              <operation name="echoStruct">
                   <input message="s1:echoStructSoapIn"/>
                   <output message="s1:echoStructSoapOut"/>
              </operation>
              <operation name="echoStringArray">
                   <input message="s1:echoStringArraySoapIn"/>
                   <output message="s1:echoStringArraySoapOut"/>
              </operation>
              <operation name="echoString">
                   <input message="s1:echoStringSoapIn"/>
                   <output message="s1:echoStringSoapOut"/>
              </operation>
         </portType>
         <binding name="WSDLInteropTestDocLitSoap" type="s1:WSDLInteropTestDocLitSoap">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="echoStruct">
                   <soap:operation soapAction="http://soapinterop.org/" style="document"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
              </operation>
              <operation name="echoStringArray">
                   <soap:operation soapAction="http://soapinterop.org/" style="document"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
              </operation>
              <operation name="echoString">
                   <soap:operation soapAction="http://soapinterop.org/" style="document"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
              </operation>
         </binding>
         <service name="WSDLInteropTestDocLit">
              <port name="WSDLInteropTestDocLitSoap" binding="s1:WSDLInteropTestDocLitSoap">
                   <soap:address location="http://mssoapinterop.org/asmx/wsdl/InteropTestDocLit.asmx"/>
              </port>
         </service>
    </definitions>

    Dev update: WSDL file seems fine. The problem is that it's for a document-bare service and, by default, the Unwrap Wrapped Parameters option on step 2 of the top-down wizard is enabled and checked. This means that we try to pick apart the input message into a series of parameters, yielding the error shown because a document-bare operation must have only one input parameter.
    If the Unwrap Wrapped Parameters option is unchecked, creation of the top-down service will succeed. In future, we ought to disable the option completely for everything but document-wrapped services, as that's the only time it applies.
    This is covered by bug 4630382.

  • How to call web services from Acrobat API using VC++

    Hi,
    I have api plugin which installs custom menu and tool bar to adobe acrobat. In this plugin once user installs this plugin, he need to activate this tool by entering key value. this limites to limited number of users (which is decided by client while buying).
    I am using javascript and VC++ with Visual studio 2008.
    So can some one suggest me how can i achive this.
    Thanks
    Shiva

    First, this is the scripting forum.  You want the SDK forum.
    Second, this isn't an Acrobat issue.  It's a C++ programming issue. If you want to connect to a web service you'll need to use the windows or mac socket interface.  If you're doing this using MFC then there is a library for internet interactions. If not, I'm sure there is still a library for it, I know there is a system API, you'll just have to look around.  But the main point is that it's completely outside the Acrobat SDK.
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/javascript.html
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • Substitution strings not working in URLs for web service references (bug?)

    We have an environment where the url for our BPEL server is read from a variable. I've created an application item and a corresponding application-level computation. I'm using the ampersand-followed-by-dot (&BPEL_SERVER.) syntax as well as the hashmark syntax (#BPEL_SERVER#) and am unable to get this working.
    Is there a way for me to debug web service reference calls other than whether a call was successful? Is this a bug?
    edit:
    Here is the error message I get when I try to use a substitution:
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests, or a wallet needs to be configured for HTTPS requests.

    No problem - let me try to lay this out a little differently, perhaps I'm just missing something.
    problem:
    * we have separate development, test, and production servers for our database and bpel servers.
    * The hostnames for these servers are stored in a table of key/value pairs
    * This means that (by policy) the hostnames in URLs calling BPEL web services should be the value corresponding to BPEL_SERVER so that the appropriate bpel server is used to call the web service
    attempted solution:
    1) I created an application item named BPEL_SERVER
    2) I have a before-header computation that sets BPEL_SERVER to 'http://bpeldev' using a static value assignment
    3) I have a web service reference whose URL is either &BPEL_SERVER./orabpel/default/callNotification/1.0 or #BPEL_SERVER#/orabpel/default/callNotification/1.0
    4) The web service reference is called in an after-submit process.
    5) An invalid URL exception is thrown for this process.when submitting on the page containing this process
    observations:
    * for (3) - I can set the URL to http://bpeldev/orabpel/default/callNotification/1.0 and everything occurs successfully
    * for (3) - If I use http://bpeldev/&BPEL_SERVER. then when I execute (4), I see a request for the exact string http://bpeldev/&BPEL_SERVER. in bpeldev's access logs
    * for (3) - If I use http://bpeldev/#BPEL_SERVER# then when I execute (4), I see a request for the exact string http://bpeldev/#BPEL_SERVER# in bpeldev's access logs
    * for (2) I've also used a function call RETURN get_const_value('BPEL_SERVER'); - same results for (5)
    * the item value has ben verified before (5)
    * for (1) and (2) I've tried defining substitution strings in the application definition instead - same results for (5)

  • Create RESTful web service with CSV format (bug??)

    Hi All:
    I am using APEX 4.2.2 with APEX listener 2.0.2.
    I have create a RESTful web service to retreieve some data from a table. The format is "CSV" (the other option is JSON, which I am not faimilar with).
    then I tested and it generate with below sample data.
    United States,"Zhang, Kevin",IT
    Above data means: Country, fullname, department
    As you can see value of fullname is double-quoted and also contains a comma (,) in it.
    Then I create a web service reference in a test application. Then I create a a form and report on web service.
    The problem is the fullname. The output looks like below:
    Country                 fullname                    Department
    United States        "Zhang                      IT
    As you can see, APEX is not able to get fullname correctly.
    Anyone see this issue and how to resolve it?
    Thanks!
    Kevin

    Kevin,
    I'm not sure I would classify it as a bug so much as an enhancement. We need the ability to set the "Text qualifier" as one can from Excel. This would allow the above to be seen a single a single field and, then, to do what you want. However, as I'm sure you realize, this just doesn't exist at the moment.
    So; you could store the first and last names in separate fields in the table (don't forget that you could use virtual columns for this purpose) or simply alter your query to pull them out as if they were separate fields, i.e. use SubStr and InStr.
    If you simply must see them in this format when the CSV is opened, you could create a formula in Excel to do this for you.
    -Joe

  • Bug: Creating Web Service data Control

    Hi,
    I am facing a issue while creating a web service data control.
    While creating the data control I have given the path of the wsdl file saved in my filesystem. Once the data control is created, when I expand the created datacontrol in the data control palette, the output parameter is set of string while I expected it to generate ListOfQuote type. Here is the WSDL snippet. Is this a bug in JDeveloper? Please suggest a solution to this as without the proper output parameter, I am not abel to execute the web servce method call.
    WSDL:
    <?xml version="1.0" encoding="UTF-8"?><definitions
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsdLocal1="http://siebel.com/OrderManagement/Quote/Data"
    targetNamespace="http://siebel.com/OrderManagement/Quote/PSP"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://siebel.com/OrderManagement/Quote/PSP"
    <types
    <xsd:schemaelementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsdLocal1="http://siebel.com/OrderManagement/Quote/Data"
    targetNamespace="http://siebel.com/OrderManagement/Quote/Data"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    <xsd:annotation
    <xsd:documentation
    Copyright (C) 2001-2004 Siebel Systems, Inc. All rights reserved. Siebel XSD Generation</xsd:documentation
    </xsd:annotation
    <xsd:elementname="ListOfQuote"
    type="xsdLocal1:ListOfQuote"
    </xsd:element
    <xsd:complexTypename="ListOfQuoteTopElmt"
    <xsd:sequence
    <xsd:elementname="ListOfQuote"
    maxOccurs="1"
    minOccurs="1"
    type="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="ListOfQuote"
    <xsd:sequence
    <xsd:elementname="Quote"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:Quote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="Quote"
    <xsd:sequence
    <xsd:elementname="ShippingStreetAddress"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string200"
    </xsd:element
    <xsd:elementname="ShippingCountry"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="MRCTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NRCTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExchangeDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="AccountContractedProductsOnlyFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="Status"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Revision"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="QuoteType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="QuoteNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="PrimaryOrganizationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="PriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="OpportunityId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="IntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="DueDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Discount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CurrencyCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ContactId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Active"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Name"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShippingState"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string10"
    </xsd:element
    <xsd:elementname="StartDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShippingPostalCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="EndDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ShippingCity"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="AccountLoc"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Account"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string75"
    </xsd:element
    <xsd:elementname="ListOfQuoteItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:ListOfQuoteItem"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:complexTypename="ListOfQuoteItem"
    <xsd:sequence
    <xsd:elementname="QuoteItem"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItem"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="QuoteItem"
    <xsd:sequence
    <xsd:elementname="RootAssetIntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ProductStructureType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="IsPromEligible"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductTypeCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ClassId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UsageAssetProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToState"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToPostalCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToCountry"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToCity"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RootBundleFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="PricingAdjustmentAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MinPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MaxPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="HeaderDiscountAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CoveredProductNetPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CoveredAssetProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Cost"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeUpsellMessage"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="VolumeUpsellItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeDiscountItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeDiscountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UnitofMeasure"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ServicePricePercent"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ServicePriceMethod"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="SalesServiceFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RootQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductXAClassId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromSourceId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromRuleId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromInstanceId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PriceType"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PortItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NRCCxTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MRCCxTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="LineNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ItemPriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="IntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="QuoteId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ForcastableFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExtendedQuantityRequested"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExcludePricingFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="ExchangeDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="EligibilityStatus"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="EligibilityReason"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string500"
    </xsd:element
    <xsd:elementname="Discount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Description"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string255"
    </xsd:element
    <xsd:elementname="CurrentPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CurrencyCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string20"
    </xsd:element
    <xsd:elementname="CoveredProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CfgType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="CfgStateCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="AssetIntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ActionCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="CoveredQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeUpsellItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="VolumeDiscountItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="SequenceNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductLineId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ProdPromName"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PrePickCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="PostPickCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ParentQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NeedRefreshBasePrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="InclusiveEligibilityFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="HasGenerics"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="EffectiveTo"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="EffectiveFrom"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ConfigurationModelId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UnitPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="SmartPartNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="RollupItemPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RollupAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Quantity"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PricingComments"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="OrigListPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Name"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    <xsd:elementname="ListPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="DiscountSource"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="DiscountPercent"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="DiscountAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ListOfQuoteItemXA"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:ListOfQuoteItemXA"
    </xsd:element
    <xsd:elementname="QuoteItem"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItem"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    <xsd:attributename="operation"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:complexTypename="ListOfQuoteItemXA"
    <xsd:sequence
    <xsd:elementname="QuoteItemXA"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItemXA"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="QuoteItemXA"
    <xsd:sequence
    <xsd:elementname="UnitofMeasure"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Sequence"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Required"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="ReadOnly"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="Attribute"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string75"
    </xsd:element
    <xsd:elementname="LOVType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Hidden"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="DisplayName"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    <xsd:elementname="ActionCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="XAId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ObjectId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Validation"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="PropTypeCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Value"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    <xsd:attributename="operation"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:simpleTypename="string500"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="500"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string250"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="250"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string50"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="50"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string255"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="255"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string10"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="10"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string75"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="75"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string30"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="30"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string100"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="100"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string1"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="1"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string200"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="200"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string20"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="20"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    </xsd:schema
    <xsd:schemaelementFormDefault="qualified"
    attributeFormDefault="unqualified"
    targetNamespace="http://siebel.com/OrderManagement/Quote/PSP"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    <xsd:importnamespace="http://siebel.com/OrderManagement/Quote/Data"
    </xsd:import
    <xsd:elementname="CalculatePrice_Input"
    <xsd:complexType
    <xsd:sequence
    <xsd:elementref="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    </xsd:element
    <xsd:elementname="CalculatePrice_Output"
    <xsd:complexType
    <xsd:sequence
    <xsd:elementref="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    </xsd:element
    </xsd:schema
    </types
    <messagename="CalculatePrice_Input"
    <partname="CalculatePrice_Input"
    element="tns:CalculatePrice_Input"
    </part
    </message
    <messagename="CalculatePrice_Output"
    <partname="CalculatePrice_Output"
    element="tns:CalculatePrice_Output"
    </part
    </message
    <portTypename="CalculatePricePort"
    <operationname="CalculatePrice"
    <inputmessage="tns:CalculatePrice_Input"
    </input
    <outputmessage="tns:CalculatePrice_Output"
    </output
    </operation
    </portType
    <bindingname="CalculatePricePort"
    type="tns:CalculatePricePort"
    <soap:bindingtransport="http://schemas.xmlsoap.org/soap/http"
    style="document"
    </soap:binding
    <operationname="CalculatePrice"
    <soap:operationsoapAction="document/http://siebel.com/OrderManagement/Quote/PSP:CalculatePrice"
    </soap:operation
    <input
    <soap:bodyuse="literal"
    </soap:body
    </input
    <output
    <soap:bodyuse="literal"
    </soap:body
    </output
    </operation
    </binding
    <servicename="CalculatePriceWS"
    <portbinding="tns:CalculatePricePort"
    name="CalculatePricePort"
    <soap:addresslocation="http://130.35.90.150/eai_enu/start.swe?SWEExtSource=SecureWebService&amp;SWEExtCmd=Execute&amp;UserName=SADMIN&amp;Password=SADMIN"
    </soap:address
    </port
    </service
    </definitions

    Thanks Frank for your response. It will be of great help if you can tell me what change I should do in data control metadata to make this work. Also, if I change the Complex Type in WSDL to something like below..will it work?
    <!--
    <sequence>
    <element name="el" type="anyType" nillable="true"/>
    </sequence>
    -->
    <sequence>
    <element name="Error_spcCode">
    <complexType>
    <sequence>
    <any/>
    </sequence>
    </complexType>
    </element>
    </sequence>
    Thanks,
    Sudha.

  • Is it possible to call a web service within acrobat reader.

    Hi,
    I designed a form template which makes a web service call.
    Then tested the form using acrobat professional 8.0.
    Everything was fine.
    But, when I open the same form with acrobat reader, the web service call didn't work.
    I want to know is this a known issue that It is not allowed to call a web service in acrobat reader?

    Hi
    Reader does not have the capability to call Web Services.
    You have two options:
    1. Get your clients to buy a copy of Acrobat.
    2. Purchase a product from Adobe called "Reader Extensions". This allows you to "extend" your form in such a way that it will be able to call web services. (You can also save it locally, and do a bunch of other things that normally you can't do in Reader.) Your clients will then be able to call web services (for this form only) using Reader.
    If you'd like more information on Reader Extensions, email info-at- avoka.com.
    Howard
    http://www.avoka.com

  • TP3 bug when exposing app module to web service

    Hello,
    I created a simple appmodule with 3 methods:
    public class AppModuleTestImpl extends ApplicationModuleImplApp
        /**This is the default constructor (do not remove).
        public AppModuleTestImpl()
        public String method1()
            return "hello world";
        public SomeBean method2()
            return new SomeBean();
        public String method3( SomeBean bean )
            return "hello world";
    }I want to expose those methods in a web service but in the "service custom methods" selection I can only see method1 even if SomeBean implements java.io.Serializable:
    public class SomeBean implements Serializable
        private String someField;
        public SomeBean()
        public void setSomeField(String someField)
            this.someField = someField;
        public String getSomeField()
            return someField;
    }The documentation says: "Your custom method parameters and return types can use any datatype that implements the java.io.Serializable interface."
    When I look in the message tab I see this:
    Business Components: Method "method2():SomeBean" cannot be exposed via service interface because the return type "(package).SomeBean" is not supported
    Business Components: Method "method3(SomeBean):String" cannot be exposed via service interface because parameter type "(package).SomeBean bean" is not supported
    where (package) is the correct package of the bean.
    Is this a bug?
    Thanks
    Message was edited by:
    user608288

    Can anyone confirm this problem please?

  • Simple web service call crashes Acrobat

    I have Acrobat 7.09. When I call web service like,<br /><br />var serviceURL="http://localhost/asynchws/ValidateAddress.asmx?WSDL";<br />var service = SOAP.connect(serviceURL);<br />var result = service.HelloWorld("Test string");<br /><br />from an xdp, I get,<br /><br />Acrobat.exe - Application Error <br />The instruction at "0x2d828acd" referenced memory at "0x00000008". The memory could not be "read".  Click on OK to terminate the program.<br /><br />The wsdl is below,<br /><br /><?xml version="1.0" encoding="utf-8" ?> <br /><wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><br /> <wsdl:types><br /> <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"><br /> <s:element name="HelloWorld"><br /> <s:complexType><br /> <s:sequence><br />  <s:element minOccurs="0" maxOccurs="1" name="address" type="s:string" /> <br />  </s:sequence><br />  </s:complexType><br />  </s:element><br /> <s:element name="HelloWorldResponse"><br /> <s:complexType><br /> <s:sequence><br />  <s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string" /> <br />  </s:sequence><br />  </s:complexType><br />  </s:element><br />  </s:schema><br />  </wsdl:types><br /> <wsdl:message name="HelloWorldSoapIn"><br />  <wsdl:part name="parameters" element="tns:HelloWorld" /> <br />  </wsdl:message><br /> <wsdl:message name="HelloWorldSoapOut"><br />  <wsdl:part name="parameters" element="tns:HelloWorldResponse" /> <br />  </wsdl:message><br /> <wsdl:portType name="ValidateAddressSoap"><br /> <wsdl:operation name="HelloWorld"><br />  <wsdl:input message="tns:HelloWorldSoapIn" /> <br />  <wsdl:output message="tns:HelloWorldSoapOut" /> <br />  </wsdl:operation><br />  </wsdl:portType><br /> <wsdl:binding name="ValidateAddressSoap" type="tns:ValidateAddressSoap"><br />  <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> <br /> <wsdl:operation name="HelloWorld"><br />  <soap:operation soapAction="http://tempuri.org/HelloWorld" style="document" /> <br /> <wsdl:input><br />  <soap:body use="literal" /> <br />  </wsdl:input><br /> <wsdl:output><br />  <soap:body use="literal" /> <br />  </wsdl:output><br />  </wsdl:operation><br />  </wsdl:binding><br /> <wsdl:binding name="ValidateAddressSoap12" type="tns:ValidateAddressSoap"><br />  <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> <br /> <wsdl:operation name="HelloWorld"><br />  <soap12:operation soapAction="http://tempuri.org/HelloWorld" style="document" /> <br /> <wsdl:input><br />  <soap12:body use="literal" /> <br />  </wsdl:input><br /> <wsdl:output><br />  <soap12:body use="literal" /> <br />  </wsdl:output><br />  </wsdl:operation><br />  </wsdl:binding><br /> <wsdl:service name="ValidateAddress"><br /> <wsdl:port name="ValidateAddressSoap" binding="tns:ValidateAddressSoap"><br />  <soap:address location="http://localhost/asynchws/ValidateAddress.asmx" /> <br />  </wsdl:port><br /> <wsdl:port name="ValidateAddressSoap12" binding="tns:ValidateAddressSoap12"><br />  <soap12:address location="http://localhost/asynchws/ValidateAddress.asmx" /> <br />  </wsdl:port><br />  </wsdl:service><br />  </wsdl:definitions>

    I am getting the same error when I close Acrobat:
    "Acrobat.exe - Application Error
    The instruction at "0x2d828acd" referenced memory at "0x00000008". The memory could not be "read". Click on OK to terminate the program."
    Can you explain how to make the change you posted in layman's terms?
    "You have to change Object.prototype.hash to Map.prototype.hash."

Maybe you are looking for