Generic connector with webservice and SPML provider

Hi,
I have created a Generic connector in Oracle Identity server successfully with Webservice transport porvider and SPML payload provider. But when I am trying to create a user using this connector I am getting following error in OIM server log:
AJPRequestHandler-RMICallHandler-20 XELLERATE.WEBAPP - Setting the response code as GCPROV.ProvTransportProvider.WebServices.Caught exception while handling request: malformed array t
Can anyone please help me regarding this? I am even not able to identify where it is getting failed.
Thanks in advance

This is what I've found in the docs:
"Each SPML request is sent in a SOAP message. The SOAP header carries authentication information for the request. The actual SPML request data is the SOAP message body. "
All I'm trying to do is create a SOAP web service (in this case with Java 6, but that's not fundamental) that can intercept that message and grab the SPML request (and then do what I have to do).
I tried with something like the following code:
package wsspml;
import javax.jws.WebService;
import java.io.IOException;
import java.util.logging.*;
@WebService
public class SPMLServer {
     public String processRequest(String requestData) {
but it won't work. It's like the exposed SOAP method "processRequest" is invisible. It's not being called. Perhaps the signature is wrong. I don't know what to make of it. I'm trying to understand how to grab that SPML request that's coming from OIM through the custom generic technology connector that I configured.

Similar Messages

  • What's up with Webservices and BPM integration?

    According to http://e-docs.bea.com/wli/docs70/design/intarch.htm, table
    3-1, webservices are a key component of the Integration architecture,
    which:
    "Provides sample code to support WebServices integration using
    WebServices technologies
    such as UDDI, WebServices Description Language (WSDL), and Simple Object
    Access
    Protocol (SOAP). WebLogic Integration provides the ability to invoke a
    WebService
    from a BPM workflow, enable a BPM workflow as a WebService, and to
    enable the
    Application View as a WebService. For an introduction to WebLogic
    WebServices,
    see the WebServices and XML Tech Track in the BEA dev2dev Online at the
    following
    URL:
    http://dev2dev.bea.com/index.jsp"
    The only thing which comes close to this description is the BPM Plugin
    for webservices, which is alpha code for WLI 2.1. To deploy this on 7, I
    have only seen a message here describing loosely what to do.
    So is this how we are expected to use webservices together with
    Integration? With alpha code that requires tweaking to work with the
    current version? Or am I missing something vital? The quote from the
    docs suggest "sample code", however the webservices plugin is not
    provided in source, so I don't see how it qualifies as sample code?
    Somehow I also don't quite understand how "sample code" can be construed
    as a "key component".
    So what's up with webservices and Integration?
    -Lasse
    (only speaking for myself in news!)

    Your comment about the lacking of web services in WLI is correct
    and a fundamental issue I have signalled to BEA already many
    months ago. I even followed the BPM course to make sure I did
    not miss an important point. The BPM course did not deal with
    webservices because it is not available. But the fundamental remark goes further
    because webservices also have a dynamic
    interface WSCI to behave within a choreography of webservices
    within a business process. BPM is still mainly workflow based
    and intracompany. This is not what is expected as business
    processes which are collaborative and a new paradigm alternative for applications
    conform BPML-WSCI or BPEL4WS-ws transaction.
    I still wait from BEA a confirmation that webservices and collaborative business
    processes according to (at least) one of
    the above standards will be included within the next version of weblogic enterprise
    platform due end of March 2002.
    Kind regards,
    Paul Meurisse
    Email : [email protected]

  • Trouble with WebServices and LiveCycle Designer ES 8.2.1.3

    Hi,
    Eventually I want to create a rather complex form that users will use to create a Change Request in our ticketing system through a webservice exposed by the same ticketing solution.  However, right now I'm just attempting to create a very simple form as proof of concept.  It's connected to a webservice that accepts two inputs a string and a datetime and returns 4 or 5 values that aren't necessary to display on the form but would be nice.
    I've made the Data connection using the wizard and input the correct WSDL location and ES2 does see the webservice and pulls in the fields, including the execute button, that corresponds to the webservice.  However, once I populate the fields and attempt to execute the call with the pre-packaged button, nothing happens. No errors and the call is never sent to the server.  I've independantly verified that the webservice is reachable via the computer that I'm testing with and also that's it's accessible via others on the network.  What appears to happen is that the call to the webservice is never sent from the PDF.  If I change the execution option from Client to Server then I get an error message as such "Couldn't post data to''.  Which makes sense, I think, since I don't have a LiveCycle Server.
    Can anyone help?  What am I doing wrong?  I'd attach the file, but I don't seem to have the option.
    Thanks,
    CJ

    Are you testing in Acrobat or Reader. My guess is Reader.....Reader does not support Web Service calls on its own. You can Reader Extend the form to allow Reader to do the Web Service call. To be able to do that you will need LiveCycle Reader Extensions server to do the extending for you.
    For testing I suggest that you download the trial version of Acrobat (it does not have this restriction) and see if it satisfies your needs. Then you can decide if it is more economical to buy Reader Extensions server or buy copies of Acrobat for your users.
    Hope that helps
    Paul

  • Generic Datasource with Delta and functionmodule

    Hi together,
    who can help me ??
    Ihave created a generic datasource with function module and
    delta.
    the extractor runs well while i use full update and also initialization.
    If i start the delta extraction, the extractor crashed with short-dump.
    the message is SAPSQL_INVALID_FIELDNAME
    What can i do, and what is wrong.
    regards
    thorsten Weiss

    Hi Roberto,
    here is the code from the function-module:
    FUNCTION zbw_mm_get_eket.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SBIWA_S_INTERFACE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SBIWA_S_INTERFACE-ISOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SBIWA_S_INTERFACE-MAXSIZE DEFAULT 1000
    *"     VALUE(I_INITFLAG) TYPE  SBIWA_S_INTERFACE-INITFLAG OPTIONAL
    *"     VALUE(I_READ_ONLY) TYPE  SBIW_BOOL DEFAULT SBIW_C_FALSE
    *"  TABLES
    *"      I_T_SELECT TYPE  SBIWA_T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SBIWA_T_FIELDS OPTIONAL
    *"      E_T_DATA OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
      INCLUDE lrsalk01.
    DataSource for table EKET
      TABLES: zv_mm_eket.
    interne Tabelle für Bearbeitung
      DATA:   itab_0 TYPE TABLE OF zstr_eket WITH HEADER LINE.
      TYPES: BEGIN OF typ_categ,
              j_4kbwef    TYPE atnam,
              /afs/bwel   TYPE j_4kbwef,
             END OF typ_categ.
      DATA: l_s_data_eket  TYPE zstr_eket,
            ld_cat_struct  TYPE j_4kcsgr,
            lt_cat_fields  TYPE TABLE OF j_4kcif001,
            ls_cat_fields  TYPE j_4kcif001,
            ls_mara        TYPE mara,
            l_tabix        LIKE sy-tabix,
            itab_cat       TYPE TABLE OF typ_categ ,
            ls_cat         TYPE typ_categ,
            h_feldsize1(8)        TYPE c,"wegen Typ-konflikt im FB
            h_feldsize2(8)        TYPE c."wegen Typ-konflikt im FB
    Auxiliary Selection criteria structure
      DATA: l_s_select TYPE rsselect.
    Maximum number of lines for DB table
      STATICS: s_t_select     LIKE rsselect OCCURS 0 WITH HEADER LINE,
               s_t_fields     LIKE rsfieldsel OCCURS 0 WITH HEADER LINE,
    counter
              s_counter_datapakid LIKE sy-tabix,
    cursor
              s_cursor TYPE cursor.
    Select ranges
      RANGES: l_r_ebeln       FOR zv_mm_eket-ebeln,
              l_r_ebelp       FOR zv_mm_eket-ebelp,
              l_r_bsart       FOR zv_mm_eket-bsart.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF i_initflag = sbiwa_c_flag_on.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        CASE i_dsource.
          WHEN 'ZDS_V_MM_EKET'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE e009(r3). ENDIF.
    this is a typical log call. Please write every error message like this
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      i_dsource            "message variable 1
                      ' function modul was created for DS ' &
                      'ZDS_V_MM_EKET"!'.
            "message variable 2
            RAISE error_passed_to_mess_handler.
        ENDCASE.
        APPEND LINES OF i_t_select TO s_t_select.
    Fill parameter buffer for data extraction calls
       S_T_SELECT-REQUNR    = I_REQUNR.
       S_T_SELECT-DSOURCE   = I_DSOURCE.
       S_T_SELECT-MAXSIZE   = I_MAXSIZE.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
        APPEND LINES OF i_t_fields TO s_t_fields.
      ELSE.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        IF s_counter_datapakid = 0.
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
          LOOP AT s_t_select INTO l_s_select WHERE fieldnm = 'EBELN'.
            MOVE-CORRESPONDING l_s_select TO l_r_ebeln.
            APPEND l_r_ebeln.
          ENDLOOP.
          LOOP AT s_t_select INTO l_s_select WHERE fieldnm = 'EBELP'.
            MOVE-CORRESPONDING l_s_select TO l_r_ebelp.
            APPEND l_r_ebelp.
          ENDLOOP.
          LOOP AT s_t_select INTO l_s_select WHERE fieldnm = 'BSART'.
            MOVE-CORRESPONDING l_s_select TO l_r_bsart.
            APPEND l_r_bsart.
          ENDLOOP.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
          OPEN CURSOR WITH HOLD s_cursor FOR
          SELECT (s_t_fields) FROM zv_mm_eket
          WHERE
          ebeln      IN               l_r_ebeln           AND
          ebelp      IN               l_r_ebelp         AND
          bsart    IN             l_r_bsart.
        ENDIF.                             "First data package ?
    Fetch records into interface table.
      named E_T_'Name of extract structure'.
       FETCH NEXT CURSOR s_cursor
                  APPENDING CORRESPONDING FIELDS
                  OF TABLE e_t_data
                  PACKAGE SIZE i_maxsize.
        FETCH NEXT CURSOR s_cursor
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE itab_0
                   PACKAGE SIZE i_maxsize.
        LOOP AT itab_0 INTO l_s_data_eket.
          l_tabix = sy-tabix.
    Lesen Erstellungsdatum aus EKKO
          SELECT SINGLE aedat FROM ekko INTO l_s_data_eket-sydat
                         WHERE ebeln = l_s_data_eket-ebeln.
    Lesen Partner aus EKPA
          SELECT SINGLE lifn2 FROM ekpa INTO l_s_data_eket-plief
                         WHERE ebeln = l_s_data_eket-ebeln AND
                               ebelp = l_s_data_eket-ebelp AND
                               ekorg = l_s_data_eket-ekorg AND
                               werks = l_s_data_eket-werks .
          IF NOT l_s_data_eket-matnr IS INITIAL .
    *A Lesen material für Kategoriestruktur j_4kcsgr(F001 oder R002)
            CLEAR ls_mara.
            CALL FUNCTION 'J_3A1_LESEN_MARA_SINGLE'
                 EXPORTING
                      i_matnr         = l_s_data_eket-matnr
                 IMPORTING
                      e_mara          = ls_mara
                 EXCEPTIONS
                      param_not_valid = 1
                      OTHERS          = 2.
            IF sy-subrc NE 0.
            ENDIF.
    *E Lesen material für Kategoriestruktur j_4kcsgr(F001 oder R002)
    *A Aufsplitten Bestandskategorie
            REFRESH lt_cat_fields.
            CALL FUNCTION 'J_4KG_SPLIT_CAT'
              EXPORTING
                client                            = sy-mandt
                csgr                              = ls_mara-j_4kcsgr
                cat_appl                          = 'S'
                cat_value                         = l_s_data_eket-j_4kscat
      NECESSARY_SPECIFIED               = ' '
              TABLES
                cat_fields_tab                    = lt_cat_fields
              EXCEPTIONS
                no_category_structure_found       = 1
              OTHERS                            = 2.
            IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ELSE."sy-subrc <> 0
    Verarbeitung der Ergebnisse
              LOOP AT lt_cat_fields INTO ls_cat_fields.
                IF ls_cat_fields-j_4kbwef EQ 'BW_CAT_SCONFIG'.
                  l_s_data_eket-zz_bwel_sconfig = ls_cat_fields-j_4kcatv.
                ENDIF.
                IF ls_cat_fields-j_4kbwef EQ 'BW_CAT_CONFIG'.
                  l_s_data_eket-zz_bwel_config = ls_cat_fields-j_4kcatv.
                ENDIF.
                IF ls_cat_fields-j_4kbwef EQ 'BW_CAT_COUNTRY'.
                  l_s_data_eket-j_3abwel_country = ls_cat_fields-j_4kcatv.
                ENDIF.
                IF ls_cat_fields-j_4kbwef EQ 'BW_CAT_COUNTRYGRP'.
                  l_s_data_eket-zz_bwel_coungrp = ls_cat_fields-j_4kcatv.
                ENDIF.
                IF ls_cat_fields-j_4kbwef EQ 'BW_CAT_STOCKTYPE'.
                  l_s_data_eket-zz_bwel_stktype = ls_cat_fields-j_4kcatv.
                ENDIF.
                IF ls_cat_fields-j_4kbwef EQ 'BW_CAT_ORDER'.
                  l_s_data_eket-zz_bwel_order = ls_cat_fields-j_4kcatv.
                ENDIF.
                IF ls_cat_fields-j_4kbwef EQ 'BW_CAT_QUALITY'.
                  l_s_data_eket-j_3abwel_qual = ls_cat_fields-j_4kcatv.
                ENDIF.
              ENDLOOP."lt_cat_fields
            ENDIF.
    *E Aufsplitten Bestandskategorie
    *A Aufsplitten MAtrix
            IF NOT l_s_data_eket-j_3asize IS INITIAL.
              CALL FUNCTION 'J_3A_SPLIT_SIZES'
                   EXPORTING
                        matnr              = l_s_data_eket-matnr
                        j_3asize           = l_s_data_eket-j_3asize
                   IMPORTING
                        j_3akord1          = l_s_data_eket-j_3abwel_color
                        j_3akord2          = h_feldsize1
                        j_3akord3          = h_feldsize2
                   EXCEPTIONS
                        no_grid_determined = 1
                        OTHERS             = 2.
              IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ELSE.
                l_s_data_eket-zz_bwel_size1 = h_feldsize1.
                l_s_data_eket-zz_bwel_size2 = h_feldsize2.
              ENDIF.
            ENDIF."not l_s_data_eket-J_3ASIZE is initial
    *E Aufsplitten MAtrix
            MODIFY itab_0 FROM l_s_data_eket INDEX l_tabix.
          ENDIF."not l_s_data_eket-matnr is initial
        ENDLOOP.                                                "itab_0
      An Ausgabe-Tabelle übergeben
        APPEND LINES OF itab_0 TO e_t_data.
        IF sy-subrc <> 0.
          CLOSE CURSOR s_cursor.
          RAISE no_more_data.
        ENDIF.
        s_counter_datapakid = s_counter_datapakid + 1.
      ENDIF.              "Initialization mode or data extraction ?
    ENDFUNCTION.
    regards
    thorsten

  • Problem with Iphone and telephone provider

    In October last year I bought Iphone 4 in T com Croatia. In the beggining of October 2012 Iphone 4 had a problem with charging. It says charging, but nothing happened. I gave Iphone to telephone provider in order to send it on service because of warranty. After three weeks no information about it. I went there, in T com Pozega, and after I asked about my Iphone, they said, nothing yet. OK, I will wait more, I said. After almoust 4 weaks I went again to t com office in Pozega. Now, again nothing, but person told me that they will contac service Mobis electronic in Zagreb to check. They called me by phone next day and told me that Iphone is out of order because something was spilled on it. Now. I have a big problem. On the Iphone nothing was spilled for sure from my side. I asked them who can garanty that something was not spilled during the time in the T com office or in service. They said, service has a picture to support their report. In other hand, they offer to me to pay 200 euros more, and they will give me new Iphone 4. Just to know, I paid already for Iphone 4 almoust 500 euros. I said no, I want Iphone back, and now I decide to go with another way. I will go to judge and try to get situation to my satisfaction. A lots of information, very bad, I got from other people, and they said, the picture what I received they are sending to everyone the same. And for them it is very easy to ask more money and no repairing with warranty. The picture which I received is nothing, no picture of Iphone, no IMEI, nothing. I hope, you can advice me what to do. I like Iphone so much, and as many people told me, contact Apple, they will help, I am doing that. So, please, help me. Just for your information, they asked 200 euros additional for new, but after that cheaf of T com section in Pozega told me, that normally they are giving new Iphone and no repairing. Why then my Iphone they sent to service. Probably in order to keep money for themselves. I cant do much against service because their words are last, even they are lying to people.
    your Sincerelly
    Damir Kalic
    D. Cesarica 8
    34000 Pozega
    email: [email protected]
    phone: +385993939933, +385992760033

    Getting into a legal battle will cost more than the 200 euros, so that may not provide a solution.  Go to the offices of T-Com and request their "official" first notification of a Customer caused failure of the iPhone.  Tell them you need it to pursue legal action against them for such an accusation and such a long-time to provide such an excuse for trying to extract additional money for your iPhone.  Try to talk with the Manager in charge of the location.  See if he/she is willing to negotiate to an agreeable settlement.  An iPhone 4 replacement should be available to them for far less than 200 euros at this point. 

  • Error with WebServices and object hierarchy

    Hello,
    I'm using Web Services (deployed on Axis Server) with SJC. SJC don't understood the object hierarchy. It's seem to be the same problem than in post http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=50290 and
    http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=52967.
    I have 3 classes.
    GrandSon
    Son with an array of GrandSon
    Father with an array of Son
    The class :
    Father :
    package test;
    public class Father {
         private Son[] theSons;
         public Father()
              theSons = new Son[2];
              theSons[0] = new Son();
              theSons[1] = new Son();
         public Son[] getSons()
              return theSons;
    Son :
    package test;
    public class Son {
         private String name = "Son";
         private GrandSon[] grandSons;
         public Son()
              grandSons = new GrandSon[2];
              grandSons[0] = new GrandSon();
              grandSons[1] = new GrandSon();
         public String getName()
              return name;
         public GrandSon[] getGrandSons()
              return grandSons;
    GrandSon
    package test;
    public class GrandSon {
         String name;
         public String getName()
              return "I'm a Grandson";
    I'm creating the webService from Father JavaBean. Here is the WSDL file generated by wtp plugin for Eclipse :
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://test" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://test" xmlns:intf="http://test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.3
    Built on Oct 05, 2005 (05:23:37 EDT)-->
    <wsdl:types>
    <schema elementFormDefault="qualified" targetNamespace="http://test" xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="getSons">
    <complexType/>
    </element>
    <element name="getSonsResponse">
    <complexType>
    <sequence>
    <element maxOccurs="unbounded" name="getSonsReturn" type="impl:Son"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="GrandSon">
    <sequence>
    <element name="name" nillable="true" type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfGrandSon">
    <sequence>
    <element maxOccurs="unbounded" minOccurs="0" name="item" type="impl:GrandSon"/>
    </sequence>
    </complexType>
    <complexType name="Son">
    <sequence>
    <element name="grandSons" nillable="true" type="impl:ArrayOfGrandSon"/>
    <element name="name" nillable="true" type="xsd:string"/>
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    <wsdl:message name="getSonsRequest">
    <wsdl:part element="impl:getSons" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="getSonsResponse">
    <wsdl:part element="impl:getSonsResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:portType name="Father">
    <wsdl:operation name="getSons">
    <wsdl:input message="impl:getSonsRequest" name="getSonsRequest"/>
    <wsdl:output message="impl:getSonsResponse" name="getSonsResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="FatherSoapBinding" type="impl:Father">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getSons">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getSonsRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getSonsResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="FatherService">
    <wsdl:port binding="impl:FatherSoapBinding" name="Father">
    <wsdlsoap:address location="http://localhost:8080/webServiceSimple/services/Father"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    When I try to call my Web Service in Sun Java Creator, I have this error message :
    InvocationTargetException com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:459)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    deserialization error: unexpected XML reader state. expected: END but found: START
    Runtime exception; nested exception is: deserialization error: unexpected XML reader state. expected: END but found: START: {http://test}grandSons
    com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318)
    com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300)
    webservice.Father_Stub.getSons(Father_Stub.java:68)
    webservice.fatherservice.FatherServiceClient.getSons(FatherServiceClient.java:29)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    deserialization error: unexpected XML reader state. expected: END but found: START: {http://test}grandSons
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:128) webservice.Son_LiteralSerializer.doDeserialize(Son_LiteralSerializer.java:54)
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
    webservice.GetSonsResponse_LiteralSerializer.doDeserialize(GetSonsResponse_LiteralSerializer.java:53)
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
    webservice.Father_Stub._deserialize_getSons(Father_Stub.java:115)
    webservice.Father_Stub._readFirstBodyElement(Father_Stub.java:102)
    com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:215)
    webservice.Father_Stub.getSons(Father_Stub.java:68)
    webservice.fatherservice.FatherServiceClient.getSons(FatherServiceClient.java:29)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    The SOAP communication seems to be correct. I'm sniffing the communication channel:
    Request from SJC:
    POST /webServiceSimple/services/Father HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Content-Length: 335
    SOAPAction: ""
    Cache-Control: no-cache
    Pragma: no-cache
    User-Agent: Java/1.5.0_06
    Host: 127.0.0.1:8081
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://test"><env:Body><ns0:getSons/></env:Body></env:Envelope>
    Response from AXIS ( I have corrected text indentation) :
    HTTP/1.1 200 OK
    Content-Type: text/xml;charset=utf-8
    Transfer-Encoding: chunked
    Date: Thu, 24 Aug 2006 12:44:27 GMT
    Server: Apache-Coyote/1.1
    292
    <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body><getSonsResponse xmlns="http://test">
    <getSonsReturn>
    <grandSons>
    <grandSons>
    <name>I'm a Grandson</name>
    </grandSons>
    <grandSons>
    <name>I'm a Grandson</name>
    </grandSons>
    </grandSons>
    <name>Fils</name>
    </getSonsReturn>
    <getSonsReturn>
    <grandSons>
    <grandSons>
    <name>I'm a Grandson</name>
    </grandSons>
    <grandSons>
    <name>I'm a Grandson</name>
    </grandSons>
    </grandSons>
    <name>Fils</name>
    </getSonsReturn>
    </getSonsResponse>
    </soapenv:Body></soapenv:Envelope>
    0
    I suppose that the version of SOAP used in AXIS and in SJSC may be different. Array's definition have been changed in version SOAP 1.2.
    Here an array is described like this :
    <grandSons> <- ARRAY
    <grandSons> <-OBJECT : ARRAY[0]
    </grandSons>
    <grandSons><-OBJECT : ARRAY[1]
    </grandSons>
    </grandSons>
    Probably explains this message :
    deserialization error: unexpected XML reader state. expected: END but found: START: item
    Somebody have an idea ?
    Thanks.

    Hi Frank,
    I've checked further, and for testing, I have made a change to the sample Reference Cursor package code (NVL'd the parameter), but I still get the same error:
    CREATE OR REPLACE PACKAGE BODY RefCursorExample IS
      FUNCTION get_requests_for_tech(p_email VARCHAR2) RETURN ref_cursor IS
        the_cursor ref_cursor;
      BEGIN
        OPEN the_cursor FOR
          SELECT sr.svr_id, sr.status, sr.problem_description
            FROM service_requests sr, users u
         WHERE sr.assigned_to = u.user_id
           AND u.email = NVL(p_email,u.email);
        RETURN the_cursor;
      END get_requests_for_tech;
      FUNCTION count_requests_for_tech(p_email VARCHAR2) RETURN NUMBER IS
        the_count NUMBER;
      BEGIN
        SELECT COUNT(*)
          INTO the_count
          FROM service_requests sr, users u
         WHERE sr.assigned_to = u.user_id
           AND u.email = NVL(p_email,u.email);
        RETURN the_count;
      END count_requests_for_tech;
    END RefCursorExample;My issue is that it works with NULL for the parameter in the Business Component Browser (BCB), but when I get to the JSF ExecuteWithParams the application looks like it expects NOT NULL when NULL should work. Is there a way to trace where this is happening? Since the BCB works, can I assume it is the JSF side that is causing this? I have already turned on my logging to FINE in logging.properties, and I can't seem to find why this is being triggered...
    java.util.logging.ConsoleHandler.level = FINE
    com.sun.faces.level=FINE
    Thanks!
    Kenton

  • Sending (String/Bean) Arrays with Webservices and DII

    I'm using the application server from the Sun J2EE SDK (J2EE(TM) Application Server 1.4 Developer Release (build b44-dr) and I'm trying to get an array with Beans or Strings to be send to an Dynamic Invocation Client.
    Can someone point me to an example or send one to me, I'm really stuck with it.

    Can nobody point me to an example how to send arrays with a webservice to a Dynamic Interface Invocation Client???

  • Trying to use Message Signing with Webservices and getting exception!

    Here is the exception I'm getting....
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    Detail:
    null; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    Detail:
    null; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    I followed step by step the example given on the Weblogic "edocs" pages, but I am at a loss as to what to put on the Identity Asserter Detail screen under "Default User Name Mapper Attribute Type" and "Default User Name Mapper Attribute Delimiter".
    I'm using the example code you can find at the following URL - http://e-docs.bea.com/wls/docs81/webserv/security.html#1061856
    I'm creating my client key pair as specified with a keyname of client_key and password of client_key_password.
    I'm also creating a user in the Admin Console called auth_user with a password of auth_user_password.
    HELP!!!!!

    The error message means you haven't configured the identity mapping between your client cert and a WLS user.
    Here is the WLST script I used in my dev2dev sample(https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=S18)
    rlm = cmo.getSecurityConfiguration().getDefaultRealm()
    ia = rlm.lookupAuthenticationProvider("DefaultIdentityAsserter")
    activeTypesValue = array(["X.509"],java.lang.String)
    ia.setActiveTypes(activeTypesValue)
    ia.setDefaultUserNameMapperAttributeType('CN');
    ia.setUseDefaultUserNameMapper(Boolean('true'));
    So I add the X.509 to the ActiveTypes of IdentityAsserter, then I choose the "CN" as the DefaultUserNameMapperAttributeType, finally enable UseDefaultUserNameMapper.

  • HT202696 How can you talk with a supervisor or someone higher then a regular tech person after fighting with apple and phone provider to get my phone fixed

    I need to speak to someone about a way to fix the only means of communication the schools have to get ahold of me about my children if something were to happen.  Ive tried to schedule appointments that are within the driving limit for me due to being disabled but that was blown off like oh well not our fault.  I was told I could send it in but then no way for me to know the school has called.  Ive been a diehard apple consumer that brags about your products and when there is an issue I get this.  Its not right and needs to be fixed.

    Who do you think you're talking to?  Apple?  Apple isn't here.  This is a user-to-user technical assistance forum.
    If you're talking about at an Apple Store, the Admins or Geniuses are the highest level of support, short of the Store Manager.
    If you're talking about calling in to Apple Support, a Senior Technical Advisor is the highest level of technical support available.
    Speak to one of them.

  • GTC connectors and SPML compliant

    Hi
    I am trying to integrate a target application using GTC connector transport providers as web services and Format providers as SPML and even i have to create a dummy web service which is compliant with SPML so that it can be integrated with OIM.
    can any one pl help me to create a Dummy webservice compliant OIM SPML?
    Web services shud be created using Java.The web service needs to store data the in txt file and send a response to OIM.

    Make sure you are exporting the Generic Connector type object, and not the Resource Object. There are configurations that only come when you export this way. Otherwise you only get the resource and process definition workflow, and none of the configurations.
    You might also need to export the provider definition as well and import.
    -Kevin

  • Generic Delta with numeric pointer (Without safety interval and no field)

    Hi
    We have problems with Generic Delta extraction. Our previous Dev has created the data source with numeric pointer as the data source without any safety interval and without any field for numeric pointer selection even we have the date field (creation and change dates in view)....
    He created the generic delta with numeric pointer and Additive delta selection on top of view (EKKO,EKPO and EKKN). So we are missing lot of records. Now I need to fix this asap, I have done generic delta with timestamp and cal day with change/creation date.
    Now in order to fix our delta loads should I use the cal day as the delta pointer with change or creation date already available or is it ok to use numeric pointer with additive delta and safety lower limit as 10 or 20 with upper limit blank?
    Also Should I use any field in the field nm section or is it ok to leave it blank ? Please advice...
    Note: I checked the missing delta records in ECC and the change timing is in the afternoon and our load time is only night...We also have several other data sources with same settings (numeric with no safety and no field) but it is not giving any issues.
    Thanks
    Edited by: ganesh uttitti on Jan 26, 2011 10:33 PM

    Hi Ganesh  ,
      I'm a little confuse,Why are you not use LO Delata for it?

  • Generic delta with function module

    Hi Gurus,
    Is it possible to create a generic DataSource with delta support using function module following the queue delta mechanism (u can get some function moduel in MCEX function group, and check the outbound delta queue before and after update in transaction smq1.
    I can store the delta data using qRFC and collective update mechanism. but I don't know how to create a generic data with delta and how to attach a rfc destination (& logical system) to the data source. The Source system information is stored in the table "ROOSGEN".  Is there any configuration setting required to do the same.
    Regards,
    Jugal

    Jugal,
    What I understand you to be asking is if it is possible to create a generic delta extractor which uses the delta queue. If this indeed is your question the answer is yes.
    First you need to create your data source so it is visible via tx RSA5 and need to make sure that the delta type (ie ABR, AIM)is set appropriately for the datasource.
    The issue however is determining from where you will associate your delta hook (when will you write to the queue)? I have in the past utilized BTE's, Business Transaction Events to write information out to the delta queue, you can see a list of available BTE's in your system via tx FINF.
    Once you find a place to write your deltas from you call the below FM with the appropriate datasource.
    RSC1_TRFC_QUEUE_WRITE.
    Once you have done this the standard BW extractor for deltas will pull the information from the delta queue. But from what I understand you just want to know how to associate the data with the delta and that is the FM listed above.
    Hope this helps,
    Cheers,
    Scott
    > Hi Gurus,
    >
    > Is it possible to create a generic DataSource with
    > delta support using function module following the
    > queue delta mechanism (u can get some function moduel
    > in MCEX function group, and check the outbound delta
    > queue before and after update in transaction smq1.
    > I can store the delta data using qRFC and collective
    > update mechanism. but I don't know how to create a
    > generic data with delta and how to attach a rfc
    > destination (& logical system) to the data source.
    > The Source system information is stored in the table
    > "ROOSGEN".  Is there any configuration setting
    > required to do the same.
    >
    > Regards,
    > Jugal

  • Encrypt sensitive with password and calling sub pkgs

    Hi we run 2012 enterprise and r introducing a db2 connection that "allows saving password".
    We run from the file system (not the catalog) and face a challenge.
    The default prot level on the SUB PACKAGE that has the db2 connection (only such connection right now) prevents our prod credentials from making the connection because its a different user than the one that created the sub pkg.
    Encrypt sensitive with password seems a more strategic alternative but I dont know if the param (I think its called "decrypt") on the dtexec command line that allows passing a password at run time applies to just the parent pkg or all subs also.
    I dont want to delay validation.  I wouldnt even mind changing the xml connection string (by entering pswd in whatever syntax is necessary) using notepad but dont know what issues that will cause.
    I wouldnt mind having someone logon and "re" save  the pkg using the credentials of our prod userid and choosing the default prot level instead.
    I also wonder if none of the other pkgs (including master) dont have any sensitive data, can their prot level defaults be left alone?
    Can the community comment?

    If you are having sensitive info (passwords for conn strings etc) in our packages, the best way is to change the protection level to "encrypt sensitive with password" and then provide the password.
    When we schedule a job or exec the parent package, the child packages are called automatically.
    Thanks, hsbal

  • Generic Connector - Web Services - Format provider other than SPML?

    Hi.
    Using OIM, I need to "talk" with Windows Sharepoint [Web] Services in order to provisioning an user (actualy, I need to associate a user to a Sharepoint Group).
    To do that, I'm exploring the Generic Technology Connector capabilities.
    From what I understand reading the documentation, the target Web Services have to "understand" the "SPML" format provider standard, and I didnt have found any evidences that the Sharepoint Services are SPML compliant.
    So, my questions are:
    1) Anyone knows of a GTC talking with Web Services non-SPML compliant (in particular, Microsoft-branded Web Services)?
    2) Are there alternative ways of doing what I need (using the Generic Connector... or not)?
    Thanks in advance.

    the way we did it was to get the wsdl of the service you need to talk to.
    try and create the client stubs with axis or xfire (depending on which version of axis you may need other than rpc/encoded format) create the standalone client to test you service.
    once you get it working take you client code, jar it up into the ThirdParty directory along with the required jars for the service implementation.
    then write your adapter using the code from the your client jar.
    Fred

  • OIM SPML provisioning task generic connector

    We need to know how could get a custom message response from generic connector. Right now we are using a message like:
    <addResponse status="Error">
    <psoID ID="150">
    <targetID ID="IDDESTINO"/>
    <containerID ID="ContainerID"/>
    </psoID>
    </addResponse>
    We want to process the message with different status code because with the generic connector always get success when we response with a good formed spml response. We have tryed changing the status to different codes without success.
    Is there some sample code or more information to this issue anywhere?
    Regards

    Hi,
    Thanks a lot for reply. For SPML through web service(custom), I am using Generic connector and when I am trying to create a user using this connector it is hiiting the web service with the request
    <addRequest xmlns="urn:oasis:names:tc:SPML:2:0" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core">
    <targetID ID="Target5"/>
    <containerID ID="1"/>
    <data>
    <dsml:attr name="objectclass">
    <dsml:value>userobject</dsml:value>
    </dsml:attr>
    <dsml:attr name="lastName">
    <dsml:value>sh</dsml:value>
    </dsml:attr>
    <dsml:attr name="firstName">
    <dsml:value>abc1</dsml:value>
    </dsml:attr>
    </data>
    </addRequest>
    Of course, I want to add more attibute in this one.....but I didnt find any way to add more attribute in this message...or no ways to modify this request.
    With above request it is hiiting the web service and from web service I am returing following reponse as byte array:
    <addResponse status="success">
    <psoID ID="ash">
    <targetID ID="Target5"/>
    <containerID ID="1"/>
    </psoID>
    </addResponse>
    but as the response it is giving following on OIM server window:
    Response: GCPROV.null
    Response Description: An unknown response was received
    Error Details
    Setting task status... "GCPROV.null" does not correspond to a known Response Code. Using "UNKNOWN".
    Can anyone pls help me to figure out this. Also how can I modify SPML message to send more info to the target.
    Thanks in advance

Maybe you are looking for

  • Pdfs are not reading correctly

    I use indesign and illustrator CS6 and when I write a pdf my client says its showing up as funky black and white and not color. Is there something wrong with my software?

  • Multiple channels from GigE camera

    Hello NI Folks, I am using a GigE camera for my Machine Vision application. I have to save data from all three channels coming out of Camera. I am using Example VI from National Instruments 'Grab and Setup attributes.vi' to get attributes and save Im

  • Lost of icons

    i upgraded my BB Z10, and after the upgrade i was unable to get some icons back on ma menu such as picture,music,video, file manager etc. Icons that i was able to see are settings,bbm,bbapp,browser,calendar,contact,camera,phone,text msg,maps. moreals

  • Starting up my ipod after letting it sit for a while...

    hi. i just bought a new 30 gig ipod about 2 weeks ago, and lately, at least the past 3 or 4 days, when i've left the ipod off the charger for a while even though it's fully charged or has plenty of battery, it will start up and let me move around to

  • Error: (00 377) Update error, transaction FB01  in EBS

    Hi, I have uploaded electronic bank statement through jobs but some documented was posted but some document was not posted and  received error message like  >>>>>>>>>> Error: (00 377) Update error, transaction FB01 . Is it possible to re upload same