No data in generated document/web service data source/complex response type

I can define a report with a template with the BI Publisher server and the Template Builder Desktop plugin. When I use an sql statement as data source the preview functionality in Word and in the browser (logged in to the server) results in a correct report, with the correct data from the data source.
When I use a web service as a data source I can still generate and preview reports but no data from the data source is visible in the reports. However this data is available in the Template Builder plugin in MS-Word.
How do I know this ? When I try to insert a field from the data source into my rtf template the plugin shows a screen with the available fields. Or actually, the screen shows all fields returned by a dummy call to the web service. When I click on a field it shows the value returned by the web service just after the test "Example". I have set up my web service such that it always returns the same response.
The field I want to show is in a repeating record, but it does not make a difference when I surround it by a group:
<?for-each-group:/getValidationGroupsResponse/body/validationGroupList/validationGroup[1];./name?><?name?><?end for-each-group?>
Neither does looping over all fields display any data:
<?for-each-group:/getValidationGroupsResponse/body/validationGroupList/validationGroup;./name?><?name?><?end for-each-group?>
The fact that the response of my web service data source contains repeating records might be different from what others have tested so far.
I also found two other features when defining reports. I mention them here because they could be related to my problem. When I define two data source for my report, a web service and an sql query then only the fields from the sql query are visible in MS-Word/Template Builder. Even when the Data Model specifies the web service as "Main Data Set". And the "Default data source" is always a database even when the Data Model only defines a web service as "Data Set".
Edited by: CalculateOnline.org on May 21, 2010 2:36 PM: changed title

Unfortunately I can not test against a public webservice and follow the examples in the tutorials, since BI Publisher does not seem to offer any proxy configuration to connect to the internet.
My local webservice returns the following data, visible when viewing the report from the backend, when no template has been defined yet:
<ns2:getValidationGroupsResponse xmlns:ns2="amsterdam/wabo/services/data/validationOperations" xmlns="amsterdam/wabo/services/data/common">
<ns2:responseHeader>
<resultaatcode>OK</resultaatcode>
</ns2:responseHeader>
<ns2:body>
<ns2:validationGroupList>
<ns2:validationGroup>
<ns2:name>testgroep1</ns2:name>
<ns2:caption>kop1</ns2:caption>
<ns2:description>Voor testen ontvankelijkheidstest 1</ns2:description>
</ns2:validationGroup>
<ns2:validationGroup>
<ns2:name>testgroep2</ns2:name>
<ns2:caption>kop2</ns2:caption>
<ns2:description>Voor testen ontvankelijkheidstest 2</ns2:description>
</ns2:validationGroup>
</ns2:validationGroupList>
</ns2:body>
</ns2:getValidationGroupsResponse>
After defining the template, the values of the first group are visible in MS-Word as well, as example values.
I put the the template in a public place:
http://www.calculateonline.org/projects/bipublisher/template1.rtf
Just in case you need the wsdl as well:
http://www.calculateonline.org/projects/bipublisher/validationOperations.wsdl

Similar Messages

  • Recommended steps to generate a web service using nested complex types

    Hello,
    I need to generate a web service that uses nested complex types with built in types on the bottom layer. I hve posted an attempt at a WSDL. Please give advice on if I am doing it correctly.
    I have the suspicion that I should nest the complex types into the final complex type VendorStockingInterface. Please confirm.
    <?xml version="1.0" encoding="utf-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:s0="http://www.openuri.org/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    targetNamespace="http://www.openuri.org/">
    <types>
    <s:schema targetNamespace="http://www.openuri.org/"
    xmlns:s="http://www.w3.org/2001/XMLSchema">
    <s:element name="RegisterServiceRequest">
    <s:complexType>
    <s:sequence>
    <s:element name="DeviceCapabilities">
    <s:complexType>
    <s:sequence>
    <s:element name="OSName" type="s:string" nillable="true"/>
         <s:element name="OSVersion" type="s:string" nillable="true"/>
         <s:element name="BRType" type="s:string" nillable="true"/>
         <s:element name="DisplayColors" type="s:string" nillable="true"/>
         <s:element name="DisplayTechnology" type="s:string" nillable="true"/>
         <s:element name="NetworkAccess" type="s:boolean" nillable="true"/>
         <s:element name="DownloadMethod" type="s:string" nillable="true"/>
         <s:element name="DownloadVersion" type="s:string" nillable="true"/>
         <s:element name="Protocols" type="s:string" nillable="true"/>
         </s:sequence>
    </s:complexType>
    </s:element>
         <s:element name="LicenseType">
    <s:complexType>
    <s:sequence>
         <s:element name="Licences" type="s:string" nillable="false"/>
    </s:sequence>
    </s:complexType>
    </s:element>
         <s:element name="PriceValue">
    <s:complexType>
    <s:sequence>
         <s:element name="Value" type="s:float" nillable="false"/>
         <s:element name="CurrencyType" type="s:string" nillable="false"/>
    </s:sequence>
    </s:complexType>
    </s:element>
         <s:element name="RevenueModelType">
    <s:complexType>
    <s:sequence>
         <s:element name="VSRP" type="RegisterServiceRequest:PriceValue" nillable="true"/>
         <s:element name="WholesalePrice" type="RegisterServiceRequest:PriceValue" nillable="true"/>
         <s:element name="VendorSplitPercentage" type="s:float" nillable="true"/>
         <s:element name="VendorPurchasePrice" type="RegisterServiceRequest:PriceValue" nillable="true"/>
         <s:element name="License" type="RegisterServiceRequest:LicenseType" nillable="false"/>
    </s:sequence>
    </s:complexType>
    </s:element>
         <s:element name="VendorItemIdentifierType">
    <s:complexType>
    <s:sequence>
         <s:element name="VendorProductDisplay" type="s:string" nillable="false"/>
         <s:element name="VendorProductVersion" type="s:string" nillable="false"/>
         <s:element name="VendorProductCode" type="s:string" nillable="false"/>
    </s:sequence>
    </s:complexType>
    </s:element>     
         <s:element name="VendorBriefType">
    <s:complexType>
    <s:sequence>
         <s:element name="VendorID" type="s:string" nillable="false"/>
    </s:sequence>
    </s:complexType>
    </s:element>     
         <s:element name="VendorItemBriefType">
    <s:complexType>
    <s:sequence>
         <s:element name="VendorProductID" type="RegisterServiceRequest:VendorItemIdentifierType" nillable="false"/>
         <s:element name="VendorID" type="RegisterServiceRequest:VendorBriefType" nillable="false"/>
         <s:element name="VendorDescription" type="s:string" nillable="true"/>
         <s:element name="VendorPricing" type="RegisterServiceRequest:RevenueModelType" nillable="false"/>
         <s:element name="DownloadURL" type="s:string" nillable="true"/>
         <s:element name="ShortCode" type="s:string" nillable="true"/>
         <s:element name="ApplicationCode" type="s:string" nillable="true"/>
         <s:element name="DRMMethod" type="s:string" nillable="true"/>
    </s:sequence>
    </s:complexType>
    </s:element>     
         <s:element name="ContentType">
    <s:complexType>
    <s:sequence>
         <s:element name="Categorization" type="s:string" nillable="false"/>
         <s:element name="MIMEType" type="s:string" nillable="true"/>
    </s:sequence>
    </s:complexType>
    </s:element>     
         <s:element name="VendorStockingInterface">
    <s:complexType>
    <s:sequence>
         <s:element name="VendorItemInfo" type="RegisterServiceRequest:VendorItemBriefType" nillable="false"/>
         <s:element name="ProductType" type="RegisterServiceRequest:ContentType" nillable="false"/>
         <s:element name="DeviceRequirements" type="RegisterServiceRequest:DeviceCapabilitiesType" nillable="true"/>
         <s:element name="VendorPricing" type="RegisterServiceRequest:RevenueModelType" nillable="false"/>
         <s:element name="ProgramMemory" type="s:int" nillable="true"/>
         <s:element name="DataMemory" type="s:int" nillable="true"/>
         <s:element name="Author" type="s:string" nillable="true"/>
         <s:element name="Language" type="s:string" nillable="true"/>
    </s:sequence>
    </s:complexType>
    </s:element>          
    <s:element name="RegisterServiceResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="Message" type="s:string"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </types>
    <message name="RegisterServiceSoapIn">
    <part name="parameters" element="s0:RegisterServiceRequest"/>
    </message>
    <message name="RegisterServiceSoapOut">
    <part name="parameters" element="s0:RegisterServiceResponse"/>
    </message>
    <portType name="RegisterServiceSoap">
    <operation name="RegisterService">
    <input message="s0:RegisterServiceSoapIn"/>
    <output message="s0:RegisterServiceSoapOut"/>
    </operation>
    </portType>
    <binding name="RegisterServiceSoap" type="s0:RegisterServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="RegisterService">
    <soap:operation soapAction="http://www.openuri.org/RegisterService" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="RegisterService">
    <port name="RegisterServiceSoap" binding="s0:RegisterServiceSoap">
    <soap:address location="http://localhost:7001/RegisterService.jws"/>
    </port>
    </service>
    </definitions>
    I'd like the the consumer of the web service to send it a document with the fields formatted to the VendorInterface complextype which contains the other complextypes. In return the consumer will get another document with some acknowledgement messages.
    To make this happen I'd like to generate the web service, creating the complex type classes and XMLBeans. I'd like advice on the steps to take once I get a good WSDL.
    There is also the option to go from the other direction. Is it better to attempt to create a schema XSD document instead and use that to work towards the web service and WSDL? If so, could someone give an example of how to format an XSD using my example needs.

    I think I have got it all in place, though I have not tested it as of yet. For others who are looking at this, here is my XSD file from which all my complextypes were generated and lastly here is the actual web service file.
    ?xml version="1.0"?>
    <xs:schema targetNamespace="http://openuri.org/RegisterService"
    xmlns:rs="http://openuri.org/RegisterService"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified"
    xmlns:tns="http://temp.openuri.org/VerizonBOBO/RegisterServiceRequestDocument.xsd">
    <xs:element name="RegisterServiceRequest" type="rs:VendorStockingInterface"/>
    <xs:complexType name="DeviceCapabilitiesType">
    <xs:sequence>
    <xs:element name="OSName" type="xs:string" nillable="true"/>
    <xs:element name="OSVersion" type="xs:string" nillable="true"/>
    <xs:element name="BRType" type="xs:string" nillable="true"/>
    <xs:element name="DisplayColors" type="xs:string" nillable="true"/>
    <xs:element name="DisplayTechnology" type="xs:string" nillable="true"/>
    <xs:element name="NetworkAccess" type="xs:boolean" nillable="true"/>
    <xs:element name="DownloadMethod" type="xs:string" nillable="true"/>
    <xs:element name="DownloadVersion" type="xs:string" nillable="true"/>
    <xs:element name="Protocols" type="xs:string" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="LicenseType">
    <xs:sequence>     
    <xs:element name="Licences" type="xs:string" nillable="false"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PriceValue">
    <xs:sequence>
    <xs:element name="Value" type="xs:float" nillable="false"/>
    <xs:element name="CurrencyType" type="xs:string" nillable="false"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RevenueModelType">
    <xs:sequence>
    <xs:element name="VSRP" type="rs:PriceValue" nillable="true"/>
    <xs:element name="WholesalePrice" type="rs:PriceValue" nillable="true"/>
    <xs:element name="VendorSplitPercentage" type="xs:float" nillable="true"/>
    <xs:element name="VendorPurchasePrice" type="rs:PriceValue" nillable="true"/>
    <xs:element name="License" type="rs:LicenseType" nillable="false"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VendorItemIdentifierType">
    <xs:sequence>
    <xs:element name="VendorProductDisplay" type="xs:string" nillable="false"/>
    <xs:element name="VendorProductVersion" type="xs:string" nillable="false"/>
    <xs:element name="VendorProductCode" type="xs:string" nillable="false"/>
         </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VendorBriefType">
    <xs:sequence>
    <xs:element name="VendorID" type="xs:string" nillable="false"/>
         </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VendorItemBriefType">
    <xs:sequence>
    <xs:element name="VendorProductID" type="rs:VendorItemIdentifierType" nillable="false"/>
    <xs:element name="VendorID" type="rs:VendorBriefType" nillable="false"/>
    <xs:element name="VendorDescription" type="xs:string" nillable="true"/>
    <xs:element name="VendorPricing" type="rs:RevenueModelType" nillable="false"/>
    <xs:element name="DownloadURL" type="xs:string" nillable="true"/>
    <xs:element name="ShortCode" type="xs:string" nillable="true"/>
    <xs:element name="ApplicationCode" type="xs:string" nillable="true"/>
    <xs:element name="DRMMethod" type="xs:string" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ContentType">
    <xs:sequence>
    <xs:element name="Categorization" type="xs:string"/>
    <xs:element name="MIMEType" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VendorStockingInterface">
    <xs:sequence>
    <xs:element name="VendorItemInfo" type="rs:VendorItemBriefType"/>
    <xs:element name="ProductType" type="rs:ContentType"/>
    <xs:element name="DeviceRequirements" type="rs:DeviceCapabilitiesType"/>
    <xs:element name="VendorPricing" type="rs:RevenueModelType"/>
    <xs:element name="ProgramMemory" type="xs:int"/>
    <xs:element name="DataMemory" type="xs:int"/>
    <xs:element name="Author" type="xs:string"/>
    <xs:element name="Language" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RegisterServiceResponse">
    <xs:sequence>
    <xs:element name="Message" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    The Web Service File:
    import org.openuri.registerService.RegisterServiceResponse;
    import org.openuri.registerService.RegisterServiceRequestDocument;
    import com.verizon.hp.registerservice.*;
    public class RegisterService implements com.bea.jws.WebService
    static final long serialVersionUID = 1L;
    * @common:operation
    * @jws:protocol form-post="false" form-get="false"
    public org.openuri.registerService.RegisterServiceResponse RegisterService(org.openuri.registerService.RegisterServiceRequestDocument RegisterServiceDoc)
    VendorStockingInterface vsInterface = (VendorStockingInterface)RegisterServiceDoc.getRegisterServiceRequest();
    System.out.println(vsInterface.toString());
    com.verizon.hp.registerservice.RegisterServiceResponse serviceResponse = new com.verizon.hp.registerservice.RegisterServiceResponse();
    serviceResponse.setMessage("Register New Service Message has been received successfully");
    org.openuri.registerService.RegisterServiceResponse response = (org.openuri.registerService.RegisterServiceResponse)serviceResponse;
    return response;
    }

  • Consuming a web service using UTL_HTTP, Complex XML types

    this is the first time i have encountered a complex type calling a web service from PLSQL. i have sucsessfully called other methods from this same web service so i know its working.
    this is what i have to pass in:
    <xs:complexType name="AddJobRequestStructure">
    <xs:sequence>
    <xs:element name="AffectedUnits" type="ro:UnitIdentificationStructureArray" />
    <xs:element name="ServiceCode" type="xs:string" />
    <xs:element name="RecordTypeCode" type="xs:string" />
    <xs:element name="MultipleDescriptionCodes" type="ro:DescriptionSeverityStructureArray" />
    </xs:sequence>
    </xs:complexType>
    concentraiting on the parameter "AffectedUnits" type =
    <xs:complexType name="UnitIdentificationStructure">
    <xs:sequence>
    <xs:element name="UnitID" type="xs:string" />
    <xs:element name="StreetID" type="xs:string" />
    <xs:element name="UniqueStreetReferenceNumber" type="xs:string" />
    <xs:element name="UnitNumber" type="xs:string" />
    <xs:element name="Location" type="xs:string" />
    <xs:element name="PAON" type="ro:AONstructure" />
    <xs:element name="Easting" type="xs:double" />
    <xs:element name="Northing" type="xs:double" />
    </xs:sequence>
    </xs:complexType>
    for simple types i build the XML such as:
    request.body := request.body||'<ServiceCode xsi:type="xs:string">'||some_value||'</ServiceCode>';
    (request being a type that holds the namespace,method,body and envelope tag)
    just to re-itterate, i have other web service methods (from the same web service) working this way, however im not sure where to start with this complex type, so any help would be great
    Cheers.

    Thanks for the response, I’m not familiar with XML or web services so I appreciate the input. There is indeed an intermediate type. The web service documentation I have does state that the complex type can take multiple records, however we will only ever be passing one, it was this mention of an array that threw me, i asumed the array was the complex type - rather than there being an array of complext types for the handling of multiple records.
    <xs:complexType name="UnitIdentificationStructureArray">
    <xs:complexContent>
    <xs:restriction base="soapenc:Array">
    <xs:sequence />
    <xs:attribute ref="soapenc:arrayType" n1:arrayType="ro:UnitIdentificationStructure[]" xmlns:n1="http://schemas.xmlsoap.org/wsdl/" />
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    I assumed I had to pass each element of the complex type in separately and then reference this somehow in the parent, but it sound like, from what you say, I can just pass in XML containing the data in the correct structure
    Could you give me a basic example of how this XML fragment might look?
    Apologies for the lack of understanding - XML is failry new to me, this is as far as i have got
    Cheers

  • Web Service Data Control ADF

    Hi,
    I am trying to create an application using Web service Data control in Jdeveloper 11g TP4. This web servcie returns complex data type: that is an object.
    while creating data control using wizard : Web service Data control, I am able to get the data control having input patrameter and return object and on exapnding that in data control palette I am able to get all atrribute of that objects.
    Data control Palette:
    operation : viewRequest(String)
    Parameter
    REQID
    Return
    viewrequest_result
    ReqID
    Product Code
    Quantity
    Price
    I have created a simple JSF form by draging and droping the components fron Data control palette. There are two problems that I am facing while running the application:
    1. Getting NullPointerException for the input parameter stating that input parameter can not be null: Error while building SOAP request
    oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider setParameters
    Value for parameter 'USRID' cannot be null
    2. Setting that parameter with a default value I am able to call the web servcie and web service is successfully get invoked too and returns the response but the problem is that on Jdeveloper JSF screen it is not showing the output. I have created a read only form by dragging and dropping the return parameter from Data control palette. Even though the reponse is not getting dispalyed.
    Do i need to do anything more or I am missing any step. I have referrrd the link http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html : stating the complex return type handling in Jdeveloper 10.3. Do I need to create a Java Bean for the complex type even though data control is having all object attribute of complex data type.
    Thanks in advance.

    Please make sure that the service's return strcture follows the same strutre as described in the WSDL file. In almost all of the cases like this, I found that service returns doesn't exactly match the structure definition. In that case the WSDC fails to parse the output the way it's told to and the EL used in the pages will fetch nothing, hence a black page shows up.

  • Generating a Web Service and Oracle DATE type

    Hi,
    I need to generate a Web Service from an EJB model based upon entities generated from the Oracle 11g database that contain DATE types.
    I realize that java.sql.Date may not be a supported JAX-RPC type but I would be VERY grateful for some instructions about the easiest way to solve this problem when generating the web service in JDeveloper 11g.
    The integrated WLS server log looks like this:
    <2009-apr-26 kl 23:13 CEST> <Error> <HTTP> <BEA-101216> <Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/SessionFacadeBean".
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:87)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:264)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
         Truncated. see log file for complete stacktrace
    java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    java.sql.Timestamp does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.sql.Timestamp
              at public java.sql.Timestamp oracle.Lan.getAterlamnadDatum()
              at oracle.Lan
              at public java.util.List ejbmodel.jaxws.QueryLanFindByNrResponse._return
              at ejbmodel.jaxws.QueryLanFindByNrResponse
    ..... and so on
    The entity bean i question looks like this:
    package oracle;
    import java.io.Serializable;
    import java.sql.Timestamp;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.JoinColumn;
    import javax.persistence.ManyToOne;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    @Entity
    @NamedQueries({
    @NamedQuery(name = "Lan.findAll", query = "select o from Lan o"),
    @NamedQuery(name = "Lan.FindByNr", query = "select o from Lan o where o.lanNr = :p_lanNr")
    public class Lan implements Serializable {
    @Column(name="ATERLAMNAD_DATUM")
    private Timestamp aterlamnadDatum;
    @Column(nullable = false)
    private Long demandcount;
    private Timestamp demanddate;
    @Column(name="EXEMPLAR_NR", nullable = false)
    private Long exemplarNr;
    @Column(nullable = false)
    private String isbn;
    @Id
    @Column(name="LAN_NR", nullable = false)
    private Long lanNr;
    @Column(nullable = false)
    private Long remindercount;
    private Timestamp reminderdate;
    @Column(name="TILLBAKA_DATUM")
    private Timestamp tillbakaDatum;
    @Column(name="UTLANAD_DATUM")
    private Timestamp utlanadDatum;
    @ManyToOne
    @JoinColumn(name = "PERSON_NR")
    private Lantagare lantagare;

    Hi All,
    When i'm developing EJB Webservice i am getting following error .. i think it doesn't support java.sql.Date; and java.sql.timestamp; types
    the error are as show in below please suggest me.
    [Running application oil on Server Instance IntegratedWebLogicServer...]
    [05:04:09 AM] ---- Deployment started. ----
    [05:04:09 AM] Target platform is (Weblogic 10.3).
    [05:04:09 AM] Retrieving existing application information
    [05:04:09 AM] Running dependency analysis...
    [05:04:09 AM] Deploying 2 profiles...
    [05:04:10 AM] Wrote EJB Module to C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\oil\oil_webservicesEJB.jar
    [05:04:10 AM] Wrote Enterprise Application Module to C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\oil
    [05:04:10 AM] Redeploying Application...
    <Jun 30, 2011 5:04:10 AM EDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application oil is not versioned.>
    <Jun 30, 2011 5:04:10 AM EDT> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element webservices in the deployment descriptor in C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\oil\oil_webservicesEJB.jar/META-INF/webservices.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Jun 30, 2011 5:04:10 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/oil-oil_webservices-webapp".
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:281)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:202)
         Truncated. see log file for complete stacktrace
    Caused By: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    java.sql.Timestamp does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.sql.Timestamp
    >
    [05:04:11 AM] #### Deployment incomplete. ####
    #### Cannot run application oil due to error deploying to IntegratedWebLogicServer.
    [05:04:11 AM] Remote deployment failed
    [Application oil stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Thanks in advance..
    Siva
    Edited by: Shankar on Jun 30, 2011 7:02 AM

  • Data Federator - Building Web Services Data Source - Request Guidance

    Hello -
    I am trying to build a web services data source in Data Federator.
    I have:
    1. In ECC, I have created a web service, proxy, port, endpoint, etc. and am testing it with WS Navigator
    2. I have created a Project in Data Federator of the type web service
        a. Here I have assigned the WSDL URL (generated in ECC) as the URL
        b. I have setup web service authentication using the same userid, pwd in the web services definition (note: I have set the
            web services authentication to 'NONE' to avoing authorization issues)\
        c. I am now trying to "Generate Operations"
    I keep getting the error :
    The File Access Parameters are not valid (directory path = <HERE IS THE PATH TO THE WSDL WITH THE HOST/PORT stripped OUT>; file pattern = document
    I believe that it is finding the WSDL, becuase when I change the WSDL from 'Document' to 'RPC', the error changes with the file pattern = rpc.
    What needs to be done to the file access parameter piece.
    PLEASE provide guidance.  Thanks.
    - abhi

    Ananya,
    We are using XI to load data to BI from source system. XI basically uses the same concept as Web Services - Real time data concept via RFC embeded in Proxies.
    I was using web services to test data load - eventually we will use XI.
    KJs blog is pretty good. I was able to get data loaded - after several iterations and several OSS notes. It is still not perfect - there are several manual steps . I am going to pick KJs brain on that.
    We are on SP10 and looks like there are several bugs in RSRDA. Some of these are addressed in SP11 an SP12.
    Some notes to consider are
    0001003963, 0001008276,0001009260 and 001003265.
    Let me know if you have any questions.

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

  • Web Services Data Control - Complex type bindings

    I am calling a web services using the web service data control. The request object is a complex type. I observed that some data managed to bind but some failed to bind (empty value on the outbound SOAP payload). Specifically, all the "scalar" elements within the complex type managed to bind. For example the following element snippet within the overall complex data did not bind the value entered to the SOAP payload:
    <xsd:element minOccurs="0" name="zones">
    <xsd:annotation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element type="xsd:string" maxOccurs="unbounded" minOccurs="1" name="zone"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    While the following complex element within the same payload managed to bind value entered:
    <xsd:element minOccurs="0" name="orderBy">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element maxOccurs="unbounded" minOccurs="1" name="orderByItem">
    <xsd:complexType>
    <xsd:all>
    <xsd:element type="xsd:string" name="fieldName"/>
    <xsd:element type="xsd:boolean" name="ascending"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    Any bug report of this?
    Cheers
    Boon

    Hi Frank,
    Thanks for the response. I looked further into the problem. This is what I found.
    This is error message:
    javax.xml.ws.soap.SOAPFaultException: Foundation Engine Error: '' is an Invalid search zone. Valid zones include: 'id_object','name','published.name','comment_text','published.comment_text','note','document_extension','published.document_extension','physical_id','file_title','published.created_by','content'
    I turned on the trace and found the following message:
    [SRC_METHOD: parse] [225] No XML file /ObjectiveSearch/send/params/searchRequest/searchInput/searchInfo/zones/zones.xml for metaobject ObjectiveSearch.send.params.searchRequest.searchInput.searchInfo.zones.zones
    But when I looked into the model directory, I only able to find:
    H:\JDeveloper\AdvancedSearch\Model\adfmsrc\ObjectiveSearch\send\params\searchRequest\searchInput\searchInfo\zones\zone.xml
    It seems that WS data controller adapter is looking for zones/zones.xml. The wsdl specify zones with sub-elements(sequence) of zone (see wsdl below). The correct structure (zones/zone) is shown on the web service data control pallete and I can bind it to a JSF page.
    wsdl:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wscoor="http://docs.oasis-open.org/ws-tx/wscoor/2006/06" xmlns:tns="urn:objective.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2001/XInclude" targetNamespace="urn:objective.com" name="searchService">
    <wsp:Policy wsu:Id="WSSPortBindingInputPolicy">
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:TransportBinding>
    <wsp:Policy>
    <wsp:All>
    <sp:TransportToken>
    <wsp:Policy>
    <sp:HttpsToken RequireClientCertificate="false"/>
    </wsp:Policy>
    </sp:TransportToken>
    <sp:AlgorithmSuite>
    <wsp:Policy>
    <sp:Basic128/>
    </wsp:Policy>
    </sp:AlgorithmSuite>
    <sp:Layout>
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:Strict/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:Layout>
    <sp:IncludeTimestamp/>
    </wsp:All>
    </wsp:Policy>
    </sp:TransportBinding>
    <sp:EndorsingSupportingTokens>
    <wsp:Policy>
    <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:WssX509V3Token10/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:X509Token>
    </wsp:Policy>
    </sp:EndorsingSupportingTokens>
    <sp:SignedParts>
    <sp:Body/>
    </sp:SignedParts>
    <sp:SignedSupportingTokens>
    <wsp:Policy>
    <wsp:All>
    <sp:UsernameToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <sp:NoPassword/>
    </wsp:Policy>
    </sp:UsernameToken>
    </wsp:All>
    </wsp:Policy>
    </sp:SignedSupportingTokens>
    <sp:Wss11>
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:MustSupportRefIssuerSerial/>
    <sp:MustSupportRefKeyIdentifier/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:Wss11>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    <wsp:Policy wsu:Id="WSSPortBindingOutputPolicy">
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:EndorsingSupportingTokens>
    <wsp:Policy>
    <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Always">
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:WssX509V3Token10/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:X509Token>
    </wsp:Policy>
    </sp:EndorsingSupportingTokens>
    <sp:SignedParts>
    <sp:Body/>
    </sp:SignedParts>
    <sp:Wss11>
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:MustSupportRefIssuerSerial/>
    <sp:MustSupportRefKeyIdentifier/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:Wss11>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    <types>
    <xsd:schema targetNamespace="urn:objective.com">
    <xsd:simpleType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="logicalOperatorType">
    <xsd:annotation>
    <xsd:documentation>The type of join of the condition 'and' 'or'.
                   </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="and"/>
    <xsd:enumeration value="or"/>
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:complexType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="expressionType">
    <xsd:sequence>
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
    <xsd:element maxOccurs="unbounded" minOccurs="0" type="tns:expressionType" name="expression"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0" type="tns:metadataCondition" name="condition"/>
    </xsd:choice>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="metadataCondition">
    <xsd:annotation>
    <xsd:documentation>
    </xsd:documentation>
    </xsd:annotation>
    <xsd:all>
    <xsd:element type="tns:logicalOperatorType" name="logicalOperator"/>
    <xsd:element type="xsd:string" name="field"/>
    <xsd:element type="xsd:string" name="operator"/>
    <xsd:element minOccurs="0" type="xsd:string" name="value"/>
    </xsd:all>
    </xsd:complexType>
    <xsd:element xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="searchRequest">
    <xsd:annotation>
    <xsd:documentation>
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="searchInput">
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="searchInfo">
    <xsd:complexType>
    <xsd:all>
    <xsd:element minOccurs="0" name="objectTypes">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element maxOccurs="unbounded" minOccurs="1" type="xsd:string" name="objectType">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:int" name="numResults">
    <xsd:annotation>
    <xsd:documentation>The maximum number of results to     search for.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:boolean" name="showDeleted">
    <xsd:annotation>
    <xsd:documentation>Show deleted objects in the search results?</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="textQuery">
    <xsd:annotation>
    <xsd:documentation>A Verity text query, by default the     syntax of the query is "Internet" but can also be changed     to 'Verity' via the query syntax argument.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element type="xsd:string" minOccurs="0" name="syntax">
    <xsd:annotation>
    <xsd:documentation>The syntax of the search query either
                                                                     'Internet' (default) or 'Verity'.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" name="searchScopes">
    <xsd:annotation>
    <xsd:documentation>Search scopes to include in the
                                                                     search.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element type="xsd:string" maxOccurs="unbounded" minOccurs="1" name="searchScope"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element minOccurs="0" name="zones">
    <xsd:annotation>
    <xsd:documentation>Search zones to include in the
                                                                     search.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element type="xsd:string" maxOccurs="unbounded" minOccurs="1" name="zone"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element type="xsd:string" minOccurs="0" name="attributes">
    <xsd:annotation>
    <xsd:documentation>The attributes used when fetching
                                                                     results (these attributes are passed to inspect).
                                                                </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="behaviours">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="sections">
    <xsd:annotation>
    <xsd:documentation>     </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" name="orderBy">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element maxOccurs="unbounded" minOccurs="1" name="orderByItem">
    <xsd:complexType>
    <xsd:all>
    <xsd:element type="xsd:string" name="fieldName"/>
    <xsd:element type="xsd:boolean" name="ascending"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="searchRoot">
    <xsd:annotation>
    <xsd:documentation>The root container of the search, for a constrained search.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="depth">
    <xsd:annotation>
    <xsd:documentation>The depth to traverse.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="searchResult">
    <xsd:complexType>
    <xsd:all>
    <xsd:element type="xsd:string" name="resultId">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element type="xsd:int" name="numberOfResults">
    <xsd:annotation>
    <xsd:documentation>     </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element type="xsd:boolean" name="sorted">
    <xsd:annotation>
    <xsd:documentation>     </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="sortError">
    <xsd:annotation>
    <xsd:documentation>     </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    </xsd:all>
    <xsd:attribute name="instanceDomain" type="xsd:string"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </types>
    <message name="searchRequest">
    <part name="searchRequest" element="tns:searchRequest"/>
    </message>
    <message name="searchResult">
    <part name="searchResult" element="tns:searchResult"/>
    </message>
    <portType name="searchPortType">
    <operation name="send">
    <input message="tns:searchRequest"/>
    <output message="tns:searchResult"/>
    </operation>
    </portType>
    <binding name="searchBinding" type="tns:searchPortType">
    <wsp:PolicyReference URI="#WSSPortBindingInputPolicy"/>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="send">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <wsp:PolicyReference URI="#WSSPortBindingOutputPolicy"/>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="searchService">
    <documentation>"search" service.</documentation>
    <port name="searchPort" binding="tns:searchBinding">
    <soap:address location="https://youContentServer:443/services/search"/>
    </port>
    </service>
    </definitions>
    Cheers
    Boon

  • Base data block on a web service

    Hy,
    I need to integrate an oracle forms application with data provided from other applications (via web services), like countries, cities, users ecc.
    there is a way to base a data block (in forms web 6/10 with Java Importer) on a data returned from a web service?
    Can i base block on a PL/SQL variable, returned from java, that contains data from web service?
    Thanks at all.
    Davide

    here is a snippet:
    PROCEDURE BT_Poll IS
    || Name      : BT_Poll
    ||
    || Aufgabe   : Hier werden Bücher bestellt
    ||
    || Autor     : 05.03.2006, VOL
    || Updates   :
      R_App  SPU_Type.T_App := Init_App ('BT_Poll');
      v_list             ORA_JAVA.JARRAY;
      R_String           Const_lokal.T_CSV_Datensatz;
      E_kein_Webservice  EXCEPTION;
      PRAGMA EXCEPTION_INIT (E_kein_Webservice, -105100);
      v_Akt_Record       NUMBER;
    BEGIN
      Go_block ('Workitems');
      v_Akt_Record := Akt.Record;
      Clear_Block;
    -- user, pw, server
      v_list := BpelWorkflowClient.getAllWorkItems (
        a0    => Const_lokal.usr_Buchbesteller,
        a1    => Const_lokal.pwd_Buchbesteller,
        a2    => Const_lokal.srv_Default);
    --  v_list_laenge := ORA_JAVA.get_array_length (v_list);
      :PARAMETER.PA_ANZ_POLLS := ORA_JAVA.get_array_length (v_list);
      FOR i in 0 .. :PARAMETER.PA_ANZ_POLLS - 1
      LOOP
        :WORKITEMS.ALL := ORA_JAVA.get_String_array_element (v_list, i);
        Get_CSV_Daten (:WORKITEMS.ALL, ';', R_String);
        :WORKITEMS.Task_Titel     := R_String.Wert_01;
        :WORKITEMS.Task_ID        := R_String.Wert_02;
        :WORKITEMS.ISBN           := R_String.Wert_03;
        :WORKITEMS.Buch_Titel     := R_String.Wert_04;
        :WORKITEMS.Autoren        := R_String.Wert_05;
        :WORKITEMS.Preis          := R_String.Wert_06;
        :WORKITEMS.Bestellername  := R_String.Wert_07;
        create_record;
      END LOOP;
      Go_Record (v_Akt_Record);
      IF :PARAMETER.PA_ANZ_POLLS = 0 THEN
        go_block ('BUECHER');
      END IF;
    EXCEPTION
      WHEN E_kein_Webservice THEN
      WHEN OTHERS THEN
    END;
      FUNCTION getAllWorkItems(
        a0    VARCHAR2,
        a1    VARCHAR2,
        a2    VARCHAR2) RETURN ORA_JAVA.JARRAY IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(3);
        JNI.ADD_STRING_ARG(args, a0);
        JNI.ADD_STRING_ARG(args, a1);
        JNI.ADD_STRING_ARG(args, a2);
        RETURN JNI.CALL_OBJECT_METHOD(TRUE, NULL, 'de/opitzconsulting/bpel/wf/client/BpelWorkflowClient', 'getAllWorkItems', '(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;', args);
      END;
    [/pre]
    the getAllWorkItems is a generated Package which wraps the workflow-webservice-method
    try it
    Gerd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Web Service Data Controls don't refresh properly.

    I am runing JDeveloper Studio Edition 10.1.3.2.0.4066
    I have developed several Web Service Data Controls and pages to use them to display output. The pages seem to have a problem refreshing output when the value of the input parameter is changed, but only once data has been successfully fetched once.
    I have tried several settings for the refresh attribute:
    IfNeeded: retrieves data only once. Even if other valid values are put in, displays same data. Values that would retrieve no data show a blank screen UNTIL a data set is retrieved, then goes to same data displayed instead of blank form.Scrolls through multiple records. This is true for every option which has IfNeeded in the name
    Always: retrieves different data every time the parameter value changes. If the parameter value would result in no data being retrieved, the screen displays the last data retrieved with another value instead of blank. Scrolling is broken because every time I hit the navigation buttons, the screen refreshes and puts the current row back at the first record.
    PrepareModel: retrieves different data every time the parameter value changes. If the parameter value would result in no data being retrieved, the screen displays the last data retrieved with another value instead of blank. It will scroll thru records, but every couple of records I get this error:
    JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[1 ]
    RenderModel: Same as IfNeeded.
    This is the wsdl I used to build the data control:
    http://ceres.dscr.dla.mil:8888/orabpel/default/Rqn/1.0/Rqn?wsdl
    Here are the results from the wsdl:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="Rqn" targetNamespace="http://xmlns.oracle.com/Rqn" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/Rqn" xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/top/Rqn" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/Rqn">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Rqn" location="RqnService.wsdl" />
    - <types>
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/Rqn" xmlns="http://www.w3.org/2001/XMLSchema">
    - <element name="RqnProcessRequest">
    - <complexType>
    - <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    - <element name="RqnProcessResponse">
    - <complexType>
    - <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    - <message name="RqnRequestMessage">
    <part name="payload" element="ns1:RqnServiceSelect_p_nsnInputParameters" />
    </message>
    - <message name="RqnResponseMessage">
    <part name="payload" element="ns1:RqnAllTabCollection" />
    </message>
    - <portType name="Rqn">
    - <operation name="process">
    <input message="tns:RqnRequestMessage" />
    <output message="tns:RqnResponseMessage" />
    </operation>
    </portType>
    - <binding name="RqnBinding" type="tns:Rqn">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="process">
    <soap:operation style="document" soapAction="process" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="Rqn">
    - <port name="RqnPort" binding="tns:RqnBinding">
    <soap:address location="http://ceres.dscr.dla.mil:8888/orabpel/default/Rqn/1.0" />
    </port>
    </service>
    - <plnk:partnerLinkType name="Rqn">
    - <plnk:role name="RqnProvider">
    <plnk:portType name="tns:Rqn" />
    </plnk:role>
    </plnk:partnerLinkType>
    This is the pageDef file for the output page:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.40.66" id="showRqnPageDef"
    Package="app1.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables" Refresh="always"/>
    <methodIterator id="processIter" Binds="process.result"
    DataControl="ceresRqn" RangeSize="10"
    BeanClass="ceresRqn.process" Refresh="ifNeeded"/>
    <accessorIterator id="RqnAllTabIterator" RangeSize="10" Binds="RqnAllTab"
    DataControl="ceresRqn"
    BeanClass="ceresRqn.process.RqnAllTab"
    MasterBinding="processIter" Refresh="ifNeeded"/>
    <invokeAction id="qryRqn" Binds="process" Refresh="renderModel"/>
    </executables>
    <bindings>
    <methodAction id="process" InstanceName="ceresRqn" DataControl="ceresRqn"
    MethodName="process" RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"
    ReturnName="ceresRqn.methodResults.ceresRqn_process_result">
    <NamedData NDName="p_nsn" NDValue="${processScope.holdNsn}"
    NDType="java.lang.String" NDOption="2"/>
    </methodAction>
    <attributeValues id="boStatus" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="boStatus"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="dob" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="dob"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="docDate" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="docDate"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="dorraRecTyp" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="dorraRecTyp"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="extractDate" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="extractDate"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="matlRcptAcknDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="matlRcptAcknDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="modeShp" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="modeShp"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="nsn" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="nsn"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="quantity" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="quantity"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="rdd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="rdd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSalesDoc" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSalesDoc"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSalesDocItm" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSalesDocItm"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSchdlLin" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSchdlLin"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSchdlLinDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSchdlLinDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="shpdDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="shpdDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="shpdQty" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="shpdQty"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="statusCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="statusCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="suffix" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="suffix"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzdmdCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzdmdCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzfundCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzfundCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zznonStdRdd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zznonStdRdd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzorigDocNbr" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzorigDocNbr"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzpriCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzpriCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzprojCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzprojCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzsigCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzsigCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzsuppAdrs" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzsuppAdrs"/>
    </AttrNames>
    </attributeValues>
    <action id="First" RequiresUpdateModel="true" Action="12"
    IterBinding="RqnAllTabIterator"/>
    <action id="Previous" RequiresUpdateModel="true" Action="11"
    IterBinding="RqnAllTabIterator"/>
    <action id="Next" RequiresUpdateModel="true" Action="10"
    IterBinding="RqnAllTabIterator"/>
    <action id="Last" RequiresUpdateModel="true" Action="13"
    IterBinding="RqnAllTabIterator"/>
    <action IterBinding="RqnAllTabIterator" id="Execute"
    InstanceName="ceresRqn.process.return.RqnAllTab"
    DataControl="ceresRqn" RequiresUpdateModel="true" Action="2"/>
    </bindings>
    </pageDefinition>
    Any help would be welcome.

    After adding a refresh condition, RefreshCondition="${adfFacesContext.postback == false}", to the invokeAction for the Execute operation, I was able to query new data when the parameter changed, and maintain correct scrolling behavior. Thanks to Oracle's Chintan Shah for helping me confirm this solution.
    However, I still have a problem. If I get a set of data and then pass a parameter which would cause the web service to return no data (a null result set), the screen displays the old set of data rather than a blank screen. Does anyone have a solution to this problem?

  • Request parameter of Web Service Data Control shows up as an Object

    I have deployed a simple web service on a peoplesoft instance.
    The request message is:
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="SSR_CLASS_SEARCH_REQ">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="INSTITUTION" type="xsd:string" nillable="true"/>
    <xsd:element name="TERM" type="xsd:string" nillable="true"/>
    <xsd:element name="CAREER" type="xsd:string" nillable="true"/>
    <xsd:element name="SUBJECT" type="xsd:string" nillable="true"/>
    <xsd:element name="CLASS_NBR" type="xsd:int" nillable="true"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    While the response message has a depth of three levels:
    In jdev 11g (Studio Edition Version 11.1.1.1.0, Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) the one available for download on OTN, I perform the following steps.
    Create a Web Service Data control using the WSDL url, generated from the PSFT end.
    The Data control creates successfully. The problem is:
    - In the service operation method (in the data control) the request parameter is shown as an Object.
    - The entry under the service operation parameter tree, is 'paramater'
    The data control looks like:
    - <datacontrolname>
    - <serviceOperationName>_parameters
    - parameter
    - CAREER
    - CLASS_NBR
    - INSTITUTION
    - SUBJECT
    - TERM
    - <serviceOperationName>(Object)
    - Parameters
    - parameter
    - Return
    - <Return type>
    The return type shows up fine, with collections in hierarchy of a depth of tree.
    How do I create a parameter form for this data control.

    Hi,
    In this usecase , you can DnD the <serviceOperationName>_parameters as an ADF from. Then DnD the operation as a method. The methods input arg value is automatically set to the parameterIterator.currentRow.DataProvider. This works fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ADFMobile - Web service data control problem for android

    Hi,
    I created an application for android and testing it on an emulator.
    I am able to create web service data control for a jax-ws web service. But when I invoke the web service and the call comes to the web service host, there are no namespaces in some of the parameters. Typically, the tags which do not have the namespace are complexTypes. All the values of the parameters come properly. I have tried executing the data control in three different manners but still no luck.
    AdfmfJavaUtilities.invokeDataControlMethod(..);
    AmxMethodActionBinding.execute();
    +#{bindings.invokeMethod.execute}+
    Thanks.

    Hi there,
    Can you try to generate a sample JAX-WS the generates a similar complex structure that can help you and us to isolate the issue? I created a jax-ws service using simple complex type on Ubuntu and also a client mobile application getting no problems running it. But, perhaps you are using a more complex structure, hence an standalone would be very useful.
    Juan C.
    Edited by: Juan Camilo Ruiz on Dec 10, 2012 4:00 PM

  • Web service connection problem via web service data control (SOAP/REST)

    Hi
    I developed a simple "hello word" web service that I deployed on Integrated WLS.
    Web service works fine - I tested it from SoapUI.
    I created another application to call "hello word" using  "web service data control (SOAP/REST)" in JDeveloper.
    When I test it via "Oracle ADF Model Tester" application works as I'm expecting, but when I create JSPX page,
    drag and drop webservice method as ADF parameter form and run it receive notification (screenshot):
    "WSM-07620 : Agent cannot enforce policies due to either failure in retrieving polices or error in validations, detail= "WSM-02557 The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query "&(@appliesTo~="WS-CONNECTION()")(policysets:global/%)" is queued for later retrieval. "."
    What I'm doing wrong?
    Why I'm able to access web service from any other application but not from jdeveloper?
    Regards

    Hi,
    I am not sure which JDev you are using, but looks like you have some policies setup for WSDC using GPA (global policy attachment) and your policy manager(wsm-pm) is not running. Can you check if the wsm-pm application is properly deployed in your Integrated WLS. You can see this from the list of deployed apps in WLS console.
    -Vishal

  • Web Service Data Control Refresh

    Hi,
    We are creating the data controls for one of our web services and using the data control to create the user interfaces. Now the web service signature is changed and we would like to refresh the data control definition. But I am unable to find about regenerating the data control.
    If we use web service proxy, there is an option for regenerate the proxy. Can you please help in refreshing the data control based on the changes in the web service definitions.
    Thanks,
    S R Prasad

    simple! Refresh data control may now work. Remove the corresponding defs from connections.xml & datacontrols.dcx (AdapterDataControl). Refresh data control panel. Close jdev & open again. Generate the web services again. Make sure in both files the name attribute matches. You might have to re-commit all the files again (mostly just replace). You're all set.

  • Web Service Data Control XMLDOMException exception

    This issue is produced when we have Web Service Data Control (D.C.) used as reference data provider and is used as List Data Source in selectOneChoice. This happens only when we have the data control created directly from the WSDL. If we create a WS Proxy first and then we create a D.C. from the proxy interface, we don't have this issue. How can we use the D.C. directly without creating a WS proxy ?
    Here are some snippets:
    from page definition file
    <executables>
    <accessorIterator MasterBinding="EmployeeIterator"
    Binds="workedForDepartments" RangeSize="25"
    DataControl="EditTaskUI_EditTask"
    BeanClass="EditTaskUI_EditTask.DepartmentType"
    id="workedForDepartmentsIterator"/>
    <methodIterator Binds="getDepartments.result"
    DataControl="ReferenceDataServiceWebServiceDC"
    RangeSize="25"
    BeanClass="referencedataservicewsdc.ReferenceDataServiceWebServiceDC.getDepartments"
    id="getDepartmentsIterator"/>
    <accessorIterator MasterBinding="getDepartmentsIterator" Binds="Department"
    RangeSize="-1"
    DataControl="ReferenceDataServiceWebServiceDC"
    BeanClass="referencedataservicewsdc.ReferenceDataServiceWebServiceDC.getDepartments.Department"
    id="DepartmentIterator"/>
    </executables>
    <bindings>
    <list IterBinding="workedForDepartmentsIterator" id="departments"
    DTSupportsMRU="true" StaticList="false" ListIter="DepartmentIterator">
    <AttrNames>
    <Item Value="id"/>
    <Item Value="name"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="key"/>
    <Item Value="value"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="value"/>
    </ListDisplayAttrNames>
    </list>
    <methodAction id="getDepartments" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="getDepartments"
    IsViewObjectMethod="false"
    DataControl="ReferenceDataServiceWebServiceDC"
    InstanceName="ReferenceDataServiceWebServiceDC"
    ReturnName="data.ReferenceDataServiceWebServiceDC.methodResults.getDepartments_ReferenceDataServiceWebServiceDC_getDepartments_result"/>
    </bindings>
    snippet from jsf page
    <af:selectOneChoice value="Departments"
    label="#{bindings.departments.label}"
    required="#{bindings.departments.hints.mandatory}"
    shortDesc="#{bindings.departments.hints.tooltip}"
    id="soc5">
    <f:selectItems value="#{bindings.departments.items}" id="si9"/>
    </af:selectOneChoice>
    and the wsdl used to create service, from which the D.C. is created
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions targetNamespace="urn:ReferenceDataService"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="urn:ReferenceDataService"
    xmlns:types="urn:ReferenceDataService/types"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
    <types>
    <xsd:schema targetNamespace="urn:ReferenceDataService/types"
    xmlns:types="urn:ReferenceDataService/types"
    elementFormDefault="qualified">
    <xsd:element name="AddressList">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="types:Address" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="DepartmentsList">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="types:Department" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Address" type="types:KeyValue"/>
    <xsd:element name="Department" type="types:KeyValue"/>
    <xsd:complexType name="KeyValue">
    <xsd:sequence>
    <xsd:element name="key" type="xsd:string" maxOccurs="1" minOccurs="1" />
    <xsd:element name="value" type="xsd:string" maxOccurs="1" minOccurs="1" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="ListAddressesReqMsg"/>
    <message name="ListAddressesRespMsg">
    <part name="response" element="types:AddressList" />
    </message>
    <message name="GetAddressesReqMsg"/>
    <message name="GetAddressesRespMsg">
    <part name="response" element="types:AddressList" />
    </message>
    <message name="ListDepartmentsReqMsg"/>
    <message name="ListDepartmentsRespMsg">
    <part name="response" element="types:DepartmentsList" />
    </message>
    <message name="GetDepartmentsReqMsg"/>
    <message name="GetDepartmentsRespMsg">
    <part name="response" element="types:DepartmentsList" />
    </message>
    <portType name="ReferenceDataPort">
    <operation name="listAddresses">
    <input message="tns:ListAddressesReqMsg"/>
    <output message="tns:ListAddressesRespMsg"/>
    </operation>
    <operation name="getAddresses">
    <input message="tns:GetAddressesReqMsg"/>
    <output message="tns:GetAddressesRespMsg"/>
    </operation>
    <operation name="listDepartments">
    <input message="tns:ListDepartmentsReqMsg"/>
    <output message="tns:ListDepartmentsRespMsg"/>
    </operation>
    <operation name="getDepartments">
    <input message="tns:GetDepartmentsReqMsg"/>
    <output message="tns:GetDepartmentsRespMsg"/>
    </operation>
    </portType>
    <binding name="ReferenceDataPortSOAP11Binding" type="tns:ReferenceDataPort">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="listAddresses">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/listAddresses"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="getAddresses">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/getAddresses"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="getDepartments">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/getDepartments"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="listDepartments">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/listDepartments"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    </binding>
    <service name="ReferenceDataService">
    <port name="ReferenceDataPort" binding="tns:ReferenceDataPortSOAP11Binding">
    <soap:address location="http://service/ReferenceDataService"/>
    </port>
    </service>
    </definitions>
    Error log in the server consle
    <May 15, 2012 2:59:48 PM CEST> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <BEA-000000> <ADF: Adding the following JSF error message: invalid character : in name
    oracle.xml.parser.v2.XMLDOMException: invalid character : in name
         at oracle.xml.util.XMLUtil.validateQualifiedName(XMLUtil.java:530)
         at oracle.xml.parser.v2.XMLElement.<init>(XMLElement.java:416)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.<init>(ElementImpl.java:80)
         at oracle.j2ee.ws.saaj.soap.BodyElementImpl.<init>(BodyElementImpl.java:20)
         at oracle.j2ee.ws.saaj.soap.soap11.BodyElement11.<init>(BodyElement11.java:19)
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createBodyElement(SOAPImplementation11.java:120)
         at oracle.j2ee.ws.saaj.soap.BodyImpl.createChildElement(BodyImpl.java:160)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.createAndAppendChildElement(ElementImpl.java:827)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.addChildElement(ElementImpl.java:154)
         at oracle.j2ee.ws.mdds.SAAJEnvelopeBuilder.startElement(SAAJEnvelopeBuilder.java:161)
    at ....
    Here is the sample project for download
    http://www.4shared.com/zip/96UKoyvU/Exception_In_DC.html?
    Edited by: pavle on 15-May-2012 07:41

    Luis,
    lets cut this down to the most simplest testcase. You have a Web Service that allows an input argument to be null. The application based on the WSDC has a textfield and a button. The error shows if the button is pressed without you adding a value to the textfield.
    My questions are:
    - is my understanding correct ?
    - Is the WebServices created in JDeveloper 11 as well?
    - If it is created in JDeveloper 11, is it a JAX-WS Web Services, or a RPC style service ?
    Frank

Maybe you are looking for

  • HT5225 How do I change my mail settings to receive/send to from iCloud

    It says in this article:  that you can keep your .mac and .me email addresses, even if your systems do not support icloud, as long as you move before 30 June.  "If your contacts or calendars are only available on me.com, you must export your contacts

  • EBS 12.1.3 & Printing in AIX 7.1

    Hi, we have EBS 12.1.3 on AIX 7.1, and are encountering some difficulties in EBS printing as described below. Steps taken: 1) Our Hosting Provider has setup the printer on OS level # lpstat -a |grep myPrinter myPrinter: myPrinter: myPrinter: myPrinte

  • Lost photos on photo stream can I retrieve them

    Could somebody please help me? I have deleted some pictures off photo stream on my I phone and thought (stupidly) they would stay on my iPad, they are precious photos and I'm really hope I can retrieve them. Does anybody know if I can? Thank you

  • Why doesn't Photoshop display the full image on open?

    I'm using Photoshop CC on a MacBook Pro with OS X 10.9.2 and an external monitor, and when I open an image, it is partially hidden by the display window - scroll bars appear along the sides of the image display window. It's a little annoying, but has

  • Loading Images in Applets

    Is it possible to use the Toolkit class to load images in "unsigned" applets. I tried that but it throws a security exception: com.ms.security.SecurityExceptionEx[MyApplet.init]: cannot access file http://localhost/MyApplet/images/Image1.gif Though I