Toplink Facade as Web Service - List E shows up as collection of "anyType"

I'm exposing a toplink facade as a web service and one of the functions requires a List<E> parameter. This works fine, except that when the web service is generated, the datatype expected is "anyType" which shows up on the invoke page on OC4J. This would be ok if I were taking a simple value, but I'm wanting to fill in fields for the model via the web service.
I did discover that if my function takes an array E[] then it will work like I want it, but this isn't true for 1-many mappings where the datatype is of List<E>. Can the datatype of the 1-many fields be set to an array? Or does it have to be a collection object?

I'm beginning to think that JDeveloper is actually not set up to work with custom serializers.
<P>
I have tried following Implementing Custom Serialization of Java Value Types
but if I edit a file such as oracle-webservices.xml, or the service end-point interface, it just gets overwritten by JDeveloper when regenerating the web-service, or I just get a load of errors when regenerating the web-service.
<P>
I don't want to get locked into something that I cannot modify at a later date for fear of breaking it.
Again, has anyone got any ideas, it can't be that unusual to want to provide a grid of numbers as a web service.
<P>
<P>
Chris<br>
Java, tutorials and more

Similar Messages

  • Web Service ASMX parameter show twice and i only need one

    I'm sorry, i don't found appropiate category for this question.
    I have this code is web service asmx
    Public Structure AA
    Public Num As String
    End Structure
    Public Structure Resp
    Public Ret As String
    Public Men As String
    End Structure
    <WebMethod> _
    Public Function RecTab(ByVal dd As List(Of AA)) As Resp
    Dim strucResp As New Resp
    'Do something
    strucResp.Ret = "0"
    strucResp.Men = "Message"
    Return strucResp
    End Function
    When i publish, SOAP 1.1 show AA twice and just need one
    <soap:Body>
    <RecTab xmlns="http://tempuri.org">
    <dd>
    <AA>
    <Num>string</Num>
    </AA>
    <AA>
    <Num>string</Num>
    </AA>
    </dd>
    </RecTab>
    </soap:Body>
    I try with
    Public Function RecTab(ByVal dd As AA) As Resp
    but on SOAP 1.1 doesn't show AA, i get this
    <soap:Body>
    <RecTab xmlns="http://tempuri.org">
    <dd>
    <Num>string</Num>
    </dd>
    </RecTab>
    </soap:Body>
    I need three levels dd, AA and Num, but just once. How i do to get this?
    <soap:Body>
    <RecTab xmlns="http://tempuri.org">
    <dd>
    <AA>
    <Num>string</Num>
    </AA>
    </dd>
    </RecTab>
    </soap:Body>
    Thanks

    Hi Dave
    I checked your account and saw that the duplicate subscription has been cancelled and a refund processed.
    Kind regards
    Bev

  • Web Services do not show up in the console

    I am using WebLogic 10.3 on Ubuntu. I have an application that has some web services using JAX-WS. I can deploy these on weblogic and they work fine (I can create a client app to call them). However, I do not see these services from the WebLogic console when I click on the deployments link.
    I can create a new web application using IntelliJ that has JAX-WS web services. This app has one class, web.xml and sun-jaxws.xml. When this is deployed, the web service shows up in the Weblogic console under "Modules and Components". I have looked at the differences between the two applications and I do not see any.
    Is there any trick to get the Web Services to display in the Weblogic console?
    Thanks

    You're welcome

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

  • Unable to see web service listed  while  creating the form on webservice

    Hi All,
    i created a web service reference and tested it and i m even getting the response of it .
    but i m unable to see the webservice being listed ...while creating a form on webservice .
    whereas if i create a process on webservice .. i can find webservices in the webservice list .(.the webservice which i created in the shared component)
    can anyone help me ...
    Thanks & Regards,
    Nandini Thakur.

    that should be an easy one. you might not have the GP roles needed. give to your user the caf roles in the UME

  • Complete web service message not showing next operation

    Hi,
    When sending Xchange complete message, the response shows the next operation. But when using web service for complete the response shows the next queue operation as the same as I have done complete for. Have anybody seen this before and know a solution? I have tested both in 5.2 and 6.0
    <PRODUCTION_REQUEST>
       <COMPLETE>
          <SFC_LIST>
             <SFC>
                <SITE>KRHALL</SITE>
                <ID>SE11410000</ID>
                <RESOURCE>X-LINE</RESOURCE>
                <OPERATION>SM2</OPERATION>
                <USER>JONORD</USER>
             </SFC>
          </SFC_LIST>
       </COMPLETE>
    </PRODUCTION_REQUEST>
    <PRODUCTION_RESPONSE>
      <COMPLETE>
        <SFC_LIST>
          <SFC>
            <ID>SE11410000</ID>
            <ITEM>3EST000215-9384</ITEM>
            <ROUTER>3EST000215-9384</ROUTER>
           <STEP_ID>021</STEP_ID>
           <REWORK>false</REWORK>
           <QTY>1</QTY>
           <TIMES_PROCESSED>1</TIMES_PROCESSED>
           <STEP_COMPLETED>true</STEP_COMPLETED>
           <DONE>false</DONE>
           <DATE_TIME>2012-02-22T14:59:19.320Z</DATE_TIME>
          <QUEUED_STEPS>
             <QUEUED_STEP>
               <ROUTER>3EST000215-9384</ROUTER>
               <STEP_ID>030</STEP_ID>
               <OPERATION>AOI</OPERATION>
            </QUEUED_STEP>
         </QUEUED_STEPS>
       </SFC>
    </SFC_LIST>
    </COMPLETE>
    </PRODUCTION_RESPONSE>
         <me:CompleteRequest_sync>
             <me:CompleteRequest>
                <me:SiteRef>
                   <me:Site>KRHALL</me:Site>
                </me:SiteRef>
                <!1 or more repetitions:>
                <me:SfcRequest>
                   <me:SfcRef>
                      <!You may enter the following 2 items in any order>
                      <me:Sfc>SE1141000A</me:Sfc>
                   </me:SfcRef>
                   <me:ResourceRef>
                      <!You may enter the following 2 items in any order>
                      <me:Resource>X-LINE</me:Resource>
                   </me:ResourceRef>
                   <me:OperationRef>
                      <!You may enter the following 3 items in any order>
                       <me:Operation>SM2</me:Operation>
                      <me:Revision>#</me:Revision>
                   </me:OperationRef>
                   <me:UserRef>
                      <!You may enter the following 2 items in any order>
                      <me:UserId>JONORD</me:UserId>
                   </me:UserRef>
                </me:SfcRequest>
             </me:CompleteRequest>
          </me:CompleteRequest_sync>
             <ns2:CompleteResponse>
                <ns2:SfcResponse>
                   <ns2:DateTime>2012-02-22T16:45:22.319+01:00</ns2:DateTime>
                   <ns2:Done>false</ns2:Done>
                   <ns2:ItemRef>
                      <ns2:Item>3EST000215-9384</ns2:Item>
                      <ns2:Revision>03</ns2:Revision>
                      <ns2:SiteRef>
                         <ns2:Site>KRHALL</ns2:Site>
                      </ns2:SiteRef>
                   </ns2:ItemRef>
                   <ns2:Quantity>1</ns2:Quantity>
                   <ns2:QueuedStep>
                      <ns2:OperationRef>
                         <ns2:SiteRef>
                            <ns2:Site>KRHALL</ns2:Site>
                         </ns2:SiteRef>
                         <ns2:Operation>SM2</ns2:Operation>
                         <ns2:Revision>1</ns2:Revision>
                      </ns2:OperationRef>
                      <ns2:RouterRef>
                         <ns2:SiteRef>
                            <ns2:Site>KRHALL</ns2:Site>
                         </ns2:SiteRef>
                         <ns2:Router>3EST000215-9384</ns2:Router>
                         <ns2:Revision>03-02</ns2:Revision>
                         <ns2:RouterType>U</ns2:RouterType>
                      </ns2:RouterRef>
                      <ns2:StepId>021</ns2:StepId>
                   </ns2:QueuedStep>
                   <ns2:Rework>false</ns2:Rework>
                   <ns2:RouterRef>
                      <ns2:SiteRef>
                         <ns2:Site>KRHALL</ns2:Site>
                      </ns2:SiteRef>
                      <ns2:Router>3EST000215-9384</ns2:Router>
                      <ns2:Revision>03-02</ns2:Revision>
                      <ns2:RouterType>U</ns2:RouterType>
                   </ns2:RouterRef>
                   <ns2:SfcRef>
                      <ns2:Sfc>SE1141000A</ns2:Sfc>
                      <ns2:SiteRef>
                         <ns2:Site>KRHALL</ns2:Site>
                      </ns2:SiteRef>
                   </ns2:SfcRef>
                   <ns2:StepCompleted>true</ns2:StepCompleted>
                   <ns2:StepId>021</ns2:StepId>
                   <ns2:TimesProcessed>1</ns2:TimesProcessed>
                </ns2:SfcResponse>
             </ns2:CompleteResponse>

    Hi,
    I have now raised a ticket for this issue.
    Br,
    Johan

  • Web services list

    Hello
    can sombody tell me were I can finde a list of all the
    Web services that was build by SAP ?
                                              Thanks

    Thanks Daneil
      Actually i needed list of Webservices which are already present in R/3 which are available for Mobile sales Application.
    Do we have some TCODE to get the list of All Webservices , i have tried with tstc table but couldnt find relavent one.
    May i have any idea , how many ( number ) standard webservices are present in R/3 ?
    pls Guide ..
    Regards
      Ravi

  • TopLink JAXB and Web services

    Does anyone know if it's possible to remove the ns info written on the top of the XML produced by the JAXB derived classes?
    <Activ8XML xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    I'm asking that, because the following exception
    oracle.xml.parser.v2.XMLParseException: PI with the name 'xml' can occur only in the beginning of the document
    is thrown when the webservice attempts to return the generated xml element.
    Any ideas?

    Hi Blaise,
    I'm marshalling the object to a org.w3c.dom.Document and then I return it cast to org.w3c.dom.Element, which is the class the web service client is expecting to receive back.
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setNamespaceAware(true);
    DocumentBuilder db = dbf.newDocumentBuilder();
    doc = db.newDocument();
    marshaller.marshal( activ8XML, doc );
    return (Element)doc;
    When I look at the JDev9i (9.0.3.10.35) TCP packet monitor... it's doing the job, but the <?xml is still there in the response causing the client to throw
    oracle.xml.parser.v2.XMLParseException: PI with the name 'xml' can occur only in the beginning of the document
    If I marshall it to a java.io.PrintStream, the <?xml disappears
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    PrintStream ps = new PrintStream(baos);
    marshaller.marshal( activ8XML, ps );
    return baos.toString();
    The version of OC4J I'm using is the 9.0.3.0.0, which has the original xmlparserv2.jar replaced with the version that comes with toplink dp4.
    I think that the developer of the client can live with the String object, but it would be nice to return the org.w3c.dom.Element object instead.
    Any suggestion?

  • Should ADF tables created for Toplink or Web Services behave the same?

    In JDev 11g TP3, When you drag the collection data control onto a JSF, should the read only tables created from either Toplink objects or Web Service Data Controls look and behave the same? I am not able to get tables created with Web Service Data Controls to work the same as those shown in tutorials or examples.
    Thanks,
    Al

    Not so sure, 11G does seem to generate all of the controls for the response elements, even those that have nested complex types such as the one enclosed. Used the 11G TP3 Web Service Data Control wizard and all of the nested controls showed up. BUT, when dropped onto a JSF, they do not work the same as the tutorials and examples. So, I'm either doing something wrong or the controls are not working properly.
    Should I not use the 11G WSDC and just follow your example in complex return types? Or are there other steps or settings in the 11G WSDC that I need to discover (they're not documented) in order to make ADF tables work with the 11G WSDC? If so, can you help?
    <xsd:element name="PanelData" type="ns1:PanelData"/>
    <xsd:complexType name="PanelData">
    <xsd:sequence>
    <xsd:element name="lotinfo" type="ns1:LotInfoData" minOccurs="1" maxOccurs="1"/>
    <xsd:element name="backglass" type="ns1:LotInfoData" minOccurs="1" maxOccurs="unbounded"/>
    <xsd:element name="frontglass" type="ns1:LotInfoData" minOccurs="1" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>

  • Web Service not showing up on Web Service Browser

    Hello,
    I exposed a BAPI through manual as well as Wizard method. I created a virtual interface, then web service definition, and then released. I can see it in WSCONFIG transaction.
    However, the web service doesn't show up in the Web Service Browser. What could I be missing?
    We have tried purging the cache, bouncing ICM and even restarting the whole SAP server. But it seems that the Web Service Browser doesn't pick up changes.
    I was told to look into BOR. What transaction do I use to view the BOR?
    Thank you.
    Rahul

    Rahul,
    Are you able to see it as a part of the Repository Information system in SE80 transaction? It should be under the Enterprise Services --> Web Service Library.
    If you are able to see it there, please check if you are able to see an entry for the same in the SICF transaction. You should find in the tree something like - /sap/bc/srt/rfc/sap.
    If you are unable to find it here, then there has been a problem with the activation of all the components of the Web Service. Please check that.
    Regards,
    Ravi
    Note : Please reward points if this helpful.

  • How to display web service child attributes in an adf table

    I have a web service that return a Patient object and here is the Patient object definition in Java format:
    public class Patient
    String name;
    Address[] address;
    String mrn;
    public class Address
    String addressType;
    String[] streetline;
    String city;
    String state;
    String country;
    I want to create an adf table that displays the patient name, patient home address and mrn. When I create a data control base on the WSDL and drag the nested child address but the address does not show up in the adf table. What is the solution to display a web service top object attributes and child object attributes in one adf table?
    Thanks.

    Thanks for your response.
    After reading the link that you provided, the link seems to show how to resolve the web service complex type that is not display correctly in data control. My web service return type shows up correctly in the data control. Actually most of our child attribute is using complex type,
    Public class Patient
    Name name;
    String mrn;
    Address[] address;
    Public class Name
    String personFirstName;
    String personLastName;
    String orgName;
    I have tried the following approaches:
    1. Create web service data control based on a WSDL, try to display mrn, person first name (child attribute) and person last name (child attribute) in an adf table, when running the UI, there is only mrn attribute shows up. Even it is one-to-one cardinality I cannot have the child attribute's value show up.
    2. Create a java bean that has the exact attributes that are needed for the adf table region. Create a POJO facade class that has a method that return this java bean. I then create data control for this POJO facade class. The adf UI will base on this POJO facade. I have included the code in the POJO facade method to call the web service proxy and when get the web service return complex type; I have to programmatically map the attributes back to the java bean.
    The second approach is working but I need to write extra code to map the web service return type to the java bean. Is there any other option?
    Thanks.

  • Complex data to web service

    I have read many posts and alot of documentation and would
    just like to confirm that it is NOT possible to pass what you could
    consider "complex" data to a web service. Data that is in an array,
    ArrayCollection, or even a actionscript class, that I need to pass
    to a .net web service (c# or vb.net) does not come out on the other
    side. I have tried making the .net web service parameter an object,
    array, arraylist, byte array, xml node, etc -- nothing happens.
    Am I wrong? If so, could anyone provide some code (on both
    the Flex 2.0 and .net web service side) that shows how to take the
    complex data sent from Flex to the web service and actually
    properly read the data in the web service. The intent would
    obviously to update a SQL Server database.
    Currently, my Flex web service calls have many many parameter
    tags under the <mx:request> tag - each one corresponding to
    the input parameter of the .net web service. My intent is to
    simplify the input parameters on both sides.
    Again, am I waiting for Flex 3.0 or am I just a little
    slow?

    Thank you for your reply. However, I have no problem getting
    data into Flex from .net (web service). It is getting data from
    Flex back into .net (web service) that I have an issue with. I can
    pass simple strings, numbers, bool, etc but it is when I try to
    pass ArrayCollections, actionscript classes , etc from Flex to .net
    that I can not seem to get it to work. Any help in this area would
    be greatly appreciated.
    Steve

  • SSIS Web Service Complex Type Inputs

    Hi,
    I am trying to make a call to a third-party web service in my SSIS package.  The request has custom complex data type as the parameter.  As has been pointed out in this forum before, the Web Service Task only lets you assign the outside parameter from a variable, not the internal parameters needed to create the complex data type. 
    To be more specific, the web service input wants a 'ContactSearchRequest' parameter.  I can assign this from a variable.  If I click on the 'value' field under the 'Input' section for the web service task, it shows me that the 'ContactSearchRequest' data type is made up of the following:
    contactId - long
    numResults - int
    offset - int
    passKey - string
    searchParam - string
    sortType - int
    Unfortunately, I can't assign these internal parameters from a variable, at least not through the web service task interface.
    My next thought was to create a variable of type 'object' and then set it in a script task prior to calling the web service task.  However, I'm not sure exactly how to do this.  How will my script know about the class definition of 'ContactSearchRequest'?  Do I just create a class called 'ContactSearchRequest'?
    I've used this same web service in a .NET C# project and after I imported the web service, visual studio knew all about the custom data types.  How do I do something similar in SSIS?
    Of course, the easiest solution would for Integration Service to allow me to set those internal parameters via variables, but we're apparently not there yet.
    Any suggestions?
    Thanks,
    Trey

    Hi All,
    I am trying to pull the data from a webservice. The method expects 5 parameters out of which one is a complex type. And it is fine to pass Null value for this parameter.
    The method expects a complex data type UrlReportFilter
    as follows:
    <simpleType name="UrlReportFilterOperatorEnum">
     <restriction base="xsd:string">
    <enumeration value="contains"/>
    <enumeration value="starts_with"/>
    <enumeration value="ends_with"/>
    <enumeration value="not_contains"/>
    <enumeration value="not_starts_with"/>
    <enumeration value="not_ends_with"/>
    <enumeration value="match_regular_expression"/>
    <enumeration value="not_match_regular_expression"/>
    <enumeration value="exact_match"/>
    </restriction>
    </simpleType>
    <complexType name="UrlReportFilter">
    <sequence>
    <element name="caseSensitive" type="xsd:boolean"/>
    <element name="operand" nillable="true" type="xsd:string"/>
    <element name="operator" nillable="true" type="akaaimsdt:UrlReportFilterOperatorEnum"/>
    </sequence>
    </complexType>
    How to assign values and use this in VB.NET code? 
    I am using following code to assign the values to the properties in VB.NET code in Script task but it is throwing the error below:
     Dim vUrlFilter As New Akamine.UrlReportFilter With {.caseSensitive = False, .operand = ""}
    Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Web.Services.Protocols.SoapException: AWSFault:Error in processing:(com..aws.services.exceptions.InvalidColumnException: Invalid column:
    for report:H
    Any help on this would be appreciated!!
    Thanks,
    Ruby
    Thanks & Regards

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

  • Problem for web service path for Xcelsius engage in flash object

    Hi, All
    I had created one xcelsius through Web Service of SAP B1.it works well.
    but when I run the flash object came from xcelsius by explorer,it gives one message
    "Can not access external data"
    thier I have to give path for swf file and web service path -- (which is given at the time of connection of xcelsius through web service in data manager)
    and I have to run the web service then it shows
    the dash board made from Xcelsius very well.
    but when i change the path of same web service to other m/c then flash file does work and it gives message
    "Can not access external data"
    but in practical my web service path can be changed, it should not fixed for path which is given in data manager in Xcelsius.
    I am using Xcelsius Engage 2008 sp3
    please give suggetions for solve the problem
    thanks in advance

    Hi Venky CRMIT, Bruce007
    Aside from the question, I tried another methods and I have succeeded calling webservice. A reference URL is
    http://www.webbasedcrmsoftware.com.au/crm-on-demand-tutorials/65-java-access-to-crm-on-demand#_Toc224720963
    Main cause may be jsessionID as you guess. When I try with EAI, I have send login information and message call at once, so URL may be incorrect.
    Thank you for your help.

Maybe you are looking for