Web Services - "Primary" Flag on Contact View in Accounts sub object.

With our contacts, they sometimes are attached to more than one account. As a result, they have more than one Account. When this happens, there is a column called "Primary" that either has a checked checkbox or nothing. When we are consuming contacts via web services, the pull brings everything down, for example, if one contact is attached to 2 of more Accounts, both will be pulled in. We would only like the "Primary" Account, or the Account which the contact "belongs to" brought in to our pull.
Has anyone been able to make this work or developed a work around?

With our contacts, they sometimes are attached to more than one account. As a result, they have more than one Account. When this happens, there is a column called "Primary" that either has a checked checkbox or nothing. When we are consuming contacts via web services, the pull brings everything down, for example, if one contact is attached to 2 of more Accounts, both will be pulled in. We would only like the "Primary" Account, or the Account which the contact "belongs to" brought in to our pull.
Has anyone been able to make this work or developed a work around?

Similar Messages

  • Web Services Not Working because wwv_flow_collections view is empty

    Hello,
    I followed this example to try and get a web service running in my Application:
    http://apex.oracle.com/i/doc/advnc_rest_web_eg_2.htm
    When I run the page and enter the zip code 43221 they recommend with a radius of 5, I get no results. When debugging and throwing the query into SQL Dev, I have no records in my wwv_flow_collections view. Looking at the tables that comprise the view, wwv_flow_collections$ and wwv_flow_collection_members$, these two tables would join on c.id = m.collection_id alone, but there are additional in-line selects involving the DUAL table that make the query return 0 records and therefore the view is empty. I've never messed with these views/tables, are these auto-populated by APEX? Can they be updated? Right now I cannot get any web services to work because of this. Here is the from clause for the wwv_flow_collections view:
    FROM
    wwv_flow_collections$ c,
    wwv_flow_collection_members$ m
    WHERE
    c.session_id =
    SELECT
    v('SESSION')
    FROM
    dual
    AND c.security_group_id =
    SELECT
    wwv_flow.get_sgid
    FROM
    dual
    AND c.id = m.collection_id
    AND c.flow_id =
    SELECT
    nv('FLOW_ID')
    FROM
    dual
    Can anyone help? Thanks in advance!
    John

    John,
    I have been working this week to set up the exact same thing and got the same empty result set that you have. In this case I believe it has nothing to do with APEX. I downloaded soapUI 4.0.1 which tests web services and used the WSDL described in the APEX Webservices tutorial for http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx?wsdl to create the same sample requests. It also returns no results.
    So, I decided to use a different public WSDL and try to get it working. Here are my steps taken below:
    BACKGROUND:
    - I am using APEX 4.0 on an 11gR2 database, with ACLS set up for the APEX schema this app is using.
    - First off, the site I used I just found through google. It is a currency conversion rate webservice. It is explained here: http://www.webservicex.net/CurrencyConvertor.asmx
    - The WSDL is found here: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
    SETTING UP THE WEBSERVICE:
    1. In a new APEX application I went to "*Shared Components*" -> "*Web Service References*" -> "*Create*" to create a new web service reference
    2. Selected manual
    3. Called the webservice CURRENCY_TEST
    4. Set the URL to http://www.webservicex.net/CurrencyConvertor.asmx
    5. Set the Action to http://www.webserviceX.NET/ConversionRate (Action can be found in the WSDL - showing a few lines below)
    <pre class="jive-pre">
    <wsdl:binding name="CurrencyConvertorSoap" type="tns:CurrencyConvertorSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="ConversionRate">
    <soap:operation soapAction="*http://www.webserviceX.NET/ConversionRate*" style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    </pre>
    6. WSDL explains that the version is *1.1* in this case. (However, this same WSDL has the same operation for 1.2 so it probably would work)
    7. No Authentication
    8. soapUI 4.0.1 gave me the soap request which in this case is the following:
    <pre class="jive-pre">
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET/">
    <soapenv:Header/>
    <soapenv:Body>
    <web:ConversionRate>
    <web:FromCurrency>#FROM_CURRENCY#</web:FromCurrency>
    <web:ToCurrency>#TO_CURRENCY#</web:ToCurrency>
    </web:ConversionRate>
    </soapenv:Body>
    </soapenv:Envelope>
    </pre>
    9. Stored response in collection CURRENCY_COLLECTION
    10. Saved my web service reference
    11. Test the web service reference (you have to be on the web service references page and instead of the icon view of the report, use the list view. Click on the test icon to test the web service)
    12. On the test page, change #FROM_CURRENCY# to USD (for US dollars) and #TO_CURRENCY# to EUR (Euros)
    13. Click the test button and you should see a valid soap response with a currency rate within the ConversionRateResult tags
    USING THE WEBSERVICE AND GETTING RESULTS:
    1. Went back to the application and hit "*Create Page*" -> "*Form*" -> "*Form and Report on Web Service*"
    2. Selected my CURRENCY_TEST web service reference
    3. Next on the next page
    4. For input parameters, left the defaults to create 2 inputs, From_Currency and To_Currency
    5. Soap Style for this is Document (found in the WSDL as an attribute just after the soapAction attribute in the WSDL snippet above)
    6. Message Format is Literal (Also found above in the wsdl:output for this operation under the use attribute)
    7. XPATH is a bit complicated. In this case put */ConversionRateResponse* (I used the soapUI 4.0.1 to send the request and get back the soap response to see what the response tags would include and which path I'm going to)
    8. Message Namespace is http://www.webserviceX.NET/ (which is also found in the response soap message - I'd really recommend a tool to test this outside of APEX)
    9. For Parameter Names there is only one and it is ConversionRateResult (also found in the response soap message)
    10. Finish and run the report.
    OTHER GOTCHAS:
    So I finally got this to work, but in my case I was querying a remedy webservice and the xml tags I get back are all xmlns:ns0 and all response tags prefaced with ns0:
    In this case I had to after using the wizard go back and edit my query to change xmlns to xmlns:ns0 since the builder only assumes xmlns.
    <pre class="jive-pre">
    select extractValue(value(t),'/*/ns0:Assigned_Group','xmlns:ns0="urn:HPD_IncidentInterface_WS"') "Assigned_Group"
    , extractValue(value(t),'/*/ns0:Assignee','xmlns:ns0="urn:HPD_IncidentInterface_WS"') "Assignee"
    , extractValue(value(t),'/*/ns0:Resolution','xmlns:ns0="urn:HPD_IncidentInterface_WS"') "Resolution"
    , extractValue(value(t),'/*/ns0:Status','xmlns:ns0="urn:HPD_IncidentInterface_WS"') "Status"
    from wwv_flow_collections c,
    table(xmlsequence(extract(c.xmltype001,'//ns0:HelpDesk_Query_ServiceResponse','xmlns:ns0="urn:HPD_IncidentInterface_WS"'))) t
    where c.collection_name = 'INCIDENT_TEST'
    </pre>
    Good Luck!
    Jonathon

  • How to call Web Services (with javascript) in a view load event ?

    Hello to the expert community,
    I'm looking for a piece of javascript code allowing to call Web Services in a view load event ?
    Any ideas will be really appreciated.
    Regards.
    Have a nice week.

    Thank you for your answer, dongmei.
    It seems that the MethodResultTableDataProvider does not return the response of the web service as a value field if the WSDL contains only one result element.
    E.g. from WSDL of the USWeather Web Service which returns theGetWeatherReportResult string:
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.webserviceX.NET" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
          <s:element name="GetWeatherReport">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="GetWeatherReportResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetWeatherReportResult" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="string" nillable="true" type="s:string" />
        </s:schema>If I drag the web service method on the page and I should be able to select the response value in the Bind to Data dialog box. But there is no value field. Value fields only occur if the web service returns more than one value.
    The question is how can I get the response GetWeatherReportResult from the service.

  • Problem calling web service: Error while getting the ORACLE user account

    Hi All!
    I was able to call the service EGO_ITEM_PUB-PROCESS_ITEM, but after implemented some patches, suddenly I get this error as result:
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    - <env:Body>
    - <OutputParameters xmlns="http://xmlns.oracle.com/apps/ego/soaprovider/plsql/ego_item_pub/process_item__1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <X_INVENTORY_ITEM_ID xsi:nil="true" />
    <X_ORGANIZATION_ID xsi:nil="true" />
    <X_RETURN_STATUS>U</X_RETURN_STATUS>
    <X_MSG_COUNT>1</X_MSG_COUNT>
    <X_MSG_DATA>Encountered an error while getting the ORACLE user account for your concurrent request. Contact your system administrator.</X_MSG_DATA>
    </OutputParameters>
    </env:Body>
    </env:Envelope>
    Any ideas?
    Thanks,
    Konrad

    hsawwan wrote:
    Hi,
    I was able to call the service EGO_ITEM_PUB-PROCESS_ITEM, but after implemented some patches, What are those patches?
    # Patch 8407693:R12.TXK.B ISG: Service Generation Failure - Java Compiler Could Not be Found
    # Patch 8459663:R12.OWF.B : Mandatory Consolidated One-Off Fixes for ISG on Top of 12.1.1
    # Patch 8916358:R12.OWF.B : Service Timeout When Invoking Services Deployed to Integrated SOA Gateway
    # Patch 9349321:R12.OWF.B : Issue with item Bulk Load in Oracle Product Hub PIP 2.4
    # Patch 9446625:R12.FND.B : 1OFF:8995921:12.1.1:12.1.1:PERF : LoginModules Performance Issue
    # Patch 9070077:R12.OWF.B : 1OFF:9045280:12.1.1:12.1.1:Invoking a Web Service Requires NLS Lang When It Should be Optional
    # Patch 9153106:R12.OWF.B : IREP_Parser.PL Exits with GETPWUID Function IS Unimplemented in PARSER.PM -> Wichtig für ISG (für custom pl/sqls im ISG)
    # Patch 9004712:R12.OWF.B : One-Off for IREP PARSER on Top of Oracle E-Business Suite Release 12.1.1 -> Wichtig für ISG (für custom pl/sqls im ISG)
    IAS:
    # Patch 8607523 for the AS version 10.1.3.4
    Oracle Support told me that I need this patches because of some other problem (generating wsdl and deploy for BOM_BO_PUB package does not work in my environment) and since that, the process_item call stopped working!
    btw: The EGO_ITEM_PUB-PROCESS_ITEM call for an existing item still works (I can modify the description), but creating a new item does not work anymore. Here are the parameters I send to the web service:
    Header:
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>sysadmin</wsse:Username>
    <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">sysadmin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    <q0:SOAHeader/>
    Body:
    <q1:InputParameters>
    <q1:P_API_VERSION>1.0</q1:P_API_VERSION>
    <q1:P_INIT_MSG_LIST>T</q1:P_INIT_MSG_LIST>
    <q1:P_COMMIT>T</q1:P_COMMIT>
    <q1:P_TRANSACTION_TYPE>CREATE</q1:P_TRANSACTION_TYPE>
    <q1:P_ITEM_NUMBER>KHR_WS_05</q1:P_ITEM_NUMBER>
    <q1:P_DESCRIPTION>desc2</q1:P_DESCRIPTION>
    </q1:InputParameters>
    Thanks,
    Konrad

  • Web service proxy - how to use server side in/out objects

    We have logic in oracle database. We have pl/sql api with oracle object types as in/out parameters. On server side we have pojo classes with method to convert from/to sql structs, arrays.
    pl/sql apis are exposed as web services.
    When I create web service proxy, all required pojo classes are created from wsdl on client side.
    Currently we are also writting client part of the code(where we also have oracle database and we want to reuse server pojos). Server pojo classes are in separate jar file and used also on a client side.
    Is it possible to tell jdeveloper when creating web service proxy, to not create client side pojos, exception classes, ... , but use those from jar file.
    Currently I just copy server pojo over generated client ones, make some modifications and it works. But each time I regenerate web service proxy I have to do this step manually.
    Edited by: zgrega on Sep 24, 2010 7:43 AM
    Edited by: zgrega on Sep 24, 2010 7:47 AM

    best is to wrap the generated WS proxy in a JavaBean. This way you can create the exception handling once and apply it to all uses of the WS proxy by overriding the generated code
    Frank

  • Adf table data based on web service -  LOV based on entity / View

    My tools version:
    Jdev: 11.1.2.3.0
    ADF essential 11.1.2.3
    My case:
    I have a data table based on webservice (client and proxy). In this table I have status ID field, I would like to show the status ID description, I have also a LOV View (based on entity).
    I try a lot things, but nothing work, could you please give an idea to show my status description in my data table for each line?
    Thanks a lot

    Frank,
    I would like to get the status description from the ADF BC LOV, because in my table (based on the webservice) I have only the ID status.
    It is possible?
    Regards
    KM

  • Error 5566 on Web Service

    We have simple SharePoint 2010 Firm enthronement with one Front End, one SQL servers.
    All our custom databases and web services are on second SQL server.
    All our web based Info Path forms with web services suddenly stopped working with 5566 error.
    The following query failed: xxxx Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Unauthorized. The remote
    server returned an error: (401) Unauthorized.) Data adapter failed during OnLoad: The remote server returned an error: (401) Unauthorized.
    The web Service is not reaching the SQL Server, IIS logs end up with InfoPathDA instead of the user name.
    First I checked
    http://support.microsoft.com/kb/926642 if key
    DisableLoopbackCheck
    is equal 1 on front end server only. And
    it does.
    Second. I tried disable it right according to
    http://blogs.technet.com/b/sharepoint_foxhole/archive/2010/06/21/disableloopbackcheck-lets-do-it-the-right-way.aspx. Same story
    Third.
    https://social.msdn.microsoft.com/Forums/en-US/9ede1f5a-3f8a-42f4-ba33-5deaab3af43e/infopath-forms-services-web-service-will-not-work-in-browser-5566-error?forum=sharepointcustomizationlegacy<o:p></o:p>
    Personal Features permission are enabled for all authenticated users.<o:p></o:p>
    Please advise.<o:p></o:p>

    Thanks for your advice Yumi Fu,
    you get me right what I'm getting an error 5566 error on web service.
    I followed your recommendations step by step 
      1.  You can try to call the web service at a site or site collection level (eg: http://myserver/mysitecollection/_vti_bin/UserProfileService.asmx).
    yes I can
      2.  The user who is opening the form has access to the subject site collection.
    Anonymous access is disabled through Central Admin.
    IIS-->Authentication-->ASP.NET Impersonation tried Enabled and Disabled
    RUN-->regedit-->HKEY_LOCAL_MACHINE-->SYSTEM-->CurrentControlSet-->Control-->
    Lsa(Right click)-->Create new DWORD(32 bit) value or QWORD(64 bit) value with the name as a "DisableLoopbackCheck".
    Then edit it give value as a “1”.
    Had DWORD, changed for QWORD ( my server is 64 bit)
    Check Who can view the membership of the group?    “Everyone”
    not really sure what do you mean
      3.  In the web applications web.config file you have Proxy AutoDetect = false as below.
    <system.net>
        <defaultProxy>
          <proxy autoDetect="false" />
        </defaultProxy>
    </system.net>
    web.config of SharePoint or web swervice?
      4.  This issue occurs because of double-hop authentication. If you have two servers in your load-balancer and requests are not homed to the same server (i.e. instead of server1 requesting a web service from itself, it contacts server2 instead) then
    it is unable to pass your user credentials on to the other server. If you force the server to talk to “itself”, then it is able to use your credentials successfully and return the results from the web service.
    The obvious solution is to fix load-balancing, but a workaround is to use the hosts file located at (NOTE no file extension on this file!):
    c:\windows\system32\drivers\etc\hosts, and add an entry on each server pointing to itself.
    changing hosts does not help.
    load-balance r? I do not know.
      5.  InfoPath Form Services does not support claims based authentication. Try to add FQDN to bypasslist in web.config.
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/12e6227f-3875-4c2a-a67a-4b2baa339fc4/infopath-calls-webservice-log-id5566-401-unauthorized
    https://social.technet.microsoft.com/Forums/office/en-US/0890de5e-01a5-4486-aa2b-1a6c222ffd2a/401-unauthorized-error-while-connecting-to-userprofile-web-service-in-infopath-2010?forum=sharepointadminprevious
    If this issue still exists, you can check the ULS log to find more information about this issue.
    For SharePoint 2010, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    Will try tomorrow.
    Thanks
    Peter

  • How can I call a SAPME web service from MII such as PlaceFutureHold?

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    With Web service action block you can view all ME available services
    in I.E
    https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl  you could see your FutureHold service
    To do that in MII, you need Web Service action block. Have you work with MII transaction before?
    (saw your post in MII)

  • Need some direction on developing a web service.

    Hi,
    My requirement is to develop a web service and expose 8 Oracle views as methods that can be invoked that will give the data within those views in XML format.
    What is the best approach in doing this?
    I've tried developing a PLSLQ procedure and publishing it as a web service but see that there are limitations related in using a PLSQL record type as out variable
    Not sure if I can do this by developing a BPEL process.
    Appreicate your help on this..
    Thanks
    -Prapoorna

    Here are some sample apps and tutorials that might help:
    http://brianchau.wordpress.com/2008/02/12/flash-media-server-3-demos/
    especially the VideoRecorder one.

  • Call thirty party java web service but always return null

    hi
    I call a java web service in my application visual studio 2008 c#, but always return NULL.
    I used Tool Fiddler to monitor the traffic between my client and the web service server, it showed the return is not Null.
    Here is my code, please see if anything I do wrong.
    namespace CanOfficer_THQ_vs_IHQ.TestWebReferenceAppointment {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="AppointmentServiceSoapBinding", Namespace="http://service.ips.salvationarmy.org/")]
    public partial class AppointmentService : Microsoft.Web.Services3.WebServicesClientProtocol {
    private System.Threading.SendOrPostCallback deleteAppOperationCompleted;
    private System.Threading.SendOrPostCallback importAppOperationCompleted;
    private System.Threading.SendOrPostCallback editAppOperationCompleted;
    private bool useDefaultCredentialsSetExplicitly;
    /// <remarks/>
    public AppointmentService() {
    this.Url = global::CanOfficer_THQ_vs_IHQ.Properties.Settings.Default.CanOfficer_THQ_vs_IHQ_TestWebReferenceAppointment_AppointmentService;
    if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
    this.UseDefaultCredentials = true;
    this.useDefaultCredentialsSetExplicitly = false;
    else {
    this.useDefaultCredentialsSetExplicitly = true;
    public new string Url {
    get {
    return base.Url;
    set {
    if ((((this.IsLocalFileSystemWebService(base.Url) == true)
    && (this.useDefaultCredentialsSetExplicitly == false))
    && (this.IsLocalFileSystemWebService(value) == false))) {
    base.UseDefaultCredentials = false;
    base.Url = value;
    public new bool UseDefaultCredentials {
    get {
    return base.UseDefaultCredentials;
    set {
    base.UseDefaultCredentials = value;
    this.useDefaultCredentialsSetExplicitly = true;
    /// <remarks/>
    public event deleteAppCompletedEventHandler deleteAppCompleted;
    /// <remarks/>
    public event importAppCompletedEventHandler importAppCompleted;
    /// <remarks/>
    public event editAppCompletedEventHandler editAppCompleted;
    /// <remarks/>
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
    RequestNamespace="http://service.ips.salvationarmy.org/",
    ResponseNamespace="http://service.ips.salvationarmy.org/",
    Use=System.Web.Services.Description.SoapBindingUse.Encoded,
    ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
    [return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public string deleteApp([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int id) {
    object[] results = this.Invoke("deleteApp", new object[] {
    id});
    return ((string)(results[0]));
    /// <remarks/>
    public void deleteAppAsync(int id) {
    this.deleteAppAsync(id, null);
    /// <remarks/>
    public void deleteAppAsync(int id, object userState) {
    if ((this.deleteAppOperationCompleted == null)) {
    this.deleteAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OndeleteAppOperationCompleted);
    this.InvokeAsync("deleteApp", new object[] {
    id}, this.deleteAppOperationCompleted, userState);
    private void OndeleteAppOperationCompleted(object arg) {
    if ((this.deleteAppCompleted != null)) {
    System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
    this.deleteAppCompleted(this, new deleteAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    /// <remarks/>
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
    RequestNamespace="http://service.ips.salvationarmy.org/",
    ResponseNamespace="http://service.ips.salvationarmy.org/",
    Use=System.Web.Services.Description.SoapBindingUse.Encoded,
    ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
    [return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public string importApp(
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int person,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string name,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string territory,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string location,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] bool primary,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> start,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> end,
    [System.Xml.Serialization.XmlElementAttribute("categories", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] categories) {
    object[] results = this.Invoke("importApp", new object[] {
    person,
    name,
    territory,
    location,
    primary,
    start,
    end,
    categories});
    return ((string)(results[0]));
    /// <remarks/>
    public void importAppAsync(int person, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories) {
    this.importAppAsync(person, name, territory, location, primary, start, end, categories, null);
    /// <remarks/>
    public void importAppAsync(int person, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories, object userState) {
    if ((this.importAppOperationCompleted == null)) {
    this.importAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OnimportAppOperationCompleted);
    this.InvokeAsync("importApp", new object[] {
    person,
    name,
    territory,
    location,
    primary,
    start,
    end,
    categories}, this.importAppOperationCompleted, userState);
    private void OnimportAppOperationCompleted(object arg) {
    if ((this.importAppCompleted != null)) {
    System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
    this.importAppCompleted(this, new importAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    /// <remarks/>
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
    RequestNamespace="http://service.ips.salvationarmy.org/",
    ResponseNamespace="http://service.ips.salvationarmy.org/",
    Use=System.Web.Services.Description.SoapBindingUse.Encoded,
    ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
    [return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
    public string editApp(
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int id,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string name,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string territory,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string location,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] bool primary,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> start,
    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> end,
    [System.Xml.Serialization.XmlElementAttribute("categories", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] categories) {
    object[] results = this.Invoke("editApp", new object[] {
    id,
    name,
    territory,
    location,
    primary,
    start,
    end,
    categories});
    return ((string)(results[0]));
    /// <remarks/>
    public void editAppAsync(int id, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories) {
    this.editAppAsync(id, name, territory, location, primary, start, end, categories, null);
    /// <remarks/>
    public void editAppAsync(int id, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories, object userState) {
    if ((this.editAppOperationCompleted == null)) {
    this.editAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OneditAppOperationCompleted);
    this.InvokeAsync("editApp", new object[] {
    id,
    name,
    territory,
    location,
    primary,
    start,
    end,
    categories}, this.editAppOperationCompleted, userState);
    private void OneditAppOperationCompleted(object arg) {
    if ((this.editAppCompleted != null)) {
    System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
    this.editAppCompleted(this, new editAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    /// <remarks/>
    public new void CancelAsync(object userState) {
    base.CancelAsync(userState);
    private bool IsLocalFileSystemWebService(string url) {
    if (((url == null)
    || (url == string.Empty))) {
    return false;
    System.Uri wsUri = new System.Uri(url);
    if (((wsUri.Port >= 1024)
    && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
    return true;
    return false;
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
    public delegate void deleteAppCompletedEventHandler(object sender, deleteAppCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class deleteAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
    private object[] results;
    internal deleteAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
    base(exception, cancelled, userState) {
    this.results = results;
    /// <remarks/>
    public string Result {
    get {
    this.RaiseExceptionIfNecessary();
    return ((string)(this.results[0]));
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
    public delegate void importAppCompletedEventHandler(object sender, importAppCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class importAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
    private object[] results;
    internal importAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
    base(exception, cancelled, userState) {
    this.results = results;
    /// <remarks/>
    public string Result {
    get {
    this.RaiseExceptionIfNecessary();
    return ((string)(this.results[0]));
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
    public delegate void editAppCompletedEventHandler(object sender, editAppCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class editAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
    private object[] results;
    internal editAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
    base(exception, cancelled, userState) {
    this.results = results;
    /// <remarks/>
    public string Result {
    get {
    this.RaiseExceptionIfNecessary();
    return ((string)(this.results[0]));

    Hi;
    I used Fiddler to monitor the process, and it showed the request sent thru web service worked and returned a value, but in my .Net application the return captured as NULL. Could you please look into the code above and the result from Filddler and see if
    you can help.
    thank you.
    REQUEST:
    POST https://159.253.140.178/services/AppointmentService HTTP/1.1
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4252)
    Content-Type: text/xml; charset=utf-8
    SOAPAction: ""
    Host: 159.253.140.178
    Content-Length: 1589
    Expect: 100-continue
    Connection: Keep-Alive
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://service.ips.salvationarmy.org/" xmlns:types="http://service.ips.salvationarmy.org/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    <soap:Header>
    <wsse:Security mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>
    [email protected]
    </wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">
    tpi4IPSws!
    </wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <tns:importApp>
    <person xsi:type="xsd:int">
    169275
    </person>
    <name xsi:type="xsd:string">
    Corps Officer (Cahul-Russia) Test12
    </name>
    <territory xsi:type="xsd:string">
    CAN
    </territory>
    <location xsi:type="xsd:string">
    TEST LOCATION 12
    </location>
    <primary xsi:type="xsd:boolean">
    true
    </primary>
    <start xsi:type="xsd:dateTime">
    2013-05-30T00:00:00
    </start>
    <end xsi:type="xsd:dateTime">
    2014-06-04T00:00:00
    </end>
    <categories href="#id1" />
    </tns:importApp>
    <soapenc:Array id="id1" soapenc:arrayType="xsd:string[1]">
    <Item>
    vpsCat1
    </Item>
    </soapenc:Array>
    </soap:Body>
    </soap:Envelope>
    RESPONSE:
    HTTP/1.1 200 OK
    Server: Apache-Coyote/1.1
    Content-Type: text/xml;charset=UTF-8
    Content-Length: 232
    Date: Fri, 05 Sep 2014 19:45:22 GMT
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <ns2:importAppResponse xmlns:ns2="http://service.ips.salvationarmy.org/">
    <return>
    OK_572463
    </return>
    </ns2:importAppResponse>
    </soap:Body>
    </soap:Envelope>

  • Web Service with Crystal Reports

    Post Author: ZugDav
    CA Forum: Deployment
    Hi,
    I have a problem with the development of a Report Webservice.
    I have read this tutorial:
    http://msdn2.microsoft.com/en-us/library/ms225510(VS.80).aspx
    The problem is that from the Visual Studio 2005 IDE there isn't the voice "Publish as Web Service" when i clik on the .rpt file in my Web Service project.
    Im using Visual Studio 2005 Version 8.0.50727.42 and full Crystal Reports Bundled.
    Can someone help me?
    Thanks,
    David

    I don't think you will be able to do this from the button. Reason is that the web service only works with the viewer and there is are no exposed export API associated with the viewer. The only export APIs are based off of the report document object.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Deployment Error due Web Service

    Hi,
    I try to create a WebService based on the JEE 5 Server. If I create a very simple WebService everything works quite well. But as soon as I try to create a more complex web service I receive a deployment error. The web service method contains a parameter that represents a data object. This DO contains two lists, that are accessible using getters and setters, the DO contains a standard constructor as well.
    The deployment exeception I receive is:
    13.11.2006 12:25:12 /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,5,main]] INFO: deployment trace
    12:24:54.653 [info  #300]  [#36]: DC API is trying to connect to 'sapw02:50204'
    12:24:54.653 [debug #100]  [#36]: SessionImpl::getContext():[ B E G I N ].timerId=214
    12:24:55.262 [debug #100]  [#36]: SessionImpl::getContext():[ E N D ].timerId=[id:#214, elapsed: 609 ms.]
    12:24:55.262 [info  #300]  [#36]: DC API has Connected to 'sapw02:50204'
    12:24:55.262 [debug #100]  [#36]: DeployProcessor::ctor:New deploy processor created[ deployerId=36 ]
    12:24:55.668 [debug #200]  [#36]: DeployProcessor::Constructor:get deployer from server.[ deployerId=36 ]
    12:24:55.887 [debug #200]  [#36]: DeployProcessor::Constructor:deployer get successfully:[id:#215, elapsed: 219 ms.]. [ deployerId=36 ]
    12:24:55.887 [info  #200]  [#36]: +++++ Starting  D E P L O Y action +++++ [ deployerId=36 ] [ timerId=216]
    12:24:55.903 [info  #200]  [#36]: Selected archives for deployment. [ deployerId=36 ]
    12:24:55.903 [info  #200]  [#36]: C:Program FilesSAPDevStudio_oldeclipseworkspace_tool_beansPerfactEAR5PerfactEAR5.ear
    12:24:55.903 [debug #300]  [#36]: DeployProcessor::deploy:going to generate Session id.[ deployerId=36 ]
    12:24:56.106 [debug #300]  [#36]: DeployProcessor::deploy:DC API got Session id='347',time:[id:#216, elapsed: 219 ms.].[ deployerId=36 ]
    12:24:56.324 [debug #300]  [#36]: DeployProcessor::uploadItemsToServer:timerId=217. [ deployerId=36 ], transactionId=347::Upload archives to the server.Remote upload path is 'C:SAPJP1JC02j2eeclusterserver0temptc~bl~deploy_controllerarchives347'
    12:24:56.324 [debug #300]  [#36]: DeployProcessor::uploadItemsToServer:Going to upload 'C:Program FilesSAPDevStudio_oldeclipseworkspace_tool_beansPerfactEAR5PerfactEAR5.ear' on the server.[ deployerId=36 ]
    12:24:56.778 [debug #300]  [#36]: DeployProcessor::uploadItemsToServer:[ deployerId=36 ], transactionId=347::File 'C:Program FilesSAPDevStudio_oldeclipseworkspace_tool_beansPerfactEAR5PerfactEAR5.ear' uploaded successfully as 'C:/SAP/JP1/JC02/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/347/PerfactEAR5.ear'. Time:[id:#217, elapsed: 454 ms.]
    12:24:56.778 [debug #300]  [#36]: DeployProcessor::uploadItemsToServer:[ deployerId=36 ]::Archives uploaded.time:[#217: 0.454 sec]
    12:24:56.778 [debug #100]  [#36]: DeployProcessor::deployItems:enter.timerId=218.[ deployerId=36 ]
    12:24:56.778 [info  #200]  [#36]: component version handling rule is UpdateAllVersions.[ deployerId=36 ]
    12:24:56.981 [info  #200]  [#36]: Error strategies[ deployerId=36 ]:
    12:24:56.996 [info  #100]  [#36]: deployer initialized successfully:[id:#219, elapsed: 203 ms.].[ deployerId=36 ]
    12:24:56.996 [info  #100]  [#36]: Total time:[#219: 0.218 sec].[ deployerId=36 ]
    12:24:57.012 [info  #200]  [#36]: Starting deployment.[ deployerId=36 ]
    12:25:12.106 [info  #500]  [#36]: Deployment Exception during deployment phase 'DeploymentException',cause=An error occurred while deploying the deployment item 'sap.com_PerfactEAR5'.; nested exception is:
         java.rmi.RemoteException:  class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: sap.com_PerfactEAR5
    sdu file path: C:SAPJP1JC02j2eeclusterserver0temptc~bl~deploy_controllerarchives347PerfactEAR5.ear
    version status: HIGHER
    deployment status: Admitted
    description:
              1. Error:
    Cannot update application sap.com/PerfactEAR5. Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ..
    Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:
         java.rmi.RemoteException:  class com.sap.engine.services.deploy.server.utils.DSRemoteException: Cannot update application sap.com/PerfactEAR5. Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ..
    Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:
         java.rmi.RemoteException:  class com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:
         java.rmi.RemoteException:  com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Exception occured during web services deployment. Unable to generate serialization framework for web service DummyWebServiceBeanService, application sap.com/PerfactEAR5.; nested exception is:
         java.rmi.RemoteException:  com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    12:25:12.293 [info  #500]  [#36]: Deployment Items status: '
              ----- Sorted Items -----
         1. Client path 'C:Program FilesSAPDevStudio_oldeclipseworkspace_tool_beansPerfactEAR5PerfactEAR5.ear'
         Sdu info :name 'PerfactEAR5', vendor 'sap.com', location 'localhost', version '2006.11.13.12.24.52', software type ('J2EE', sub type ''), dependencies :[none]
              Deploy status is 'Aborted'
              Time statistics( ms ):
                   1.deployment : 9953
                        1.1.Bulk deployment : 9953
                             1.1.1.Stop : 31
                             1.1.2.Perform delivery : 9922
                                  1.1.2.1.Application Deployer : 9922
                   2.Post process : 422
                        2.1.Starting : 422
              Description:'1. Error:
    Cannot update application sap.com/PerfactEAR5. Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ..
    Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:
         com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
              2. The deployment item could not be delivered. The reason is: An error occurred during deployment of sdu id: sap.com_PerfactEAR5
    sdu file path: C:SAPJP1JC02j2eeclusterserver0temptc~bl~deploy_controllerarchives347PerfactEAR5.ear
    version status: HIGHER
    deployment status: Admitted
    description:
              1. Error:
    Cannot update application sap.com/PerfactEAR5. Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ..
    Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:
         com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
    . Cannot update it.'.
              ----- Deployment Items -----
         1. Client path 'C:Program FilesSAPDevStudio_oldeclipseworkspace_tool_beansPerfactEAR5PerfactEAR5.ear'
         Sdu info :name 'PerfactEAR5', vendor 'sap.com', location 'localhost', version '2006.11.13.12.24.52', software type ('J2EE', sub type ''), dependencies :[none]
              Deploy status is 'Aborted'
              Description:'1. Error:
    Cannot update application sap.com/PerfactEAR5. Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ..
    Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:
         com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
              2. The deployment item could not be delivered. The reason is: An error occurred during deployment of sdu id: sap.com_PerfactEAR5
    sdu file path: C:SAPJP1JC02j2eeclusterserver0temptc~bl~deploy_controllerarchives347PerfactEAR5.ear
    version status: HIGHER
    deployment status: Admitted
    description:
              1. Error:
    Cannot update application sap.com/PerfactEAR5. Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ..
    Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:
         com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
    . Cannot update it.'.
    12:25:12.434 [debug #300]  [#36]: DeployProcessor::deployItems:finally.Total Time:[#218: 15.656 sec].[ deployerId=36 ]
    12:25:12.434 [info  #200]  [#36]: +++++ End  D E P L O Y action +++++[ deployerId=36 ]. Total time:[#216: 16.547 sec]
    Can anyone help me? The deployment trace looks like there is a problem with the serialization framework. But my DO is totally Serializable, meaning all  referencing interfaces and classes implement Serializable.
    Thanks in Advance

    Hi Martin,
    It's good that you have come to the cause of the problem by yourself. Yes, the Sun serialization framework does not support interfaces as web method parameters. This is "hidden" in the exception
    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    I agree that it's not quite obvious from the exceptions in the Deploy View Console, however if you have had a look into the server log files (in <Install_Dir>/JP1/JC00/j2ee/cluster/server0/log) you would probably have found more detailed information about the root cause.
    Regarding the second issue, this is exactly how the WebService specifications define the case. You are probably right to some extent in your assumption about the WebMethod annotation, but the specs seem to treat it in a bit different way. See Web Services. The bottom line is that all public methods except those annotated with @WebMethod(exclude=true) will be exposed as web service operations.
    Hope that clarifies a bit!
    -Vladimir

  • J2ME Web Services proxy

    I try to register a web service with mobile studio,
    (I use my account on studio.oraclemobile.com) so as to generate J2ME stub and run the service in proxy mode.
    The problem is, whichever URL I put for wsdl files, I get "The URL you entered does not contain a valid WSDL file." The URLs are correct, I tried many of them, including all given in 9iAS Wireless 904 docs, like
    http://www.xmethods.net/sd/2001/TemperatureService.wsdl
    http://www.xmethods.net/sd/2001/FedExTrackerService.wsdl
    as well as some others.
    I can view these WSDL files in browser and can't understand why they would be invalid.
    I wanted to check proxying feature with Mobile Studio first, then migrate it to a running 9iAS server - I have already tried Mobile Studio AND 9iAS, and both failed.
    Is there something I do wrong?
    Anyone, I will appreciate any help on that.
    Thanks
    Pawel

    Thomas,
    I checked the HTTP header I receive when "manually" requesting WSDLs. No encoding is shown, so I guess it's default UTF-8, and content-type is text/xml. What else could possibly go wrong?
    I also checked those WSDLs with a few validators (both online and offline like XMLSpy), documents were well-formed as well as valid.
    Any hint why I still can't get it to work?
    If there is a public available Web Service that you tried and know works well with Mobile Studio (or 9iAS),let me know the URL please.
    I suppose there is no problem with URLs themselves as (1)I successfully registered a multichanell application in Mobile Studio fetching Simple XML from external URLs, (2)I can view those WSDLs as "plain" XMLs in IE6.0..
    Pawel

  • Export with crystal reports as web service

    In order to create 3 tier architecture for security enhancments, I am using crystal feature to publish report as web service. As far displaying these reports on viewer is concerned, I have got that part working by setting the datasource to asmx and then using the viewer to set the parameters and logon information.
    However currently I also have export button on the UI which basically used the ReportDocument and wrote the excel to Http stream. And this is the part where I am now struggling with crystal as web service as it does not expose ReportDocument. I have scanned all forums and have been googling for a while but reaching nowhere.
    Please help if someone has already dealt with similar problem.
    Thank you.

    I don't think you will be able to do this from the button. Reason is that the web service only works with the viewer and there is are no exposed export API associated with the viewer. The only export APIs are based off of the report document object.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Parameter passing for custom web service reports

    <p>Hi,</p><p>I created a report file and published it as a .Net web service. I was able to set the web service to a report viewer in my windows application. I am using Crystal Reports Version 11 R2 and Visual Studio 2005 for my development.</p><font size="2" color="#008080">ReportWebService</font><font size="2"> service = </font><font size="2" color="#0000ff">new</font><font size="2"> </font><font size="2" color="#008080">ReportWebService</font><font size="2">(); </font><font size="2"><p>crystalReportViewer1.ReportSource = service;</p></font><p>Now, my question is how do I pass a parameter from the windows application to the custom report web service. It does not seem to accept any paramters through constructors or other custom web methods.</p><p>If I need to change my design or approach, I am welcome to that as long as I am able to host the report file on a central location. The .rpt file (exposed by the web service) does not have any parameters but the data population logic inside the web service might be based on some conditions which I need to pass as parameter.</p><p>Thanks in advance.Regards, Gulzar</p>

    <p>When using a Report Web Service, you must use the Viewer&#39;s SDK to interact with the report. So in your case, if you want to pass parameters to the report, the viewer exposes a ParameterFieldInfo property that you can set. You can download samples on how to do this or check out the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm" target="_blank">DevLibrary</a> for more details.</p><p>However, one of your last statements you said your report does not have any parameters but your web service does.....could you elaborate on that?  Did you modify the .asmx that is autogenerated to add/modify the web service methods?  If so, then you will not be able to pass parameters to the new/modified web service.  The autogenerated web service for the report cannot be modified in this way since the viewer is designed to use the web services methods as-is.   In other words, the viewer is the only client/consumer of the Report Web Service so any interaction you want with the report must be done through the viewer, if the viewer exposes the functionality.  </p><p>In general, because the viewer is the only supported consumer of the Report Web Service, there are many limitations to interacting with the report.  Depending on how much control you want over the report at runtime, you may not want to use Report Web Services.  If you want to centralize reports for a Windows application, your best option is to load the reports from a network share using a UNC path when loading the report.  Of course, this assumes your application is running from some kind of internal network.  Any other kind of solution to centralized reports would require a web-based solution.</p><p>If you must use a Windows application, then you could host a IE control on your form that accesses a web page that displays reports but then you would have to develop and support a web application in addition to your windows application.  It&#39;s not the best solution but it&#39;s an option!  :-)</p><p>-MJ</p>

Maybe you are looking for